[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows: secure ZK won't start

2014-10-17 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14174959#comment-14174959
 ] 

Hudson commented on YARN-2689:
--

FAILURE: Integrated in Hadoop-Yarn-trunk #715 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/715/])
YARN-2689 TestSecureRMRegistryOperations failing on windows: secure ZK won't 
start (stevel: rev 6f43491c0343cfef36e9be5dfd06447cf2fee377)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/CuratorService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/TestSecureRegistry.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/TestSecureLogins.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/AbstractSecureRegistryTest.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java


 TestSecureRMRegistryOperations failing on windows: secure ZK won't start
 

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Fix For: 2.6.0

 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows: secure ZK won't start

2014-10-17 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14175071#comment-14175071
 ] 

Hudson commented on YARN-2689:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1929 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1929/])
YARN-2689 TestSecureRMRegistryOperations failing on windows: secure ZK won't 
start (stevel: rev 6f43491c0343cfef36e9be5dfd06447cf2fee377)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/AbstractSecureRegistryTest.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/CuratorService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/TestSecureRegistry.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/TestSecureLogins.java


 TestSecureRMRegistryOperations failing on windows: secure ZK won't start
 

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Fix For: 2.6.0

 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows: secure ZK won't start

2014-10-17 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14175075#comment-14175075
 ] 

Hudson commented on YARN-2689:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #1904 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1904/])
YARN-2689 TestSecureRMRegistryOperations failing on windows: secure ZK won't 
start (stevel: rev 6f43491c0343cfef36e9be5dfd06447cf2fee377)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/TestSecureLogins.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/AbstractSecureRegistryTest.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/TestSecureRegistry.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/CuratorService.java


 TestSecureRMRegistryOperations failing on windows: secure ZK won't start
 

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Fix For: 2.6.0

 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-16 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14174254#comment-14174254
 ] 

Steve Loughran commented on YARN-2689:
--

applying this patch, but still seeing other problems which surface once the ZK 
registry is actually up and running in secure mode

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows: secure ZK won't start

2014-10-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14174282#comment-14174282
 ] 

Hudson commented on YARN-2689:
--

FAILURE: Integrated in Hadoop-trunk-Commit #6273 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/6273/])
YARN-2689 TestSecureRMRegistryOperations failing on windows: secure ZK won't 
start (stevel: rev 6f43491c0343cfef36e9be5dfd06447cf2fee377)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/TestSecureRegistry.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/AbstractSecureRegistryTest.java
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/test/java/org/apache/hadoop/registry/secure/TestSecureLogins.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/CuratorService.java


 TestSecureRMRegistryOperations failing on windows: secure ZK won't start
 

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Fix For: 2.6.0

 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-15 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14172629#comment-14172629
 ] 

Chris Nauroth commented on YARN-2689:
-

Hi Steve.  Thanks for fixing this.  The patch looks good to me, and I verified 
that it fixes the tests on Windows.  However, I'm seeing a problem when running 
on Mac and Linux.  It's hanging while executing {{ktutil}}.  On my systems, 
{{ktutil}} is an interactive command, so the tests are starting up the child 
process, and then it's never exiting.  (See stack trace below.)  Some quick 
searching indicates that some installations of {{ktutil}} are non-interactive, 
but others are entirely interactive (MIT for example).

{code}
JUnit prio=10 tid=0x7f424488c000 nid=0x675 runnable [0x7f4239c02000]
   java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:236)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
- locked 0xed550918 (a java.io.BufferedInputStream)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176)
- locked 0xed3df918 (a java.io.InputStreamReader)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:153)
at java.io.BufferedReader.read1(BufferedReader.java:204)
at java.io.BufferedReader.read(BufferedReader.java:278)
- locked 0xed3df918 (a java.io.InputStreamReader)
at 
org.apache.hadoop.util.Shell$ShellCommandExecutor.parseExecResult(Shell.java:721)
at org.apache.hadoop.util.Shell.runCommand(Shell.java:530)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at 
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:708)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:797)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:780)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
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.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at 
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
{code}


 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-15 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14172656#comment-14172656
 ] 

Steve Loughran commented on YARN-2689:
--

I'll make a separate issue for that

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-15 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14172676#comment-14172676
 ] 

Chris Nauroth commented on YARN-2689:
-

