hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2897) [stargate] RowResultGenerator should handle NoSuchColumnFamilyException
Date Wed, 25 Aug 2010 00:08:18 GMT

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

Jean-Daniel Cryans commented on HBASE-2897:
-------------------------------------------

Not sure if there will ever be a 0.20.7, but putting it there doesn't cost much.

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


Mime
View raw message