[ https://issues.apache.org/jira/browse/HADOOP-8765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894855#comment-15894855 ]
Hadoop QA commented on HADOOP-8765: ----------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s{color} | {color:blue} Docker mode activated. {color} | | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 8s{color} | {color:red} HADOOP-8765 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | HADOOP-8765 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12544036/HADOOP-8765-for-1-0-x.patch | | Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/11759/console | | Powered by | Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > LocalDirAllocator.ifExists API is broken and unused > --------------------------------------------------- > > Key: HADOOP-8765 > URL: https://issues.apache.org/jira/browse/HADOOP-8765 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Reporter: Hemanth Yamijala > Assignee: Hemanth Yamijala > Priority: Minor > Labels: BB2015-05-TBR > Attachments: HADOOP-8765-for-1-0-x.patch, HADOOP-8765.patch > > > LocalDirAllocator.ifExists calls AllocatorPerContext.ifExists, which accesses > the localDirsPath variable that is uninitialised. Hence, any code that uses > this API is likely to fail with a NullPointerException. > However, this API is currently not used anywhere else in trunk. The earlier > usage was in IsolationRunner, that has since been removed via MAPREDUCE-2606. > Hence, we could remove this API for trunk, and if required, fix it for the > 1.x branch. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org