-RE: Additional fields written to HTD while writing htableDescriptor
Ramkrishna.S.Vasudevan 2012-04-23, 08:40
Thanks Jon. Will look into and get back to you in case of any queries.
> -----Original Message-----
> From: Jonathan Hsieh [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2012 2:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Additional fields written to HTD while writing
> The .tableinfo code (
> is similar to the .regioninfo write code (
> which also also dumps the stringified version of the structure. This
> useful because we can dump the contents using 'hadoop -cat' without
> to use some script to have a human-readable version of the data.
> I've used this during repairs:
> scripts/blob/master/dumpHriFile.rb )
> but it might be better to add a main to HRegionInfo and
> that can open and dump the files.
> On Sun, Apr 22, 2012 at 11:58 PM, Ramkrishna.S.Vasudevan <
> [EMAIL PROTECTED]> wrote:
> > Hi Devs
> > Currently while creating htable descriptor after the column families
> > persisted we write
> > 2 new lines and the htable name also in the descriptor. But they are
> > read anywhere? What is the significance of writing it?
> > Regards
> > Ram
> // Jonathan Hsieh (shay)
> // Software Engineer, Cloudera
> // [EMAIL PROTECTED]