Re: How to print the entire data table according to the specific conditions in Apache HBase Shell

2019-08-26 Thread OpenInx
Hi > (1) Sort the printed data in ascending order of timestamp value Currently, the hbase jruby scripts cannot meet your requirements now. If you really want this feature, you may need to edit the *_scan_internal* method in hbase-shell/src/main/ruby/hbase/table.rb. say sort the cells by y

How to print the entire data table according to the specific conditions in Apache HBase Shell

2019-08-26 Thread 李維哲
In the "scan" command in Apache HBase Shell, how to print the entire data table according to the following conditions: (1) Sort the printed data in ascending order of timestamp value (2) How to distinguish whether the printed actual data value is an "empty string" or a

Escaping double quotes that form part of a rowkey in hbase shell

2019-05-09 Thread Nabeelah Harris
Hi there, I've got a rowkey in byte array format that contains double quotes in the string representation. I know that generally for these kind of rowkeys, enclosing them in double quotes when doing a get on hbase shell does the trick. Doing the intuitive thing and escaping these addit

RE: Inconsistent count between HBase shell count and custom Map reduce row counter run on snapshot of same table

2017-12-28 Thread Sawant, Chandramohan
6:28 PM To: user@hbase.apache.org Subject: Re: Inconsistent count between HBase shell count and custom Map reduce row counter run on snapshot of same table One reason could be table in prod is keep getting data loaded into it may be the reason for count mismatch between replicated and actual table

Re: Inconsistent count between HBase shell count and custom Map reduce row counter run on snapshot of same table

2017-12-27 Thread naresh Goud
my issue ? > > > Regards, > CM > +1 201 763 1656 > > From: Sawant, Chandramohan [ICG-IT NE] > Sent: Monday, December 18, 2017 5:15 PM > To: 'user@hbase.apache.org' > Subject: Inconsistent count between HBase shell count and custom Map > reduce row count

RE: Inconsistent count between HBase shell count and custom Map reduce row counter run on snapshot of same table

2017-12-27 Thread Sawant, Chandramohan
Does anybody has any information about my issue ? Regards, CM +1 201 763 1656 From: Sawant, Chandramohan [ICG-IT NE] Sent: Monday, December 18, 2017 5:15 PM To: 'user@hbase.apache.org' Subject: Inconsistent count between HBase shell count and custom Map reduce row counter run on s

Inconsistent count between HBase shell count and custom Map reduce row counter run on snapshot of same table

2017-12-18 Thread Sawant, Chandramohan
Hi All, The HBase shell count command run on a table is giving a different count than the custom map reduce row counter job ran on snapshot of same table. This is a custom row counter written by us which is similar to HBase default map reduce row counter, the only difference is that our job

Re: Delete row by row key not working through hbase shell and through JAVA API

2017-11-29 Thread Ted Yu
m S wrote: > Hi, > > I am trying to delete some spurious rows that got added in my hbase table. > The command I am using is this: > > deleteall 'my_table','row-key' > > The rows don't get deleted through hbase shell and through java API. I am > stil

Delete row by row key not working through hbase shell and through JAVA API

2017-11-28 Thread Rajam S
Hi, I am trying to delete some spurious rows that got added in my hbase table. The command I am using is this: deleteall 'my_table','row-key' The rows don't get deleted through hbase shell and through java API. I am still debugging my code to see how these rows got add

Re: Difference in hbase shell and java API

2017-08-29 Thread Lalit Jadhav
2017 at 9:01 PM, Ted Yu wrote: > >> > >> > If the value-filter on scan was applied in shell command, that > explains > >> > the difference. > >> > > >> > Cheers > >> > > >> > On Mon, Aug 28, 2017 at 8:33 P

Re: Difference in hbase shell and java API

2017-08-29 Thread Sean Busbey
gt; >> > If the value-filter on scan was applied in shell command, that explains >> > the difference. >> > >> > Cheers >> > >> > On Mon, Aug 28, 2017 at 8:33 PM, Lalit Jadhav < >> lalit.jad...@nciportal.com> >> > wrote:

Re: Difference in hbase shell and java API

2017-08-29 Thread Ted Yu
Which hbase version are you using ? Is it possible to reproduce the issue with small sample data ? Thanks Original message From: Lalit Jadhav Date: 8/29/17 1:34 AM (GMT-08:00) To: user@hbase.apache.org Subject: Re: Difference in hbase shell and java API Thank you for

Re: Difference in hbase shell and java API

2017-08-29 Thread Lalit Jadhav
; > On Mon, Aug 28, 2017 at 9:01 PM, Ted Yu wrote: > > > If the value-filter on scan was applied in shell command, that explains > > the difference. > > > > Cheers > > > > On Mon, Aug 28, 2017 at 8:33 PM, Lalit Jadhav < > lalit.jad...@nciportal.com&

Re: Difference in hbase shell and java API

2017-08-28 Thread Ted Yu
te: > >> When I query on *hbase shell *and try to scan similar records using *Java >> API* I get different results. >> >> But again when I restart HBase then both the results matches. Can any body >> explain why do I get different result for same rowkey. >> >

Re: Difference in hbase shell and java API

2017-08-28 Thread Ted Yu
If the value-filter on scan was applied in shell command, that explains the difference. Cheers On Mon, Aug 28, 2017 at 8:33 PM, Lalit Jadhav wrote: > When I query on *hbase shell *and try to scan similar records using *Java > API* I get different results. > > But again when I r

Difference in hbase shell and java API

2017-08-28 Thread Lalit Jadhav
When I query on *hbase shell *and try to scan similar records using *Java API* I get different results. But again when I restart HBase then both the results matches. Can any body explain why do I get different result for same rowkey. *Note* : I have applied some Value-filter on scan in Java API

Re: How to get a list of running tasks in hbase shell?

2017-07-13 Thread jeff saremi
Thanks very much Josh From: Josh Elser Sent: Thursday, July 13, 2017 11:44:52 AM To: user@hbase.apache.org Subject: Re: How to get a list of running tasks in hbase shell? TaskMonitor is probably relying on the fact that it's invoked inside of the RegionS

Re: How to get a list of running tasks in hbase shell?

2017-07-13 Thread Josh Elser
an RPC already exists. On 7/13/17 12:45 PM, jeff saremi wrote: would someone throw this dog a bone please? thanks From: jeff saremi Sent: Tuesday, July 11, 2017 10:55:40 AM To: user@hbase.apache.org Subject: How to get a list of running tasks in hbase shell? I se

Re: How to get a list of running tasks in hbase shell?

2017-07-13 Thread jeff saremi
would someone throw this dog a bone please? thanks From: jeff saremi Sent: Tuesday, July 11, 2017 10:55:40 AM To: user@hbase.apache.org Subject: How to get a list of running tasks in hbase shell? I sent this earlier in another thread. Thought i'd create it

How to get a list of running tasks in hbase shell?

2017-07-11 Thread jeff saremi
I sent this earlier in another thread. Thought i'd create its own to get an answer. thanks How do you get an instance of TaskMonitor in Jruby (bin/hbase shell)? I tried the following and didn't result i

Re: Hbase shell formatting scan to a particular primitive data

2017-05-31 Thread Chien Le
I think you're hitting a bug fixed in https://issues.apache.org/jira/browse/HBASE-16227. The patch is trivial to apply however if you want to push it out manually. -Chien On Tue, May 30, 2017 at 8:04 AM, Eko Susilo wrote: > Hi, > > I am currently using hbase 1.2.0-cdh5.7.0 and i am performing s

Hbase shell formatting scan to a particular primitive data

2017-05-30 Thread Eko Susilo
Hi, I am currently using hbase 1.2.0-cdh5.7.0 and i am performing scan and want to show the fields in appropriate format using the following syntax scan 'table', {COLUMNS => ['cf:qualifier:c(org.apache.hadoop.hbase.util.Bytes).toDouble']} But it still shows the result in the binary text format H

[DISCUSSION] Updating the hbase shell to Ruby 2.y

2016-07-19 Thread Sean Busbey
Hi Folks! Over on dev@hbase we'd like to update the version of JRuby used in the `hbase shell` command[1]. Right now, the shell runs as Ruby 1.8, which has been EOM for a very long time (depending on which community you ask). We could maintain running Ruby 1.8 compatibility for a bit long

Re: HBase Shell available through Apache Zeppelin

2016-05-16 Thread Stack
On Tue, Feb 2, 2016 at 8:42 PM, Rajat Venkatesh wrote: > I have contributed a feature to access HBase Shell to Apache Zeppelin. The > main advantages are: > - Admins have quick access to HBase shell through the browser. > - Sessions are saved. So you can log in and the current state

Re: Access cell tags from HBase shell

