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

Steve Loughran commented on YARN-913:
-------------------------------------

test result is spurious: the build was cancelled. 

test output from a full run
{code}
------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.yarn.registry.client.binding.TestMarshalling
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec - in 
org.apache.hadoop.yarn.registry.client.binding.TestMarshalling
Running org.apache.hadoop.yarn.registry.client.binding.TestRegistryPathUtils
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec - in 
org.apache.hadoop.yarn.registry.client.binding.TestRegistryPathUtils
Running 
org.apache.hadoop.yarn.registry.client.services.TestMicroZookeeperService
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.522 sec - in 
org.apache.hadoop.yarn.registry.client.services.TestMicroZookeeperService
Running org.apache.hadoop.yarn.registry.client.services.TestCuratorService
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.852 sec - in 
org.apache.hadoop.yarn.registry.client.services.TestCuratorService
Running org.apache.hadoop.yarn.registry.operations.TestRegistryOperations
Tests run: 23, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 3.075 sec <<< 
FAILURE! - in org.apache.hadoop.yarn.registry.operations.TestRegistryOperations
testLsEmptyPath(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.449 sec  <<< ERROR!
java.lang.Exception: Unexpected exception, 
expected<org.apache.hadoop.fs.PathNotFoundException> but 
was<org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException>
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkList(CuratorService.java:696)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.list(RegistryOperationsService.java:173)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testLsEmptyPath(TestRegistryOperations.java:119)

testDeleteNonEmpty(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.181 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.RegistryIOException: 
`//users/devteam/org-apache-hadoop/hdfs': Failure of existence check on 
//users/devteam/org-apache-hadoop/hdfs: 
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: `/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkStat(CuratorService.java:469)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkPathExists(CuratorService.java:511)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkSet(CuratorService.java:645)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.create(RegistryOperationsService.java:135)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:88)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:70)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testDeleteNonEmpty(TestRegistryOperations.java:100)

testPutGetContainerPersistenceServiceEntry(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.098 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.RegistryIOException: 
`//users/devteam/org-apache-hadoop/hdfs': Failure of existence check on 
//users/devteam/org-apache-hadoop/hdfs: 
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: `/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkStat(CuratorService.java:469)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkPathExists(CuratorService.java:511)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkSet(CuratorService.java:645)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.create(RegistryOperationsService.java:135)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testPutGetContainerPersistenceServiceEntry(TestRegistryOperations.java:450)

testStat(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)  
Time elapsed: 0.087 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.RegistryIOException: 
`//users/devteam/org-apache-hadoop/hdfs': Failure of existence check on 
//users/devteam/org-apache-hadoop/hdfs: 
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: `/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkStat(CuratorService.java:469)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkPathExists(CuratorService.java:511)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkSet(CuratorService.java:645)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.create(RegistryOperationsService.java:135)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:88)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:70)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testStat(TestRegistryOperations.java:74)

