Details
Description
on performing concat on same file as source and target , if the file is an inode reference
FSDirConcatOp#verifySrcFiles if (srcINode == targetINode) { throw new HadoopIllegalArgumentException("concat: the src file " + src + " is the same with the target file " + targetIIP.getPath()); }
verifysrcfiles validates if the same file is source and target , but if the file is an inoderefernce the if condition returns false
because the srcInode is a reference and targetINode is INodefile
Attachments
Attachments
Issue Links
- is related to
-
HDFS-15276 Concat on INodeRefernce fails with illegal state exception
- Resolved
- relates to
-
HDFS-15302 Backport HDFS-15286 to branch-2.x
- Resolved