[ 
https://issues.apache.org/jira/browse/HBASE-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894892#action_12894892
 ] 

HBase Review Board commented on HBASE-2897:
-------------------------------------------

Message from: [email protected]

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/482/#review629
-----------------------------------------------------------

Ship it!


+1 Looks good to me.

- stack





> [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.

Reply via email to