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

          stack created issue -
          Jim Kellerman made changes -
          Field Original Value New Value
          Assignee stack [ stack ] Jim Kellerman [ jimk ]
          Jim Kellerman made changes -
          Attachment HADOOP-1723-patch.txt [ 12364191 ]
          Jim Kellerman made changes -
          Fix Version/s 0.15.0 [ 12312565 ]
          Affects Version/s 0.15.0 [ 12312565 ]
          Status Open [ 1 ] Patch Available [ 10002 ]
          Show
          Hadoop QA added a comment - +1 http://issues.apache.org/jira/secure/attachment/12364191/HADOOP-1723-patch.txt applied and successfully tested against trunk revision r567824. Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/578/testReport/ Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/578/console
          Hide
          Jim Kellerman added a comment -

          Passes all tests. First Hudson-Patch success in a while.

          Committed.

          Show
          Jim Kellerman added a comment - Passes all tests. First Hudson-Patch success in a while. Committed.
          Jim Kellerman made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Jim Kellerman made changes -
          Link This issue blocks HADOOP-1726 [ HADOOP-1726 ]
          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Owen O'Malley made changes -
          Component/s contrib/hbase [ 12311752 ]
          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
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          4d 4h 19m 1 Jim Kellerman 20/Aug/07 22:29
          Patch Available Patch Available Resolved Resolved
          1h 6m 1 Jim Kellerman 20/Aug/07 23:36
          Resolved Resolved Closed Closed
          76d 19h 35m 1 Doug Cutting 05/Nov/07 18:12

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development