[
https://issues.apache.org/jira/browse/HDFS-13964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640646#comment-16640646
]
Ayush Saxena commented on HDFS-13964:
-------------------------------------
Thanks [~shashikant] for the review :)
Thanx [~elgoiri] for the comment. I think HDFS-13404 is different to what we
solved here which is specific to testRenameFileBeingAppended() only. IIUC If
the problem of active namenode was there it would have given No namenode
exception even before reaching the outputStream.close() (where it is actually
throwing exception) for creation and rename only but there the problem appears
to me a little different . Worked a little on it the problem there is actually
after rename the file gets successfully renamed and the source gets eliminated
actually and renamed path comes up.If we move up those assertions below above
that close function.They would be clear(proving our rename is fair) still that
close is giving exception of File Not Found.I guess somehow the stream is not
getting mapped to the new location.Why its happening like that I didn't figure
out as of now .And Moreover I even think there is no minor latency that is
causing it bcoz I even tried adding a wait for 2 mins and still randomly got
this exception.Not very sure about the findings.Pls Correct me if went wrong. :)
> RBF: TestRouterWebHDFSContractAppend fails with No Active Namenode under
> nameservice
> ------------------------------------------------------------------------------------
>
> Key: HDFS-13964
> URL: https://issues.apache.org/jira/browse/HDFS-13964
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Attachments: HDFS-13964-01.patch
>
>
> Reference
> https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/916/testReport/junit/org.apache.hadoop.fs.contract.router.web/TestRouterWebHDFSContractAppend/testRenameFileBeingAppended/
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]