[stargate] RowResultGenerator should handle NoSuchColumnFamilyException
-----------------------------------------------------------------------
Key: HBASE-2897
URL: https://issues.apache.org/jira/browse/HBASE-2897
Project: HBase
Issue Type: Bug
Components: rest
Reporter: Andrew Purtell
Assignee: Andrew Purtell
Fix For: 0.20.7, 0.90.0
Attachments: HBASE-2897-0.20.patch, HBASE-2897-trunk.patch
>From Sasha Maksimenko up on u...@hbase:
{quote}
hi!
thanks for answer. I use very simple code
{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();
{code}
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
503 javax.ws.rs.WebApplicationException:
org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException:
[...]
Next time I change column back but problem still exist. When I re-start server
problem is dissappear
{quote}
RowResultGenerator should gracefully handle NoSuchColumnFamilyException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.