You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2012/08/26 23:20:07 UTC

[jira] [Reopened] (HBASE-6477) Use PB filter definitions in RPC

     [ https://issues.apache.org/jira/browse/HBASE-6477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu reopened HBASE-6477:
---------------------------


I could no longer find TestAggregateProtocol in build console output.
I tried to identify the hanging test and found the following in org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol-output.txt:
{code}
Sat Aug 25 19:27:36 PDT 2012, org.apache.hadoop.hbase.ipc.ExecRPCInvoker$1@382ce255, java.io.IOException: Can't write: {"timeRange":[0,9223372036854775807],"batch":-1,"startRow":"testRow\\x00\\x00\\x00\\x05","stopRow":"testRow\\x00\\x00\\x00\\x0F","totalColumns":1,"cacheBlocks":true,"families":{"TestFamily":["TestQualifier"]},"maxResultSize":-1,"maxVersions":1,"caching":-1} as class org.apache.hadoop.hbase.client.Scan
Sat Aug 25 19:27:44 PDT 2012, org.apache.hadoop.hbase.ipc.ExecRPCInvoker$1@382ce255, java.io.IOException: Can't write: {"timeRange":[0,9223372036854775807],"batch":-1,"startRow":"testRow\\x00\\x00\\x00\\x05","stopRow":"testRow\\x00\\x00\\x00\\x0F","totalColumns":1,"cacheBlocks":true,"families":{"TestFamily":["TestQualifier"]},"maxResultSize":-1,"maxVersions":1,"caching":-1} as class org.apache.hadoop.hbase.client.Scan
Sat Aug 25 19:28:00 PDT 2012, org.apache.hadoop.hbase.ipc.ExecRPCInvoker$1@382ce255, java.io.IOException: Can't write: {"timeRange":[0,9223372036854775807],"batch":-1,"startRow":"testRow\\x00\\x00\\x00\\x05","stopRow":"testRow\\x00\\x00\\x00\\x0F","totalColumns":1,"cacheBlocks":true,"families":{"TestFamily":["TestQualifier"]},"maxResultSize":-1,"maxVersions":1,"caching":-1} as class org.apache.hadoop.hbase.client.Scan

  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
  at java.util.concurrent.FutureTask.get(FutureTask.java:83)
  at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processExecs(HConnectionManager.java:2206)
  at org.apache.hadoop.hbase.client.HTable.coprocessorExec(HTable.java:1351)
  at org.apache.hadoop.hbase.client.coprocessor.AggregationClient.getAvgArgs(AggregationClient.java:307)
  at org.apache.hadoop.hbase.client.coprocessor.AggregationClient.avg(AggregationClient.java:338)
  at org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol.testAvgWithValidRange2(TestAggregateProtocol.java:636)
{code}
The above came from this call in ProtobufUtil.toParameter():
{code}
        HbaseObjectWritable.writeObject(out, value, clz, null);
{code}
This is because Scan no longer implements Writable, due to this patch.
                
> Use PB filter definitions in RPC
> --------------------------------
>
>                 Key: HBASE-6477
>                 URL: https://issues.apache.org/jira/browse/HBASE-6477
>             Project: HBase
>          Issue Type: Task
>          Components: ipc, migration
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>             Fix For: 0.96.0
>
>         Attachments: HBASE-6477-nonrb.patch, HBASE-6477-nonrb-v3.patch, HBASE-6477-nonrb-v4.patch
>
>
> Use the filters introduced in HBASE-6454 in the rpc so they are extensible

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira