Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5584

Include name of JAR/Tar/Zip on failure to expand artifact on download

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.2
    • None
    • nodemanager
    • None

    Description

      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.

      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)
      

      Attachments

        Issue Links

          Activity

            People

              ajithshetty Ajith S
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: