I am new to hadoop and in the learning phase. When I am trying to execute the below statement in hive, the empl.txt
is being moved to trash folder.
load data inpath '/user/trnkimz/empl.txt' into table empl;
Also, the data is not getting stored in the empl table.
In my empl table, I am having the below columns: e-id int
and e_name String
.
In my empl.txt
file, I am having the below data in it:
1,john
2,smith
3,alex
Kindly suggest, that why I am not able to load data from HDFS to hive table. Thanks in advance.