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 689A217C7E for ; Thu, 23 Oct 2014 03:06:26 +0000 (UTC) Received: (qmail 14575 invoked by uid 500); 23 Oct 2014 03:06:24 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 14505 invoked by uid 500); 23 Oct 2014 03:06:24 -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 14493 invoked by uid 99); 23 Oct 2014 03:06:24 -0000 Received: from mx1-us-east.apache.org (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2014 03:06:24 +0000 Received: from mx1-us-east.apache.org (localhost [127.0.0.1]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id DF11D435AE for ; Thu, 23 Oct 2014 03:06:46 +0000 (UTC) Received: by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org, from userid 111) id D3D2843C3F; Thu, 23 Oct 2014 03:06:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx1-us-east.apache.org X-Spam-Level: * X-Spam-Status: No, score=1.6 required=10.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-qa0-f44.google.com (mail-qa0-f44.google.com [209.85.216.44]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 4DB46435AE for ; Thu, 23 Oct 2014 03:06:46 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id w8so120383qac.17 for ; Wed, 22 Oct 2014 20:06:22 -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=qL3XtNdEglOIatNtq+ov6/4i9GbhP7W58m+xz93m6WY=; b=clxEJwQq4UHXWfqfDT74XzonZZwNPSmMjUl0Rq2ohmLM/KcGpba2xcC2UbpG1Aw1vB ERh2TsMx83kbSJMyUooTXvo7QBmimXJ3dWR4ZVa9sZRMtPZ5xi2vyZ4IHOjWgih/Praj S1t9eWi2vENK+2gOkBT8rPs0zGxgZ3Xh/KuWEiGTSHWxbQWD7aGA03BPGAlTL2AkFKt6 q1/TYHbyvR6LMVeQ3N9w5lUsz6fFHLcoVvfRrGxrwm63lEYDCSPvvmMShBeV+bBUFROL MrkuhVVvd5ppo6gpHVXusk8aWK+rDI/zdm+cEd4hJT/6JMztIphuI06HWnFVCKMnB7p8 fpiA== MIME-Version: 1.0 X-Received: by 10.229.104.3 with SMTP id m3mr3549593qco.0.1414033582389; Wed, 22 Oct 2014 20:06:22 -0700 (PDT) Received: by 10.140.88.69 with HTTP; Wed, 22 Oct 2014 20:06:22 -0700 (PDT) In-Reply-To: References: <29857DE5-BD59-4705-A5E2-22BA80CF91FF@gmail.com> Date: Thu, 23 Oct 2014 11:06:22 +0800 Message-ID: Subject: Re: YCSB load data stucked From: Qiang Tian To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a1133322a61008005060e5913 X-Virus-Scanned: ClamAV using ClamSMTP --001a1133322a61008005060e5913 Content-Type: text/plain; charset=UTF-8 update: the problem exists with below repo: https://github.com/ramkrish86/ycsb/tree/ycsb_visibility Andrew's repo is fine: https://github.com/apurtell/YCSB/tree/new_hbase_client On Wed, Oct 22, 2014 at 2:59 PM, Qiang Tian wrote: > with command "bin/ycsb load hbase -P workloads/workloada -p threadcount=10 > -p columnfamily=f1 -p recordcount=1000 -s", I just see 10 rows in hbase > shell...I tried it in both standalone and a real 3 node cluster, the same > result. a quick look at core/src/main/java/com/yahoo/ycsb/Client.java, the > parameter looks to be right.. > > anything wrong? > > thanks.. > > > On Wed, Oct 22, 2014 at 11:42 AM, Qiang Tian wrote: > >> Thanks Ted, >> I also got Mapkeeper error, comment the module works around it( >> https://github.com/brianfrankcooper/YCSB/issues/152) >> >> On Wed, Oct 22, 2014 at 10:23 AM, Ted Yu wrote: >> >>> Once you clone ycsb, you should build it with your choice of 0.98 >>> >>> Here's thread where Andrew mentioned his ycsb repo: >>> >>> >>> http://search-hadoop.com/m/DHED4NaxYb1/andrew+purtell+ycsb+2014&subj=Re+Performance+oddity+between+AWS+instance+sizes >>> >>> Cheers >>> >>> On Tue, Oct 21, 2014 at 7:15 PM, Qiang Tian wrote: >>> >>> > Thanks Ted. >>> > do you mean I should rebuild the ycsb? could you point me Andrew's >>> repo? >>> > >>> > >>> > On Tue, Oct 21, 2014 at 5:37 PM, Ted Yu wrote: >>> > >>> > > Cycling bits: >>> > > http://search-hadoop.com/m/DHED4N0syk1 >>> > > >>> > > Andrew has his ycsb repo as well. >>> > > >>> > > Cheers >>> > > >>> > > On Oct 21, 2014, at 2:28 AM, Qiang Tian wrote: >>> > > >>> > > > Hi Guys, >>> > > > I am running YCSB 0.1.4 against hbase 0.98.5, >>> > > > >>> > > > "bin/ycsb load hbase -P workloads/workloada -p columnfamily=f1 -p >>> > > > recordcount=1000 -p threadcount=4 -s | tee -a workloada.dat" >>> stucked as >>> > > > below: >>> > > > >>> > > > 10 sec: 0 operations; >>> > > > 20 sec: 0 operations; >>> > > > 30 sec: 0 operations; >>> > > > 40 sec: 0 operations; >>> > > > 50 sec: 0 operations; >>> > > > ... >>> > > > >>> > > > stacktrace shows YCSB is locating meta region: >>> > > > >>> > > > at java/lang/Object.wait(Object.java:201) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.blockUntilAvailable(ZooKeeperNodeTracker.java:122) >>> > > > (entered lock: >>> > > > >>> org/apache/hadoop/hbase/zookeeper/RootRegionTracker@0x00000000E01A02B0 >>> > , >>> > > > entry count: 1) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/zookeeper/RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:73) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/client/HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:786) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/client/HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/client/HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:895) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/client/HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:797) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/client/HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/client/HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:895) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/client/HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:801) >>> > > > at >>> > > > >>> > > >>> > >>> org/apache/hadoop/hbase/client/HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766) >>> > > > at org/apache/hadoop/hbase/client/HTable.(HTable.java:189) >>> > > > at org/apache/hadoop/hbase/client/HTable.(HTable.java:163) >>> > > > at com/yahoo/ycsb/db/HBaseClient.getHTable(HBaseClient.java:111) >>> > > > (entered lock: java/lang/Object@0x00000000E006AD20, entry count: >>> 1) >>> > > > at com/yahoo/ycsb/db/HBaseClient.update(HBaseClient.java:295) >>> > > > at com/yahoo/ycsb/db/HBaseClient.insert(HBaseClient.java:350) >>> > > > at com/yahoo/ycsb/DBWrapper.insert(DBWrapper.java:145) >>> > > > at >>> > com/yahoo/ycsb/workloads/CoreWorkload.doInsert(CoreWorkload.java:461) >>> > > > at com/yahoo/ycsb/ClientThread.run(Client.java:269) >>> > > > >>> > > > >>> > > > however looking at the RS log, the meta region is up successfully, >>> > hbase >>> > > > shell works fine. I can also see it in zk cli: >>> > > > >>> > > > [zk: localhost:2181(CONNECTED) 2] get /hbase/meta-region-server >>> > > > ? regionserver:60020??|~md"PBUF >>> > > > >>> > > > ihc028 ?? ?????) >>> > > > cZxid = 0xc57 >>> > > > ctime = Tue Oct 21 16:23:41 CST 2014 >>> > > > mZxid = 0xc57 >>> > > > mtime = Tue Oct 21 16:23:41 CST 2014 >>> > > > pZxid = 0xc57 >>> > > > cversion = 0 >>> > > > dataVersion = 0 >>> > > > aclVersion = 0 >>> > > > ephemeralOwner = 0x0 >>> > > > dataLength = 71 >>> > > > numChildren = 0 >>> > > > >>> > > > >>> > > > is it a configure issue? anything wrong with my steps? >>> > > > 1. on hbase master node, download ycsb-0.1.4.tar.gz >>> > > > 2. copy all jars in hbase lib dir to hbase-binding/lib >>> > > > 3. copy hbase-site.xml to hbase-binding/conf >>> > > > 4. create table in hbase shell: create 'usertable','f1','f2','f3' >>> > > > 5. load data via above command. >>> > > > >>> > > > thanks. >>> > > >>> > >>> >> >> > --001a1133322a61008005060e5913--