[
https://issues.apache.org/jira/browse/HDFS-12224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109347#comment-16109347
]
Arpit Agarwal commented on HDFS-12224:
--------------------------------------
Hi [~hanishakoneru], thanks for adding more test coverage for JN sync.
There is a recursive call here that causes a stack overflow:
{code}
/**
* Does an edit and rolls the Edit Log.
*
* @return the startTxId of next segment after rolling edits.
*/
private long generateEditLog() throws IOException {
return generateEditLog();
}
{code}
> Add tests to TestJournalNodeSync for sync after JN downtime
> -----------------------------------------------------------
>
> Key: HDFS-12224
> URL: https://issues.apache.org/jira/browse/HDFS-12224
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Reporter: Hanisha Koneru
> Assignee: Hanisha Koneru
> Attachments: HDFS-12224.001.patch
>
>
> Adding unit tests for testing JN sync when the JN has a downtime and is
> formatted.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]