You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Dinesh Nayak (JIRA)" <ji...@apache.org> on 2014/05/16 12:22:18 UTC

[jira] [Commented] (HADOOP-10133) winutils detection on windows-cygwin fails

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

Dinesh Nayak commented on HADOOP-10133:
---------------------------------------

modifying this line in libexec\hadoop-config.sh helped me  to transform path to windows format for Java code to pick it up .

HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.home.dir="$(cygpath -pw "$HADOOP_PREFIX")""

> winutils detection on windows-cygwin fails
> ------------------------------------------
>
>                 Key: HADOOP-10133
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10133
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.2.0
>         Environment: windows 7, cygwin
>            Reporter: Franjo Markovic
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
> at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:278)
>  at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:300)
> at org.apache.hadoop.util.Shell.<clinit>(Shell.java:293)



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