[ 
https://issues.apache.org/jira/browse/HDFS-15276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HDFS-15276:
---------------------------------
    Fix Version/s: 3.4.0
                   2.10.1
                   3.2.2
                   3.1.4
                   3.3.0
     Hadoop Flags: Reviewed
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Committed to all fixed versions branch. Specially I also backport into 
{{branch-2.10}}.

Thanks for your contribution [~hemanthboyina].

> Concat on INodeRefernce fails with illegal state exception
> ----------------------------------------------------------
>
>                 Key: HDFS-15276
>                 URL: https://issues.apache.org/jira/browse/HDFS-15276
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: hemanthboyina
>            Assignee: hemanthboyina
>            Priority: Critical
>             Fix For: 3.3.0, 3.1.4, 3.2.2, 2.10.1, 3.4.0
>
>         Attachments: HDFS-15276.001.patch, HDFS-15276.002.patch
>
>
> Performing concat operation on INodeRefernce throwing illegal state exception
> On verifySrcFiles , the src inode was getting converted to Inodefile 
> {code:java}
> final INode srcINode = iip.getLastINode();
> final INodeFile srcINodeFile = INodeFile.valueOf(srcINode, src);{code}
> If this INode is an INodeRefernce , it fails at Preconditions.checkstate as 
> the child is an refernce but we have converted that as file
> {code:java}
> INodeDirectory#removeChild
>   final INode removed = children.remove(i);
>   Preconditions.checkState(removed == child); {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to