java.sql.SQLNonTransientConnectionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • RE: javax.jdo.JDODataStoreException
    via by Nathan Rasch,
  • Re: javax.jdo.JDODataStoreException
    via by Zheng Shao,
  • RE: javax.jdo.JDODataStoreException
    via by Nathan Rasch,
  • Derby out of memory
    via Stack Overflow by user3001676
    ,
    • java.sql.SQLNonTransientConnectionException: A network protocol error was encountered and the connection has been terminated: the requested command encountered an unarchitected and implementation-specific condition for which there was no architected message at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:289) at org.datanucleus.ObjectManagerImpl.getExtent(ObjectManagerImpl.java:3741) at org.datanucleus.store.rdbms.query.JDOQLQueryCompiler.compileCandidates(JDOQLQueryCompiler.java:411) at org.datanucleus.store.rdbms.query.QueryCompiler.executionCompile(QueryCompiler.java:312) at org.datanucleus.store.rdbms.query.JDOQLQueryCompiler.compile(JDOQLQueryCompiler.java:225) at org.datanucleus.store.rdbms.query.JDOQLQuery.compileInternal(JDOQLQuery.java:174) at org.datanucleus.store.query.Query.executeQuery(Query.java:1443) at org.datanucleus.store.rdbms.query.JDOQLQuery.executeQuery(JDOQLQuery.java:244) at org.datanucleus.store.query.Query.executeWithArray(Query.java:1357) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:242) at org.apache.hadoop.hive.metastore.ObjectStore.getMDatabase(ObjectStore.java:283) at org.apache.hadoop.hive.metastore.ObjectStore.getDatabase(ObjectStore.java:301) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:147) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:119) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.<init>(HiveMetaStore.java:101) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:74) at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:828) at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:838) at org.apache.hadoop.hive.ql.metadata.Hive.getTablesForDb(Hive.java:439) Caused by: java.sql.SQLNonTransientConnectionException: A network protocol error was encountered and the connection has been terminated: the requested command encountered an unarchitected and implementation-specific condition for which there was no architected message at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.Connection.getAutoCommit(Unknown Source) at org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:122) at org.datanucleus.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:994) at org.datanucleus.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:960) at org.datanucleus.store.AbstractStoreManager.addClass(AbstractStoreManager.java:691) at org.datanucleus.store.mapped.MappedStoreManager.getDatastoreClass(MappedStoreManager.java:358) at org.datanucleus.store.rdbms.RDBMSManager.getExtent(RDBMSManager.java:1344) at org.datanucleus.ObjectManagerImpl.getExtent(ObjectManagerImpl.java:3736) ... 19 more Caused by: org.apache.derby.client.am.SqlException: A network protocol error was encountered and the connection has been terminated: the requested command encountered an unarchitected and implementation-specific condition for which there was no architected message at org.apache.derby.client.am.SqlException.copyAsUnchainedSQLException(Unknown Source) at org.apache.derby.client.am.Sqlca.chainDeferredExceptionsToAgentOrAsConnectionWarnings(Unknown Source) at org.apache.derby.client.am.Sqlca.getJDBCMessage(Unknown Source) at org.apache.derby.client.am.SqlException.getMessage(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.DatabaseMetaData.getIndexInfo(Unknown Source) at org.datanucleus.store.rdbms.schema.RDBMSSchemaHandler.getRDBMSTableIndexInfoForTable(RDBMSSchemaHandler.java:616) at org.datanucleus.store.rdbms.schema.RDBMSSchemaHandler.getRDBMSTableIndexInfoForTable(RDBMSSchemaHandler.java:585) at org.datanucleus.store.rdbms.schema.RDBMSSchemaHandler.getSchemaData(RDBMSSchemaHandler.java:202) at org.datanucleus.store.rdbms.table.TableImpl.getExistingCandidateKeys(TableImpl.java:1093) at org.datanucleus.store.rdbms.table.TableImpl.validateCandidateKeys(TableImpl.java:696) at org.datanucleus.store.rdbms.table.TableImpl.validateConstraints(TableImpl.java:398) at org.datanucleus.store.rdbms.table.ClassTable.validateConstraints(ClassTable.java:3214) at org.datanucleus.store.rdbms.RDBMSManager$ClassAdder.performTablesValidation(RDBMSManager.java:2865) at org.datanucleus.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2595) at org.datanucleus.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2241) at org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:113) ... 29 more
    No Bugmate found.