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

2017-11-06 Thread yixu2001
dev hello there is no recent progress yixu2001 From: yixu2001 Date: 2017-11-06 16:43 To: dev CC: prnaresh.naresh; 郭海涛 Subject: Re: Re: Delegation Token can be issued only with kerberos or web authentication" will occur in yarn cluster dev I have copied core-site.xml to spark2 conf folder,

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

2017-11-06 Thread yixu2001
dev I have copied core-site.xml to spark2 conf folder, it does not work. I will share you the jar I am using(please get the jar file from link download link :https://pan.baidu.com/s/1b6AG5Spassword:rww2 whould you help me to confirm whether the jar is suitable? If the jar is not

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

2017-11-03 Thread Naresh P R
Hi yixu2001, >From hadoop code, i could see IOException("Delegation Token can be issued only with kerberos or web authentication") is thrown only if authentication method is set as "SIMPLE". private boolean isAllowedDelegationTokenOp() throws IOException { AuthenticationMethod authMethod =

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

2017-11-03 Thread yixu2001
prnaresh.naresh, dev The carbon jar I used does not include hadoop classes & core-site.xml. The attachment include the jar list while submtting spark job, please confirm it. yixu2001 From: Naresh P R Date: 2017-11-03 16:07 To: yixu2001 Subject: Re: Re: Delegation Token can be issued only

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

2017-11-03 Thread yixu2001
Naresh P R: For the attachments can not be uploaded in maillist,I have add the attachments to the mail for you, please check it. Our platform is installed with HDP 2.4, but spark 2.1 is not included in HDP 2.4, we using spark 2.1 with additional installed of apache version. yixu2001

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

2017-11-02 Thread yixu2001
dev Our platform is installed with HDP 2.4, but spark 2.1 is not included in HDP 2.4, we using spark 2.1 with additional installed of apache version. yixu2001 From: Naresh P R Date: 2017-11-02 22:02 To: dev Subject: Re: Re: Delegation Token can be issued only with kerberos or web

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

2017-11-02 Thread Naresh P R
Hi yixu, I am not able to see any attachment in your previous mail. --- Regards, Naresh P R On Thu, Nov 2, 2017 at 4:40 PM, yixu2001 wrote: > dev > Please refer to the attachment "cluster carbon > error2.txt" for the log trace. > In this log, I try 2 query statements: >

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

2017-11-02 Thread yixu2001
dev Please refer to the attachment "cluster carbon error2.txt" for the log trace. In this log, I try 2 query statements: 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

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

2017-11-01 Thread Naresh P R
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,

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

2017-11-01 Thread yixu2001
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