hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11088) Unittest TestKeyShell, TestCredShell and TestKMS assume UNIX path separator for JECKS key store path
Date Thu, 03 Nov 2016 23:10:59 GMT

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

Hudson commented on HADOOP-11088:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10768 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10768/])
HADOOP-11088. Quash unnecessary safemode WARN message during NameNode (wang: rev 5cad93d5c753112931ce97dba966d1ce6b53724b)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerSafeMode.java


> Unittest TestKeyShell, TestCredShell and TestKMS assume UNIX path separator for JECKS
key store path
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11088
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11088
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: security
>    Affects Versions: 2.4.1
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>             Fix For: 2.6.0
>
>         Attachments: HADOOP-11088.0.patch, HADOOP-11088.1.patch
>
>
> TestKeyShell and TestCredShell assume UNIX path separator for JECKS key store path. This
will fail the tests on Windows which uses a different path separator. The fix should be something
like:
> {code}
> -    jceksProvider = "jceks://file" + tmpDir + "/keystore.jceks";
> +    final Path jksPath = new Path(tmpDir.toString(), "keystore.jceks");
> +    jceksProvider = "jceks://file" + jksPath.toUri();
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message