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

Jeff Gran commented on HBASE-2093:
----------------------------------

This bug is not resolved.  I am still seeing the described behavior under 
0.20.6. The issue is that the `%2F` in the URL is getting parsed as if it were 
a literal slash, so even if you have a url like 
`http://localhost:8000/tablename/http%3A%2F%2Fwww.google.com%2F`, Stargate 
interprets the two `%2F`s as slash delimiters, and then the `www.google.com` 
part is interpreted as the timestamp, which causes the `NumberFormatException`. 

> [stargate] RowSpec parse bug
> ----------------------------
>
>                 Key: HBASE-2093
>                 URL: https://issues.apache.org/jira/browse/HBASE-2093
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.20.3, 0.90.0
>
>         Attachments: HBASE-2093.patch
>
>
> From mike anderson up on hbase-user@:
> {quote}
> Trying to create a row in hbase from ruby with row key 
> "http://www.google.com"; produces this exception
> {noformat}
> 2010-01-05 11:40:53.972::WARN:  /cached_web_pages/http%3A%2F%
> 2Fwww.google.com%2F/
> java.lang.IllegalArgumentException: java.lang.NumberFormatException: For
> input string: "www.google.com"
> at org.apache.hadoop.hbase.stargate.RowSpec.parseTimestamp(RowSpec.java:171)
> at org.apache.hadoop.hbase.stargate.RowSpec.(RowSpec.java:55)
> at org.apache.hadoop.hbase.stargate.RowResource.(RowResource.java:62)
> at 
> org.apache.hadoop.hbase.stargate.TableResource.getRowResource(TableResource.java:117)
> [...]
> {noformat}
> {quote}
> Move to 0.20.4 if this gets in the way of the 0.20.3 release before I can 
> look at it.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to