Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13102

Fix Pseudo-distributed Mode which was broken in 1.0.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0
    • Fix Version/s: 1.0.1, 1.1.0, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      2015-02-25 10:42:17,686 FATAL [main] regionserver.RSRpcServices: The hostname of regionserver cannot be set to localhost in a fully-distributed setup because it won't be reachable. See "Getting Started" for more information.
      2015-02-25 10:42:17,687 ERROR [main] master.HMasterCommandLine: Master exiting
      java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
      	at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2051)
      	at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:198)
      	at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:139)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      	at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
      	at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2065)
      Caused by: java.io.IOException: The hostname of regionserver cannot be set to localhost in a fully-distributed setup because it won't be reachable. See "Getting Started" for more information.
      	at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:793)
      	at org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:198)
      	at org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:486)
      	at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:500)
      	at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:337)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2046)
      	... 5 more
      
      

        Attachments

        1. HBASE-13102.patch
          2 kB
          Elliott Neil Clark

          Activity

            People

            • Assignee:
              eclark Elliott Neil Clark
              Reporter:
              eclark Elliott Neil Clark
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: