Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12252

LocalDirAllocator should not throw NPE with empty string configuration.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None

      Description

      LocalDirAllocator should not throw NPE with empty string configuration. When an empty string is configured, LocalDirAllocator will throw NPE. It will be better to throw IOException instead of NPE.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zxu zhihai xu
                Reporter:
                zxu zhihai xu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: