You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Xiao Liang (JIRA)" <ji...@apache.org> on 2018/05/08 18:50:00 UTC

[jira] [Created] (HDFS-13537) TestHdfsHelper does not generate jceks path properly for relative path

Xiao Liang created HDFS-13537:
---------------------------------

             Summary: TestHdfsHelper does not generate jceks path properly for relative path
                 Key: HDFS-13537
                 URL: https://issues.apache.org/jira/browse/HDFS-13537
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Xiao Liang


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org