hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Chen" <chenchun.f...@gmail.com>
Subject Review Request 17377: HIVE-6309 Hive incorrectly removes TaskAttempt output files if MRAppMaster fails once
Date Mon, 27 Jan 2014 02:37:54 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17377/
-----------------------------------------------------------

Review request for hive.


Bugs: HIVE-6309
    https://issues.apache.org/jira/browse/HIVE-6309


Repository: hive-git


Description
-------

Hive incorrectly removes TaskAttempt output files if MRAppMaster fails once. 
>>> re.match("^.*?([0-9]+)(_[0?-9])?(\\..*)?$", 'part-r-000000_2').group(1)
'000000'
>>> re.match("^.*?([0-9]+)(_[0?-9])?(\\..*)?$", 'part-r-000000_1001').group(1)
'1001'

And on hadoop2.2 if a MRAppMaster fails once, nextAttemptNumber would be bigger than 1000,
this results in a incorrectly removing of TaskAttempt output files.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java b15a230 

Diff: https://reviews.apache.org/r/17377/diff/


Testing
-------


Thanks,

Chun Chen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message