2016-05-05 Thread ramkrishna vasudevan
.@gmail.com] > *Sent:* 05 May 2016 08:00 > *To:* Whittam Smith, Benedict (TR Technology & Ops) > *Cc:* Anoop John; user@hbase.apache.org > > *Subject:* Re: Access cell tags from HBase shell > > > > Have you set the property in the hbase-site.xml on the client side also? >

RE: Access cell tags from HBase shell

2016-05-05 Thread benedict.whittamsmith
n I revert them to a recognizable form? Thanks for your help, Ben From: ramkrishna vasudevan [mailto:ramkrishna.s.vasude...@gmail.com] Sent: 05 May 2016 08:00 To: Whittam Smith, Benedict (TR Technology & Ops) Cc: Anoop John; user@hbase.apache.org Subject: Re: Access cell tags from HBase shell H

Re: Access cell tags from HBase shell

2016-05-04 Thread ramkrishna vasudevan
From: Anoop John [mailto:anoop.hb...@gmail.com] > > Sent: 03 May 2016 18:35 > > To: user@hbase.apache.org > > Subject: Re: Access cell tags from HBase shell > > > > You have to config the Codec KeyValueCodecWithTags at client side. > > Server also will use same Codec to ta

RE: Access cell tags from HBase shell

2016-05-04 Thread benedict.whittamsmith
; Sent: 03 May 2016 18:35 > To: user@hbase.apache.org > Subject: Re: Access cell tags from HBase shell > > You have to config the Codec KeyValueCodecWithTags at client side. > Server also will use same Codec to talk with this client. Ya just > check with a java client 1st and then ex

Re: Access cell tags from HBase shell

2016-05-03 Thread Anoop John
uper user you should be able to get back the tags as ordinals and make > sure you set the codec KeyValueCodecWithTags. > But I am not sure if it is possible to do it from the hBase shell. Can you > try from a java client ? > > I did not do the hands on of late on this but I c

Re: Access cell tags from HBase shell

2016-05-03 Thread ramkrishna vasudevan
Hi Benedict As super user you should be able to get back the tags as ordinals and make sure you set the codec KeyValueCodecWithTags. But I am not sure if it is possible to do it from the hBase shell. Can you try from a java client ? I did not do the hands on of late on this but I can do it if

RE: Access cell tags from HBase shell

2016-05-03 Thread benedict.whittamsmith
Hi Anoop, Can I still get the labels back (as ordinals, as a super user, and using the KeyValueCodecWithTags codec) using the HBase shell? If so, what are the steps I need to take (i.e. doesn't seem to be working for me, but then I've likely made a mistake setting the codec). Th

Re: Hbase shell script from java

2016-04-25 Thread Saad Mufti
I don't know why you would want to do this all through the hbase shell if your main driver is Java, unless you have a lot of existing complicated scripts you want to leverage. Why not just write Java code against the standard Java hbase client? Or if you need different parameters for each

RE: Hbase shell script from java

2016-04-25 Thread Saurabh Malviya (samalviy)
[mailto:saad.mu...@gmail.com] Sent: Sunday, April 24, 2016 2:55 PM To: user@hbase.apache.org Subject: Re: Hbase shell script from java Why can't you install hbase on your local machine, with the configuration pointing it to your desired cluster, then run the hbase shell and its script locally? I be

Re: Hbase shell script from java

2016-04-24 Thread Saad Mufti
Why can't you install hbase on your local machine, with the configuration pointing it to your desired cluster, then run the hbase shell and its script locally? I believe the HBase web UI has a convenient link to download client configuration. Saad On Sun, Apr 24, 2016 at 5:22 PM, Sa

Re: Hbase shell script from java

2016-04-24 Thread Saurabh Malviya (samalviy)
iya (samalviy) > wrote: > > Hi, > > Is there any way to run hbase shell script from Java. Also mentioned this > question earlier in below url earlier. > > As we are having bunch of scripts and need to change frequently for > performance tuning. > > http://grokbase.c

Re: Hbase shell script from java

2016-04-24 Thread Ted Yu
Please see https://blog.art-of-coding.eu/executing-operating-system-commands-from-java/ > On Apr 23, 2016, at 10:18 PM, Saurabh Malviya (samalviy) > wrote: > > Hi, > > Is there any way to run hbase shell script from Java. Also mentioned this > question earlier in below

Hbase shell script from java

2016-04-23 Thread Saurabh Malviya (samalviy)
Hi, Is there any way to run hbase shell script from Java. Also mentioned this question earlier in below url earlier. As we are having bunch of scripts and need to change frequently for performance tuning. http://grokbase.com/p/hbase/user/161ezbnk11/run-hbase-shell-script-from-java -Saurabh

Re: Disable table command hangs in hbase shell in HBase 1.1.2

2016-02-16 Thread Stack
On Tue, Feb 16, 2016 at 8:30 AM, Anthony Nguyen wrote: > Hi all, > > I'm running into an issue in HBase 1.1.2 where after a cluster is running > for some time, disabling a table in the shell has no effect, hanging until > the timeout limit is reached. Looking at the master logs there is only one

Disable table command hangs in hbase shell in HBase 1.1.2

2016-02-16 Thread Anthony Nguyen
Hi all, I'm running into an issue in HBase 1.1.2 where after a cluster is running for some time, disabling a table in the shell has no effect, hanging until the timeout limit is reached. Looking at the master logs there is only one message that has anything to do with it: 2016-02-12 13:16:23,237

RE: hbase shell to get a very flat row

2016-02-03 Thread Frank Luo
We will update to hdp 2.3 soon. So I will just wait then. Thanks, Ted. -Original Message- From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Wednesday, February 03, 2016 2:23 PM To: user@hbase.apache.org Subject: Re: hbase shell to get a very flat row Can you upgrade to 0.98.14 ? See

Re: hbase shell to get a very flat row

2016-02-03 Thread Ted Yu
ebruary 03, 2016 12:34 PM > To: user@hbase.apache.org > Subject: Re: hbase shell to get a very flat row > > Can you utilize ColumnPrefixFilter or ColumnRangeFilter to narrow the > columns to be returned. > > Not sure what you would do with 3MM columns. > > On Wed, Feb 3, 2016 at 10:

RE: hbase shell to get a very flat row

2016-02-03 Thread Frank Luo
support it out of box in the newer version. -Original Message- From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Wednesday, February 03, 2016 12:34 PM To: user@hbase.apache.org Subject: Re: hbase shell to get a very flat row Can you utilize ColumnPrefixFilter or ColumnRangeFilter to narrow the

Re: hbase shell to get a very flat row

2016-02-03 Thread Ted Yu
Can you utilize ColumnPrefixFilter or ColumnRangeFilter to narrow the columns to be returned. Not sure what you would do with 3MM columns. On Wed, Feb 3, 2016 at 10:23 AM, Frank Luo wrote: > I am trying to “get” a very flat row, meaning one row has 3MM columns, > from “hbase shell”, it

hbase shell to get a very flat row

2016-02-03 Thread Frank Luo
I am trying to “get” a very flat row, meaning one row has 3MM columns, from “hbase shell”, it fails with message: ERROR: Protocol message was too large. May be malicious. Use CodedInputStream.setSizeLimit() to increase the size limit. Anyone knows how to resolve the issue? I am on 0.98.4

Re: HBase Shell available through Apache Zeppelin

2016-02-02 Thread Assaf Lavi
That's great! Thank you. On Wed, Feb 3, 2016 at 6:42 AM, Rajat Venkatesh wrote: > I have contributed a feature to access HBase Shell to Apache Zeppelin. The > main advantages are: > - Admins have quick access to HBase shell through the browser. > - Sessions are saved. So you c

HBase Shell available through Apache Zeppelin

2016-02-02 Thread Rajat Venkatesh
I have contributed a feature to access HBase Shell to Apache Zeppelin. The main advantages are: - Admins have quick access to HBase shell through the browser. - Sessions are saved. So you can log in and the current state of triage/experiments is available. - On a similar note, standard recipes or

Re: Run hbase shell script from java

2016-01-14 Thread Serega Sheypak
Hi, guys,thanks for reply. I have a table named 'MY_TABLE' I have two ways to create it: 1. using habse shell script: create table 'MY_TABLE' bla-bla-bla... I use hbase shell script for production deployment purposes. It's easier to run, maintain and do migrations (change

Re: Run hbase shell script from java

2016-01-13 Thread Daniel Vimont
Serega, I agree with Anil Gupta that direct use of the Java API should prove much more straightforward than indirectly invoking the HBase shell from within Java. If you need a brief "gist" example of how to use the Java API for HBase, you can find one here: https://gist.github.c

Re: Run hbase shell script from java

2016-01-13 Thread anil gupta
Hey Serega, Have you tried using Java API of HBase to create table? IMO, invoking a shell script from java program to create a table might not be the most elegant way. Have a look at https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/client/HBaseAdmin.html HTH, Anil Gupta On Wed, Jan 13

Run hbase shell script from java

2016-01-13 Thread Serega Sheypak
Hi, is there any easy way/example/howto to run 'create table ' shell script from java? Usecase: I'm tired to write table DDL in shell script and in Java for integration testing. I want to run shell script table DDL from java. Thanks!

Re: Error when starting hbase shell

2016-01-08 Thread Sreeram
below error when starting up hbase shell. > > NameError: cannot initialize Java class > org.apache.hadoop.hbase.HColumnDescriptor > get_proxy_or_package_under_package at > org/jruby/javasupport/JavaUtilities.java:54 > method_missing at > file:/C:/Users/xx

Error when starting hbase shell

2016-01-08 Thread Sreeram
Hi, I built HBase using cygwin in my local machine (the master branch) and I get below error when starting up hbase shell. NameError: cannot initialize Java class org.apache.hadoop.hbase.HColumnDescriptor get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54

Re: MultiRowRangeFilter in hbase shell

2016-01-04 Thread Ted Yu
lter in shell. >> >> Can you use Java API ? >> >> >> Cheers >> >> On Thu, Dec 31, 2015 at 3:58 AM, Rajeshkumar J < >> rajeshkumarit8...@gmail.com> >> wrote: >> >>> Hi >>> >>> >>>Can any one tell me hbase shell command to use how >>> MultiRowRangeFilter ? >>> >>> Thanks >>

Re: MultiRowRangeFilter in hbase shell

2016-01-03 Thread Rajeshkumar J
use Java API ? > > > Cheers > > On Thu, Dec 31, 2015 at 3:58 AM, Rajeshkumar J < > rajeshkumarit8...@gmail.com> > wrote: > > > Hi > > > > > > Can any one tell me hbase shell command to use how > > MultiRowRangeFilter ? > > > > Thanks > > >

Re: MultiRowRangeFilter in hbase shell

2015-12-31 Thread Ted Yu
s On Thu, Dec 31, 2015 at 3:58 AM, Rajeshkumar J wrote: > Hi > > > Can any one tell me hbase shell command to use how > MultiRowRangeFilter ? > > Thanks >

MultiRowRangeFilter in hbase shell

2015-12-31 Thread Rajeshkumar J
Hi Can any one tell me hbase shell command to use how MultiRowRangeFilter ? Thanks

Re: start_replication command not available in hbase shell in HBase0.98

2015-10-27 Thread anil gupta
adable format. > > To check the peer-state value you can use zk_dump command in hbase shell or > from web UI. > > Did you find any errors in the RS logs for replication ? > > Regards, > Ashish Singhi > > On Wed, Oct 14, 2015 at 5:04 AM, anil gupta wrote: > > > I

Re: start_replication command not available in hbase shell in HBase0.98

2015-10-13 Thread Ashish Singhi
. To check the peer-state value you can use zk_dump command in hbase shell or from web UI. Did you find any errors in the RS logs for replication ? Regards, Ashish Singhi On Wed, Oct 14, 2015 at 5:04 AM, anil gupta wrote: > I found that those command are deprecated as per this Jira: > http

Re: start_replication command not available in hbase shell in HBase0.98

2015-10-13 Thread anil gupta
I found that those command are deprecated as per this Jira: https://issues.apache.org/jira/browse/HBASE-8861 Still, after enabling peers the replication is not starting. We looked into zk. Its peer state value is null/blank: zknode: ls /hbase-unsecure/replication/peers/prod-hbase/peer-state [] C

start_replication command not available in hbase shell in HBase0.98

2015-10-13 Thread anil gupta
Hi All, I am using HBase 0.98(HDP2.2). As per the documentation here: http://www.cloudera.com/content/cloudera/en/documentation/cdh4/v4-3-1/CDH4-Installation-Guide/cdh4ig_topic_20_11.html I am trying to run start_replication command. But, i m getting following error: hbase(main):013:0> start_repl

Re: Hbase shell reports 2 live servers

2015-09-21 Thread Ted Yu
ode > and 6 Data-nodes). I just recently learned about the "status" command in > Hbase Shell. When I run the "status simple" command, I was surprised to see > that it reported there being 2 live servers (datanode3 and datanode6) as > opposed to 6. Is this normal, o

Hbase shell reports 2 live servers

2015-09-21 Thread Christopher Chase
Hello, I currently have a cluster up and running (Name-node, Secondary name-node and 6 Data-nodes). I just recently learned about the "status" command in Hbase Shell. When I run the "status simple" command, I was surprised to see that it reported there being 2 live ser

Re: Access cell tags from HBase shell

2015-09-15 Thread Jerry He
u very much Ted, Jean-Marc. > > > > > > > > > > > > I see that slide 4 in > > > > > > http://www.slideshare.net/HBaseCon/features-session-2 states > > > > > > that "cells are only interpreted server side" > > > > > >

Re: Access cell tags from HBase shell

2015-09-15 Thread Suresh Subbiah
gt; > indicate that tag values can be accessed/mutated from HBase client > > > > > programs. > > > > > I assumed that this mean that code has evolved since the slides > were > > > > > created. Or I could just be misunderstanding what the slide meant.

Re: Access cell tags from HBase shell

2015-09-15 Thread Anoop John
values can be accessed/mutated from HBase client > > > > programs. > > > > I assumed that this mean that code has evolved since the slides were > > > > created. Or I could just be misunderstanding what the slide meant. > > > > > > > > I am hoping to wri

Re: Access cell tags from HBase shell

2015-09-10 Thread Suresh Subbiah
with REST or Thrift). Do you think that is a > reasonable > > > approach? > > > > > > Thanks > > > Suresh > > > > > > > > > On Mon, Aug 31, 2015 at 2:59 PM, Ted Yu wrote: > > > > > > > bq. retrieve the list of l

Re: Access cell tags from HBase shell

2015-09-03 Thread Anoop John
that is a reasonable > > approach? > > > > Thanks > > Suresh > > > > > > On Mon, Aug 31, 2015 at 2:59 PM, Ted Yu wrote: > > > > > bq. retrieve the list of labels for a given cell > > > > > > You're right, J-M.

Re: Access cell tags from HBase shell

2015-08-31 Thread Jerry He
> bq. retrieve the list of labels for a given cell > > > > You're right, J-M. > > There is no facility for the above in hbase shell. > > > > On Mon, Aug 31, 2015 at 12:55 PM, Jean-Marc Spaggiari < > > jean-m...@spaggiari.org> wrote: > >

Re: Access cell tags from HBase shell

2015-08-31 Thread Suresh Subbiah
since I am not familiar with REST or Thrift). Do you think that is a reasonable approach? Thanks Suresh On Mon, Aug 31, 2015 at 2:59 PM, Ted Yu wrote: > bq. retrieve the list of labels for a given cell > > You're right, J-M. > There is no facility for the above in hbase shell. &g

Re: Access cell tags from HBase shell

2015-08-31 Thread Ted Yu
bq. retrieve the list of labels for a given cell You're right, J-M. There is no facility for the above in hbase shell. On Mon, Aug 31, 2015 at 12:55 PM, Jean-Marc Spaggiari < jean-m...@spaggiari.org> wrote: > But I don't think you can retrieve the list of labels for a given c

Re: Access cell tags from HBase shell

2015-08-31 Thread Jean-Marc Spaggiari
at 12:25 PM, Suresh Subbiah < > suresh.subbia...@gmail.com > > wrote: > > > Hi, > > > > I am using HBase 0.98 with HFiles of majorVersion 3. > > Is it possible to get and set cell tags from the HBase shell utility? > > I have been looking at various

Re: Access cell tags from HBase shell

2015-08-31 Thread Ted Yu
at 12:25 PM, Suresh Subbiah wrote: > Hi, > > I am using HBase 0.98 with HFiles of majorVersion 3. > Is it possible to get and set cell tags from the HBase shell utility? > I have been looking at various JIRAs and see some example client testing > programs that seem to do thi

Access cell tags from HBase shell

2015-08-31 Thread Suresh Subbiah
Hi, I am using HBase 0.98 with HFiles of majorVersion 3. Is it possible to get and set cell tags from the HBase shell utility? I have been looking at various JIRAs and see some example client testing programs that seem to do this. However it will be simpler if I could get/set cell tags from HBase

Re: HBase Shell : NoMethodError: undefined method `getTerminal' for Java::Jline::Terminal:Module

2015-07-16 Thread Arthur Chan
ty ... SUCCESS [ > > 17.583 s] > > > > [INFO] HBase - Prefix Tree SUCCESS > > [ 1.497 s] > > > > [INFO] HBase - Server . SUCCESS > [01:35 > > min] > > > > [INFO] H

Re: HBase Shell : NoMethodError: undefined method `getTerminal' for Java::Jline::Terminal:Module

2015-06-18 Thread Sean Busbey
CCESS > [ 7.261 s] > > [INFO] HBase - Thrift ......... SUCCESS [ > 23.327 s] > > [INFO] HBase - Rest ... SUCCESS > [ 2.786 s] > > [INFO] HBase - Shell .. SUCCESS [ > 13.257 s] > > [INFO] HBase - Inte

HBase Shell : NoMethodError: undefined method `getTerminal' for Java::Jline::Terminal:Module

2015-06-17 Thread Arthur Chan
... SUCCESS [ 2.786 s] [INFO] HBase - Shell .. SUCCESS [ 13.257 s] [INFO] HBase - Integration Tests .. SUCCESS [ 6.228 s] [INFO] HBase - Examples ... SUCCESS [ 1.456 s] [INFO] HBase - Assembly

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-14 Thread anil gupta
Thanks Stack. On Wed, Jun 10, 2015 at 8:06 AM, Stack wrote: > On Mon, Jun 8, 2015 at 10:27 PM, anil gupta wrote: > > > So, if we have to match against non-string data in hbase shell. We should > > always use double quotes? > > > Double-quotes means the shell (ruby)

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-10 Thread Stack
On Mon, Jun 8, 2015 at 10:27 PM, anil gupta wrote: > So, if we have to match against non-string data in hbase shell. We should > always use double quotes? Double-quotes means the shell (ruby) will interpret and undo any escaping -- e..g. showing as hex -- of binary characters. What we e

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-10 Thread anil gupta
Yes, Lets say, from hbase shell i would like to filter( SingleColumnValueFilter) rows on basis of cell value that is stored as an Int. Lets assume the column name and value to be USER:AGE=5 On Tue, Jun 9, 2015 at 9:26 PM, Ted Yu wrote: > bq. if we have to match against non-string data in hb

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-09 Thread Ted Yu
bq. if we have to match against non-string data in hbase shell. We should always use double quotes? I think so. bq. Even for matching values of cells? Did you mean through use of some Filter ? Cheers On Mon, Jun 8, 2015 at 10:27 PM, anil gupta wrote: > So, if we have to match against

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-08 Thread anil gupta
So, if we have to match against non-string data in hbase shell. We should always use double quotes? Even for matching values of cells? On Mon, Jun 8, 2015 at 9:23 PM, Ted Yu wrote: > Double quotes allow you to do string interpolation. > Aother difference (one pertinent to Anil's q

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-08 Thread Ted Yu
ve specified. > > > > You seems to have a composite key. And you seems to scan without building > > the composite key. How have you created your table and what is your key > > design? > > > > JM > > > > 2015-06-08 16:56 GMT-04:00 anil gupta : > > >

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-08 Thread anil gupta
t;, etc. and the first row returned start with a "4" > which is correct given the startrow you have specified. > > You seems to have a composite key. And you seems to scan without building > the composite key. How have you created your table and what is your key > design? >

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-08 Thread Jean-Marc Spaggiari
you have specified. You seems to have a composite key. And you seems to scan without building the composite key. How have you created your table and what is your key design? JM 2015-06-08 16:56 GMT-04:00 anil gupta : > Hi All, > > I m having a lot of trouble dealing with HBase s

HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-08 Thread anil gupta
Hi All, I m having a lot of trouble dealing with HBase shell. I am running following query: scan 'CAR_ARCHIVE' , {COLUMNS=>'A', STARTROW => '33078' , LIMIT=>1} ROW COLUMN+CELL 4\x0010135\x001C4BJWEG2CL117550\x00\x7F\xFF\xFF\xFF column=A:BODYSTYLE, times

Re: HBase shell noninteractive mode

2015-05-05 Thread Sean Busbey
e time for now. > So the only solution in that case would be to parse the output of the > HBase shell command? > Thank you. > > Regards, > Akmal Abbasov > > > On 05 May 2015, at 15:25, Sean Busbey wrote: > > > > Hi Akmal, > > > > Unfortunately there

Re: HBase shell noninteractive mode

2015-05-05 Thread Ted Yu
ase would be to parse the output of the > HBase shell command? > Thank you. > > Regards, > Akmal Abbasov > > > On 05 May 2015, at 15:25, Sean Busbey wrote: > > > > Hi Akmal, > > > > Unfortunately there is not. Right now that feature is only slated fo

Re: HBase shell noninteractive mode

2015-05-05 Thread Akmal Abbasov
Hi Sean, Thank you for a quick reply. I am not sure about next upgrade time for now. So the only solution in that case would be to parse the output of the HBase shell command? Thank you. Regards, Akmal Abbasov > On 05 May 2015, at 15:25, Sean Busbey wrote: > > Hi Akmal, > >

Re: HBase shell noninteractive mode

2015-05-05 Thread Sean Busbey
" wrote: > Hi, > HBASE-11658 <https://issues.apache.org/jira/browse/HBASE-11658> adds a > non interactive mode to HBase shell and return modes depending on the > success or failure. > But, I am using HBase hbase-0.98.7-hadoop2, which doesn’t have this > feature. So is

HBase shell noninteractive mode

2015-05-05 Thread Akmal Abbasov
Hi, HBASE-11658 <https://issues.apache.org/jira/browse/HBASE-11658> adds a non interactive mode to HBase shell and return modes depending on the success or failure. But, I am using HBase hbase-0.98.7-hadoop2, which doesn’t have this feature. So is there any way for checking the result

Re: Question on hbase shell new to hbase

2015-03-25 Thread Esteban Gutierrez
hen wrote: > Thank you very much Mark. > > Garry > > -Original Message- > From: Mark Tse [mailto:mark@d2l.com] > Sent: Wednesday, March 25, 2015 11:09 AM > To: user@hbase.apache.org > Subject: RE: Question on hbase shell new to hbase > > Hi Garry, &g

RE: Question on hbase shell new to hbase

2015-03-25 Thread Garry Chen
Thank you very much Mark. Garry -Original Message- From: Mark Tse [mailto:mark@d2l.com] Sent: Wednesday, March 25, 2015 11:09 AM To: user@hbase.apache.org Subject: RE: Question on hbase shell new to hbase Hi Garry, Using a standalone HBase install (http://hbase.apache.org/0.94

RE: Question on hbase shell new to hbase

2015-03-25 Thread Mark Tse
tin-java classes where applicable 0 row(s) in 1.7040 seconds => [] hbase(main):002:0> Mark -Original Message- From: Garry Chen [mailto:g...@cornell.edu] Sent: March-25-15 9:16 AM To: user@hbase.apache.org Subject: RE: Question on hbase shell new to hbase HI all, For thos

RE: Question on hbase shell new to hbase

2015-03-25 Thread Garry Chen
- From: Mark Tse [mailto:mark@d2l.com] Sent: Wednesday, March 25, 2015 8:47 AM To: user@hbase.apache.org Subject: RE: Question on hbase shell new to hbase Hi Garry, I am having trouble viewing the image - could you copy the text out? Thanks, Mark From: Garry Chen [mailto:g...@cornel

RE: Question on hbase shell new to hbase

2015-03-25 Thread Mark Tse
Hi Garry, I am having trouble viewing the image - could you copy the text out? Thanks, Mark From: Garry Chen [mailto:g...@cornell.edu] Sent: March-25-15 8:38 AM To: user@hbase.apache.org Subject: Question on hbase shell new to hbase HI All, I am new to hbase shell and don&#

Question on hbase shell new to hbase

2015-03-25 Thread Garry Chen
HI All, I am new to hbase shell and don't know this is normal or not. When I run a hbase command it return all kind of information like java libs etc before a result was return. Please see screen shot. Thank you very much. Garry [cid:image001.png@01D066D7.0610A3E0]

Re: How to mute zookeeper debug message in hbase shell

2015-03-18 Thread Jean-Marc Spaggiari
ntCnxn - Got ping response for sessionid: > 0x14c2dd9f45c0009 after 0ms > 17:19:38.773 [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG > org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: > 0x14c2dd9f45c0009 after 0ms > > -Original Message- &g

Re: How to mute zookeeper debug message in hbase shell

2015-03-18 Thread Jean-Marc Spaggiari
base(main):002:0> 15:59:13.023 > [main-SendThread(ip-172-31-12-99.ec2.internal:2181)] DEBUG > org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: > 0x14c2d99c8f20008 after 0ms" nn hbase shell. Need help on how to muting > the message. Thank you very much for your help. > > > > Garry >

How to mute zookeeper debug message in hbase shell

2015-03-18 Thread Garry Chen
c8f20008 after 0ms" nn hbase shell. Need help on how to muting the message. Thank you very much for your help. Garry

view decoded thrift in hbase shell?

2014-09-18 Thread Shaun Elliott
I have a column which has thrift encoded data and would like to view it in hbase shell. I have this so far: public class ThriftToString { private static final TDeserializer tDeSerializer = new TDeserializer(new TCompactProtocol.Factory()); public static String getStringFromThrift(byte

  1   2   3   4   >