Thanks, confirmed. See https://issues.apache.org/jira/browse/HBASE-2897 and https://review.hbase.org/r/482/
- Andy > From: Sasha Maksimenko <[email protected]> > Subject: Re: [stargate] transaction? > To: [email protected] > Date: Monday, August 2, 2010, 2:32 AM > same error in hbase 0.20.6 > > On Mon, Aug 2, 2010 at 10:36 AM, Sasha Maksimenko < > [email protected]> > wrote: > > > hi! > > thanks for answer. I use very simple code > > > > org.apache.hadoop.hbase.stargate.client.Client client > = new > > org.apache.hadoop.hbase.stargate.client.Client(); > > Response put = client.post("http://hostname:port/task/2/value", > > "application/octet-stream", "1".getBytes()); > > System.out.println(put.getCode()+new > String(put.getBody())); > > client.shutdown(); > > In the first invocation I use correct column > name "value" and everything > > is OK. After that I use wrong column name"valueS" and > get exception > > > > 503javax.ws.rs.WebApplicationException: > > > org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException: > > > org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException: > Column > > family values does not exist in region > task,,1280306891116 in table {NAME => > > 'task', FAMILIES => [{NAME => 'page', > COMPRESSION => 'NONE', VERSIONS => > > '3', TTL => '2147483647', BLOCKSIZE => '65536', > IN_MEMORY => 'false', > > BLOCKCACHE => 'true'}, {NAME => 'value', > VERSIONS => '1', COMPRESSION => > > 'NONE', TTL => '2147483647', BLOCKSIZE => > '65536', IN_MEMORY => 'false', > > BLOCKCACHE => 'true'}]} > > > > > > Next time I change column back but problem still > exist. When I re-start > > server problem is dissappear > > > > > > > > On Fri, Jul 30, 2010 at 7:36 PM, Andrew Purtell <[email protected]>wrote: > > > >> > seems stargate saves state of previous > requests. > >> > >> If so that's unintentional, and not the way the > Jersey/JAX-RS framework > >> works according to my understanding. > >> > >> > if I try to put row and supply wrong column > name. > >> > NoSuchColumnFamilyException exception will be > thrown for all > >> > other requests (even with corrected column > name). Exception > >> > is disappear only when I restart stargate > server. > >> > >> Can you provide an example of what you are doing? > Something like wget or > >> curl commands? > >> > >> > I use hbase 0.20.5 and client supplied in > >> > org.apache.hadoop.hbase.stargate.client > package. > >> > >> I'll check it out. > >> > >> - Andy > >> > >> > >> > >> > >> > >> > > >
