mukund-thakur edited a comment on issue #1404: HDFS-13660 Copy file till the 
source file length during distcp
   > yes. It's a change in behaviour, but probably a good one. A test will 
verify that things fail the way we expect -and will continue to do so.
    I tried writing the truncate test case but truncate calls always fails 
while copy is happening with error. ( Failed to TRUNCATE_FILE /tmp/source/1/3 
for DFSClient_NONMAPREDUCE_-2094558173_166 on because 
   3_166 is already the current lease holder.)
   > One little concern though: where does that filestatus come from? It's 
created in the mapper just before the operation, right? As if it's created when 
the list of files to copy is created (which I doubt...) then the current code 
handles the case where the file is changed between job schedule and task 
execution -that would be a visible regression, which we would have to worry 
   The filestatus is created in the mapper. So i think we are good here. 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to