[
https://issues.apache.org/jira/browse/SLIDER-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013496#comment-15013496
]
Steve Loughran commented on SLIDER-993:
---------------------------------------
..modified hadoop branch-2 to turn off the check in the registry code; all this
does is delay the problem until ZK itself
Command:
{code}
slider destroy test-agent-web --force
{code}
Tail of log
{code}
2015-11-19 12:58:17,266 [main] DEBUG utility.LaunchedWorkflowCompositeService
(bindArgs(80)) - Binding 3 Arguments:
2015-11-19 12:58:17,270 [main] DEBUG utility.LaunchedWorkflowCompositeService
(bindArgs(86)) - "destroy" "test-agent-web" "--force"
2015-11-19 12:58:17,367 [main] DEBUG params.CommonArgs (validate(241)) -
action=destroy
2015-11-19 12:58:17,664 [main] DEBUG tools.ConfigHelper (loadFromResource(515))
- loaded resources from
file:/Users/stevel/Projects/Hortonworks/Projects/clusterconfigs/clusters/devix/slider/slider-client.xml
[UnixLoginModule]: succeeded importing info:
uid = 503
gid = 20
supp gid = 20
supp gid = 501
supp gid = 12
supp gid = 61
supp gid = 79
supp gid = 80
supp gid = 81
supp gid = 98
supp gid = 399
supp gid = 33
supp gid = 100
supp gid = 204
supp gid = 395
supp gid = 398
Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt
true ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is
false principal is null tryFirstPass is false useFirstPass is false storePass
is false clearPass is false
Acquire TGT from Cache
Principal is stevel@COTHAM
[UnixLoginModule]: added UnixPrincipal,
UnixNumericUserPrincipal,
UnixNumericGroupPrincipal(s),
to Subject
Commit Succeeded
[UnixLoginModule]: logged out Subject
[Krb5LoginModule]: Entering logout
[Krb5LoginModule]: logged out Subject
[UnixLoginModule]: succeeded importing info:
uid = 503
gid = 20
supp gid = 20
supp gid = 501
supp gid = 12
supp gid = 61
supp gid = 79
supp gid = 80
supp gid = 81
supp gid = 98
supp gid = 399
supp gid = 33
supp gid = 100
supp gid = 204
supp gid = 395
supp gid = 398
Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt
true ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is
false principal is null tryFirstPass is false useFirstPass is false storePass
is false clearPass is false
Acquire TGT from Cache
Principal is stevel@COTHAM
[UnixLoginModule]: added UnixPrincipal,
UnixNumericUserPrincipal,
UnixNumericGroupPrincipal(s),
to Subject
Commit Succeeded
2015-11-19 12:58:18,747 [main] INFO tools.SliderUtils
(initProcessSecurity(1254)) - JVM initialized into secure mode with kerberos
realm COTHAM
2015-11-19 12:58:18,748 [main] DEBUG tools.SliderUtils
(initProcessSecurity(1258)) - java.security.krb5.realm=
2015-11-19 12:58:18,748 [main] DEBUG tools.SliderUtils
(initProcessSecurity(1260)) - java.security.krb5.kdc=
2015-11-19 12:58:18,790 [main] DEBUG tools.SliderUtils
(initProcessSecurity(1262)) - hadoop.security.authentication=kerberos
2015-11-19 12:58:18,790 [main] DEBUG tools.SliderUtils
(initProcessSecurity(1264)) - hadoop.security.authorization=true
2015-11-19 12:58:18,791 [main] DEBUG tools.SliderUtils
(initProcessSecurity(1270)) - Authenticating as stevel@COTHAM (auth:KERBEROS)
2015-11-19 12:58:18,791 [main] DEBUG tools.SliderUtils
(initProcessSecurity(1271)) - Login user is stevel@COTHAM (auth:KERBEROS)
2015-11-19 12:58:18,791 [main] DEBUG tools.SliderUtils
(verifyPrincipalSet(1207)) - Kerberos princial
yarn.resourcemanager.principal=rm/_HOST@COTHAM
2015-11-19 12:58:18,792 [main] DEBUG tools.SliderUtils
(verifyPrincipalSet(1207)) - Kerberos princial
dfs.namenode.kerberos.principal=nn/_HOST@COTHAM
2015-11-19 12:58:19,247 [main] INFO impl.TimelineClientImpl (serviceInit(296))
- Timeline service address: http://devix.cotham.uk:8188/ws/v1/timeline/
2015-11-19 12:58:19,948 [main] INFO client.RMProxy (createRMProxy(98)) -
Connecting to ResourceManager at devix.cotham.uk/192.168.56.101:8050
2015-11-19 12:58:21,517 [main] DEBUG client.SliderClient (actionDestroy(609)) -
actionDestroy(test-agent-web, force=true)
2015-11-19 12:58:21,719 [main] DEBUG client.SliderClient (actionDestroy(636)) -
Application Instance test-agent-web already destroyed
2015-11-19 12:58:22,719 [main-SendThread(devix.cotham.uk:2181)] WARN
zookeeper.ClientCnxn (startConnect(957)) - SASL configuration failed:
javax.security.auth.login.LoginException: Client cannot SASL-authenticate
because the specified JAAS configuration section 'Client' could not be found.
Will continue connection to Zookeeper server without SASL authentication, if
Zookeeper server allows it.
2015-11-19 12:58:22,723 [main-EventThread] ERROR curator.ConnectionState
(checkState(245)) - Authentication failed
2015-11-19 12:58:23,615 [main] INFO client.SliderClient (actionDestroy(660)) -
Destroyed cluster test-agent-web
{code}
this particular action failed purely because the yarn registry is set up world
readable, and this operation was simply doing a read. Anything doing a write is
likely to fail.
> 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)