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

TestNNThroughputBenchmark should not used a fixed http port

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.16.1
    • test
    • None

    Description

      HADOOP-2601 only fixed the main namenode port. It also needed to fix the namenode http port. I get failures like:

      Testcase: testNNThroughput took 1.048 sec
      Caused an ERROR
      Address already in use java.net.BindException: Address already in use
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
      at java.net.ServerSocket.bind(ServerSocket.java:319)
      at java.net.ServerSocket.<init>(ServerSocket.java:185)
      at org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:391)
      at org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477)
      at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503)
      at org.mortbay.http.SocketListener.start(SocketListener.java:203)
      at org.mortbay.http.HttpServer.doStart(HttpServer.java:761)
      at org.mortbay.util.Container.start(Container.java:72)
      at org.apache.hadoop.mapred.StatusHttpServer.start(StatusHttpServer.java:182)
      at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:294)
      at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:235)
      at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:130)
      at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:175)
      at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:161)
      at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:843)
      at org.apache.hadoop.dfs.NNThroughputBenchmark.<init>(NNThroughputBenchmark.java:74)
      at org.apache.hadoop.dfs.NNThroughputBenchmark.runBenchmark(NNThroughputBenchmark.java:769)
      at org.apache.hadoop.dfs.TestNNThroughputBenchmark.testNNThroughput(TestNNThroughputBenchmark.java:32)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            omalley Owen O'Malley Assign to me
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment