[
https://issues.apache.org/jira/browse/HDFS-13591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16491850#comment-16491850
]
Anbang Hu commented on HDFS-13591:
----------------------------------
[~lukmajercak] doing .startsWith/contains might just be cleaner than the
current workaround. [~elgoiri] It doesn't look similar to
-[YARN-8327|https://issues.apache.org/jira/browse/YARN-8327]-.
System out stream seems to return the proper message. With a change of rep count
{code:java}
final String[] argv = new String[] { "-setrep", "2", hdfsFile.toString() };
shell.run(argv)
{code}
the out stream contains message: "The Replication 2 set:
/tmp/TestDFSShell-testSetrepLow/testFileForSetrepLow\r\n"
But system err stream would give: "setrep: Requested replication factor of 1 is
less than the required minimum of 2 for
/tmp/TestDFSShell-testSetrepLow/testFileForSetrepLow\r\r\n"
> TestDFSShell#testSetrepLow fails on Windows
> -------------------------------------------
>
> Key: HDFS-13591
> URL: https://issues.apache.org/jira/browse/HDFS-13591
> Project: Hadoop HDFS
> Issue Type: Test
> Reporter: Anbang Hu
> Assignee: Anbang Hu
> Priority: Minor
> Labels: Windows
> Attachments: HDFS-13591.000.patch
>
>
> https://builds.apache.org/job/hadoop-trunk-win/469/testReport/org.apache.hadoop.hdfs/TestDFSShell/testSetrepLow/
> shows
> {code:java}
> Error message is not the expected error message
> expected:<...testFileForSetrepLow[]
> > but was:<...testFileForSetrepLow[
> ]
> >
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]