Hadoop Hive unable to move source to destination

前端 未结 5 858
不知归路
不知归路 2020-12-16 06:52

I am trying to use Hive 1.2.0 over Hadoop 2.6.0. I have created an employee table. However, when I run the following query:

hive> load data l         


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-16 07:18

    The error might be due to permission issue on local filesystem.

    Change the permission for local filesystem:

    sudo chmod -R 777 /home/abc/employeedetails
    

    Now, run:

    hive> load data local inpath '/home/abc/employeedetails' into table employee;
    

提交回复
热议问题