[
https://issues.apache.org/jira/browse/HBASE-13824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569651#comment-14569651
]
Hudson commented on HBASE-13824:
--------------------------------
SUCCESS: Integrated in HBase-1.1 #519 (See
[https://builds.apache.org/job/HBase-1.1/519/])
HBASE-13824 TestGenerateDelegationToken: Master fails to start in Windows
environment (Stephen Jiang) (tedyu: rev
bbb8de3103b0cd399ca6058029534cdc4d38b1ec)
*
hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/TestGenerateDelegationToken.java
> TestGenerateDelegationToken: Master fails to start in Windows environment
> -------------------------------------------------------------------------
>
> Key: HBASE-13824
> URL: https://issues.apache.org/jira/browse/HBASE-13824
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 2.0.0, 1.1.0, 1.2.0
> Reporter: Stephen Yuan Jiang
> Assignee: Stephen Yuan Jiang
> Priority: Minor
> Fix For: 2.0.0, 1.2.0, 1.1.1
>
> Attachments: HBASE-13824.patch
>
>
> Master fails to start in the unit test
> org.apache.hadoop.hbase.security.token.TestGenerateDelegationToken in Windows
> environment:
> {noformat}
> java.lang.RuntimeException: Master not initialized after 200000ms seconds
> at
> org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:225)
> at
> org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:445)
> at
> org.apache.hadoop.hbase.security.token.TestGenerateDelegationToken.setUp(TestGenerateDelegationToken.java:125)
> {noformat}
> This is due to incorrect HDFS path:
> {noformat}
> 2015-06-01 07:40:11,072 FATAL [myjenkins-win:59214.activeMasterManager]
> master.MasterFileSystem(465): Please fix invalid configuration for
> hbase.rootdir hdfs://127.0.0.1:59154/C:/tmp/hbase-jenkins/hbase
> java.lang.IllegalArgumentException: Pathname /C:/tmp/hbase-jenkins/hbase from
> hdfs://127.0.0.1:59154/C:/tmp/hbase-jenkins/hbase is not a valid DFS filename.
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:197)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:106)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301)
> at
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1301)
> at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1424)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:424)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:146)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:126)
> at
> org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:649)
> at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:182)
> at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1646)
> at java.lang.Thread.run(Thread.java:722)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)