You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by GitBox <gi...@apache.org> on 2022/12/15 00:50:26 UTC

[GitHub] [samza] dxichen opened a new pull request, #1645: Fix restore factory not configured log

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: commits-unsubscribe@samza.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [samza] dxichen merged pull request #1645: Fix restore factory not configured log

Posted by GitBox <gi...@apache.org>.
dxichen merged PR #1645:
URL: https://github.com/apache/samza/pull/1645


-- 
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: commits-unsubscribe@samza.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org