You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/08/29 02:32:30 UTC

[GitHub] [incubator-iceberg] jerryshao commented on a change in pull request #406: Throw an exception when using Iceberg with Spark embedded metastore

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org