Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Knowledge Base

Definitive answers from Designer Desktop experts.

TDCB-3742: Error: Invalid Host or Post when connecting to HDFS

clarab
Alteryx
Alteryx
Created

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
    • Version(s): 2021
  • 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
 
image.png

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.