Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • QuorumJournalManager (HDFS-3077)
    • ha
    • None

    Description

      Currently, the JN does not validate the configured journal directory until it tries to write into it. This is counter-intuitive for users, since they would expect to find out about a misconfiguration at startup time, rather than on first access. Additionally, two testers accidentally configured the journal dir to be a URI, which the code accidentally understood as a relative path (CWD/file:/foo/bar.

      We should validate the config at startup to be an accessible absolute path.

      Attachments

        1. hdfs-3795.txt
          6 kB
          Todd Lipcon
        2. hdfs-3795.txt
          6 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: