Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21A0417626 for ; Wed, 25 Mar 2015 14:42:16 +0000 (UTC) Received: (qmail 41337 invoked by uid 500); 25 Mar 2015 14:41:53 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 41296 invoked by uid 500); 25 Mar 2015 14:41:53 -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 41176 invoked by uid 99); 25 Mar 2015 14:41:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2015 14:41:53 +0000 Date: Wed, 25 Mar 2015 14:41:53 +0000 (UTC) From: "Ashish Singhi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13305) Get(Get get) is not copying the row key MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379981#comment-14379981 ] Ashish Singhi commented on HBASE-13305: --------------------------------------- Thanks > Get(Get get) is not copying the row key > --------------------------------------- > > Key: HBASE-13305 > URL: https://issues.apache.org/jira/browse/HBASE-13305 > Project: HBase > Issue Type: Bug > Components: API > Affects Versions: 1.0.0, 0.98.12 > Reporter: Lars George > Assignee: Ashish Singhi > Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.13 > > Attachments: HBASE-13305.patch > > > I tried this: > {code} > Get get1 = new Get(Bytes.toBytes("row1")); > get1.addColumn(Bytes.toBytes("colfam1"), Bytes.toBytes("qual1")); > Get get2 = new Get(get1); > Result result = table.get(get2); > {code} > It fails (eventually) with: > {noformat} > Mar 20, 2015 1:47:13 PM org.apache.hadoop.hbase.client.RpcRetryingCaller callWithRetries > INFO: Call exception, tries=13, retries=35, started=170167 ms ago, cancelled=false, msg=row 'null' on table 'testtable' at null > {noformat} > And since you cannot assign a row key other than using the only other constructor {{Get(byte[] row)}} it means that above copy of get seems useless. > Need to fix so that row is copied too. -- This message was sent by Atlassian JIRA (v6.3.4#6332)