hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Segel <michael_se...@hotmail.com>
Subject Re: Customizing hbase shell's table formatting
Date Wed, 19 Dec 2012 21:04:34 GMT
Well the shell is written in JRuby which is pretty much Ruby. 

That's the best way to enhance the shell. 

On Dec 19, 2012, at 2:56 PM, Adam Phelps <amp@opendns.com> wrote:

> Right up there with my ruby skills (ie I've done a very little editing
> of ruby or jruby scripts).  I'm fine with the J part of that, but thats
> about it.
> 
> - Adam
> 
> On 12/19/12 11:17 AM, Michael Segel wrote:
>> How is your JRuby skills? 
>> 
>> 
>> On Dec 19, 2012, at 1:05 PM, Adam Phelps <amp@opendns.com> wrote:
>> 
>>> Is there a reasonably straight forward way to customize the shell's
>>> output for a given table?  While many of our tables use string based
>>> data, we have some that use serialized data which is useless to view
>>> directly in the shell on the occasions where it'd be useful for
>>> debugging the output of a M/R job.
>>> 
>>> I'd think there'd be a way to write a object to serialize and
>>> deserialize the keys and values that could be plugged into the shell,
>>> but I'm not quickly finding how I'd do that.
>>> 
>>> (Note - I know almost nothing about ruby so I could easily be
>>> overlooking something).
>>> 
>>> - Adam
>>> 
>> 
> 
> 


Mime
View raw message