[ https://issues.apache.org/jira/browse/HADOOP-15831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647676#comment-16647676 ]
Steve Loughran commented on HADOOP-15831: ----------------------------------------- sorry, missed that you'd done the update. +1 committed to trunk. thanks! > Include modificationTime in the toString method of CopyListingFileStatus > ------------------------------------------------------------------------ > > Key: HADOOP-15831 > URL: https://issues.apache.org/jira/browse/HADOOP-15831 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Minor > Fix For: 3.3.0 > > Attachments: HADOOP-15831.01.patch, HADOOP-15831.02.patch, > HADOOP-15831.03.patch > > > I was looking at a DistCp error observed in hbase backup test: > {code} > 2018-10-08 18:12:03,067 WARN [Thread-933] mapred.LocalJobRunner$Job(590): > job_local1175594345_0004 > java.io.IOException: Inconsistent sequence file: current chunk file > org.apache.hadoop.tools.CopyListingFileStatus@7ac56817{hdfs://localhost:41712/user/hbase/test-data/ > > c0f6352c-cf39-bbd1-7d10-57a9c01e7ce9/data/default/test-1539022262249/be1bf5445faddb63e45726410a07917a/f/f565f49046b04eecbf8d129eac7a7b88_SeqId_205_ > length = 5100 aclEntries = null, xAttrs = null} doesnt match prior entry > org.apache.hadoop.tools.CopyListingFileStatus@7aa4deb2{hdfs://localhost:41712/user/hbase/test-data/c0f6352c-cf39-bbd1-7d10- > > 57a9c01e7ce9/data/default/test-1539022262249/be1bf5445faddb63e45726410a07917a/f/41b6cb64bae64cbcac47d1fd9aae59f4_SeqId_205_ > length = 5142 aclEntries = null, xAttrs = null} > at > org.apache.hadoop.tools.mapred.CopyCommitter.concatFileChunks(CopyCommitter.java:276) > at > org.apache.hadoop.tools.mapred.CopyCommitter.commitJob(CopyCommitter.java:100) > at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:567) > 2018-10-08 18:12:03,150 INFO [Time-limited test] > mapreduce.MapReduceBackupCopyJob$BackupDistCp(226): Progress: 100.0% subTask: > 1.0 mapProgress: 1.0 > {code} > I noticed that modificationTime was not included in the toString of > CopyListingFileStatus. > I propose including modificationTime so that it is easier to tell when the > respective files last change. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org