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 AAFC4200C85 for ; Tue, 30 May 2017 17:06:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A99E3160BC9; Tue, 30 May 2017 15:06:36 +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 EFF08160BC1 for ; Tue, 30 May 2017 17:06:35 +0200 (CEST) Received: (qmail 66214 invoked by uid 500); 30 May 2017 15:06:34 -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 66201 invoked by uid 99); 30 May 2017 15:06:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2017 15:06:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0EAFC180224 for ; Tue, 30 May 2017 15:06:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.579 X-Spam-Level: *** X-Spam-Status: No, score=3.579 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LINEPADDING=1.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3DepM3MKOR2O for ; Tue, 30 May 2017 15:06:30 +0000 (UTC) Received: from mail-yb0-f170.google.com (mail-yb0-f170.google.com [209.85.213.170]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4CCEE5F36B for ; Tue, 30 May 2017 15:06:30 +0000 (UTC) Received: by mail-yb0-f170.google.com with SMTP id 130so21185430ybl.3 for ; Tue, 30 May 2017 08:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=U/XZZ7+vTGJEF5b9IsIbECKKEsJEJOF8NlUtWaUNZwU=; b=WZv5/TVJumM5HEpE8Yu7nStwFDfAKoUPPRAekN3PPsjMMDR7B9EY2dAyW2fFmJCZAM OXOBHDQxLmVqcSvOxnZcLaOTSeJ3SoGLN/Pkc8xxhzabM5z4Eam6DvlYI4Zi52hjgjhe bzaQX8N3tkks2vosDumOXvdC+fQhhGAqzorHrad0NnrHqFEc3/Jx2R9Giv1XWFUVcZSa zFtFzJqiMsZj25Y1WjQLcF3JOMDQfB2DRH+NlO0sDk0qrYG9TIdJDTMThak6K9Vuyd1o SN0dP9PVTT8iRRYwPyJDuxSDdCrhgDZqYlPHCQUVUUFHrnNpBbqKhO/g15lV3UMKp9DC jv2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=U/XZZ7+vTGJEF5b9IsIbECKKEsJEJOF8NlUtWaUNZwU=; b=gYtierm4yKf1pE5zk/VHRDD6rkWDEbnH2zrdaNdelYh2cpn+AdwAmUnRl2RDqRmFxU VcqikS9WQO4gwiBU2RTbaoHj9AvX8i2xHFHePJr9nncGb77yA/gmnFXmdH7ZpUNAM66F vyAf4tbcAWiYel9b5X2gBk6NGnbPGxlnV0RX3lu7YK8JuykdHSFhDLPY3vIVcTDRi8HN ai/M1q3qLqGoREQeUReF3m4ZCAi0Z4vKUVgx76mY/HLyMSPJbggcdGqZcpHPoe9TBBFE HP42G1E/I3Je0DhKantbP4tDyMi+5evyJwBKTwcC9n9LcNCw6OmQHma0hnTNY076Uh6e jRpQ== X-Gm-Message-State: AODbwcA3fAxvpMJVvfv1BVgdohE1YSxkK6KCx06YhFcP50g9YYYFrzMw WTqa3D9obhtEgt3xLIWH0wxSMrHERS+c X-Received: by 10.37.172.82 with SMTP id r18mr4312154ybd.109.1496156784161; Tue, 30 May 2017 08:06:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.36.16 with HTTP; Tue, 30 May 2017 08:06:23 -0700 (PDT) In-Reply-To: References: From: Ted Yu Date: Tue, 30 May 2017 08:06:23 -0700 Message-ID: Subject: Re: Why do I get ServiceException? To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary="f403045eb28aa621ba0550bf2521" archived-at: Tue, 30 May 2017 15:06:36 -0000 --f403045eb28aa621ba0550bf2521 Content-Type: text/plain; charset="UTF-8" Your code snippet is formatted in a strange way. Can you pastebin: code snippet copied from Eclipse (or text editor of your choice) complete stack trace for the ServiceException Which version of hbase are you using ? Was there any other protobuf jar in the classpath ? Cheers On Sun, May 28, 2017 at 10:01 AM, Cheyenne Forbes < cheyenne.osanu.forbes@gmail.com> wrote: > I'm getting *com.google.protobuf.ServiceException *when I try: > > > > > > > > * Configuration conf = HBaseConfiguration.create(); > try{ Connection connection = > ConnectionFactory.createConnection(conf); Table table = > connection.getTable(TableName.valueOf(Bytes.toBytes( "users" ))); > MyPB.TestRequest request = * > > > > *MyPB.TestRequest.newBuilder().setId("test_id").build(); > CoprocessorRpcChannel channel = > table.coprocessorService(Bytes.toBytes("test_id")); > **MyPB.TestService.BlockingInterface > service = * > > > *MyPB.TestService.newBlockingStub(channel); LOG.warning("avapnoAVO > 9"); **MyPB.TestResponse response = > service.getTestRes(null, request);* > > Regards, > > Cheyenne O. Forbes > --f403045eb28aa621ba0550bf2521--