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] [Updated] (YARN-7131) FSDownload.unpack should read determine the type of resource by reading the header bytes
Date Wed, 30 Aug 2017 20:27:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-7131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brook Zhou updated YARN-7131:
-----------------------------
    Description: 
Currently, there are naive string checks to determine if a resource is 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.

  was:
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.


> 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
>          Components: nodemanager
>            Reporter: Brook Zhou
>            Assignee: Brook Zhou
>
> Currently, there are naive string checks to determine if a resource is 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