Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1013

Make hbase client configurations like timeout configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • v0.7.1, v0.7.2, v1.0
    • v1.1
    • Storage - HBase
    • None
    • Sprint 48

    Description

      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:

              // 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");
      

      Attachments

        Activity

          People

            shaofengshi Shao Feng Shi
            shaofengshi Shao Feng Shi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: