Error: “Invalid Host or Port”
Environment Details
The Test button in the HDFS connection sends out the following request to determine if the host is valid.
[GET] /webhdfs/v1/?op=LISTSTATUS&user.name=user
- Alteryx Designer
- Hadoop Distributed File System (HDFS)
If the response from the HDFS takes long, the connection will be dropped even though the server is reachable and the following error is displayed:
Invalid Host or Port
Cause
The error happens when the response from HDFS takes more than 15 seconds to reply. TDCB-3742 has been logged to increase the time out or provide a configurable time out.
Resolution
As a workaround, if possible, please work with your IT team to improve the time to return a response for [GET] /webhdfs/v1/?op=LISTSTATUS&user.name=user from HDFS.