[jira] [Updated] (PHOENIX-5145) GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)

2019-02-19 Thread MariaCarrie (JIRA)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

MariaCarrie updated PHOENIX-5145:
-
Attachment: application_1548138380177_1787.txt

> GSSException: No valid credentials provided (Mechanism level: Failed to find 
> any Kerberos tgt) 
> ---
>
> Key: PHOENIX-5145
> URL: https://issues.apache.org/jira/browse/PHOENIX-5145
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 5.0.0
> Environment: >HDP 3.0.0
> >Phoenix 5.0.0
> >HBase 2.0.0
> >Spark 2.3.1
> >Hadoop 3.0.1
>Reporter: MariaCarrie
>Priority: Major
> Attachments: application_1548138380177_1772.txt, 
> application_1548138380177_1787.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> I can successfully read the data using the local mode. Here is my code:
> ^val sqlContext: SQLContext = missionSession.app.ss.sqlContext^
>  ^System.setProperty("sun.security.krb5.debug", "true")^
>  ^System.setProperty("sun.security.spnego.debug", "true")^
>  ^UserGroupInformation.loginUserFromKeytab("d...@devdip.org", 
> "devdmp.keytab")^
>  ^// Load as a DataFrame directly using a Configuration object^
>  ^val df: DataFrame = 
> sqlContext.phoenixTableAsDataFrame(missionSession.config.tableName, 
> Seq("ID"), zkUrl = Some(missionSession.config.zkUrl))^
>  ^df.show(5)^
> But when I submit this to YARN for execution, an exception will be thrown. 
> The following is the exception information:
> ^Tue Feb 19 13:07:53 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:53 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:53 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:54 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:54 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:55 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:57 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:08:01 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: javax.security.sasl.SaslException: GSS initiate failed 
> [Caused by GSSException: No valid credentials provided (Mechanism level: 
> Failed to find any Kerberos tgt)]^
>  ^Tue Feb 19 13:08:11 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: javax.security.sasl.SaslException: GSS initiate failed 
> [Caused by GSSException: No valid credentials provided (Mechanism level: 
> Failed to find any Kerberos tgt)]^
>  ^Tue Feb 19 13:08:21 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: javax.security.sasl.SaslException: GSS initiate failed 
> [Caused by GSSException: No valid credentials provided (Mechanism level: 
> Failed to find any Kerberos tgt)]^
>  ^Tue Feb 19 13:08:31 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, 

[jira] [Updated] (PHOENIX-5145) GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)

2019-02-19 Thread MariaCarrie (JIRA)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

MariaCarrie updated PHOENIX-5145:
-
Attachment: application_1548138380177_1772.txt

> GSSException: No valid credentials provided (Mechanism level: Failed to find 
> any Kerberos tgt) 
> ---
>
> Key: PHOENIX-5145
> URL: https://issues.apache.org/jira/browse/PHOENIX-5145
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 5.0.0
> Environment: >HDP 3.0.0
> >Phoenix 5.0.0
> >HBase 2.0.0
> >Spark 2.3.1
> >Hadoop 3.0.1
>Reporter: MariaCarrie
>Priority: Major
> Attachments: application_1548138380177_1772.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> I can successfully read the data using the local mode. Here is my code:
> ^val sqlContext: SQLContext = missionSession.app.ss.sqlContext^
>  ^System.setProperty("sun.security.krb5.debug", "true")^
>  ^System.setProperty("sun.security.spnego.debug", "true")^
>  ^UserGroupInformation.loginUserFromKeytab("d...@devdip.org", 
> "devdmp.keytab")^
>  ^// Load as a DataFrame directly using a Configuration object^
>  ^val df: DataFrame = 
> sqlContext.phoenixTableAsDataFrame(missionSession.config.tableName, 
> Seq("ID"), zkUrl = Some(missionSession.config.zkUrl))^
>  ^df.show(5)^
> But when I submit this to YARN for execution, an exception will be thrown. 
> The following is the exception information:
> ^Tue Feb 19 13:07:53 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:53 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:53 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:54 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:54 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:55 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:07:57 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: java.io.IOException: Can not send request because relogin 
> is in progress.^
>  ^Tue Feb 19 13:08:01 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: javax.security.sasl.SaslException: GSS initiate failed 
> [Caused by GSSException: No valid credentials provided (Mechanism level: 
> Failed to find any Kerberos tgt)]^
>  ^Tue Feb 19 13:08:11 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: javax.security.sasl.SaslException: GSS initiate failed 
> [Caused by GSSException: No valid credentials provided (Mechanism level: 
> Failed to find any Kerberos tgt)]^
>  ^Tue Feb 19 13:08:21 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
> on local exception: javax.security.sasl.SaslException: GSS initiate failed 
> [Caused by GSSException: No valid credentials provided (Mechanism level: 
> Failed to find any Kerberos tgt)]^
>  ^Tue Feb 19 13:08:31 CST 2019, 
> RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
> 

