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

TestJMXGet fails occasionally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4, 2.8.2
    • None
    • Reviewed

    Description

      TestJMXGet times out occasionally with the following call stack.

      java.lang.Exception: test timed out
      	at java.lang.Object.wait(Native Method)
      	at java.io.PipedInputStream.awaitSpace(PipedInputStream.java:273)
      	at java.io.PipedInputStream.receive(PipedInputStream.java:231)
      	at java.io.PipedOutputStream.write(PipedOutputStream.java:149)
      	at java.io.PrintStream.write(PrintStream.java:480)
      	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
      	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
      	at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
      	at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185)
      	at java.io.PrintStream.write(PrintStream.java:527)
      	at java.io.PrintStream.print(PrintStream.java:669)
      	at java.io.PrintStream.println(PrintStream.java:806)
      	at org.apache.hadoop.hdfs.tools.JMXGet.err(JMXGet.java:245)
      	at org.apache.hadoop.hdfs.tools.JMXGet.printAllValues(JMXGet.java:105)
      	at org.apache.hadoop.tools.TestJMXGet.checkPrintAllValues(TestJMXGet.java:136)
      	at org.apache.hadoop.tools.TestJMXGet.testNameNode(TestJMXGet.java:108)
      

      Attachments

        1. HDFS-11967.01.patch
          0.9 kB
          Arpit Agarwal

        Activity

          People

            arp Arpit Agarwal
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: