From: [hidden email]Date: 2017-11-02 22:02To: [hidden email]Subject: Re: Re: Delegation Token can be issued only with kerberos or web authentication" will occur in yarn clusterHi yixu,I am not able to see any attachment in your previous mail.---Regards,Naresh P ROn Thu, Nov 2, 2017 at 4:40 PM, yixu2001 <[hidden email]> wrote:devPlease refer to theattachment "cluster carbon error2.txt" for the log trace. In this log, I try 2 querystatements:
select * from e_carbon.prod_inst_his prod_inst_his is a hive table, it success.
select * from e_carbon.prod_inst_his_c prod_inst_his_ c is a carbon table, it failed.
I pass the principal in mystart script, please refer to the attachment "testCluster. sh
".
I have set hive.server2.enable.doAs = false in the above test and I have printed it in the log.
yixu2001From: [hidden email]Date: 2017-11-01 19:40To: [hidden email]Subject: Re: Delegation Token can be issued only with kerberos or web authentication" will occur in yarn clusterHi,Ideally kerberos authentication should work with carbon table, Can youshare 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 carbontable ?----Regards,Naresh P ROn 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>
Free forum by Nabble | Edit this page |