leventov commented on a change in pull request #7121: Prohibit
Throwables.propagate()
URL: https://github.com/apache/incubator-druid/pull/7121#discussion_r262733204
##########
File path:
indexing-hadoop/src/main/java/org/apache/druid/indexer/updater/HadoopConverterJob.java
##########
@@ -344,9 +343,7 @@ public DataSegment apply(final Path input)
}
}
catch (InterruptedException | ClassNotFoundException e) {
- RuntimeException exception = Throwables.propagate(e);
- throwable = exception;
- throw exception;
+ throw new RuntimeException(e);
Review comment:
I see. Yes, the latest code that you propose looks right to me.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]