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 602B4200D10 for ; Sat, 26 Aug 2017 02:13:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5EB6E16D921; Sat, 26 Aug 2017 00:13:04 +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 A896516D91F for ; Sat, 26 Aug 2017 02:13:03 +0200 (CEST) Received: (qmail 66934 invoked by uid 500); 26 Aug 2017 00:13:02 -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 66921 invoked by uid 99); 26 Aug 2017 00:13:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2017 00:13:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 14061C125A for ; Sat, 26 Aug 2017 00:13:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id SzbbcW92Ogic for ; Sat, 26 Aug 2017 00:13:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 134C05FB9F for ; Sat, 26 Aug 2017 00:13:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 68B38E0012 for ; Sat, 26 Aug 2017 00:13:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1AF092537F for ; Sat, 26 Aug 2017 00:13:00 +0000 (UTC) Date: Sat, 26 Aug 2017 00:13:00 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-18507) [C++] Support for MultiPuts in AsyncBatchRpcRetryingCaller class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 26 Aug 2017 00:13:04 -0000 [ https://issues.apache.org/jira/browse/HBASE-18507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142476#comment-16142476 ] Enis Soztutar commented on HBASE-18507: --------------------------------------- The patch contains these which should be removed: {code} +#if 0 +#endif {code} {code} LOG(ERROR) << "This is Put"; {code} - For this: {code} + } else { + error_msg = "Neither HBase Get or Mutation type."; + } + pb_action->set_index(action_num); + } catch (const std::bad_typeid &e) { + error_msg = "Caught Bad TypeId."; + } {code} you don't need this try-catch, you can just let it throw the exception for bad type, and in the else condition, you can throw an exception yourself. -client-test failed for me with this: {code} 2017-08-25 23:59:38,426 INFO [RpcServer.reader=7,bindAddress=securecluster,port=37107] hbase.Server (RpcServer.java:processConnectionHeader(1718)) - Connection from 172.17.0.2 port: 34380 with version info: version: "2.0.0-SNAPSHOT" url: "git://securecluster/usr/src/hbase" revision: "82ada63dbc741c99646a6b0e02b6c1b25a15a43a" user: "root" date: "Fri Aug 25 23:16:11 UTC 2017" src_checksum: "2a8d19d077218871466e6e59a08836f9" version_major: 2 version_minor: 0 2017-08-25 23:59:38,607 INFO [RpcServer.FifoWFPBQ.priority.handler=17,queue=1,port=37107] io.ByteBufferPool (ByteBufferPool.java:getBuffer(112)) - Pool already reached its max capacity : 60 and no free buffers now. Consider increasing the value for 'hbase.ipc.server.reservoir.initial.max' ? 2017-08-25 23:59:38,607 INFO [RpcServer.FifoWFPBQ.priority.handler=16,queue=0,port=37107] io.ByteBufferPool (ByteBufferPool.java:getBuffer(112)) - Pool already reached its max capacity : 60 and no free buffers now. Consider increasing the value for 'hbase.ipc.server.reservoir.initial.max' ? unknown file: Failure C++ exception with description "LifoSemMPMCQueue full, can't add item" thrown in the test body. {code} is it because of large batch size? Are you seeing the failure as well? > [C++] Support for MultiPuts in AsyncBatchRpcRetryingCaller class > ---------------------------------------------------------------- > > Key: HBASE-18507 > URL: https://issues.apache.org/jira/browse/HBASE-18507 > Project: HBase > Issue Type: Sub-task > Reporter: Sudeep Sunthankar > Assignee: Sudeep Sunthankar > Attachments: HBASE-18507.HBASE-14850.v1.patch, HBASE-18507.HBASE-14850.v2.patch, HBASE-18507.HBASE-14850.v3.patch > > > We will be addressing Multi Puts changes to AsyncBatchRpcRetryingCaller class here -- This message was sent by Atlassian JIRA (v6.4.14#64029)