hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12224) Add tests to TestJournalNodeSync for sync after JN downtime
Date Tue, 01 Aug 2017 17:19:00 GMT

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message