You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "John Doe (Jira)" <ji...@apache.org> on 2025/11/04 07:13:00 UTC

[jira] [Updated] (MAPREDUCE-7515) NPE in MRAppMaster shutdown hook before initialization

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

John Doe updated MAPREDUCE-7515:
--------------------------------
    Attachment: TestViolation.java

> NPE in MRAppMaster shutdown hook before initialization
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-7515
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7515
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: John Doe
>            Priority: Major
>         Attachments: TestViolation.java
>
>
> The shutdown hook in can execute before {{serviceInit}} finishes, accessing uninitialized fields ({{{}committer{}}}, {{{}containerAllocator{}}}, {{{}jobHistoryEventHandler, etc.{}}}) and leading to NullPointerException.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org