spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yana Kadiyska <yana.kadiy...@gmail.com>
Subject Trouble with Thriftserver with hsqldb (Spark 2.1.0)
Date Mon, 06 Mar 2017 22:02:20 GMT
Hi folks, trying to run Spark 2.1.0 thrift server against an hsqldb file
and it seems to...hang.

I am starting thrift server with:

sbin/start-thriftserver.sh --driver-class-path ./conf/hsqldb-2.3.4.jar ,
completely local setup


hive-site.xml is like this:


<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<configuration>

  <property>

    <name>hive.metastore.warehouse.dir</name>

    <value>/tmp</value>

  </property>

  <property>

    <name>javax.jdo.option.ConnectionURL</name>

    <value>jdbc:hsqldb:file:/tmp/hive-metastore</value>

    <description>JDBC connect string for a JDBC metastore</description>

  </property>


  <property>

     <name>javax.jdo.option.ConnectionDriverName</name>

     <value>org.hsqldb.jdbc.JDBCDriver</value>

  </property>

  <property>

          <name>javax.jdo.option.ConnectionUserName</name>

          <value>SA</value>

    </property>

  <property>

    <name>javax.jdo.option.ConnectionPassword</name>

    <value></value>

  </property>

  <property>

    <name>datanucleus.autoCreateSchema</name>

    <value>true</value>

  </property>

</configuration>


I have turned on logging with

log4j.category.DataNucleus=ALL

log4j.logger.org.apache.spark.sql.hive.thriftserver=ALL

and my spark log seems stuck at:

17/03/06 16:42:46 DEBUG Schema: Schema Transaction started with connection
"com.jolbox.bonecp.ConnectionHandle@44fdce3c" with isolation "serializable"

17/03/06 16:42:46 DEBUG Schema: Check of existence of CDS returned no table

17/03/06 16:42:46 DEBUG Schema: Creating table CDS

17/03/06 16:42:46 DEBUG Schema: CREATE TABLE CDS

(

    CD_ID BIGINT NOT NULL,

    CONSTRAINT CDS_PK PRIMARY KEY (CD_ID)

)


Hoping someone an suggest what other logging I can turn on or what a
possible issue can be (nothing is listening on port 10000 at this point,
java process did open 4040)

Mime
View raw message