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

Brook Zhou updated YARN-7131:
-----------------------------
    Component/s: nodemanager

> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to