How to change `load inpath` in Hive import command

Hadoop
New Member

How to change `load inpath` in Hive import command

Hi. I use Teradata Connector for Hadoop and I try to load data to new Hive table. Everything works fine, Hive creates table and save data to it. But in import logs I see this error:

 

ERROR metadata.Hive: Failed to move: org.apache.hadoop.security.AccessControlException: User null does not belong to hdfs

I know what is the reason - Hive load path is 

INFO exec.Task: Loading data to table default.default1 from hdfs://127.0.0.1:8020/user/matt/temp_031440

which is my user directory. My question is - what parameter I should use in my command to load data to other directory?

 

Tags (2)