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 43FFD200BAF for ; Mon, 31 Oct 2016 17:58:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 42A86160B05; Mon, 31 Oct 2016 16:58:00 +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 B1466160B06 for ; Mon, 31 Oct 2016 17:57:59 +0100 (CET) Received: (qmail 68584 invoked by uid 500); 31 Oct 2016 16:57: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 68518 invoked by uid 99); 31 Oct 2016 16:57:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2016 16:57:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A0FF02C0057 for ; Mon, 31 Oct 2016 16:57:58 +0000 (UTC) Date: Mon, 31 Oct 2016 16:57:58 +0000 (UTC) From: "Yu Li (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16970) Clarify misleading Scan.java comment about caching MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 31 Oct 2016 16:58:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-16970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15622723#comment-15622723 ] Yu Li commented on HBASE-16970: ------------------------------- Thanks for the patch [~jkleckner], this cooperates one of the points mentioned in HBASE-16973. Regarding the patch, what about change it to something like below? {code} /** * -1 means no caching specified and HConstants.DEFAULT_HBASE_CLIENT_SCANNER_CACHING will be used */ {code} > Clarify misleading Scan.java comment about caching > -------------------------------------------------- > > Key: HBASE-16970 > URL: https://issues.apache.org/jira/browse/HBASE-16970 > Project: HBase > Issue Type: Bug > Reporter: Jim Kleckner > Priority: Trivial > Labels: documentation, patch > Attachments: HBASE-16970.patch > > > The Scan class has an integer field, caching, that defaults to -1. The meaning of -1 is that the option was not overriden (aka not set) and therefore that the default configuration should be used. > This trivial patch corrects the comment of that field to reflect this meaning rather than misleading the reader to believe that caching is disabled. -- This message was sent by Atlassian JIRA (v6.3.4#6332)