You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2012/09/23 19:23:08 UTC

[jira] [Updated] (HADOOP-8436) NPE In getLocalPathForWrite ( path, conf ) when dfs.client.buffer.dir not configured

     [ https://issues.apache.org/jira/browse/HADOOP-8436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J updated HADOOP-8436:
----------------------------

    Affects Version/s:     (was: 3.0.0)
               Status: Open  (was: Patch Available)

Canceling patch until comments are addressed.
                
> NPE In getLocalPathForWrite ( path, conf ) when dfs.client.buffer.dir not configured
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8436
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8436
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.0.0-alpha
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HADOOP-8436.patch
>
>
> Call  dirAllocator.getLocalPathForWrite ( path , conf );
> without configuring  "dfs.client.buffer.dir"..
> {noformat}
> 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)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira