Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3933

Unclean exit in ReplicationMonitor#run occasionally causes tests to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0-alpha
    • None
    • None
    • None

    Description

      I've seen the following in jenkins jobs for TestHadoopArchives and TestBlockTokenWithDFS. We're not getting the initial ExitException thrown by ReplicationMonitor, just the log of the ExitException in MiniDFSCluster shutdown. Looks like the ExitException has no message so the throwable that resulted in the ExitException has no message, in which case it would be useful to capture the whole stacktrace of the throwable.

      2012-09-12 18:22:08,370 FATAL [main] hdfs.MiniDFSCluster (MiniDFSCluster.java:shutdown(1355)) - Test resulted in an unexpected exit
      org.apache.hadoop.util.ExitUtil$ExitException
      	at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:86)
      	at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:104)
      	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor.run(BlockManager.java:3031)
      	at java.lang.Thread.run(Thread.java:662)
      

      Attachments

        Issue Links

          Activity

            People

              eli Eli Collins
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: