hi Guys.
I am trying to load data files into my hive table and facing issue. if files are located on local it doesn't work. if I move the file to hdfs then it works without any issue.
Following command is not working in beeline, however it works perfectly in hive
load data local inpath '/home/gaurang.shah/test.json' into table temp.test;
- Data is located on the node where one of the instance of hiverserver2 is running.
- I have given it all the permission as well.
[gaurang.shah@aa ~] pwd
/home/gaurang.shah
[gaurang.shah@aa ~]$ ll test.json
-rwxrwxrwx 1 gaurang.shah domain users 56 Jul 11 13:54 test.json