HBase
  1. HBase
  2. HBASE-159

[hbase] If master asks region server to shut down, by-pass return of shutdown message

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If master tells cluster to shut down, currently region servers hang on the exit. They are trying return to the exited-master a report that they are on the way out. This report should not be sent in this scenario. Here's a log excerpt:

      2007-08-16 16:56:52,005 DEBUG org.apache.hadoop.hbase.HRegionServer: Got regionserver stop message
      2007-08-16 16:56:52,005 INFO org.apache.hadoop.hbase.Leases: closing leases
      2007-08-16 16:56:52,005 INFO org.apache.hadoop.hbase.Leases: leases closed
      2007-08-16 16:56:52,005 INFO org.apache.hadoop.ipc.Server: Stopping server on 60010
      2007-08-16 16:56:52,005 INFO org.apache.hadoop.ipc.Server: IPC Server handler 0 on 60010: exiting
      ....
      2007-08-16 16:56:52,007 INFO org.apache.hadoop.hbase.HRegionServer: cacheFlusher exiting
      2007-08-16 16:56:52,007 DEBUG org.apache.hadoop.hbase.HLog: closing log writer in /bfd/hadoop-stack-data/tmp/hbase/log_208.76.44.139_60010
      2007-08-16 16:56:52,007 INFO org.apache.hadoop.hbase.HRegionServer: splitOrCompactChecker exiting
      2007-08-16 16:56:52,007 INFO org.apache.hadoop.hbase.HRegionServer: logRoller exiting
      2007-08-16 16:56:52,141 INFO org.apache.hadoop.hbase.HRegionServer: telling master that region server is shutting down at: 208.76.44.139:60010
      2007-08-16 16:57:01,990 INFO org.apache.hadoop.hbase.HRegionServer: worker thread exiting
      2007-08-16 16:57:52,153 WARN org.apache.hadoop.hbase.HRegionServer:
      java.net.SocketTimeoutException: timed out waiting for rpc response
      at org.apache.hadoop.ipc.Client.call(Client.java:472)
      at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:165)
      at $Proxy1.regionServerReport(Unknown Source)
      at org.apache.hadoop.hbase.HRegionServer.run(HRegionServer.java:767)
      at java.lang.Thread.run(Thread.java:619)
      2007-08-16 16:57:52,155 INFO org.apache.hadoop.hbase.HRegionServer: stopping server at: 208.76.44.139:60010
      2007-08-16 16:57:52,155 INFO org.apache.hadoop.hbase.HRegionServer: HRegionServer stopped at: 208.76.44.139:60010
      2007-08-16 16:57:52,155 INFO org.apache.hadoop.hbase.HRegionServer: main thread exiting

        Issue Links

          Activity

          Owen O'Malley made changes -
          Fix Version/s 0.15.0 [ 12312565 ]
          Assignee Jim Kellerman [ jimk ]
          Project Hadoop Core [ 12310240 ] Hadoop HBase [ 12310753 ]
          Affects Version/s 0.15.0 [ 12312565 ]
          Key HADOOP-1723 HBASE-159
          Owen O'Malley made changes -
          Component/s contrib/hbase [ 12311752 ]
          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jim Kellerman made changes -
          Link This issue blocks HADOOP-1726 [ HADOOP-1726 ]
          Jim Kellerman made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Jim Kellerman made changes -
          Fix Version/s 0.15.0 [ 12312565 ]
          Affects Version/s 0.15.0 [ 12312565 ]
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jim Kellerman made changes -
          Attachment HADOOP-1723-patch.txt [ 12364191 ]
          Jim Kellerman made changes -
          Field Original Value New Value
          Assignee stack [ stack ] Jim Kellerman [ jimk ]
          stack created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              stack
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development