Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2972

org.apache.hadoop.dfs.TestDFSShell.testErrOutPut fails on Windows with NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.17.0
    • 0.17.0
    • None
    • None
    • windows

    Description

      org.apache.hadoop.dfs.TestDFSShell.testErrOutPut fails on Windows with NullPointerException

      Here is the exception:
      2008-03-07 10:18:45,699 INFO util.ThreadedServer (ThreadedServer.java:run(656)) - Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=4781]
      2008-03-07 10:18:45,699 ERROR dfs.DataNode (DataNode.java:run(2623)) - Exception: java.lang.NullPointerException
      at org.apache.hadoop.dfs.FSDataset.invalidate(FSDataset.java:858)
      at org.apache.hadoop.dfs.DataNode.processCommand(DataNode.java:722)
      at org.apache.hadoop.dfs.DataNode.offerService(DataNode.java:599)
      at org.apache.hadoop.dfs.DataNode.run(DataNode.java:2621)
      at java.lang.Thread.run(Thread.java:595)

      2008-03-07 10:18:46,118 ERROR dfs.DataNode (DataNode.java:run(2623)) - Exception: java.lang.NullPointerException
      at org.apache.hadoop.dfs.FSDataset.invalidate(FSDataset.java:858)
      at org.apache.hadoop.dfs.DataNode.processCommand(DataNode.java:722)
      at org.apache.hadoop.dfs.DataNode.offerService(DataNode.java:599)
      at org.apache.hadoop.dfs.DataNode.run(DataNode.java:2621)
      at java.lang.Thread.run(Thread.java:595)

      2008-03-07 10:18:46,615 INFO http.SocketListener (SocketListener.java:stop(212)) - Stopped SocketListener on 0.0.0.0:4781
      2008-03-07 10:18:46,615 INFO util.Container (Container.java:stop(156)) - Stopped org.mortbay.jetty.servlet.WebApplicationHandler@1cb7a1

      Attachments

        1. Hadoop-2972_2.patch
          0.9 kB
          Mahadev Konar
        2. Hadoop-2972_1.patch
          0.9 kB
          Mahadev Konar

        Activity

          People

            mahadev Mahadev Konar
            mukundm Mukund Madhugiri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: