Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4135

MRAppMaster throws IllegalStateException while shutting down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0-alpha, 3.0.0-alpha1
    • 0.23.3
    • mrv2
    • None

    Description

      Always MRAppMaster throws IllegalStateException in the stderr while shutting down. It doesn't look good having this exception in the stderr file of MRAppMaster container.

      WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
      Exception in thread "Thread-1" java.lang.IllegalStateException: Shutdown in progress
      	at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:55)
      	at java.lang.Runtime.removeShutdownHook(Runtime.java:220)
      	at org.apache.hadoop.fs.FileSystem$Cache.remove(FileSystem.java:2148)
      	at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:2180)
      	at org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:2157)
      	at org.apache.hadoop.fs.FileSystem.closeAll(FileSystem.java:361)
      	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$MRAppMasterShutdownHook.run(MRAppMaster.java:1014)
      

      Attachments

        1. MAPREDUCE-4135.branch-0.23.patch
          2 kB
          Ravi Prakash
        2. MAPREDUCE-4135.patch
          0.9 kB
          Devaraj Kavali
        3. MAPREDUCE-4135.patch
          0.9 kB
          Devaraj Kavali

        Issue Links

          Activity

            People

              raviprak Ravi Prakash
              devaraj Devaraj Kavali
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: