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 :    password:rww2
 whould you help me to confirm whether the jar is suitable?
If the jar is not suitable, could you please send me a suitable one to try?
From: Naresh P R
Date: 2017-11-04 01:26
To: dev
Subject: Re: Re: Delegation Token can be issued only with kerberos or web authentication" will occur in yarn cluster
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 = this.getConnectionAuthenticationMethod();
    return !UserGroupInformation.isSecurityEnabled() || authMethod ==
AuthenticationMethod.KERBEROS || authMethod ==
AuthenticationMethod.KERBEROS_SSL || authMethod ==
Token<DelegationTokenIdentifier> getDelegationToken(Text renewer)
throws IOException {
        if (!this.isAllowedDelegationTokenOp()) {
            throw new IOException("Delegation Token can be issued only
with kerberos or web authentication");
Can you try to execute queries by copying core-site.xml from hadoop-conf
folder to spark2 conf folder & classpath of spark-submit?
From the provided logs, i could
see carbondata_2.11-1.1.1-bdd-hadoop2.7.2.jar size is 9607344bytes, please
make sure it has only carbondata classes.
I could see Carbon explicitly calling
"TokenCache.obtainTokensForNamenodes" which
is throwing this exception.
If above mentioned steps dint work, you can raise a JIRA to investigate
further on this.
Naresh P R
On Fri, Nov 3, 2017 at 3:10 PM, yixu2001 <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB