首页 > 代码库 > Zeppelin使用报错

Zeppelin使用报错

报错信息:

INFO [2016-11-03 17:05:08,481] ({pool-2-thread-2} SchedulerFactory.java[jobFinished]:137) - Job remoteInterpretJob_1478163908285 finished by scheduler org.apache.zeppelin.jdbc.JDBCInterpreter1260005516
 INFO [2016-11-03 17:12:54,001] ({pool-1-thread-2} InterpreterGroup.java[close]:141) - Close interpreter group 2C3DW1MMZ:shared_process
 INFO [2016-11-03 17:12:54,001] ({pool-1-thread-2} InterpreterGroup.java[destroy]:205) - Destroy interpreter group 2C3DW1MMZ:shared_process
 INFO [2016-11-03 17:13:10,488] ({Thread-0} RemoteInterpreterServer.java[run]:81) - Starting remote interpreter server on port 34181
 INFO [2016-11-03 17:13:10,848] ({pool-1-thread-2} RemoteInterpreterServer.java[createInterpreter]:169) - Instantiate interpreter org.apache.zeppelin.jdbc.JDBCInterpreter
 INFO [2016-11-03 17:13:10,942] ({pool-2-thread-2} SchedulerFactory.java[jobStarted]:131) - Job remoteInterpretJob_1478164390937 started by scheduler org.apache.zeppelin.jdbc.JDBCInterpreter968846253
 INFO [2016-11-03 17:13:10,950] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: phoenix, value: user
 INFO [2016-11-03 17:13:10,951] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: hive, value: url
 INFO [2016-11-03 17:13:10,951] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: default, value: driver
 INFO [2016-11-03 17:13:10,951] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: phoenix, value: driver
 INFO [2016-11-03 17:13:10,951] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: hive, value: user
 INFO [2016-11-03 17:13:10,951] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: psql, value: password
 INFO [2016-11-03 17:13:10,952] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: psql, value: user
 INFO [2016-11-03 17:13:10,952] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: psql, value: url
 INFO [2016-11-03 17:13:10,952] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: default, value: user
 INFO [2016-11-03 17:13:10,952] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: phoenix, value: hbase.client.retries.number
 INFO [2016-11-03 17:13:10,952] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: phoenix, value: url
 INFO [2016-11-03 17:13:10,953] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: tajo, value: url
 INFO [2016-11-03 17:13:10,953] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: tajo, value: driver
 INFO [2016-11-03 17:13:10,956] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: psql, value: driver
 INFO [2016-11-03 17:13:10,956] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: default, value: password
 INFO [2016-11-03 17:13:10,956] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: zeppelin, value: interpreter.localRepo
 INFO [2016-11-03 17:13:10,957] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: hive, value: password
 INFO [2016-11-03 17:13:10,957] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: zeppelin, value: jdbc.concurrent.use
 INFO [2016-11-03 17:13:10,957] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: hive, value: driver
 INFO [2016-11-03 17:13:10,957] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: common, value: max_count
 INFO [2016-11-03 17:13:10,957] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: phoenix, value: password
 INFO [2016-11-03 17:13:10,958] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: zeppelin, value: jdbc.concurrent.max_connection
 INFO [2016-11-03 17:13:10,958] ({pool-2-thread-2} JDBCInterpreter.java[open]:142) - key: default, value: url
ERROR [2016-11-03 17:13:10,958] ({pool-2-thread-2} JDBCInterpreter.java[open]:159) - zeppelin will be ignored. driver.zeppelin and zeppelin.url is mandatory.
 INFO [2016-11-03 17:13:10,958] ({pool-2-thread-2} JDBCInterpreter.java[getConnection]:219) - org.apache.hive.jdbc.HiveDriver
 INFO [2016-11-03 17:13:11,086] ({pool-2-thread-2} Utils.java[parseURL]:285) - Supplied authorities: 192.18.10.100:10000
 INFO [2016-11-03 17:13:11,088] ({pool-2-thread-2} Utils.java[parseURL]:372) - Resolved authority: 192.18.10.100:10000
ERROR [2016-11-03 17:13:11,121] ({pool-2-thread-2} Job.java[run]:189) - Job failed
java.lang.InternalError
	at sun.security.ec.SunEC.initialize(Native Method)
	at sun.security.ec.SunEC.access$000(SunEC.java:49)
	at sun.security.ec.SunEC$1.run(SunEC.java:61)
	at sun.security.ec.SunEC$1.run(SunEC.java:58)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.security.ec.SunEC.<clinit>(SunEC.java:58)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at java.lang.Class.newInstance(Class.java:383)
	at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221)
	at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
	at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
	at sun.security.jca.ProviderList.loadAll(ProviderList.java:282)
	at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299)
	at sun.security.jca.Providers.getFullProviderList(Providers.java:173)
	at java.security.Security.insertProviderAt(Security.java:360)
	at java.security.Security.addProvider(Security.java:407)
	at org.apache.hive.service.auth.PlainSaslHelper.<clinit>(PlainSaslHelper.java:52)
	at org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:396)
	at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:187)
	at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:163)
	at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
	at java.sql.DriverManager.getConnection(DriverManager.java:571)
	at java.sql.DriverManager.getConnection(DriverManager.java:187)
	at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:222)
	at org.apache.zeppelin.jdbc.JDBCInterpreter.open(JDBCInterpreter.java:176)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93)
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:341)
	at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
	at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
 INFO [2016-11-03 17:13:11,134] ({pool-2-thread-2} SchedulerFactory.java[jobFinished]:137) - Job remoteInterpretJob_1478164390937 finished by scheduler org.apache.zeppelin.jdbc.JDBCInterpreter968846253

解决办法:将openjdk换成oraclejdk1.7。

Zeppelin使用报错