Yingyi Bu has posted comments on this change. Change subject: Detect IO errors before NullPointerException ......................................................................
Patch Set 2: (3 comments) https://asterix-gerrit.ics.uci.edu/#/c/1572/2/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMIndexFileManager.java File hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMIndexFileManager.java: PS2, Line 417: { error code? PS2, Line 425: IllegalStateException error code? PS2, Line 427: I'm not sure why those checks are necessary? Isn't IOException clear/friendly enough? Maybe we can catch IOExceptions and wrap it was an error code and friendly error message? -- To view, visit https://asterix-gerrit.ics.uci.edu/1572 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: I808b12590791a17b749084d1e85f34b9c4ac5893 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: abdullah alamoudi <[email protected]> Gerrit-Reviewer: Jenkins <[email protected]> Gerrit-Reviewer: Till Westmann <[email protected]> Gerrit-Reviewer: Yingyi Bu <[email protected]> Gerrit-HasComments: Yes
