Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D2C0B200BFB for ; Wed, 11 Jan 2017 10:23:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D14F3160B50; Wed, 11 Jan 2017 09:23:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4CB2E160B2E for ; Wed, 11 Jan 2017 10:23:59 +0100 (CET) Received: (qmail 4489 invoked by uid 500); 11 Jan 2017 09:23:58 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 4468 invoked by uid 99); 11 Jan 2017 09:23:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2017 09:23:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 512542C03DC for ; Wed, 11 Jan 2017 09:23:58 +0000 (UTC) Date: Wed, 11 Jan 2017 09:23:58 +0000 (UTC) From: "Yu Li (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-17449) Add explicit document on different timeout settings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 11 Jan 2017 09:24:00 -0000 Yu Li created HBASE-17449: ----------------------------- Summary: Add explicit document on different timeout settings Key: HBASE-17449 URL: https://issues.apache.org/jira/browse/HBASE-17449 Project: HBase Issue Type: Improvement Components: documentation Reporter: Yu Li Currently we have more than one timeout settings, mainly includes: * hbase.rpc.timeout * hbase.client.operation.timeout * hbase.client.scanner.timeout.period And in latest branch-1 or master branch code, we will have two other properties: * hbase.rpc.read.timeout * hbase.rpc.write.timeout However, in current refguid we don't have explicit instruction on the difference of these timeout settings (there're explanations for each property, but no instruction on when to use which) In my understanding, for RPC layer timeout, or say each rpc call: * Scan (openScanner/next): controlled by hbase.client.scanner.timeout.period * Other operations: 1. For released versions: controlled by hbase.rpc.timeout 2. For 1.4+ versions: read operation controlled by hbase.rpc.read.timeout, write operation controlled by hbase.rpc.write.timeout, or hbase.rpc.timeout if the previous two are not set. And hbase.client.operation.timeout is a higher-level control counting retry in, or say the overall control for one user call. After this JIRA, I hope when users ask questions like "What settings I should use if I don't want to wait for more than 1 second for a single put/get/scan.next call", we could give a neat answer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)