Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 096C2101E4 for ; Tue, 18 Aug 2015 15:38:48 +0000 (UTC) Received: (qmail 93691 invoked by uid 500); 18 Aug 2015 15:38:46 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 93611 invoked by uid 500); 18 Aug 2015 15:38:46 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 93230 invoked by uid 99); 18 Aug 2015 15:38:45 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2015 15:38:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 522161AA678 for ; Tue, 18 Aug 2015 15:38:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nPhOfYq7DfP6 for ; Tue, 18 Aug 2015 15:38:44 +0000 (UTC) Received: from mail-yk0-f181.google.com (mail-yk0-f181.google.com [209.85.160.181]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id AE4BD21597 for ; Tue, 18 Aug 2015 15:38:43 +0000 (UTC) Received: by ykdt205 with SMTP id t205so162439815ykd.1 for ; Tue, 18 Aug 2015 08:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BBVYoCbpKom4ac7XbZjvMP+YHpoEfSXvCpV0buWQpYg=; b=vn/POse7sB+KcIaibf1iXob5vs+QRU1vhtFItKvfTqjnQBPUto+lgQ1oVjL+MkFd+6 suZ8cs8pt4x8Oj1ADc/MaAZWSI+C0gP1CUNPP6a+g9syEyohFfTUYJqELSKRw8mS+BRp 4lrBx5dQ7WZO9WPyMPIhILL16ZB31kbNp57ZYxd/LgE+GfWLfKjvw1Gy3jiHUFuii7yX e4m+vR6Kmh9A9DP837K4mooTKLUlWD7XFDgLYPnIsTSxes83rdHEP0lpzWxsC4AENUb3 dpX76/Bt102zxZ1Z+wmxV018TZKZN9SwsiSFy9KkKqgtSqlKI5CaUI3hMx07ITrKt4dC j97w== MIME-Version: 1.0 X-Received: by 10.129.102.84 with SMTP id a81mr7725760ywc.19.1439912322781; Tue, 18 Aug 2015 08:38:42 -0700 (PDT) Received: by 10.37.208.208 with HTTP; Tue, 18 Aug 2015 08:38:42 -0700 (PDT) In-Reply-To: <3196d138.22928.14f415d6414.Coremail.whodarewin2006@126.com> References: <3196d138.22928.14f415d6414.Coremail.whodarewin2006@126.com> Date: Tue, 18 Aug 2015 08:38:42 -0700 Message-ID: Subject: Re: difference between ClientScanner and ClientSmallScanner From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a1149082e81d91e051d97b6ad --001a1149082e81d91e051d97b6ad Content-Type: text/plain; charset=UTF-8 ClientSmallScanner is used in cases where a single RPC would fetch scan results. It is instantiated when Scan.isSmall() indicates a small scan. Cheers On Tue, Aug 18, 2015 at 8:11 AM, whodarewin2006 wrote: > hi, > I was read the source code of hbase-client recently,and I have a > question,what's the different between class ClientScanner and > ClientSmallScanner?What's make the ClientSmallScanner get a better > performance in small scan? --001a1149082e81d91e051d97b6ad--