[
https://issues.apache.org/jira/browse/SLIDER-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013516#comment-15013516
]
Steve Loughran commented on SLIDER-993:
---------------------------------------
also,
{code}
2015-11-19 13:13:16,762 [main] DEBUG launch.AbstractLauncher
(dumpLocalResources(242)) -
lib/commons-lang-2.6.jar=hdfs://devix.cotham.uk:8020/user/stevel/.slider/cluster/test-agent-web/tmp/application_1447854358779_0001/am/lib/commons-lang-2.6.jar
2015-11-19 13:13:16,762 [main] DEBUG launch.AbstractLauncher
(completeContainerLaunch(212)) - 1 tokens
2015-11-19 13:13:16,762 [main] INFO launch.AppMasterLauncher
(submitApplication(257)) - Submitting application to Resource Manager
2015-11-19 13:13:22,923 [main] ERROR main.ServiceLauncher (error(344)) -
Exception:
org.apache.hadoop.security.authentication.client.AuthenticationException:
Invalid token string, missing attributes
java.io.IOException:
org.apache.hadoop.security.authentication.client.AuthenticationException:
Invalid token string, missing attributes
at
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl$5.run(TimelineClientImpl.java:453)
at
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl$TimelineClientConnectionRetry.retryOn(TimelineClientImpl.java:183)
at
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.operateDelegationToken(TimelineClientImpl.java:466)
at
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.getDelegationToken(TimelineClientImpl.java:363)
at
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getTimelineDelegationToken(YarnClientImpl.java:354)
at
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.addTimelineDelegationToken(YarnClientImpl.java:335)
at
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:255)
at
org.apache.slider.core.launch.AppMasterLauncher.submitApplication(AppMasterLauncher.java:259)
at
org.apache.slider.client.SliderClient.launchApplication(SliderClient.java:2164)
at
org.apache.slider.client.SliderClient.startCluster(SliderClient.java:1773)
at
org.apache.slider.client.SliderClient.actionCreate(SliderClient.java:703)
at org.apache.slider.client.SliderClient.exec(SliderClient.java:356)
at
org.apache.slider.client.SliderClient.runService(SliderClient.java:318)
at
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
at
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:475)
at
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
at
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:630)
at org.apache.slider.Slider.main(Slider.java:49)
Caused by:
org.apache.hadoop.security.authentication.client.AuthenticationException:
Invalid token string, missing attributes
at
org.apache.hadoop.security.authentication.util.AuthToken.parse(AuthToken.java:213)
at
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.isTokenKerberos(KerberosAuthenticator.java:240)
at
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:198)
at
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator.authenticate(DelegationTokenAuthenticator.java:128)
at
org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:215)
at
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator.doDelegationTokenOperation(DelegationTokenAuthenticator.java:285)
at
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator.getDelegationToken(DelegationTokenAuthenticator.java:166)
at
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticatedURL.getDelegationToken(DelegationTokenAuthenticatedURL.java:371)
at
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl$2.run(TimelineClientImpl.java:359)
at
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl$2.run(TimelineClientImpl.java:351)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl$5.run(TimelineClientImpl.java:451)
... 17 more
</stdout>
{code}
there's something up here, ingnoring the fact that we don't need an auth token
for ATS to be added anyway. That we can cull by removing it from the YarnClient
config option as it is being over helpful
> Client fails to start ZK Registry client: Entry "Client" not found; JAAS
> config =
> -----------------------------------------------------------------------------------
>
> Key: SLIDER-993
> URL: https://issues.apache.org/jira/browse/SLIDER-993
> Project: Slider
> Issue Type: Bug
> Components: client
> Affects Versions: Slider 0.90
> Environment: Build with Hadoop 2.6, 2.7, 2.8.0-SNAPSOT; Java 7, Java
> 8 all against kerberos enabled Hadoop clister
> Reporter: Steve Loughran
> Assignee: Steve Loughran
>
> Slider client operations fail with ZK Registry binding problems.
> {code}
> 2015-11-18 14:21:49,006 [main] ERROR main.ServiceLauncher (error(344)) -
> Exception: Entry "Client" not found; JAAS config = ;
> java.security.auth.login.config=(undefined)
> java.lang.RuntimeException: Entry "Client" not found; JAAS config = ;
> java.security.auth.login.config=(undefined)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)