HBase
  1. HBase
  2. HBASE-72

[hbase] 'Normal' operation should not depend on throwing of exceptions (e.g. NotServingRegionException)

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Region server and client logs will have lots of the following when a cluster is being loaded:

      org.apache.hadoop.hbase.NotServingRegionException: hbaserepository,,7144829661993961256
              at org.apache.hadoop.hbase.HRegionServer.getRegion(HRegionServer.java:1208)
              at org.apache.hadoop.hbase.HRegionServer.getRegion(HRegionServer.java:1180)
              at org.apache.hadoop.hbase.HRegionServer.startUpdate(HRegionServer.java:1122)
              at org.apache.hadoop.hbase.HRegionServer.batchUpdate(HRegionServer.java:985)
              at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:340)
              at org.apache.hadoop.ipc.Server$Handler.run(Server.java:566)
      

      The NotServingRegionException exception is thrown when the remote server is no longer serving the asked-for region (usually because its been split). The server throws the exception to provoke the client into making a new interrogation of region locations.

      It would be an improvement if such 'normal' operation was not built atop exceptions. For example, commits might return a 'region moved' message.

        Issue Links

          Activity

          Andrew Purtell made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Owen O'Malley made changes -
          Key HADOOP-1724 HBASE-72
          Component/s contrib/hbase [ 12311752 ]
          Project Hadoop Core [ 12310240 ] Hadoop HBase [ 12310753 ]
          stack made changes -
          Status Patch Available [ 10002 ] In Progress [ 3 ]
          Anonymous made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Jim Kellerman made changes -
          Link This issue is blocked by HADOOP-1794 [ HADOOP-1794 ]
          Jim Kellerman made changes -
          Priority Minor [ 4 ] Trivial [ 5 ]
          Jim Kellerman made changes -
          Assignee Jim Kellerman [ jimk ]
          Jim Kellerman made changes -
          Resolution Won't Fix [ 2 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Jim Kellerman made changes -
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Jim Kellerman made changes -
          Field Original Value New Value
          Assignee Jim Kellerman [ jimk ]
          stack created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development