+1 for the patch.  Thanks again, Steve.

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171332#comment-14171332
 ] 

Steve Loughran commented on YARN-2689:
--

Example of one failing test. 
{code}
Running org.apache.hadoop.registry.secure.TestSecureRegistry
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 10.562 sec  
FAILURE! - in org.apache.hadoop.registry.
secure.TestSecureRegistry
testZookeeperCanWrite(org.apache.hadoop.registry.secure.TestSecureRegistry)  
Time elapsed: 0.344 sec   ERROR!
org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could not 
configure server because SASL configuration did not allow the  ZooKeeper server 
to authenticate itself properly: javax.security.auth.login.LoginException: 
Unable to obtain password from user

at 
org.apache.zookeeper.server.ServerCnxnFactory.configureSaslLogin(ServerCnxnFactory.java:207)
at 
org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:87)
at 
org.apache.hadoop.registry.server.services.MicroZookeeperService.serviceStart(MicroZookeeperService.java:237)
at 
org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
at 
org.apache.hadoop.registry.secure.AbstractSecureRegistryTest.startSecureZK(AbstractSecureRegistryTest.java:352)
at 
org.apache.hadoop.registry.secure.TestSecureRegistry.testZookeeperCanWrite(TestSecureRegistry.java:83)
{code}

searching for string Unable to obtain password from user implies a common 
cause is principal name is spelled wrong and the lookup to whatever kerberos 
state there is fails

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran

 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171343#comment-14171343
 ] 

Steve Loughran commented on YARN-2689:
--

output
{code}
2014-10-14 11:31:50,756 [main] DEBUG service.AbstractService 
(AbstractService.java:enterState(452)) - Service: classTeardown entered state 
INITED
2014-10-14 11:31:50,772 [main] DEBUG service.CompositeService 
(CompositeService.java:serviceInit(104)) - classTeardown: initing services, 
size=0
2014-10-14 11:31:50,772 [main] DEBUG service.CompositeService 
(CompositeService.java:serviceStart(115)) - classTeardown: starting services, 
size=0
2014-10-14 11:31:50,772 [main] DEBUG service.AbstractService 
(AbstractService.java:start(197)) - Service classTeardown is started
2014-10-14 11:31:50,772 [main] DEBUG service.AbstractService 
(AbstractService.java:enterState(452)) - Service: registrySecurity entered 
state INITED
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(259)) 
- Configuration:
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(260)) 
- ---
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   debug: true
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   transport: TCP
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   max.ticket.lifetime: 8640
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   org.name: EXAMPLE
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   kdc.port: 0
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   org.domain: COM
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   max.renewable.lifetime: 60480
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   instance: DefaultKrbServer
2014-10-14 11:31:50,788 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   kdc.bind.address: localhost
2014-10-14 11:31:50,803 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(264)) 
- ---
2014-10-14 11:31:58,772 [main] INFO  minikdc.MiniKdc 
(MiniKdc.java:initKDCServer(480)) - MiniKdc listening at port: 49764
2014-10-14 11:31:58,772 [main] INFO  minikdc.MiniKdc 
(MiniKdc.java:initKDCServer(481)) - MiniKdc setting JVM krb5.conf to: 
C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\1413311510788\krb5.conf
2014-10-14 11:31:59,334 [main] INFO  secure.AbstractSecureRegistryTest 
(AbstractSecureRegistryTest.java:setupKDCAndPrincipals(218)) - 
zookeeper { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\zookeeper.keytab
 principal=zookeeper
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
ZOOKEEPER_SERVER { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\zookeeper.keytab
 principal=zookeeper/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
alice { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\alice.keytab
 principal=alice/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
bob { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\bob.keytab
 principal=bob/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 

2014-10-14 11:31:59,479 [JUnit] INFO  secure.AbstractSecureRegistryTest 
(AbstractSecureRegistryTest.java:login(325)) - Logging in as 
zookeeper/localhost in context ZOOKEEPER_SERVER with keytab 
target\kdc\zookeeper.keytab
Debug is  true storeKey true useTicketCache true useKeyTab true doNotPrompt 
true ticketCache is null isInitiator true KeyTab is 
C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\zookeeper.keytab
 refreshKrb5Config is true principal is zookeeper/localhost tryFirstPass is 
false useFirstPass is false storePass is false clearPass is false
Refreshing Kerberos configuration
Acquire TGT from Cache
Principal is zookeeper/localh...@example.com
null credentials from Ticket Cache
principal is zookeeper/localh...@example.com
Will use keytab
Commit Succeeded 

2014-10-14 11:31:59,693 [JUnit] DEBUG service.AbstractService 
(AbstractService.java:enterState(452)) - Service: test-testZookeeperCanWrite 
entered state INITED
2014-10-14 11:31:59,693 [JUnit] INFO  secure.AbstractSecureRegistryTest 

[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171512#comment-14171512
 ] 

Steve Loughran commented on YARN-2689:
--

low-level stack replicated
{code}
javax.security.auth.login.LoginException: Unable to obtain password from user

at 
com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:856)
at 
com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:719)
at 
com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:584)
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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)
at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)
at javax.security.auth.login.LoginContext.login(LoginContext.java:595)
at org.apache.zookeeper.Login.login(Login.java:292)
at org.apache.zookeeper.Login.init(Login.java:93)
at 
org.apache.hadoop.registry.secure.TestSecureRegistry.testLowlevelZKSaslLogin(TestSecureRegistry.java:81)

