hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brook Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7131) FSDownload.unpack should read determine the type of resource by reading the header bytes
Date Wed, 30 Aug 2017 20:26:00 GMT
Brook Zhou created YARN-7131:
--------------------------------

             Summary: FSDownload.unpack should read determine the type of resource by reading
the header bytes
                 Key: YARN-7131
                 URL: https://issues.apache.org/jira/browse/YARN-7131
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Brook Zhou
            Assignee: Brook Zhou


Currently, there are naive string checks to determine if a resource of a particular type (jar,
zip, tar.gz) 

There can be cases where this does not work - e.g., the user decides to split up a large zip
resource as {file1}.zip.001, {file1}.zip.002.

Instead, FSDownload.unpack should read the file header bytes to determine the file type.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message