You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Bieniosek (JIRA)" <ji...@apache.org> on 2008/05/29 22:49:45 UTC
[jira] Created: (HBASE-651) table.commit should throw
NoSuchColumnFamilyException if column family doesn't exist
table.commit should throw NoSuchColumnFamilyException if column family doesn't exist
------------------------------------------------------------------------------------
Key: HBASE-651
URL: https://issues.apache.org/jira/browse/HBASE-651
Project: Hadoop HBase
Issue Type: Bug
Reporter: Michael Bieniosek
java.io.IOException: java.io.IOException: Requested column family referer: does not exist in HRegion michael_test,,1212093731315 for table michael_test
at org.apache.hadoop.hbase.HRegion.checkColumn(HRegion.java:1678)
at org.apache.hadoop.hbase.HRegion.localput(HRegion.java:1598)
at org.apache.hadoop.hbase.HRegion.batchUpdate(HRegion.java:1421)
at org.apache.hadoop.hbase.HRegionServer.batchUpdate(HRegionServer.java:1552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:413)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:901)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.hadoop.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java:82)
at org.apache.hadoop.hbase.HTable.getRegionServerWithRetries(HTable.java:1028)
at org.apache.hadoop.hbase.HTable.commit(HTable.java:763)
This is what happened when I tried to add a row with a non-existent column family. In principle, it should be easy to create the column family and try again. I'd like to have hbase throw a NoSuchColumnFamilyException so I can figure out I need to create the column family. Alternately, it would be even better if there were some option to make hbase create the column family for me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-651) table.commit should throw
NoSuchColumnFamilyException if column family doesn't exist
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-651.
-------------------------
Resolution: Fixed
Fix Version/s: 0.2.0
Committed fix to TRUNK. Thanks Michael.
> table.commit should throw NoSuchColumnFamilyException if column family doesn't exist
> ------------------------------------------------------------------------------------
>
> Key: HBASE-651
> URL: https://issues.apache.org/jira/browse/HBASE-651
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: Michael Bieniosek
> Fix For: 0.2.0
>
>
> java.io.IOException: java.io.IOException: Requested column family referer: does not exist in HRegion michael_test,,1212093731315 for table michael_test
> at org.apache.hadoop.hbase.HRegion.checkColumn(HRegion.java:1678)
> at org.apache.hadoop.hbase.HRegion.localput(HRegion.java:1598)
> at org.apache.hadoop.hbase.HRegion.batchUpdate(HRegion.java:1421)
> at org.apache.hadoop.hbase.HRegionServer.batchUpdate(HRegionServer.java:1552)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:413)
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:901)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at org.apache.hadoop.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java:82)
> at org.apache.hadoop.hbase.HTable.getRegionServerWithRetries(HTable.java:1028)
> at org.apache.hadoop.hbase.HTable.commit(HTable.java:763)
> This is what happened when I tried to add a row with a non-existent column family. In principle, it should be easy to create the column family and try again. I'd like to have hbase throw a NoSuchColumnFamilyException so I can figure out I need to create the column family. Alternately, it would be even better if there were some option to make hbase create the column family for me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HBASE-651) table.commit should throw
NoSuchColumnFamilyException if column family doesn't exist
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack reassigned HBASE-651:
---------------------------
Assignee: stack
> table.commit should throw NoSuchColumnFamilyException if column family doesn't exist
> ------------------------------------------------------------------------------------
>
> Key: HBASE-651
> URL: https://issues.apache.org/jira/browse/HBASE-651
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: Michael Bieniosek
> Assignee: stack
> Fix For: 0.2.0
>
>
> java.io.IOException: java.io.IOException: Requested column family referer: does not exist in HRegion michael_test,,1212093731315 for table michael_test
> at org.apache.hadoop.hbase.HRegion.checkColumn(HRegion.java:1678)
> at org.apache.hadoop.hbase.HRegion.localput(HRegion.java:1598)
> at org.apache.hadoop.hbase.HRegion.batchUpdate(HRegion.java:1421)
> at org.apache.hadoop.hbase.HRegionServer.batchUpdate(HRegionServer.java:1552)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:413)
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:901)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at org.apache.hadoop.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java:82)
> at org.apache.hadoop.hbase.HTable.getRegionServerWithRetries(HTable.java:1028)
> at org.apache.hadoop.hbase.HTable.commit(HTable.java:763)
> This is what happened when I tried to add a row with a non-existent column family. In principle, it should be easy to create the column family and try again. I'd like to have hbase throw a NoSuchColumnFamilyException so I can figure out I need to create the column family. Alternately, it would be even better if there were some option to make hbase create the column family for me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.