You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (JIRA)" <ji...@apache.org> on 2017/09/08 13:17:00 UTC

[jira] [Assigned] (KNOX-1029) Knox WebHBase call returns a 404 not found when there is Special characters in a HBase row

     [ https://issues.apache.org/jira/browse/KNOX-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep More reassigned KNOX-1029:
----------------------------------

    Assignee: Sandeep More

> Knox WebHBase call returns a 404 not found when there is Special characters in a HBase row
> ------------------------------------------------------------------------------------------
>
>                 Key: KNOX-1029
>                 URL: https://issues.apache.org/jira/browse/KNOX-1029
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: KnoxCLI
>    Affects Versions: 0.12.0, 0.13.0
>         Environment: knox 0.12 & knox 0.13
>            Reporter: Rishi
>            Assignee: Sandeep More
>             Fix For: 0.14.0
>
>
> Knox WebHBase call returns a 404 not found when there is Special characters in a HBase row.
> hbase(main):005:0> scan 'emp1' 
> ROW COLUMN+CELL 
> 1 column=pdata:name, timestamp=1502978418840, value=Raju 
> 1 column=prodata:designation, timestamp=1502978456530, value=manager 
> k# column=pdata:name, timestamp=1503659457413, value=Raju1 
> k#0 column=pdata:name, timestamp=1503660168378, value=Raju123 
> 3 row(s) in 0.0440 seconds
> Hbase rest is successful
> curl -ik -H "Accept: application/json" -X GET "http://wood2.openstacklocal:60080/emp1/k%23"
> HTTP/1.1 200 OK 
> Content-Type: application/json 
> Transfer-Encoding: chunked
> {"Row":[{"key":"ayM=","Cell":[
> {"column":"cGRhdGE6bmFtZQ==","timestamp":1503659457413,"$":"UmFqdTE="}
> ]}]}
> Via Knox Failed
> curl -ik -H "Accept: application/json" -X GET -u guest:guest-password 'https://wood2.openstacklocal:8443/gateway/default/hbase/emp1/k%23'
> HTTP/1.1 404 Not Found 
> Date: Fri, 25 Aug 2017 11:52:56 GMT 
> Set-Cookie: JSESSIONID=1kn7ep689swxe1vq4mxrijuxfb;Path=/gateway/default;Secure;HttpOnly 
> Expires: Thu, 01 Jan 1970 00:00:00 GMT 
> Set-Cookie: rememberMe=deleteMe; Path=/gateway/default; Max-Age=0; Expires=Thu, 24-Aug-2017 11:52:56 GMT 
> Content-Type: text/plain 
> Content-Length: 11 
> Server: Jetty(9.2.15.v20160210)
> Not found
> 17/08/25 11:55:11 ||b53e10bb-73d5-42cf-8784-3f757e5bfcbe|audit|WEBHBASE|guest|||access|uri|/gateway/default/hbase/emp1/k#|success|Response status: 404



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)