testMkdirNoParent(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.052 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs/missing': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs/missing" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs/missing" caused by empty node 
name specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs/missing" caused by empty node 
name specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkMkPath(CuratorService.java:543)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.mknode(RegistryOperationsService.java:114)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testMkdirNoParent(TestRegistryOperations.java:132)

testPutGetServiceEntry(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.082 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.RegistryIOException: 
`//users/devteam/org-apache-hadoop/hdfs': Failure of existence check on 
//users/devteam/org-apache-hadoop/hdfs: 
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: `/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkStat(CuratorService.java:469)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkPathExists(CuratorService.java:511)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkSet(CuratorService.java:645)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.create(RegistryOperationsService.java:135)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:88)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testPutGetServiceEntry(TestRegistryOperations.java:53)

testCreateComplexApplication(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.053 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam': Invalid Path "/registry//users/devteam" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam" caused by empty node name specified @10: Invalid 
path string "/registry//users/devteam" caused by empty node name specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkMkPath(CuratorService.java:543)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.mknode(RegistryOperationsService.java:114)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testCreateComplexApplication(TestRegistryOperations.java:266)

testResolveEmptyPath(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.043 sec  <<< ERROR!
java.lang.Exception: Unexpected exception, 
expected<org.apache.hadoop.fs.PathNotFoundException> but 
was<org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException>
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkRead(CuratorService.java:714)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.resolve(RegistryOperationsService.java:145)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testResolveEmptyPath(TestRegistryOperations.java:125)

testOverwrite(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.059 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.RegistryIOException: 
`//users/devteam/org-apache-hadoop/hdfs': Failure of existence check on 
//users/devteam/org-apache-hadoop/hdfs: 
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: `/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkStat(CuratorService.java:469)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkPathExists(CuratorService.java:511)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkSet(CuratorService.java:645)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.create(RegistryOperationsService.java:135)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:88)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:70)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testOverwrite(TestRegistryOperations.java:215)

testDeleteNonexistentEntry(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.05 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkDelete(CuratorService.java:671)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.delete(RegistryOperationsService.java:192)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testDeleteNonexistentEntry(TestRegistryOperations.java:68)

testLsParent(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations) 
 Time elapsed: 0.067 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.RegistryIOException: 
`//users/devteam/org-apache-hadoop/hdfs': Failure of existence check on 
//users/devteam/org-apache-hadoop/hdfs: 
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: `/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkStat(CuratorService.java:469)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkPathExists(CuratorService.java:511)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkSet(CuratorService.java:645)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.create(RegistryOperationsService.java:135)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:88)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:70)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testLsParent(TestRegistryOperations.java:83)

testStatEmptyPath(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.043 sec  <<< ERROR!
java.lang.Exception: Unexpected exception, 
expected<org.apache.hadoop.fs.PathNotFoundException> but 
was<org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException>
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkStat(CuratorService.java:469)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.stat(RegistryOperationsService.java:156)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testStatEmptyPath(TestRegistryOperations.java:114)

testDeleteServiceEntry(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.062 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.RegistryIOException: 
`//users/devteam/org-apache-hadoop/hdfs': Failure of existence check on 
//users/devteam/org-apache-hadoop/hdfs: 
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: `/registry//users/devteam/org-apache-hadoop/hdfs': Invalid Path 
"/registry//users/devteam/org-apache-hadoop/hdfs" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10: Invalid path string 
"/registry//users/devteam/org-apache-hadoop/hdfs" caused by empty node name 
specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkStat(CuratorService.java:469)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkPathExists(CuratorService.java:511)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkSet(CuratorService.java:645)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.create(RegistryOperationsService.java:135)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:88)
        at 
org.apache.hadoop.yarn.registry.AbstractRegistryTest.putExampleServiceEntry(AbstractRegistryTest.java:70)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testDeleteServiceEntry(TestRegistryOperations.java:62)

testDoubleMkdir(org.apache.hadoop.yarn.registry.operations.TestRegistryOperations)
  Time elapsed: 0.043 sec  <<< ERROR!
org.apache.hadoop.yarn.registry.client.exceptions.InvalidPathnameException: 
`/registry//users/devteam': Invalid Path "/registry//users/devteam" : 
java.lang.IllegalArgumentException: Invalid path string 
"/registry//users/devteam" caused by empty node name specified @10: Invalid 
path string "/registry//users/devteam" caused by empty node name specified @10
        at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.validateZKPath(RegistryPathUtils.java:54)
        at 
org.apache.hadoop.yarn.registry.client.binding.RegistryPathUtils.createFullPath(RegistryPathUtils.java:90)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.createFullPath(CuratorService.java:304)
        at 
org.apache.hadoop.yarn.registry.client.services.zk.CuratorService.zkMkPath(CuratorService.java:543)
        at 
org.apache.hadoop.yarn.registry.client.services.RegistryOperationsService.mknode(RegistryOperationsService.java:114)
        at 
org.apache.hadoop.yarn.registry.operations.TestRegistryOperations.testDoubleMkdir(TestRegistryOperations.java:142)

Running org.apache.hadoop.yarn.registry.secure.TestSecureRegistry
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.993 sec - in 
org.apache.hadoop.yarn.registry.secure.TestSecureRegistry
Running org.apache.hadoop.yarn.registry.secure.TestSecureRMRegistryOperations
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.738 sec - in 
org.apache.hadoop.yarn.registry.secure.TestSecureRMRegistryOperations
Running org.apache.hadoop.yarn.registry.secure.TestRegistrySecurityHelper
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.553 sec - in 
org.apache.hadoop.yarn.registry.secure.TestRegistrySecurityHelper
Running org.apache.hadoop.yarn.registry.secure.TestSecureLogins
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.371 sec <<< 
FAILURE! - in org.apache.hadoop.yarn.registry.secure.TestSecureLogins
testZKinKeytab(org.apache.hadoop.yarn.registry.secure.TestSecureLogins)  Time 
elapsed: 0.154 sec  <<< ERROR!
java.io.IOException: Cannot run program "ktutil": java.io.IOException: error=2, 
No such file or directory
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        at org.apache.hadoop.util.Shell.runCommand(Shell.java:485)
        at org.apache.hadoop.util.Shell.run(Shell.java:455)
        at 
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:702)
        at org.apache.hadoop.util.Shell.execCommand(Shell.java:791)
        at org.apache.hadoop.util.Shell.execCommand(Shell.java:774)
        at 
org.apache.hadoop.yarn.registry.RegistryTestHelper.ktList(RegistryTestHelper.java:321)
        at 
org.apache.hadoop.yarn.registry.secure.TestSecureLogins.testZKinKeytab(TestSecureLogins.java:57)


Results :

Tests in error: 
  TestRegistryOperations.testLsEmptyPath ?  Unexpected exception, 
expected<org.a...
  
TestRegistryOperations.testDeleteNonEmpty:100->AbstractRegistryTest.putExampleServiceEntry:70->AbstractRegistryTest.putExampleServiceEntry:88
 ? RegistryIO
  TestRegistryOperations.testPutGetContainerPersistenceServiceEntry:450 ? 
RegistryIO
  
TestRegistryOperations.testStat:74->AbstractRegistryTest.putExampleServiceEntry:70->AbstractRegistryTest.putExampleServiceEntry:88
 ? RegistryIO
  TestRegistryOperations.testMkdirNoParent:132 ? InvalidPathname 
`/registry//use...
  
TestRegistryOperations.testPutGetServiceEntry:53->AbstractRegistryTest.putExampleServiceEntry:88
 ? RegistryIO
  TestRegistryOperations.testCreateComplexApplication:266 ? InvalidPathname 
`/re...
  TestRegistryOperations.testResolveEmptyPath ?  Unexpected exception, 
expected<...
  
TestRegistryOperations.testOverwrite:215->AbstractRegistryTest.putExampleServiceEntry:70->AbstractRegistryTest.putExampleServiceEntry:88
 ? RegistryIO
  TestRegistryOperations.testDeleteNonexistentEntry:68 ? InvalidPathname 
`/regis...
  
TestRegistryOperations.testLsParent:83->AbstractRegistryTest.putExampleServiceEntry:70->AbstractRegistryTest.putExampleServiceEntry:88
 ? RegistryIO
  TestRegistryOperations.testStatEmptyPath ?  Unexpected exception, 
expected<org...
  
TestRegistryOperations.testDeleteServiceEntry:62->AbstractRegistryTest.putExampleServiceEntry:70->AbstractRegistryTest.putExampleServiceEntry:88
 ? RegistryIO
  TestRegistryOperations.testDoubleMkdir:142 ? InvalidPathname 
`/registry//users...
  TestSecureLogins.testZKinKeytab:57->RegistryTestHelper.ktList:321 ? IO Cannot 
...

Tests run: 85, Failures: 0, Errors: 15, Skipped: 0
{code}

> Add a way to register long-lived services in a YARN cluster
> -----------------------------------------------------------
>
>                 Key: YARN-913
>                 URL: https://issues.apache.org/jira/browse/YARN-913
>             Project: Hadoop YARN
>          Issue Type: New Feature
>          Components: api, resourcemanager
>    Affects Versions: 2.5.0, 2.4.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>         Attachments: 2014-09-03_Proposed_YARN_Service_Registry.pdf, 
> 2014-09-08_YARN_Service_Registry.pdf, RegistrationServiceDetails.txt, 
> YARN-913-001.patch, YARN-913-002.patch, YARN-913-003.patch, 
> YARN-913-003.patch, YARN-913-004.patch, YARN-913-006.patch, yarnregistry.pdf, 
> yarnregistry.tla
>
>
> In a YARN cluster you can't predict where services will come up -or on what 
> ports. The services need to work those things out as they come up and then 
> publish them somewhere.
> Applications need to be able to find the service instance they are to bond to 
> -and not any others in the cluster.
> Some kind of service registry -in the RM, in ZK, could do this. If the RM 
> held the write access to the ZK nodes, it would be more secure than having 
> apps register with ZK themselves.



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

Reply via email to