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

Xuan Gong commented on MAPREDUCE-5824:
--------------------------------------

The reason is because in windows the path of file is something like : 
"C:\hadoop\..\". which can not pass StringUtils.unEscapeString() check.
We should use StringUtils.escapeString to escape the "\" for the path just like 
we did in FileInputFormat.setInputPaths() which can fix the test failure.

> TestPipesNonJavaInputFormat.testFormat fails in windows
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-5824
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5824
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to