Re: Delegation tokens for HDFS

2019-09-29 Thread Julien Phalip
Hi, thanks for your reply. Regarding your statement: > If you aren't using Hive Server 2, the user acquires tokens before the query gets submitted to Yarn. So is it right to say that Beeline doesn't support this pattern, i.e. collecting HDFS delegation tokens before submitting the job? Do you kn

Re: Delegation tokens for HDFS

2019-09-20 Thread Owen O'Malley
If you are using Hive Server 2 through jdbc: - The most common way is to have the data only accessible to the 'hive' user. Since the users don't have access to the underlying HDFS files, Hive can enforce column/row permissions. - The other option is to use doAs and run as the user. Tha