Steve Loughran created YARN-5584:
------------------------------------

             Summary: Include name of JAR/Tar/Zip on failure to expand artifact 
on download
                 Key: YARN-5584
                 URL: https://issues.apache.org/jira/browse/YARN-5584
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: nodemanager
    Affects Versions: 2.7.2
            Reporter: Steve Loughran


If yarn can't expand a JAR/ZIP/tar file on download, the exception is passed 
back to the AM —but not the name of which file is failing. This makes it harder 
to track down the problem than one would like.
{code}
java.util.zip.ZipException: invalid CEN header (bad signature)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:215)
        at java.util.zip.ZipFile.<init>(ZipFile.java:145)
        at java.util.zip.ZipFile.<init>(ZipFile.java:159)
        at org.apache.hadoop.fs.FileUtil.unZip(FileUtil.java:589)
        at org.apache.hadoop.yarn.util.FSDownload.unpack(FSDownload.java:277)
        at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:362)
        at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:60)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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