with hive it works but if I use beeline I get the error file not found.
$ ls -ltr /home/a.txt
-rwxrwxrwx 1 domain users 9 Oct 22 15:54 /home/a.txt
$ cat /home/a.txt
1
2
3
4
0: jdbc:hive2://node1.us.com> create table a(id int);
No rows affected (0.183 seconds)
0: jdbc:hive2://node1.us.com> load data local inpath '/home/a.txt' into table a;
Error: Error while compiling statement: FAILED: SemanticException Line 1:23 Invalid path ''/home/a.txt'': No files matching path file:/home/a.txt (state=42000,code=40000)
0: jdbc:hive2://node1.us.com>