HBase
  1. HBase
  2. HBASE-5004

Better manage standalone setups on Ubuntu, the 127.0.1.1 issue

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.90.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Tags:
      noob

      Description

      Numerous times users have come with issues setting up HBase on Ubuntu because it has the 127.0.1.1 line messing everything. Here's an example:

      2011-12-10 00:18:24,312 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Serving as localhost,33371,1323476299775, RPC listening on /127.0.1.1:33371, sessionid=0x1342555adc90002
      ...
      2011-12-10 00:18:27,135 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Assigning region ROOT,,0.70236052 to localhost,33371,1323476299775
      2011-12-10 00:18:27,135 DEBUG org.apache.hadoop.hbase.master.ServerManager: New connection to localhost,33371,1323476299775
      2011-12-10 00:18:27,155 INFO org.apache.hadoop.ipc.HbaseRPC: Server at /127.0.0.1:33371 could not be reached after 1 tries, giving up.
      2011-12-10 00:18:27,156 WARN org.apache.hadoop.hbase.master.AssignmentManager: Failed assignment of ROOT,,0.70236052 to serverName=localhost,33371,1323476299775, load=(requests=0, regions=0, usedHeap=23, maxHeap=983), trying to assign elsewhere instead; retry=0
      org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting up proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to /127.0.0.1:33371 after attempts=1

      We should have a special check in standalone mode to make sure we won't fall into that trap and then print a useful error message that would hopefully appear on the command line.

        Activity

        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.0 [ 12316419 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.0 [ 12316419 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Jean-Daniel Cryans made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]
        Hide
        Jean-Daniel Cryans added a comment -

        It seems to be fixed in the book in 2.2.3

        Show
        Jean-Daniel Cryans added a comment - It seems to be fixed in the book in 2.2.3
        Lars Hofhansl made changes -
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Fix Version/s 0.90.7 [ 12319481 ]
        ramkrishna.s.vasudevan made changes -
        Fix Version/s 0.90.7 [ 12319481 ]
        Fix Version/s 0.90.6 [ 12319200 ]
        Hide
        ramkrishna.s.vasudevan added a comment -

        Moving to 0.90.7

        Show
        ramkrishna.s.vasudevan added a comment - Moving to 0.90.7
        stack made changes -
        Field Original Value New Value
        Fix Version/s 0.92.0 [ 12314223 ]
        Jean-Daniel Cryans created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Jean-Daniel Cryans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development