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 24B8E10E4F for ; Mon, 31 Mar 2014 15:16:14 +0000 (UTC) Received: (qmail 64325 invoked by uid 500); 31 Mar 2014 15:16:10 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 63884 invoked by uid 500); 31 Mar 2014 15:16:09 -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 63873 invoked by uid 99); 31 Mar 2014 15:16:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2014 15:16:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.213.51 as permitted sender) Received: from [209.85.213.51] (HELO mail-yh0-f51.google.com) (209.85.213.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2014 15:16:03 +0000 Received: by mail-yh0-f51.google.com with SMTP id f10so7731665yha.10 for ; Mon, 31 Mar 2014 08:15: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=fgxflvx6nQHobg2g4jxTz4LMtUOnmg+VNXxryFnPO/o=; b=MjKOhuuO2eh3SVi8VeuiDTStnX/CuU9XeP6s2rnN7+vnuf3J21Lk1MpTif8xkJy9vc fbxOUMUechjJw52+TFOJ22AwrCeSePOBJqz97MtaM/C9rza05PDuIuXBBQC5eGLRWCM/ f/ErxQqsjI36jHZYQqLsx0V/HzZxeZ6fk5ihXqycWjdb83y04Gt4yTwk850lQ1bbO6xN +8AE7/qwmAEOOi2fadLzDhc+fRrhef6NB+5ksnI86/gH2ZeRJQKGHTKoiKLk7EuvL2Gd U3RgzxzTyIFkIKX/D4mFMgXxykgNSarYuJR7CGipAEX8siZtJl5kVA0VDmTT6/3icWGa ecgA== MIME-Version: 1.0 X-Received: by 10.236.14.196 with SMTP id d44mr5397033yhd.91.1396278942352; Mon, 31 Mar 2014 08:15:42 -0700 (PDT) Received: by 10.170.79.86 with HTTP; Mon, 31 Mar 2014 08:15:42 -0700 (PDT) In-Reply-To: References: Date: Mon, 31 Mar 2014 08:15:42 -0700 Message-ID: Subject: Re: Query HBase : Scan : Fwd: [New comment] HBase shell commands From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e013a149e5dcb2804f5e88672 X-Virus-Checked: Checked by ClamAV on apache.org --089e013a149e5dcb2804f5e88672 Content-Type: text/plain; charset=ISO-8859-1 For #1, please take a look at the following method in HTable: public boolean checkAndPut(final byte [] row, final byte [] family, final byte [] qualifier, final byte [] value, final Put put) For #2, can you clarify your goal ? Java API provides stronger capability compared to shell commands. Cheers On Mon, Mar 31, 2014 at 1:58 AM, Pritesh Prajapati < priteshprajapati.it@ecchanga.ac.in> wrote: > *As we had configured HBase 0.94.1 pseudo Distributed mode Hadoop 1.0.3 & > It's working fine.* > *we have several queries ..* > > *1.How to perform search operation with particular Value & Compare it > within the HBase ? * > *i.e. We stored XYZ value in HBase now for next time before storing New > Value in HBase is it possible to compare NEW value with Existing all Values > in Hbase using Java ? * > > *2. How to Integrate HBase Shell into Java File ? Is it Possible ?* > > > > ---------- Forwarded message ---------- > From: Learn HBase > Date: 30 March 2014 20:53 > Subject: [New comment] HBase shell commands > To: priteshprajapati.it@ecchanga.ac.in > > > rajeshhcu32 commented: "Hi Pritesh, If you want to do puts in bulk, you > can prepare list of puts and do put all together. If you feel its difficult > just ask the same question at HBase user mailing list( > user@hbase.apache.org). > Thanks." Respond to this comment by replying above this line > New comment on *Learn HBase * > > > *rajeshhcu32* commented< > http://learnhbase.wordpress.com/2013/03/02/hbase-shell-commands/?cpage=1#comment-20 > >on > HBase > shell commands< > http://learnhbase.wordpress.com/2013/03/02/hbase-shell-commands/>. > > > in response to *rajeshhcu32*: > > As told in HBase introduction, HBase provides Extensible jruby-based (JIRB) > shell as a feature to execute some commands(each command represents one > functionality). HBase shell commands are mainly categorized into 6 parts 1) > General HBase shell commands status Show cluster status. Can be 'summary', > 'simple', or 'detailed'. The default is 'summary'. hbase> status hbase> > status 'simple' [...] > > Hi Pritesh, If you want to do puts in bulk, you can prepare list of puts > and do put all together. If you feel its difficult just ask the same > question at HBase user mailing list(user@hbase.apache.org). > Thanks. > > Reply< > http://learnhbase.wordpress.com/2013/03/02/hbase-shell-commands/?replytocom=20#respond > > > Comments< > http://learnhbase.wordpress.com/2013/03/02/hbase-shell-commands/#comments> > > *Want less email?* > Unsubscribe< > https://subscribe.wordpress.com/?key=af4093348ada0d9c5cfd3fe89c84dca3&email=priteshprajapati.it%40ecchanga.ac.in&c=LSVJsIRp%3D%2FTQdOKcx%2F0YuXlnCUD.faTe4_dj%2F7o81dm%2C%5Dz-svWuVH > >or > modify your Subscription > Options< > https://subscribe.wordpress.com/?key=af4093348ada0d9c5cfd3fe89c84dca3&email=priteshprajapati.it%40ecchanga.ac.in&option=comments > >. > > Thanks for flying with WordPress.com > > > Thank You ... > > *With Regards,* > > *Pritesh N. Prajapati > * > > > *LecturerDepartment of Information Technology**CSPIT Changa, CHARUSAT > , INDIA.* > --089e013a149e5dcb2804f5e88672--