dxichen opened a new pull request, #1645:
URL: https://github.com/apache/samza/pull/1645
Currently if a restore factory is missing due to a misconfiguration we exit
due to a NPE
```
2022-12-13 18:23:07.794 [main] SamzaContainer [ERROR] Caught exception/error
while initializing container.
java.lang.NullPointerException: null
at
org.apache.samza.storage.ContainerStorageManager.lambda$createTaskRestoreManagers$15(ContainerStorageManager.java:485)
~[samza-core_2.12-320.1081.0.4.jar:?]
at java.util.HashMap.forEach(HashMap.java:1289) ~[?:1.8.0_282]
at
org.apache.samza.storage.ContainerStorageManager.createTaskRestoreManagers(ContainerStorageManager.java:480)
~[samza-core_2.12-320.1081.0.4.jar:?]
at
org.apache.samza.storage.ContainerStorageManager.lambda$restoreStores$27(ContainerStorageManager.java:857)
~[samza-core_2.12-320.1081.0.4.jar:?]
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
~[?:1.8.0_282]
```
Changed the behavior to output a more meaningful log
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]