You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Keith Thomas (JIRA)" <ji...@apache.org> on 2009/09/15 21:29:58 UTC
[jira] Created: (HBASE-1840) RowLock fails when used with
IndexTable
RowLock fails when used with IndexTable
---------------------------------------
Key: HBASE-1840
URL: https://issues.apache.org/jira/browse/HBASE-1840
Project: Hadoop HBase
Issue Type: Bug
Components: contrib
Affects Versions: 0.20.0
Environment: Ubuntu desktop 9.0.4, Sun Java 1.6.0_16, HBase 0.20.0, Hadoop 0.20.0
Reporter: Keith Thomas
The following exception is thrown when using RowLock to update a row in an IndexedTable:
[junit] java.io.IOException: java.io.IOException: Invalid row lock
[junit] at org.apache.hadoop.hbase.regionserver.HRegion.getLock(HRegion.java:1640)
[junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1244)
[junit] at org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegion.put(IndexedRegion.java:97)
[junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1216)
[junit] at org.apache.hadoop.hbase.regionserver.HRegionServer.put(HRegionServer.java:1818)
[junit] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:650)
[junit] at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
NOTE #1: Line numbers in stacktrace may not make sense because I've been hacking in loads of debug info.
NOTE #2: I attaching a fix which includes unit tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1840) RowLock fails when used with
IndexTable
Posted by "Keith Thomas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Thomas updated HBASE-1840:
--------------------------------
Attachment: HBASE-1840.patch
Patch attached.
> RowLock fails when used with IndexTable
> ---------------------------------------
>
> Key: HBASE-1840
> URL: https://issues.apache.org/jira/browse/HBASE-1840
> Project: Hadoop HBase
> Issue Type: Bug
> Components: contrib
> Affects Versions: 0.20.0
> Environment: Ubuntu desktop 9.0.4, Sun Java 1.6.0_16, HBase 0.20.0, Hadoop 0.20.0
> Reporter: Keith Thomas
> Attachments: HBASE-1840.patch
>
>
> The following exception is thrown when using RowLock to update a row in an IndexedTable:
> [junit] java.io.IOException: java.io.IOException: Invalid row lock
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.getLock(HRegion.java:1640)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1244)
> [junit] at org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegion.put(IndexedRegion.java:97)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1216)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegionServer.put(HRegionServer.java:1818)
> [junit] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:650)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> NOTE #1: Line numbers in stacktrace may not make sense because I've been hacking in loads of debug info.
> NOTE #2: I attaching a fix which includes unit tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HBASE-1840) RowLock fails when used with
IndexTable
Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Gray reassigned HBASE-1840:
------------------------------------
Assignee: Keith Thomas
Patch looks good to me as well. Thanks Keith!
> RowLock fails when used with IndexTable
> ---------------------------------------
>
> Key: HBASE-1840
> URL: https://issues.apache.org/jira/browse/HBASE-1840
> Project: Hadoop HBase
> Issue Type: Bug
> Components: contrib
> Affects Versions: 0.20.0
> Environment: Ubuntu desktop 9.0.4, Sun Java 1.6.0_16, HBase 0.20.0, Hadoop 0.20.0
> Reporter: Keith Thomas
> Assignee: Keith Thomas
> Fix For: 0.20.1, 0.21.0
>
> Attachments: HBASE-1840.patch
>
>
> The following exception is thrown when using RowLock to update a row in an IndexedTable:
> [junit] java.io.IOException: java.io.IOException: Invalid row lock
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.getLock(HRegion.java:1640)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1244)
> [junit] at org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegion.put(IndexedRegion.java:97)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1216)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegionServer.put(HRegionServer.java:1818)
> [junit] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:650)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> NOTE #1: Line numbers in stacktrace may not make sense because I've been hacking in loads of debug info.
> NOTE #2: I attaching a fix which includes unit tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1840) RowLock fails when used with
IndexTable
Posted by "Keith Thomas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Thomas updated HBASE-1840:
--------------------------------
Status: Patch Available (was: Open)
> RowLock fails when used with IndexTable
> ---------------------------------------
>
> Key: HBASE-1840
> URL: https://issues.apache.org/jira/browse/HBASE-1840
> Project: Hadoop HBase
> Issue Type: Bug
> Components: contrib
> Affects Versions: 0.20.0
> Environment: Ubuntu desktop 9.0.4, Sun Java 1.6.0_16, HBase 0.20.0, Hadoop 0.20.0
> Reporter: Keith Thomas
> Attachments: HBASE-1840.patch
>
>
> The following exception is thrown when using RowLock to update a row in an IndexedTable:
> [junit] java.io.IOException: java.io.IOException: Invalid row lock
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.getLock(HRegion.java:1640)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1244)
> [junit] at org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegion.put(IndexedRegion.java:97)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1216)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegionServer.put(HRegionServer.java:1818)
> [junit] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:650)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> NOTE #1: Line numbers in stacktrace may not make sense because I've been hacking in loads of debug info.
> NOTE #2: I attaching a fix which includes unit tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1840) RowLock fails when used with
IndexTable
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-1840:
-------------------------
Fix Version/s: 0.21.0
0.20.1
Bringing into 0.20.1. Patch looks good to me. Will commit in a bit.
> RowLock fails when used with IndexTable
> ---------------------------------------
>
> Key: HBASE-1840
> URL: https://issues.apache.org/jira/browse/HBASE-1840
> Project: Hadoop HBase
> Issue Type: Bug
> Components: contrib
> Affects Versions: 0.20.0
> Environment: Ubuntu desktop 9.0.4, Sun Java 1.6.0_16, HBase 0.20.0, Hadoop 0.20.0
> Reporter: Keith Thomas
> Fix For: 0.20.1, 0.21.0
>
> Attachments: HBASE-1840.patch
>
>
> The following exception is thrown when using RowLock to update a row in an IndexedTable:
> [junit] java.io.IOException: java.io.IOException: Invalid row lock
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.getLock(HRegion.java:1640)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1244)
> [junit] at org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegion.put(IndexedRegion.java:97)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1216)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegionServer.put(HRegionServer.java:1818)
> [junit] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:650)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> NOTE #1: Line numbers in stacktrace may not make sense because I've been hacking in loads of debug info.
> NOTE #2: I attaching a fix which includes unit tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1840) RowLock fails when used with
IndexTable
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-1840:
-------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed branch and trunk. Thanks for the patch Keith.
> RowLock fails when used with IndexTable
> ---------------------------------------
>
> Key: HBASE-1840
> URL: https://issues.apache.org/jira/browse/HBASE-1840
> Project: Hadoop HBase
> Issue Type: Bug
> Components: contrib
> Affects Versions: 0.20.0
> Environment: Ubuntu desktop 9.0.4, Sun Java 1.6.0_16, HBase 0.20.0, Hadoop 0.20.0
> Reporter: Keith Thomas
> Assignee: Keith Thomas
> Fix For: 0.20.1, 0.21.0
>
> Attachments: HBASE-1840.patch
>
>
> The following exception is thrown when using RowLock to update a row in an IndexedTable:
> [junit] java.io.IOException: java.io.IOException: Invalid row lock
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.getLock(HRegion.java:1640)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1244)
> [junit] at org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegion.put(IndexedRegion.java:97)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1216)
> [junit] at org.apache.hadoop.hbase.regionserver.HRegionServer.put(HRegionServer.java:1818)
> [junit] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
> [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:650)
> [junit] at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> NOTE #1: Line numbers in stacktrace may not make sense because I've been hacking in loads of debug info.
> NOTE #2: I attaching a fix which includes unit tests
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.