I am trying to upload a csv file to HDFS for Impala and not much time. Not sure what is wrong here, as I followed the guide. And csv is also on HDFS.
CREATE EXTERNAL TABLE gc_imp ( asd INT, full_name STRING, sd_fd_date STRING, ret INT, ftyu INT, qwerINT ) ROW FORMAT DELIMITED FIELDS TERMINATED BY',' LOCATION '/user/hadoop/Gc_4';
The error I am getting. And I use Hue for this.
> TExecuteStatementResp(status=TStatus(errorCode=None, > errorMessage='MetaException: hdfs://nameservice1/user/hadoop/Gc_4 is > not a directory or unable to create one', sqlState='HY000', > infoMessages=None, statusCode=3), operationHandle=None)
Any guidance.
source share