wynot12 commented on a change in pull request #204: [NEMO-364] Upgrade Beam
version
URL: https://github.com/apache/incubator-nemo/pull/204#discussion_r267262882
##########
File path:
runtime/common/src/main/java/org/apache/nemo/runtime/common/metric/MetricUtils.java
##########
@@ -294,23 +291,4 @@ private static String recursivelyFindLicense(final Path
path) {
throw new MetricException(e);
}
}
-
- /**
- * De-register Beam JDBC driver, which produces inconsistent results.
- */
- public static void deregisterBeamDriver() {
- final String beamDriver =
"org.apache.beam.sdk.extensions.sql.impl.JdbcDriver";
- final Enumeration<Driver> drivers = DriverManager.getDrivers();
- while (drivers.hasMoreElements()) {
- final Driver d = drivers.nextElement();
- if (d.getClass().getName().equals(beamDriver)) {
- try {
- DriverManager.deregisterDriver(d);
- } catch (SQLException e) {
- throw new MetricException(e);
- }
- break;
- }
- }
- }
Review comment:
What's this?
----------------------------------------------------------------
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