1 year ago

#75128

test-img

Raja

unable to create internal hive table

i am getting below error while trying to create hive internal table

CREATE TABLE employee(id INT,Name STRING);

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:file:/user/hive/warehouse/employee is not a directory or unable to create one)

i have created user/hive/warehouse directory in HDFS location and given below permission also

hadoop@raja-VirtualBox:~$ hadoop fs -ls /user/hive/ Found 1 items drwxrwxrwx - hadoop supergroup 0 2022-01-21 16:19 /user/hive/warehouse

below is the screenshot

enter image description here

still i am getting error

hadoop

installation

hive

ubuntu-20.04

0 Answers

Your Answer

Accepted video resources