Community Articles
Find and share helpful community-sourced technical articles
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
New Contributor

ISSUE: We did see that Knox gateway servers failing to return Load balancer url after submitting a WebHDFS commands. It could be seen that the logs in the server as below,

2017-02-15 20:15:51,050 DEBUG hadoop.gateway ( - Rewrote URL: http://<Gateway-server-hostname>:50075/webhdfs/v1/user/<username>/test2?op=CREATE&<usernam..., direction: OUT via explicit rule: WEBHDFS/webhdfs/outbound/namenode/headers/location to URL: https://<Gateway-server-hostname>:8443/gateway/production/webhdfs/data/v1/webhdfs/v1/user/<username>...

CAUSE: It is seen that corrupted deployment director (/var/lib/knox/data/deployment) can lead to this issue.


1. Take a backup of the deployment directory

2. Delete the directory contents

3. Restart Knox server (recreates the contents).

0 Kudos
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎02-16-2017 02:58 AM
Updated by:
Top Kudoed Authors