Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: CDH 5.5.0
-
Fix Version/s: None
-
Component/s: Hive
-
Labels:
-
Environment:Development
-
Release Note:hive-1.1.0-cdh5.5.1
Description
-bash-4.1$ hadoop fs -ls /mytest/warehouse/mytable/
Found 4 items
-rwxrwxrwx 3 myvm users 1163 2016-11-24 03:11 /mytest/warehouse/mytable/000000_0
-rwxrwxrwx 3 myvm users 0 2016-11-24 03:09 /mytest/warehouse/mytable/000000_1
-rwxrwxrwx 3 myvm users 0 2016-11-24 03:09 /mytest/warehouse/mytable/000000_2
-rwxrwxrwx 3 myvm users 0 2016-11-24 03:09 /mytest/warehouse/mytable/000000_3
QUESTION
"insert overwrite directory "/mytest/warehouse/mytable" select * from my_table"
Above command will only overwrite the file it is generating that is: /mytest/warehouse/mytable/000000_0
I expected it to remove all the files under the path and create 1 file with the desired output. It seem to be working fine before going for hive-1.1.0-cdh5.5.1