Copy From webhdfs using Knox

edited June 2017 in General Discussion

I am trying to use knox server for Copy ...From webhdfs but getting the error message. My code below

copy 'webhdfs://knox.dev.xxx.com:8443/gateway/default/webhdfs/v1//hdfsfile' on ANY NODE ORC DIRECT;

Error Message :

ERROR 6776: Failed to glob [webhdfs://knox.dev.xxx.com:8443/gateway] because of error: [http://knox.dev.xxx.com:8443/webhdfs/v1/gateway/default/webhdfs/v1//hdfsfile'/?op=GETDELEGATIONTOKEN]: Curl Error: Server returned nothing (no headers, no data)
Error Details: Empty reply from server

I noticed that webhdfs is defaulting to "http" instead of "https" . Please advise how I can make this copy work.

Any help will be appreciated.

jhun1321

Comments

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file