problem with HDFS-vertica connector
I installed HDFS vertica connector on all hosts and I spun up an EMR job with webHDFS enabled on port 9101. 1) For testing webHDFS, I tried this below : ---------------------------------------------------------------------------------------------- /root# curl -i -L "http://hadoop-namenode:9101/webhdfs/tmp/test.txt?op=OPEN&user.name=hadoop" ----------------------------------------------------------------------------------------------- HTTP/1.1 307 TEMPORARY_REDIRECT .... HTTP/1.1 200 OK ......... A|1|2|3 B|4|5|6 2) NOW after verifying "webhdfs", I try to use native COPY from vertica to copy files form HDFS. ---------------------------------------------------------------------------------------------------- -> COPY qa.testtable SOURCE Hdfs(url='http://hadoop-namenode:9101/webhdfs/tmp/test.txt', username='hadoop'); ------------------------------------------------------------------------------------------------------ ERROR 0: Error calling plan() in User Function HdfsFactory at [src/Hdfs.cpp:198], error code: 0, message: No files match [http://hadoop-namenode:9101/webhdfs/tmp/test.txt] Any one has an idea on why the COPY fails, even though the files are present on HDFS ? Please let know if you see any mistake here..
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.