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: [email protected]
For additional commands, e-mail: [email protected]