Re: question about HTableDescriptor

2011-02-04 Thread Weishung Chung
That's really good explanation! Thanks alot :D Have a good day ! On Fri, Feb 4, 2011 at 2:27 AM, Lars George wrote: > You can see this from the first few lines in the HTableDescriptor.java, > i.e. > > public static final String FAMILIES = "FAMILIES"; > public static final ImmutableBytesWritabl

Re: question about HTableDescriptor

2011-02-04 Thread Lars George
You can see this from the first few lines in the HTableDescriptor.java, i.e. public static final String FAMILIES = "FAMILIES"; public static final ImmutableBytesWritable FAMILIES_KEY = new ImmutableBytesWritable(Bytes.toBytes(FAMILIES)); public static final String MAX_FILESIZE = "MAX_FIL

Re: question about HTableDescriptor

2011-02-04 Thread Wei Shung Chung
Thank you but I would like to know what kinds of key value pairs that serve as the table descriptors in the values map. I know the column map stores the column name & column descriptor pair as the map entry. I should spend more time on the codes again tomorrow. Sent from my iPhone On Feb 4

Re: question about HTableDescriptor

2011-02-04 Thread Lars George
Hi, Did you read the comment above? /** * Private constructor used internally creating table descriptors for * catalog tables: e.g. .META. and -ROOT-. */ Explains it, no? Lars On Fri, Feb 4, 2011 at 8:41 AM, Weishung Chung wrote: > I am looking at the following protected HTableDesc

question about HTableDescriptor

2011-02-03 Thread Weishung Chung
I am looking at the following protected HTableDescriptor's constructor, but i can't figure out the purpose of the Map values ? What does it contain? protected HTableDescriptor(final byte [] name, HColumnDescriptor[] families, Map values) Thank you,