Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13058

Fix dfs.namenode.shared.edits.dir in TestJournalNode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • journal-node, test
    • None
    • Reviewed

    Description

      In TestJournalNode.java

      dfs.namenode.shared.edits.dir is set as below.

      conf.set(DFSConfigKeys.DFS_NAMENODE_SHARED_EDITS_DIR_KEY +".ns1" +".nn1",
      "qjournal://journalnode0:9900;journalnode1:9901");

       

      From HDFS documentaion:

      https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html

      The URI should be of the form: qjournal://host1:port1;host2:port2;host3:port3/journalId

       

      Found this, when I was working for another jira, as when parsing this dfs.namenode.shared.edits.dir property got an exception.

      Attachments

        1. HDFS-13058.00.patch
          4 kB
          Bharat Viswanadham
        2. HDFS-13058.01.patch
          4 kB
          Bharat Viswanadham
        3. HDFS-13058.02.patch
          5 kB
          Bharat Viswanadham

        Activity

          People

            bharat Bharat Viswanadham
            bharat Bharat Viswanadham
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: