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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/09/04 15:17:52 UTC
[jira] [Created] (HADOOP-11061) Make Shell probe for winutils.exe
more rigorous
Steve Loughran created HADOOP-11061:
---------------------------------------
Summary: Make Shell probe for winutils.exe more rigorous
Key: HADOOP-11061
URL: https://issues.apache.org/jira/browse/HADOOP-11061
Project: Hadoop Common
Issue Type: Bug
Components: native
Affects Versions: 2.5.0
Environment: windows
Reporter: Steve Loughran
Priority: Minor
The probe for winutils.exe being valid is simple: it looks for the file existing.
It could be stricter and catch some (unlikely but possible) failure modes:
# winutils.exe being a directory
# winutils.exe being a 0-byte file
# winutils.exe not being readable
# winutils.exe not having the magic "MZ" header
These tests could all be combined simply by opening the file and validating the header ... all the conditions above would be detected
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)