You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2014/03/17 04:15:44 UTC
[jira] [Created] (PHOENIX-858) Unit test
IsNullIT#testIsNullAsSingleKey fails in master & 4.0 branch
Jeffrey Zhong created PHOENIX-858:
-------------------------------------
Summary: Unit test IsNullIT#testIsNullAsSingleKey fails in master & 4.0 branch
Key: PHOENIX-858
URL: https://issues.apache.org/jira/browse/PHOENIX-858
Project: Phoenix
Issue Type: Bug
Reporter: Jeffrey Zhong
Assignee: Jeffrey Zhong
Here is the error stack which is due to hbase0.98+ code doesn't allow empty row
{code}
testIsNullAsSingleKey(org.apache.phoenix.end2end.IsNullIT) Time elapsed: 0.214 sec <<< ERROR!
java.lang.IllegalArgumentException: Row length is 0
at org.apache.hadoop.hbase.client.Mutation.checkRow(Mutation.java:512)
at org.apache.hadoop.hbase.client.Put.<init>(Put.java:106)
at org.apache.hadoop.hbase.client.Put.<init>(Put.java:64)
at org.apache.hadoop.hbase.client.Put.<init>(Put.java:54)
at org.apache.phoenix.schema.PTableImpl$PRowImpl.newMutations(PTableImpl.java:560)
at org.apache.phoenix.schema.PTableImpl$PRowImpl.<init>(PTableImpl.java:555)
at org.apache.phoenix.schema.PTableImpl.newRow(PTableImpl.java:480)
at org.apache.phoenix.schema.PTableImpl.newRow(PTableImpl.java:496)
at org.apache.phoenix.execute.MutationState.addRowMutations(MutationState.java:173)
at org.apache.phoenix.execute.MutationState.commit(MutationState.java:345)
at org.apache.phoenix.jdbc.PhoenixConnection.commit(PhoenixConnection.java:356)
at org.apache.phoenix.end2end.IsNullIT.testIsNullAsSingleKey(IsNullIT.java:83)
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)