[jira] [Updated] (PHOENIX-5145) GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)

2019-02-18 Thread MariaCarrie (JIRA)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

MariaCarrie updated PHOENIX-5145:
-
Description: 
I can successfully read the data using the local mode. Here is my code:

^val sqlContext: SQLContext = missionSession.app.ss.sqlContext^
 ^System.setProperty("sun.security.krb5.debug", "true")^
 ^System.setProperty("sun.security.spnego.debug", "true")^
 ^UserGroupInformation.loginUserFromKeytab("d...@devdip.org", "devdmp.keytab")^
 ^// Load as a DataFrame directly using a Configuration object^
 ^val df: DataFrame = 
sqlContext.phoenixTableAsDataFrame(missionSession.config.tableName, Seq("ID"), 
zkUrl = Some(missionSession.config.zkUrl))^
 ^df.show(5)^

But when I submit this to YARN for execution, an exception will be thrown. The 
following is the exception information:

^Tue Feb 19 13:07:53 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: java.io.IOException: Can not send request because relogin 
is in progress.^
 ^Tue Feb 19 13:07:53 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: java.io.IOException: Can not send request because relogin 
is in progress.^
 ^Tue Feb 19 13:07:53 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: java.io.IOException: Can not send request because relogin 
is in progress.^
 ^Tue Feb 19 13:07:54 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: java.io.IOException: Can not send request because relogin 
is in progress.^
 ^Tue Feb 19 13:07:54 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: java.io.IOException: Can not send request because relogin 
is in progress.^
 ^Tue Feb 19 13:07:55 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: java.io.IOException: Can not send request because relogin 
is in progress.^
 ^Tue Feb 19 13:07:57 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: java.io.IOException: Can not send request because relogin 
is in progress.^
 ^Tue Feb 19 13:08:01 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: javax.security.sasl.SaslException: GSS initiate failed 
[Caused by GSSException: No valid credentials provided (Mechanism level: Failed 
to find any Kerberos tgt)]^
 ^Tue Feb 19 13:08:11 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: javax.security.sasl.SaslException: GSS initiate failed 
[Caused by GSSException: No valid credentials provided (Mechanism level: Failed 
to find any Kerberos tgt)]^
 ^Tue Feb 19 13:08:21 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: javax.security.sasl.SaslException: GSS initiate failed 
[Caused by GSSException: No valid credentials provided (Mechanism level: Failed 
to find any Kerberos tgt)]^
 ^Tue Feb 19 13:08:31 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: javax.security.sasl.SaslException: GSS initiate failed 
[Caused by GSSException: No valid credentials provided (Mechanism level: Failed 
to find any Kerberos tgt)]^
 ^Tue Feb 19 13:08:41 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: javax.security.sasl.SaslException: GSS initiate failed 
[Caused by GSSException: No valid credentials provided (Mechanism level: Failed 
to find any Kerberos tgt)]^
 ^Tue Feb 19 13:09:01 CST 2019, 
RpcRetryingCaller\{globalStartTime=1550552873361, pause=100, maxAttempts=36}, 
java.io.IOException: Call to test-dmp5.fengdai.org/10.200.162.26:16020 failed 
on local exception: