[
https://issues.apache.org/jira/browse/MAPREDUCE-7235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802804#comment-17802804
]
Shilun Fan commented on MAPREDUCE-7235:
---------------------------------------
Bulk update: moved all 3.4.0 non-blocker issues, please move back if it is a
blocker. Retarget 3.5.0.
> NPE in HadoopArchiveLogs#filterAppsByAggregatedStatus
> -----------------------------------------------------
>
> Key: MAPREDUCE-7235
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7235
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 2.9.2
> Reporter: Yicong Cai
> Priority: Major
> Attachments: MAPREDUCE-7235.01.patch, MAPREDUCE-7235.branch-2.01.patch
>
>
> If the user running the Archive Logs task does not have the VIEW_APP
> permission of an APP, LogAggregationStatus is Null, and
> HadoopArchiveLogs#filterAppsByAggregatedStatus does not perform NPE check.
>
> {panel:title=NPE exception}
> NullPointerExceptionNullPointerExceptionjava.lang.NullPointerException at
> org.apache.hadoop.tools.HadoopArchiveLogs.filterAppsByAggregatedStatus(HadoopArchiveLogs.java:306)
> at org.apache.hadoop.tools.HadoopArchiveLogs.run(HadoopArchiveLogs.java:157)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at
> org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90) at
> org.apache.hadoop.tools.HadoopArchiveLogs.main(HadoopArchiveLogs.java:119)
> {panel}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]