Commit 3fd1eb0
Fix silent exception swallow in LocalFsBlobStore.prepare()
If ClusterUtils.mkStormClusterState() threw (e.g. ZooKeeper unreachable),
the exception was caught and printed to stderr via e.printStackTrace(),
leaving stormClusterState null. Every subsequent blob store operation
(startSyncBlobs, setupBlobstore, blobSync) would then crash with a
NullPointerException rather than a meaningful error.
Rethrow as RuntimeException to match the existing pattern used a few
lines above for FileBlobStoreImpl initialization, and to surface the
root cause at startup instead of at first use.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 76b9b4d commit 3fd1eb0
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments