[ https://issues.apache.org/jira/browse/PHOENIX-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15014870#comment-15014870 ]
Samarth Jain commented on PHOENIX-2437: --------------------------------------- FWIW, when running the pig test, I saw that the PhoenixDriver (and not PhoenixTestDriver) gets loaded after I commented out the doSetup() method in BasePigIT class. The PhoenixDriver gets loaded because of the following code in loadInitialDrivers(). {code} private static void loadInitialDrivers() { String drivers; try { drivers = AccessController.doPrivileged(new PrivilegedAction<String>() { public String run() { return System.getProperty("jdbc.drivers"); } }); } catch (Exception ex) { drivers = null; } // If the driver is packaged as a Service Provider, load it. // Get all the drivers through the classloader // exposed as a java.sql.Driver.class service. // ServiceLoader.load() replaces the sun.misc.Providers() AccessController.doPrivileged(new PrivilegedAction<Void>() { public Void run() { ServiceLoader<Driver> loadedDrivers = ServiceLoader.load(Driver.class); Iterator driversIterator = loadedDrivers.iterator(); {code} > Build times out intermittently > ------------------------------ > > Key: PHOENIX-2437 > URL: https://issues.apache.org/jira/browse/PHOENIX-2437 > Project: Phoenix > Issue Type: Bug > Reporter: James Taylor > Attachments: PHOENIX-2437.patch > > > Looks like our build is timing out still, even with my change for > PHOENIX-2427. [~mujtabachohan] - any insight into the new failures? > [~samarthjain] - I'm thinking we should remove the shutdown hook altogether > and live with exceptions that can occur when a server is going down while > connection are still being attempted to be gotten. > WDYT? -- This message was sent by Atlassian JIRA (v6.3.4#6332)