Hi,I recently upgraded Knox from 0.9.1 to 0.12. When I tried to access WEBHDFS 
through curl command, it failed with 404. See details at the end.
However, the same command worked in 0.9.1? Btw I reused the same configurations 
including topologies for both versions.Any idea?
Regards,Mohammad
Curl command:
$ curl -ivk -H "X-Params-Email: x...@abcf.com" -H "X-Own-Source: ABCD" 
"https://HOSTNAME:8443/gateway/poc/webhdfs/v1/tmp/?op=LISTSTATUS";
 SSLv2, Unknown (23):> GET /gateway/poc/webhdfs/v1/tmp/?op=LISTSTATUS HTTP/1.1> 
User-Agent: curl/7.38.0> Host: HOSTNAME:8443> Accept: */*> X-Params-Email: 
x...@abcd.com> X-Own-Source: ABCD> * SSLv2, Unknown (23):< HTTP/1.1 404 Not 
FoundHTTP/1.1 404 Not Found

gateway.log :*******NOTE: the first line never printed for 0.9.1 case. *********
2017-04-24 07:11:33,794 DEBUG hadoop.gateway 
(DefaultTopologyHandler.java:handle(83)) - Default topology forward from 
/gateway/poc/webhdfs/v1/tmp/janus/ to 
/gateway/poc/gateway/poc/webhdfs/v1/tmp/janus/ 2017-04-24 07:11:33,795 DEBUG 
hadoop.gateway (GatewayFilter.java:doFilter(116)) - Received request: GET 
/gateway/poc/webhdfs/v1/tmp/janus/2017-04-24 07:11:33,795 WARN  hadoop.gateway 
(GatewayFilter.java:doFilter(162)) - Failed to match path 
/gateway/poc/webhdfs/v1/tmp/janus/

Reply via email to