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

Throwing IOE read-only when should be throwing NSRE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • None
    • None

    Description

      Am seeing exceptions like the following during 'normal' operation though the region has not been explicitly set to be read-only (new feature added with commit of HBASE-62).

      2008-07-21 20:50:25,071 INFO org.apache.hadoop.ipc.Server: IPC Server handler 3 on 60020, call batchUpdate([B@63443c, row => 0000791906, {column => info:data, value => '...'}) from XX.XX.XX.139:59778: error: java.io.IOException: region is read only
      java.io.IOException: region is read only
              at org.apache.hadoop.hbase.regionserver.HRegion.batchUpdate(HRegion.java:1322)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.batchUpdate(HRegionServer.java:1151)
              at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:438)
              at org.apache.hadoop.ipc.Server$Handler.run(Server.java:896)
      

      Attachments

        1. readonly.patch
          4 kB
          Michael Stack

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: