[jira] [Updated] (HBASE-14525) Append and increment operation throws NullPointerException on non-existing column families.
[ https://issues.apache.org/jira/browse/HBASE-14525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-14525: --- Resolution: Fixed Fix Version/s: 1.3.0 2.0.0 Status: Resolved (was: Patch Available) Pushed to branch-1 and master. Not committing to patch branches as it is a minor one. Let me know if u think otherwise. Thanks for the patch Abhishek. > Append and increment operation throws NullPointerException on non-existing > column families. > --- > > Key: HBASE-14525 > URL: https://issues.apache.org/jira/browse/HBASE-14525 > Project: HBase > Issue Type: Bug > Components: shell >Affects Versions: 2.0.0 >Reporter: Abhishek Kumar >Assignee: Abhishek Kumar >Priority: Minor > Fix For: 2.0.0, 1.3.0 > > Attachments: HBASE-14525-V1.patch, HBASE-14525.patch > > > When performing append operation on non-existing column families, > NullPointerException is thrown in hbase shell as shown below: > {noformat} > hbase(main):007:0> append 't1', 'r1', 'none:c1', '123' > ERROR: java.io.IOException > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2175) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:106) > at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130) > at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.hbase.regionserver.HRegion.doGet(HRegion.java:6987) > at org.apache.hadoop.hbase.regionserver.HRegion.append(HRegion.java:7048) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.append(RSRpcServices.java:580) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.mutate(RSRpcServices.java:2206) > at > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32452) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2133) > ... 4 more > {noformat} > This seems to be caused by absence of check for valid family names as done in > other operations like 'Put' in HRegion.java -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14525) Append and increment operation throws NullPointerException on non-existing column families.
[ https://issues.apache.org/jira/browse/HBASE-14525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-14525: --- Hadoop Flags: Reviewed Status: Patch Available (was: Open) > Append and increment operation throws NullPointerException on non-existing > column families. > --- > > Key: HBASE-14525 > URL: https://issues.apache.org/jira/browse/HBASE-14525 > Project: HBase > Issue Type: Bug > Components: shell >Affects Versions: 2.0.0 >Reporter: Abhishek Kumar >Assignee: Abhishek Kumar >Priority: Minor > Attachments: HBASE-14525-V1.patch, HBASE-14525.patch > > > When performing append operation on non-existing column families, > NullPointerException is thrown in hbase shell as shown below: > {noformat} > hbase(main):007:0> append 't1', 'r1', 'none:c1', '123' > ERROR: java.io.IOException > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2175) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:106) > at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130) > at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.hbase.regionserver.HRegion.doGet(HRegion.java:6987) > at org.apache.hadoop.hbase.regionserver.HRegion.append(HRegion.java:7048) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.append(RSRpcServices.java:580) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.mutate(RSRpcServices.java:2206) > at > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32452) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2133) > ... 4 more > {noformat} > This seems to be caused by absence of check for valid family names as done in > other operations like 'Put' in HRegion.java -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14525) Append and increment operation throws NullPointerException on non-existing column families.
[ https://issues.apache.org/jira/browse/HBASE-14525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhishek Kumar updated HBASE-14525: --- Attachment: HBASE-14525-V1.patch yes, put ops fails for invalid column family, thanks for pointing this out, updated patch attached for review. > Append and increment operation throws NullPointerException on non-existing > column families. > --- > > Key: HBASE-14525 > URL: https://issues.apache.org/jira/browse/HBASE-14525 > Project: HBase > Issue Type: Bug > Components: shell >Affects Versions: 2.0.0 >Reporter: Abhishek Kumar >Assignee: Abhishek Kumar >Priority: Minor > Attachments: HBASE-14525-V1.patch, HBASE-14525.patch > > > When performing append operation on non-existing column families, > NullPointerException is thrown in hbase shell as shown below: > {noformat} > hbase(main):007:0> append 't1', 'r1', 'none:c1', '123' > ERROR: java.io.IOException > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2175) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:106) > at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130) > at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.hbase.regionserver.HRegion.doGet(HRegion.java:6987) > at org.apache.hadoop.hbase.regionserver.HRegion.append(HRegion.java:7048) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.append(RSRpcServices.java:580) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.mutate(RSRpcServices.java:2206) > at > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32452) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2133) > ... 4 more > {noformat} > This seems to be caused by absence of check for valid family names as done in > other operations like 'Put' in HRegion.java -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14525) Append and increment operation throws NullPointerException on non-existing column families.
[ https://issues.apache.org/jira/browse/HBASE-14525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhishek Kumar updated HBASE-14525: --- Summary: Append and increment operation throws NullPointerException on non-existing column families. (was: Append and increment operation throws NullPointerException when appending on non-existing column families.) > Append and increment operation throws NullPointerException on non-existing > column families. > --- > > Key: HBASE-14525 > URL: https://issues.apache.org/jira/browse/HBASE-14525 > Project: HBase > Issue Type: Bug > Components: shell >Affects Versions: 2.0.0 >Reporter: Abhishek Kumar >Assignee: Abhishek Kumar >Priority: Minor > Attachments: HBASE-14525.patch > > > When performing append operation on non-existing column families, > NullPointerException is thrown in hbase shell as shown below: > {noformat} > hbase(main):007:0> append 't1', 'r1', 'none:c1', '123' > ERROR: java.io.IOException > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2175) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:106) > at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130) > at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.hbase.regionserver.HRegion.doGet(HRegion.java:6987) > at org.apache.hadoop.hbase.regionserver.HRegion.append(HRegion.java:7048) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.append(RSRpcServices.java:580) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.mutate(RSRpcServices.java:2206) > at > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32452) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2133) > ... 4 more > {noformat} > This seems to be caused by absence of check for valid family names as done in > other operations like 'Put' in HRegion.java -- This message was sent by Atlassian JIRA (v6.3.4#6332)