HDP3.x hive load data local inpath 设置

Posted Wind_LPH

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HDP3.x hive load data local inpath 设置相关的知识,希望对你有一定的参考价值。

 

 

Error: Error while compiling statement: FAILED: SemanticException Line 1:23 Invalid path \'"/root/testtt.dat"\': No files matching path file:/root/testtt.dat (state=42000,code=40000)

 

1)check whether you have mentioned the path correctly.

2) Try running the query in the host where HS2 is running. If you get any permission error or No files found error kindly add this property "hive.users.in.admin.role=hive" in Custom hiveserver2-site via ambari and try running LOAD DATA query as hive user.

以上是关于HDP3.x hive load data local inpath 设置的主要内容,如果未能解决你的问题,请参考以下文章

sql load_data_hive.sql

hive load data的时候数据少怎么回事

hive数据导入:文件导入

在hive中使用load data报错

Loading Data Into Hive From File By ODI 12c

Loading Data From Oracle To Hive By ODI 12c