You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2015/09/07 13:27:46 UTC

[jira] [Created] (KYLIN-1013) Make hbase client configurations like timeout configurable

Shaofeng SHI created KYLIN-1013:
-----------------------------------

             Summary: Make hbase client configurations like timeout configurable
                 Key: KYLIN-1013
                 URL: https://issues.apache.org/jira/browse/KYLIN-1013
             Project: Kylin
          Issue Type: Improvement
          Components: Storage - HBase
    Affects Versions: v0.7.1, v0.7.2, v1.0
            Reporter: Shaofeng SHI
            Assignee: Shaofeng SHI
             Fix For: v1.1


User askes how to set the timeout on HBase connection; In his case, some query will report timeout error after 60 seconds, from their observation it need about 77 seconds to finish; They hope this timeout value can be customized;

Checked the code, in org.apache.kylin.common.util.HadoopUtil.newHBaseConfiguration(), there are some hard-coded configurations:
{code}
        // reduce rpc retry
        conf.set(HConstants.HBASE_CLIENT_PAUSE, "3000");
        conf.set(HConstants.HBASE_CLIENT_RETRIES_NUMBER, "5");
        conf.set(HConstants.HBASE_CLIENT_OPERATION_TIMEOUT, "60000");
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)