phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sunfl@certusnet.com.cn" <su...@certusnet.com.cn>
Subject Unable to establish connection
Date Tue, 16 Sep 2014 01:43:57 GMT
Hi, all
I just encountered such error when running spark job for bulkloading. What are the major possible
cause?
bq. Sqlline and squirrel sql client work well.
Thanks. 
Sun.


2014-09-16 09:35:14,647 [WARN] [org.apache.spark.Logging$class] [Method:logWarning] [Line:71]
[Thread:Result resolver thread-0] 
- Lost task 13.0 in stage 2.0 (TID 53, work1.msa.certusnet): java.sql.SQLException: ERROR
103 (08004): Unable to establish connection. 
org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:333)

org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:133) 
org.apache.phoenix.query.ConnectionQueryServicesImpl.openConnection(ConnectionQueryServicesImpl.java:237)

org.apache.phoenix.query.ConnectionQueryServicesImpl.access$300(ConnectionQueryServicesImpl.java:147)

org.apache.phoenix.query.ConnectionQueryServicesImpl$9.call(ConnectionQueryServicesImpl.java:1510)

org.apache.phoenix.query.ConnectionQueryServicesImpl$9.call(ConnectionQueryServicesImpl.java:1489)

org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:77) 
org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1489)

org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:162) 
org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:129) 
org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:133) 
java.sql.DriverManager.getConnection(DriverManager.java:571) 
java.sql.DriverManager.getConnection(DriverManager.java:233) 
com.certusnet.spark.bulkload.ranap.RanapSignalToPhoenix$$anonfun$14.apply(RanapSignalToPhoenix.scala:90)

com.certusnet.spark.bulkload.ranap.RanapSignalToPhoenix$$anonfun$14.apply(RanapSignalToPhoenix.scala:86)

org.apache.spark.rdd.RDD$$anonfun$13.apply(RDD.scala:596) 
org.apache.spark.rdd.RDD$$anonfun$13.apply(RDD.scala:596) 
org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:35) 
org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:262) 
org.apache.spark.rdd.RDD.iterator(RDD.scala:229) 
org.apache.spark.rdd.FilteredRDD.compute(FilteredRDD.scala:34) 
org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:262) 
org.apache.spark.rdd.RDD.iterator(RDD.scala:229) 
org.apache.spark.rdd.MappedRDD.compute(MappedRDD.scala:31) 
org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:262) 
org.apache.spark.rdd.RDD.iterator(RDD.scala:229) 
org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68) 
org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41) 
org.apache.spark.scheduler.Task.run(Task.scala:54) 
org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:177) 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
java.lang.Thread.run(Thread.java:744)





Mime
View raw message