hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11061) Make Shell probe for winutils.exe more rigorous
Date Thu, 04 Sep 2014 13:17:52 GMT
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)

Mime
View raw message