[ https://issues.apache.org/jira/browse/HBASE-21381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662458#comment-16662458 ]
Wei-Chiu Chuang edited comment on HBASE-21381 at 10/24/18 3:53 PM: ------------------------------------------------------------------- Since it was broken by HADOOP-11794, 2.9 and 3.x releases. We're preparing the 3.2.0 release and probably should port the fix (HADOOP-15850) in 3.2.0. I should probably port HADOOP-15850 to Hadoop 2.9/2.10 branches given that this is regarded as a critical issue for downstreamers. was (Author: jojochuang): Since it was broken by HADOOP-11794, 2.9 and 3.x releases. We're preparing the 3.2.0 release and probably should port this fix in 3.2.0. > Document the hadoop versions using which backup and restore feature works > ------------------------------------------------------------------------- > > Key: HBASE-21381 > URL: https://issues.apache.org/jira/browse/HBASE-21381 > Project: HBase > Issue Type: Task > Reporter: Ted Yu > Priority: Major > > HADOOP-15850 fixes a bug where CopyCommitter#concatFileChunks unconditionally > tried to concatenate the files being DistCp'ed to target cluster (though the > files are independent). > Following is the log snippet of the failed concatenation attempt: > {code} > 2018-10-13 14:09:25,351 WARN [Thread-936] mapred.LocalJobRunner$Job(590): > job_local1795473782_0004 > java.io.IOException: Inconsistent sequence file: current chunk file > org.apache.hadoop.tools.CopyListingFileStatus@bb8826ee{hdfs://localhost:42796/user/hbase/test-data/ > > 160aeab5-6bca-9f87-465e-2517a0c43119/data/default/test-1539439707496/96b5a3613d52f4df1ba87a1cef20684c/f/a7599081e835440eb7bf0dd3ef4fd7a5_SeqId_205_ > length = 5100 aclEntries = null, xAttrs = null} doesnt match prior entry > org.apache.hadoop.tools.CopyListingFileStatus@243d544d{hdfs://localhost:42796/user/hbase/test-data/160aeab5-6bca-9f87-465e- > > 2517a0c43119/data/default/test-1539439707496/96b5a3613d52f4df1ba87a1cef20684c/f/394e6d39a9b94b148b9089c4fb967aad_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) > {code} > Backup and Restore uses DistCp to transfer files between clusters. > Without the fix from HADOOP-15850, the transfer would fail. > This issue is to document the hadoop versions which contain HADOOP-15850 so > that user of Backup and Restore feature knows which hadoop versions they can > use. -- This message was sent by Atlassian JIRA (v7.6.3#76005)