jerryshao commented on a change in pull request #406: Throw an exception when
using Iceberg with Spark embedded metastore
URL: https://github.com/apache/incubator-iceberg/pull/406#discussion_r318864226
##########
File path: hive/src/main/java/org/apache/iceberg/hive/HiveClientPool.java
##########
@@ -44,6 +48,13 @@ protected HiveMetaStoreClient newClient() {
return new HiveMetaStoreClient(hiveConf);
} catch (MetaException e) {
throw new RuntimeMetaException(e, "Failed to connect to Hive Metastore");
+ } catch (Throwable t) {
+ if (t.getMessage().contains("Another instance of Derby may have already
booted")) {
+ LOG.error("Failed to start an embedded metastore because embedded
Derby supports only one" +
Review comment:
Sure, I will update it.
----------------------------------------------------------------
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]