Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.2
-
None
-
None
Description
Enable Hive on TEZ. (MR works fine).
STEP 1. Create test data
nano /home/test/users.txt
Add to file:
Peter,34 John,25 Mary,28
hadoop fs -mkdir /bug hadoop fs -copyFromLocal /home/test/users.txt /bug hadoop fs -ls /bug
EXPECTED RESULT:
Found 2 items -rwxr-xr-x 3 root root 25 2015-10-15 16:11 /bug/users.txt
STEP 2. Upload data to hive
create external table bug(name string, age int) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug'; select * from bug;
EXPECTED RESULT:
OK Peter 34 John 25 Mary 28
create external table bug1(name string, age int) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/bug1'; insert overwrite table bug select * from bug1; select * from bug;
EXPECTED RESULT:
OK Time taken: 0.097 seconds
ACTUAL RESULT:
hive> select * from bug; OK Peter 34 John 25 Mary 28 Time taken: 0.198 seconds, Fetched: 3 row(s)
Attachments
Attachments
Issue Links
- is caused by
-
HIVE-14323 Reduce number of FS permissions and redundant FS operations
- Closed
- is related to
-
HIVE-27930 Insert/Load overwrite table partition does not clean up directory before overwriting
- Closed
- relates to
-
SPARK-29295 Duplicate result when dropping partition of an external table and then overwriting
- Resolved
-
HIVE-21714 Insert overwrite on an acid/mm table is ineffective if the input is empty
- Closed
- links to