Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-25-2017 09:54 AM
Hi,
HDP-2.6.1.0-129.
Are there any restrictions with regards to special characters used in HBase rows called through Knox via HBase Rest?
We're having issues with # sign:
hbase(main):020:0> scan 'hbaseexample' k#0 column=columns:_ca1, timestamp=1503650932806, value=test 1 row(s) in 0.0200 seconds
When we try to access it via Knox (where k#0 is encoded into k%230) by calling https://srv-knx01:8443/gateway/default/hbase/hbaseexample/k%230 we get 404 Not Found.
Adding two # signs throws an exception:
hbase(main):020:0> scan 'hbaseexample' k#0 column=columns:_ca1, timestamp=1503650932806, value=test k#0# column=columns:_ca1, timestamp=1503650932806, value=test 2 row(s) in 0.0200 seconds
https://srv-knx01:8443/gateway/default/hbase/hbaseexample/k%230%23
Caused by: java.lang.IllegalArgumentException: Illegal character in fragment at index 57: http://srv-namenode01:60080/hbaseexample/k#0#?doAs=feeder
There were no issues with 2.4.
Any hints would be greatly appreciated.
Created 08-25-2017 07:09 PM
Do you know what version of Knox you are running, there was major work done around this area in the recent 0.13.0 release https://issues.apache.org/jira/browse/KNOX-949
Created 08-25-2017 07:09 PM
Do you know what version of Knox you are running, there was major work done around this area in the recent 0.13.0 release https://issues.apache.org/jira/browse/KNOX-949
Created 08-27-2017 10:29 AM
Thank you @Sandeep More
That seems to be the one! We're running latest HDP (2.6.1) which comes with Knox 0.12.0.
Going to try to convince support to release 0.13.0 RPMs.