[ https://issues.apache.org/jira/browse/HADOOP-10775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196211#comment-14196211 ]
Steve Loughran commented on HADOOP-10775: ----------------------------------------- Also, if {{winutils.exe}} is on the path, no check is actually made for this. the code in hadoop assumes # that {{HADOOP_HOME}} is defined and exists # that {{$HADOOP_HOME/bin/winutils.exe}} exists > Shell operations to fail with meaningful errors on windows if winutils.exe > not found > ------------------------------------------------------------------------------------ > > Key: HADOOP-10775 > URL: https://issues.apache.org/jira/browse/HADOOP-10775 > Project: Hadoop Common > Issue Type: Improvement > Components: util > Affects Versions: trunk-win > Environment: Apache jenkins windows1 server > Reporter: Steve Loughran > Priority: Minor > > If {{winutils.exe}} can't be found {{HADOOP_HOME}} wrong/unset or other > causes, then an error is logged -but when any of the {{Shell}} operations are > used, an NPE is raised rather than something meaningful. > The error message at setup time should be preserved and then raised before > any attempt to invoke a winutils-driven process made -- This message was sent by Atlassian JIRA (v6.3.4#6332)