You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Pritesh Prajapati <pr...@ecchanga.ac.in> on 2014/03/31 10:58:05 UTC
Query HBase : Scan : Fwd: [New comment] HBase shell commands
*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 <co...@wordpress.com>
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 <http://learnhbase.wordpress.com>*
<http://learnhbase.wordpress.com> <http://gravatar.com/rajeshhcu32>
*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 <http://wordpress.com/>
Thank You ...
*With Regards,*
*Pritesh N. Prajapati
<http://www.charusat.ac.in/CITC_UI/Content.aspx?ID=50>*
*LecturerDepartment of Information Technology**CSPIT Changa, CHARUSAT
<http://www.charusat.ac.in/>, INDIA.*
Re: Query HBase : Scan : Fwd: [New comment] HBase shell commands
Posted by Ted Yu <yu...@gmail.com>.
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 <co...@wordpress.com>
> 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 <http://learnhbase.wordpress.com>*
> <http://learnhbase.wordpress.com> <http://gravatar.com/rajeshhcu32>
>
> *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 <http://wordpress.com/>
>
>
> Thank You ...
>
> *With Regards,*
>
> *Pritesh N. Prajapati
> <http://www.charusat.ac.in/CITC_UI/Content.aspx?ID=50>*
>
>
> *LecturerDepartment of Information Technology**CSPIT Changa, CHARUSAT
> <http://www.charusat.ac.in/>, INDIA.*
>