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

LocalDirAllocator should not throw NPE with empty string configuration.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • fs
    • 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

        1. HADOOP-12252.000.patch
          3 kB
          Zhihai Xu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zxu Zhihai Xu
            zxu Zhihai Xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment