[ https://issues.apache.org/jira/browse/HDFS-13537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468293#comment-16468293 ]
Xiao Liang edited comment on HDFS-13537 at 5/9/18 4:33 AM: ----------------------------------------------------------- Thanks [~elgoiri], sure, please help take a look at [^HDFS-13537.001.patch] with variable extracted. In the test result, the failed cases seem not related with the patch, they don't call the method changed in the patch. was (Author: surmountian): Thanks [~elgoiri], sure, please help take a look at [^HDFS-13537.001.patch] with variable extracted. In the test result, the failed cases seem not related with the the patch, they don't call the method changed in the patch. > TestHdfsHelper does not generate jceks path properly for relative path in > Windows > --------------------------------------------------------------------------------- > > Key: HDFS-13537 > URL: https://issues.apache.org/jira/browse/HDFS-13537 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Xiao Liang > Assignee: Xiao Liang > Priority: Major > Labels: windows > Attachments: HDFS-13537.000.patch, HDFS-13537.001.patch > > > In TestHdfsHelper#startMiniHdfs, jceks path is generated as: > {code:java} > final String jceksPath = JavaKeyStoreProvider.SCHEME_NAME + "://file" + > new Path(helper.getTestRootDir(), "test.jks").toUri();{code} > while the path from getTestRootDir() is a relative path (in windows), the > result will be incorrect due to no "/" between "://file" and the relative > path. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org