You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Brook Zhou (JIRA)" <ji...@apache.org> on 2017/08/30 20:26:00 UTC
[jira] [Created] (YARN-7131) FSDownload.unpack should read
determine the type of resource by reading the header bytes
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org