hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7503) Add exists(List) in HTableInterface to allow multiple parallel exists at one time
Date Mon, 07 Jan 2013 02:34:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545586#comment-13545586

Ted Yu commented on HBASE-7503:

Consider adding the new test to TestFromClientSide3.java - TestFromClientSide is getting quite
+    LOG.warn("exists(List<Get>) is really list of get() calls, just use get()");
Did you intend to put the above in javadoc ?
+   * @return Array of true if the specified Get matches one or more keys, false if not
'Array of' -> 'Array of Boolean'
+      } catch (InterruptedException e) {
+        LOG.warn("Failed for get:" + gets.get(i).toString(), e);
Restore interrupt status.

Currently we have GetRequest in Client.proto. I wonder whether it is worth introducing MultiGetReuqest
where we have:
  repeated Get get = 2;
This way we can group Gets by region and make fewer calls to server.
> Add exists(List) in HTableInterface to allow multiple parallel exists at one time
> ---------------------------------------------------------------------------------
>                 Key: HBASE-7503
>                 URL: https://issues.apache.org/jira/browse/HBASE-7503
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>            Priority: Minor
>             Fix For: 0.96.0
>         Attachments: HBASE-7503-v0-trunk.patch
>   Original Estimate: 5m
>  Remaining Estimate: 5m
> We need to have a Boolean[] exists(List<Get> gets) throws IOException method implemented
in HTableInterface.

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

View raw message