Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
We had some review requests for OOZIE-2598. We should address them.
You catch 3 kind of exceptions, and rethrow it with the same message. Can you change the messages to capture the original type instead of the generic "Exception".
If we do not need to mention the exact reason in the exception (for example because it is later handled) in MapReduceMain.runConfigClass(), you an use a multicatch. If we need to know, what caused the problem, we can indicate exception type (based on e.getClass().getCanonicalName()) for example, in a log message as well.