Login  Register

Re: Delegation Token can be issued only with kerberos or web authentication" will occur in yarn cluster

Posted by Naresh P R on Nov 01, 2017; 11:10am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Delegation-Token-can-be-issued-only-with-kerberos-or-web-authentication-will-occur-in-yarn-cluster-tp25417p25419.html

Hi,

Ideally kerberos authentication should work with carbon table, Can you
share us log trace to analyze further more?

how are you passing the principal in yarn cluster ?

can you try to set hive.server2.enable.doAs = false & run query on carbon
table ?
----
Regards,
Naresh P R

On Wed, Nov 1, 2017 at 3:33 PM, yixu2001 <[hidden email]> wrote:

> dev
>  I submit a spark application in mode yarn cluster to a cluster with
> kerberos. In this application, it will successfully query a hive table, but
> when it try to query a carbon table, it failed with infomation "Delegation
> Token can be issued only with kerberos or web authentication".
>
> If I submit this application in mode yarn client, both hive table and
> carbon table will both success.
>
> And If I submit this application in mode yarn cluster on another cluster
> without kerberos, both hive table and carbon table will both success.
>
>
> yixu2001
>