Rishi created KNOX-1029:
---------------------------
Summary: 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
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)