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

Backup master is going down due to connection refused exception

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.6, 0.92.1, 0.94.0
    • 0.94.1, 0.95.0
    • master
    • None
    • Reviewed

    Description

      The active master node network was down for some time (This node contains Master,DN,ZK,RS). Here backup node got
      notification, and started to became active. Immedietly backup node got aborted with the below exception.

      2012-04-09 10:42:24,270 INFO org.apache.hadoop.hbase.master.SplitLogManager: finished splitting (more than or equal to) 861248320 bytes in 4 log files in [hdfs://192.168.47.205:9000/hbase/.logs/HOST-192-168-47-202,60020,1333715537172-splitting] in 26374ms
      2012-04-09 10:42:24,316 FATAL org.apache.hadoop.hbase.master.HMaster: Master server abort: loaded coprocessors are: []
      2012-04-09 10:42:24,333 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown.
      java.io.IOException: java.net.ConnectException: Connection refused
      	at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:375)
      	at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1045)
      	at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:897)
      	at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:150)
      	at $Proxy13.getProtocolVersion(Unknown Source)
      	at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:183)
      	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:303)
      	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:280)
      	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:332)
      	at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:236)
      	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1276)
      	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1233)
      	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:1220)
      	at org.apache.hadoop.hbase.catalog.CatalogTracker.getCachedConnection(CatalogTracker.java:569)
      	at org.apache.hadoop.hbase.catalog.CatalogTracker.getRootServerConnection(CatalogTracker.java:369)
      	at org.apache.hadoop.hbase.catalog.CatalogTracker.waitForRootServerConnection(CatalogTracker.java:353)
      	at org.apache.hadoop.hbase.catalog.CatalogTracker.verifyRootRegionLocation(CatalogTracker.java:660)
      	at org.apache.hadoop.hbase.master.HMaster.assignRootAndMeta(HMaster.java:616)
      	at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:540)
      	at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:363)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
      	at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
      	at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:488)
      	at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:328)
      	at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:362)
      	... 20 more
      2012-04-09 10:42:24,336 INFO org.apache.hadoop.hbase.master.HMaster: Aborting
      2012-04-09 10:42:24,336 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service threads
      

      Attachments

        1. 90-addendum.patch
          1 kB
          Jieshan Bean
        2. 92-addendum.patch
          1 kB
          Jieshan Bean
        3. 94-addendum.patch
          1 kB
          Jieshan Bean
        4. HBASE-5883-90.patch
          4 kB
          Jieshan Bean
        5. HBASE-5883-92.patch
          4 kB
          Jieshan Bean
        6. HBASE-5883-94.patch
          4 kB
          Jieshan Bean
        7. HBASE-5883-trunk.patch
          4 kB
          Jieshan Bean
        8. trunk-addendum.patch
          1 kB
          Jieshan Bean

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Ted Yu made transition -
            Open Patch Available
            6d 2h 50m 1
            Jonathan Hsieh made transition -
            Patch Available Resolved
            76d 8h 10m 1
            Lars Hofhansl made transition -
            Resolved Closed
            86d 8h 1

            People

              jeason Jieshan Bean
              gopinathan.av Gopinathan A
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: