You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Norbert Burger (Created) (JIRA)" <ji...@apache.org> on 2011/10/13 17:16:11 UTC

[jira] [Created] (HBASE-4586) ThriftServer doesn't expose autoflush/writebuffer settings needed for write-heavy loads

ThriftServer doesn't expose autoflush/writebuffer settings needed for write-heavy loads
---------------------------------------------------------------------------------------

                 Key: HBASE-4586
                 URL: https://issues.apache.org/jira/browse/HBASE-4586
             Project: HBase
          Issue Type: Bug
          Components: thrift
    Affects Versions: 0.90.4
            Reporter: Norbert Burger


For write-heavy/bulk-load environments, two common recommendations are to disable autoFlush and increase the size of the write buffer:

HTable.setAutoFlush(false)
HTable.setWriteBufferSize(long writeBufferSize)

Neither of exposed via the Thrift API, which seems to preclude using the Thrift interface for write-heavy environments.

As a workaround, we could specify hbase.client.write.buffer in hbase-site.xml, but there is unfortunately not an equivalent configuration setting for autoflush.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4586) ThriftServer doesn't expose autoflush/writebuffer settings needed for write-heavy loads

Posted by "Ted Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126742#comment-13126742 ] 

Ted Yu commented on HBASE-4586:
-------------------------------

According to Tim Sell:
This isn't trivial because we use HTablePool and it doesn't expose setting autoFlush on.
                
> ThriftServer doesn't expose autoflush/writebuffer settings needed for write-heavy loads
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-4586
>                 URL: https://issues.apache.org/jira/browse/HBASE-4586
>             Project: HBase
>          Issue Type: Bug
>          Components: thrift
>    Affects Versions: 0.90.4
>            Reporter: Norbert Burger
>
> For write-heavy/bulk-load environments, two common recommendations are to disable autoFlush and increase the size of the write buffer:
> HTable.setAutoFlush(false)
> HTable.setWriteBufferSize(long writeBufferSize)
> Neither of exposed via the Thrift API, which seems to preclude using the Thrift interface for write-heavy environments.
> As a workaround, we could specify hbase.client.write.buffer in hbase-site.xml, but there is unfortunately not an equivalent configuration setting for autoflush.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira