hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Liang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-13537) TestHdfsHelper does not generate jceks path properly for relative path in Windows
Date Wed, 09 May 2018 23:30:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-13537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiao Liang updated HDFS-13537:
------------------------------
    Attachment: image-2018-05-09-16-29-50-976.png

> 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-branch-2.000.patch, HDFS-13537.000.patch, HDFS-13537.001.patch,
image-2018-05-09-16-29-50-976.png
>
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message