{code}

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran

 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171545#comment-14171545
 ] 

Steve Loughran commented on YARN-2689:
--

login is looking for domained principal
{code}
JVM krb5.conf to: 
C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\1413321345247\krb5.conf
2014-10-14 14:15:53,044 [main] INFO  secure.AbstractSecureRegistryTest 
(AbstractSecureRegistryTest.java:setupKDCAndPrincipals(219)) - 
zookeeper { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\zookeeper.keytab
 debug=true
 principal=zookeeper
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
ZOOKEEPER_SERVER { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\zookeeper.keytab
 debug=true
 principal=zookeeper/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
alice { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\alice.keytab
 debug=true
 principal=alice/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
bob { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\bob.keytab
 debug=true
 principal=bob/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 

Debug is  true storeKey true useTicketCache false useKeyTab true doNotPrompt 
true ticketCache is null isInitiator true KeyTab is 
C:Workhadoop-trunkhadoop-yarn-projecthadoop-yarnhadoop-yarn-registry   
argetkdczookeeper.keytab refreshKrb5Config is false principal is 
zookeeper/localhost tryFirstPass is false useFirstPass is false storePass is 
false clearPass is false
Key for the principal zookeeper/localh...@example.com not available in 
C:Workhadoop-trunkhadoop-yarn-projecthadoop-yarnhadoop-yarn-registry 
argetkdczookeeper.keytab
[Krb5LoginModule] authentication failed 
Unable to obtain password from user
{code}

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran

 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171561#comment-14171561
 ] 

Steve Loughran commented on YARN-2689:
--

correction: login is looking for a keytab string that needs to be escaped in 
the jaas conf file

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran

 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171587#comment-14171587
 ] 

Steve Loughran commented on YARN-2689:
--

After fix ZK comes up registry not playing nice, permissions?
{code}
testUserZookeeperHomePathAccess(org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations)
  Time elapsed: 1.067 s
ec   ERROR!
org.apache.hadoop.service.ServiceStateException: 
org.apache.hadoop.registry.client.exceptions.AuthenticationFailedExcept
ion: `/registry': Authentication Failed: 
org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = Aut
hFailed for /registry: KeeperErrorCode = AuthFailed for /registry
at org.apache.zookeeper.KeeperException.create(KeeperException.java:123)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
at 
org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:688)
at 
org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:672)
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)
at 
org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:668)
at 
org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:453)
at 
org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:443)
at 
org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:423)
at 
org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:44)
at 
org.apache.hadoop.registry.client.impl.zk.CuratorService.zkMkPath(CuratorService.java:544)
at 
org.apache.hadoop.registry.client.impl.zk.CuratorService.maybeCreate(CuratorService.java:431)
at 
org.apache.hadoop.registry.server.services.RegistryAdminService.createRootRegistryPaths(RegistryAdminService.
java:246)
at 
org.apache.hadoop.registry.server.services.RegistryAdminService.serviceStart(RegistryAdminService.java:215)
at 
org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
at 
org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations$1.run(TestSecureRMRegistryOperations.java:10
5)
at 
org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations$1.run(TestSecureRMRegistryOperations.java:97
)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
at 
org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations.startRMRegistryOperations(TestSecureRMRegist
ryOperations.java:96)
at 
org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations.testUserZookeeperHomePathAccess(TestSecureRM
RegistryOperations.java:226)

{code}

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran

 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171625#comment-14171625
 ] 

Steve Loughran commented on YARN-2689:
--

more traces; 

{code}
2014-10-14 15:07:41,573 [main] DEBUG service.AbstractService 
(AbstractService.java:enterState(452)) - Service: classTeardown entered state 
INITED
2014-10-14 15:07:41,573 [main] DEBUG service.CompositeService 
(CompositeService.java:serviceInit(104)) - classTeardown: initing services, 
size=0
2014-10-14 15:07:41,573 [main] DEBUG service.CompositeService 
(CompositeService.java:serviceStart(115)) - classTeardown: starting services, 
size=0
2014-10-14 15:07:41,573 [main] DEBUG service.AbstractService 
(AbstractService.java:start(197)) - Service classTeardown is started
2014-10-14 15:07:41,587 [main] DEBUG service.AbstractService 
(AbstractService.java:enterState(452)) - Service: registrySecurity entered 
state INITED
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(259)) 
- Configuration:
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(260)) 
- ---
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   debug: true
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   transport: TCP
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   max.ticket.lifetime: 8640
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   org.name: EXAMPLE
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   kdc.port: 0
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   org.domain: COM
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   max.renewable.lifetime: 60480
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   instance: DefaultKrbServer
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(262)) 
-   kdc.bind.address: localhost
2014-10-14 15:07:41,603 [main] INFO  minikdc.MiniKdc (MiniKdc.java:init(264)) 
- ---
2014-10-14 15:07:48,259 [main] INFO  minikdc.MiniKdc 
(MiniKdc.java:initKDCServer(480)) - MiniKdc listening at port: 50351
2014-10-14 15:07:48,259 [main] INFO  minikdc.MiniKdc 
(MiniKdc.java:initKDCServer(481)) - MiniKdc setting JVM krb5.conf to: 
C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\1413324461603\krb5.conf
2014-10-14 15:07:48,775 [main] INFO  secure.AbstractSecureRegistryTest 
(AbstractSecureRegistryTest.java:setupKDCAndPrincipals(219)) - 
zookeeper { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:/Work/hadoop-trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/target/kdc/zookeeper.keytab
 debug=true
 principal=zookeeper
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
ZOOKEEPER_SERVER { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:/Work/hadoop-trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/target/kdc/zookeeper.keytab
 debug=true
 principal=zookeeper/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
alice { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:/Work/hadoop-trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/target/kdc/alice.keytab
 debug=true
 principal=alice/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 
bob { 
 com.sun.security.auth.module.Krb5LoginModule required
 
keyTab=C:/Work/hadoop-trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/target/kdc/bob.keytab
 debug=true
 principal=bob/localhost
 useKeyTab=true
 useTicketCache=false
 doNotPrompt=true
 storeKey=true;
}; 

2014-10-14 15:07:48,900 [JUnit] INFO  secure.AbstractSecureRegistryTest 
(AbstractSecureRegistryTest.java:login(328)) - Logging in as 
zookeeper/localhost in context ZOOKEEPER_SERVER with keytab 
target\kdc\zookeeper.keytab
Debug is  true storeKey true useTicketCache true useKeyTab true doNotPrompt 
true ticketCache is null isInitiator true KeyTab is 
C:\Work\hadoop-trunk\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-registry\target\kdc\zookeeper.keytab
 refreshKrb5Config is true principal is zookeeper/localhost tryFirstPass is 
false useFirstPass is false storePass is false clearPass is false
Refreshing Kerberos configuration
Acquire TGT from Cache
Principal is zookeeper/localh...@example.com
null credentials from Ticket Cache
principal is zookeeper/localh...@example.com
Will use keytab
Commit Succeeded 

2014-10-14 15:07:49,165 [JUnit] DEBUG service.AbstractService 
(AbstractService.java:enterState(452)) - Service: 
test-testUserZookeeperHomePathAccess entered state INITED
2014-10-14 15:07:49,165 [JUnit] 

[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171628#comment-14171628
 ] 

Steve Loughran commented on YARN-2689:
--

key section
{code}
15:07:49 PDT 2014
Entered Krb5Context.initSecContext with state=STATE_NEW
Found ticket for zookee...@example.com to go to krbtgt/example@example.com 
expiring on Wed Oct 15 15:07:49 PDT 2014
Service ticket not found in the subject
KrbException: Server not found in Kerberos database (7) - Server not found in 
Kerberos database
at sun.security.krb5.KrbTgsRep.init(KrbTgsRep.java:73)
at sun.security.krb5.KrbTgsReq.getReply(KrbTgsReq.java:192)
at sun.security.krb5.KrbTgsReq.sendAndGetCreds(KrbTgsReq.java:203)
at 
sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUtil.java:309)
at 
sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds(CredentialsUtil.java:115)
at 
sun.security.krb5.Credentials.acquireServiceCreds(Credentials.java:454)
at 
sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:641)
at 
sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248)
at 
sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)
at 
com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)
at 
org.apache.zookeeper.client.ZooKeeperSaslClient$2.run(ZooKeeperSaslClient.java:366)
at 
org.apache.zookeeper.client.ZooKeeperSaslClient$2.run(ZooKeeperSaslClient.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at 
org.apache.zookeeper.client.ZooKeeperSaslClient.createSaslToken(ZooKeeperSaslClient.java:362)
at 
org.apache.zookeeper.client.ZooKeeperSaslClient.createSaslToken(ZooKeeperSaslClient.java:348)
at 
org.apache.zookeeper.client.ZooKeeperSaslClient.sendSaslPacket(ZooKeeperSaslClient.java:420)
at 
org.apache.zookeeper.client.ZooKeeperSaslClient.initialize(ZooKeeperSaslClient.java:458)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1013)
Caused by: KrbException: Identifier doesn't match expected value (906)
at sun.security.krb5.internal.KDCRep.init(KDCRep.java:143)
at sun.security.krb5.internal.TGSRep.init(TGSRep.java:66)
at sun.security.krb5.internal.TGSRep.init(TGSRep.java:61)
at sun.security.krb5.KrbTgsRep.init(KrbTgsRep.java:55)
... 18 more
2014-10-14 15:07:49,816 [JUnit-SendThread(127.0.0.1:50366)] ERROR 
client.ZooKeeperSaslClient (ZooKeeperSaslClient.java:createSaslToken(384)) - An 
error: (java.security.PrivilegedActionException: 
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: 
No valid credentials provided (Mechanism level: Server not found in Kerberos 
database (7) - Server not found in Kerberos database)]) occurred when 
evaluating Zookeeper Quorum Member's  received SASL token. Zookeeper Client 
will go to AUTH_FAILED state.
2014-10-14 15:07:49,816 [JUnit-SendThread(127.0.0.1:50366)] ERROR 
zookeeper.ClientCnxn (ClientCnxn.java:run(1015)) - SASL authentication with 
Zookeeper Quorum member failed: javax.security.sasl.SaslException: An error: 
(java.security.PrivilegedActionException: javax.security.sasl.SaslException: 
GSS initiate failed [Caused by GSSException: No valid credentials provided 
(Mechanism level: Server not found in Kerberos database (7) - Server not found 
in Kerberos database)]) occurred when evaluating Zookeeper Quorum Member's  
received SASL token. Zookeeper Client will go to AUTH_FAILED state.
{code}

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran

 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (YARN-2689) TestSecureRMRegistryOperations failing on windows

2014-10-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171700#comment-14171700
 ] 

Hadoop QA commented on YARN-2689:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12674868/YARN-2689-001.patch
  against trunk revision cdce883.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/5391//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/5391//console

This message is automatically generated.

 TestSecureRMRegistryOperations failing on windows
 -

 Key: YARN-2689
 URL: https://issues.apache.org/jira/browse/YARN-2689
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: api, resourcemanager
Affects Versions: 2.6.0
 Environment: Windows server, Java 7, ZK 3.4.6
Reporter: Steve Loughran
Assignee: Steve Loughran
 Attachments: YARN-2689-001.patch


 the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
 doesnt start on windows, 
 {code}
 org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
 not configure server because SASL configuration did not allow the  ZooKeeper 
 server to authenticate itself properly: 
 javax.security.auth.login.LoginException: Unable to obtain password from user
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)