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

NPE In getLocalPathForWrite ( path, conf ) when the required context item is not configured

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Call dirAllocator.getLocalPathForWrite ( path , conf );

      without configuring "dfs.client.buffer.dir"..

      java.lang.NullPointerException
      	at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.confChanged(LocalDirAllocator.java:261)
      	at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:365)
      	at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:134)
      	at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:113)
      

        Attachments

        1. HADOOP-8436.patch
          2 kB
          Brahma Reddy Battula
        2. HADOOP-8436_1.patch
          2 kB
          Brahma Reddy Battula
        3. HADOOP-8436_1.patch.txt
          2 kB
          Harsh J

        Issue Links

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              brahmareddy Brahma Reddy Battula

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment