[ 
https://issues.apache.org/jira/browse/SLIDER-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15011119#comment-15011119
 ] 

Steve Loughran edited comment on SLIDER-993 at 11/18/15 2:54 PM:
-----------------------------------------------------------------

happens on 2.7.1 too
{code}
2015-11-18 14:52:02,427 [main] DEBUG utility.LaunchedWorkflowCompositeService 
(bindArgs(80)) - Binding 3 Arguments:
2015-11-18 14:52:02,430 [main] DEBUG utility.LaunchedWorkflowCompositeService 
(bindArgs(86)) - "destroy" "test-agent-web" "--force" 
2015-11-18 14:52:02,545 [main] DEBUG params.CommonArgs (validate(241)) - 
action=destroy
2015-11-18 14:52:02,865 [main] DEBUG tools.ConfigHelper (loadFromResource(515)) 
- loaded resources from 
file:/Users/stevel/Projects/Hortonworks/Projects/clusterconfigs/clusters/devix/slider/slider-client.xml
2015-11-18 14:52:03,319 [main] INFO  tools.SliderUtils 
(initProcessSecurity(1254)) - JVM initialized into secure mode with kerberos 
realm COTHAM
2015-11-18 14:52:03,320 [main] DEBUG tools.SliderUtils 
(initProcessSecurity(1258)) - java.security.krb5.realm=
2015-11-18 14:52:03,320 [main] DEBUG tools.SliderUtils 
(initProcessSecurity(1260)) - java.security.krb5.kdc=
2015-11-18 14:52:03,371 [main] DEBUG tools.SliderUtils 
(initProcessSecurity(1262)) - hadoop.security.authentication=kerberos
2015-11-18 14:52:03,371 [main] DEBUG tools.SliderUtils 
(initProcessSecurity(1264)) - hadoop.security.authorization=true
2015-11-18 14:52:03,372 [main] DEBUG tools.SliderUtils 
(initProcessSecurity(1270)) - Authenticating as stevel@COTHAM (auth:KERBEROS)
2015-11-18 14:52:03,372 [main] DEBUG tools.SliderUtils 
(initProcessSecurity(1271)) - Login user is stevel@COTHAM (auth:KERBEROS)
2015-11-18 14:52:03,372 [main] DEBUG tools.SliderUtils 
(verifyPrincipalSet(1207)) - Kerberos princial 
yarn.resourcemanager.principal=rm/_HOST@COTHAM
2015-11-18 14:52:03,372 [main] DEBUG tools.SliderUtils 
(verifyPrincipalSet(1207)) - Kerberos princial 
dfs.namenode.kerberos.principal=nn/_HOST@COTHAM
2015-11-18 14:52:03,880 [main] INFO  impl.TimelineClientImpl (serviceInit(285)) 
- Timeline service address: http://devix.cotham.uk:8188/ws/v1/timeline/
2015-11-18 14:52:04,378 [main] INFO  client.RMProxy (createRMProxy(98)) - 
Connecting to ResourceManager at devix.cotham.uk/192.168.56.101:8050
2015-11-18 14:52:04,650 [main] DEBUG client.SliderClient (actionDestroy(609)) - 
actionDestroy(test-agent-web, force=true)
2015-11-18 14:52:04,694 [main] DEBUG client.SliderClient (actionDestroy(636)) - 
Application Instance test-agent-web already destroyed
2015-11-18 14:52:04,721 [main] INFO  service.AbstractService (noteFailure(272)) 
- Service YarnRegistry failed in state STARTED; cause: 
java.lang.RuntimeException: 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)
        at 
org.apache.hadoop.registry.client.impl.zk.RegistrySecurity.validateContext(RegistrySecurity.java:689)
        at 
org.apache.hadoop.registry.client.impl.zk.RegistrySecurity.setZKSaslClientProperties(RegistrySecurity.java:735)
        at 
org.apache.hadoop.registry.client.impl.zk.RegistrySecurity.applySecurityEnvironment(RegistrySecurity.java:719)
        at 
org.apache.hadoop.registry.client.impl.zk.CuratorService.createCurator(CuratorService.java:263)
        at 
org.apache.hadoop.registry.client.impl.zk.CuratorService.serviceStart(CuratorService.java:166)
        at 
org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at 
org.apache.slider.server.services.utility.LaunchedWorkflowCompositeService.deployChildService(LaunchedWorkflowCompositeService.java:111)
        at 
org.apache.slider.server.services.utility.AbstractSliderLaunchedService.startRegistryOperationsService(AbstractSliderLaunchedService.java:80)
        at 
org.apache.slider.client.SliderClient.maybeStartYarnRegistry(SliderClient.java:4106)
        at 
org.apache.slider.client.SliderClient.getRegistryOperations(SliderClient.java:4114)
        at 
org.apache.slider.client.SliderClient.actionDestroy(SliderClient.java:643)
        at org.apache.slider.client.SliderClient.exec(SliderClient.java:364)
        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)
2015-11-18 14:52:04,723 [main] INFO  workflow.WorkflowCompositeService 
(stateChanged(115)) - Child service Service YarnRegistry in state YarnRegistry: 
STOPPED  Connection="fixed ZK quorum "devix.cotham.uk:2181" " root="/registry"  
failed

{code}


was (Author: [email protected]):
happens on 2.7.1 too
{code}

testAgentWeb(org.apache.slider.funtest.lifecycle.AgentWebPagesIT)  Time 
elapsed: 19.863 sec  <<< ERROR!
org.apache.slider.core.exceptions.SliderException: Expected exit code of 
command 
/Users/stevel/Projects/Hortonworks/Projects/slider/slider-assembly/target/slider-0.90.0-incubating-SNAPSHOT-all/slider-0.90.0-incubating-SNAPSHOT/bin/slider
 destroy test-agent-web --force : 0 - actual=56 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at 
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:80)
        at 
org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:74)
        at 
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:255)
        at 
org.apache.slider.funtest.framework.ShellBase.assertExitCode(ShellBase.groovy:195)
        at 
org.apache.slider.funtest.framework.ShellBase.assertExitCode(ShellBase.groovy)
        at 
org.apache.slider.funtest.framework.CommandTestBase.assertExitCode(CommandTestBase.groovy:504)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
        at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1464)
        at 
org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.callStatic(StaticMetaClassSite.java:65)
        at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:214)
        at 
org.apache.slider.funtest.framework.AgentCommandTestBase.cleanup(AgentCommandTestBase.groovy:199)
        at 
org.apache.slider.funtest.lifecycle.AgentWebPagesIT.destroyCluster(AgentWebPagesIT.groovy:68)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
        at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
        at 
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

{code}

> 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, 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)

Reply via email to