Commit Graph

4318 Commits

Author SHA1 Message Date
Kent Yao
5af2cac98a fixes i15 inline info type/value 2018-03-19 16:25:40 +08:00
Kent Yao
4a6ecf04a5
Merge pull request #13 from yaooqinn/i12
bring operation state to kyuubi close #12
2018-03-19 14:17:24 +08:00
Kent Yao
4901d7d9bf test fix 2018-03-19 11:09:05 +08:00
Kent Yao
f387fcd7ee org.apache.hive.service.cli.HiveSQLException: Illegal Operation state transition FINISHED -> CLOSED
at yaooqinn.kyuubi.operation.OperationState.ex(OperationState.scala:30)
	at yaooqinn.kyuubi.operation.FINISHED$.ex(OperationState.scala:50)
	at yaooqinn.kyuubi.operation.OperationState.validateTransition(OperationState.scala:28)
	at yaooqinn.kyuubi.operation.FINISHED$.validateTransition(OperationState.scala:50)
	at yaooqinn.kyuubi.operation.KyuubiOperation.setState(KyuubiOperation.scala:101)
	at yaooqinn.kyuubi.operation.KyuubiOperation.cleanup(KyuubiOperation.scala:439)
	at yaooqinn.kyuubi.operation.KyuubiOperation.close(KyuubiOperation.scala:215)
	at yaooqinn.kyuubi.operation.OperationManager.closeOperation(OperationManager.scala:137)
	at yaooqinn.kyuubi.session.KyuubiSession.closeOperation(KyuubiSession.scala:389)
	at yaooqinn.kyuubi.server.BackendService.closeOperation(BackendService.scala:149)
	at yaooqinn.kyuubi.server.FrontendService.CloseOperation(FrontendService.scala:474)
	at org.apache.hive.service.cli.thrift.TCLIService.getResult(TCLIService.java:1513)
	at org.apache.hive.service.cli.thrift.TCLIService.getResult(TCLIService.java:1498)
	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
	at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge.process(HadoopThriftAuthBridge.java:692)
	at org.apache.thrift.server.TThreadPoolServer.run(TThreadPoolServer.java:286)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
2018-03-19 10:46:47 +08:00
Kent Yao
359a80bd57 do as wrap initial db connection 2018-03-18 23:10:37 +08:00
Kent Yao
787f4eb1de fixes #12 bring operation state to kyuubi 2018-03-18 22:58:23 +08:00
Kent Yao
6751203790
Merge pull request #11 from yaooqinn/i10
kyuubi session handle and operation handle
close #10
2018-03-18 21:19:49 +08:00
Kent Yao
f4ad3352ea session id key not found in ui 2018-03-18 21:14:04 +08:00
Kent Yao
039618fbcb fixes #10 kyuubi session handle and operation handle 2018-03-18 16:14:21 +08:00
Kent Yao
3a1fb0089c
Merge pull request #9 from yaooqinn/i8
implementation of timeout sql operations cleaning up
fixed #8
2018-03-16 22:39:30 +08:00
Kent Yao
7c2d8c7b82 java.lang.NumberFormatException: For input string: "21600000ms"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Long.parseLong(Long.java:589)
	at java.lang.Long.parseLong(Long.java:631)
	at scala.collection.immutable.StringLike$class.toLong(StringLike.scala:276)
	at scala.collection.immutable.StringOps.toLong(StringOps.scala:29)
	at yaooqinn.kyuubi.operation.KyuubiOperation.<init>(KyuubiOperation.scala:53)
	at yaooqinn.kyuubi.operation.OperationManager.newExecuteStatementOperation(OperationManager.scala:88)
	at yaooqinn.kyuubi.session.KyuubiSession.executeStatementInternal(KyuubiSession.scala:220)
	at yaooqinn.kyuubi.session.KyuubiSession.executeStatement(KyuubiSession.scala:334)
	at yaooqinn.kyuubi.session.KyuubiSession$$anonfun$open$1.apply(KyuubiSession.scala:297)
	at yaooqinn.kyuubi.session.KyuubiSession$$anonfun$open$1.apply(KyuubiSession.scala:297)
	at scala.Option.foreach(Option.scala:257)
	at yaooqinn.kyuubi.session.KyuubiSession.open(KyuubiSession.scala:297)
	at yaooqinn.kyuubi.session.SessionManager.openSession(SessionManager.scala:234)
	at yaooqinn.kyuubi.server.BackendService.openSessionWithImpersonation(BackendService.scala:72)
	at yaooqinn.kyuubi.server.FrontendService.getSessionHandle(FrontendService.scala:244)
	at yaooqinn.kyuubi.server.FrontendService.OpenSession(FrontendService.scala:258)
	at org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1253)
	at org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1238)
	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
	at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingProcessor.process(HadoopThriftAuthBridge.java:692)
	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
2018-03-16 22:26:14 +08:00
Kent Yao
786dd58dcc fixed #8 implementation of timeout sql operations cleaning up 2018-03-16 18:07:04 +08:00
Kent Yao
0e360904d8
Merge pull request #6 from yaooqinn/i5
invoke stop method if an error occurred in initializing spark context
fixed #5
2018-03-16 16:03:24 +08:00
Kent Yao
a9fb262c94 logs 2018-03-16 15:51:09 +08:00
Kent Yao
91d8138b75 sc stop after exception 2018-03-16 15:18:18 +08:00
Kent Yao
7c62321df0 new context thread 2018-03-16 14:59:52 +08:00
Kent Yao
ce21b42493 ui swallow all exceptions 2018-03-16 14:36:34 +08:00
Kent Yao
29ff3b6fe6 import ExecutionContext.Implicits.global 2018-03-16 11:45:28 +08:00
Kent Yao
15d1f7fc18 stop sc in future 2018-03-16 11:24:45 +08:00
Kent Yao
346b5ba5cb add interrupt 2018-03-16 10:45:25 +08:00
Kent Yao
28156ca26d fixes #5 SparkContext promise in kyuubi session time out do not stop its instantiating 2018-03-16 10:25:21 +08:00
Kent Yao
abab544d49
Merge pull request #4 from yaooqinn/i2
fixed #3 initial db switch fails with privileges check
close #3
2018-03-15 22:02:30 +08:00
Kent Yao
125f7f5b84 fixes #3 handle hive conttol exception 2018-03-15 21:48:38 +08:00
Kent Yao
1d9dc0d642 fixes #3 format err log 2018-03-15 20:49:48 +08:00
Kent Yao
2bc0a2f4ed fixes #3 handle parse exception 2018-03-15 20:25:13 +08:00
Kent Yao
b44faa86fa fixes #3 handle parse exception 2018-03-15 20:10:38 +08:00
Kent Yao
8d3f1c7803 fixes #3 handle analysis exception 2018-03-15 17:55:06 +08:00
Kent Yao
abe99da76b fixes #3 initial db switch fails with privileges check 2018-03-15 16:40:25 +08:00
Kent Yao
2a2cb51a40 add docs/issue_template.md 2018-03-14 11:06:28 +08:00
Kent Yao
4580feecc2 minor 2018-03-14 11:03:43 +08:00
Kent Yao
72f81de679 mv kyuubi authentication factory to scala source 2018-03-13 20:28:33 +08:00
Kent Yao
63983ca265 add kyuubi auth factory 2018-03-13 17:20:54 +08:00
Kent Yao
cec8286a60 travis 2018-03-13 11:01:14 +08:00
Kent Yao
dcbdd128de doc style 2018-03-07 16:09:45 +08:00
Kent Yao
c0b1d7fb44
Create CODE_OF_CONDUCT.md 2018-03-07 15:54:22 +08:00
Kent Yao
82839fcb5f
Create CONTRIBUTING.md 2018-03-07 15:51:46 +08:00
Kent Yao
f7c9f66fe5 change build script 2018-03-07 15:40:05 +08:00
Kent Yao
a85fc2c599 add jekyll conf 2018-03-07 15:24:45 +08:00
Kent Yao
f85e63385e add jekyll conf 2018-03-07 15:24:17 +08:00
Kent Yao
45442e3fe1 add hive configuration doc 2018-03-07 15:08:59 +08:00
Kent Yao
3c74836463 readme en / configuration doc kyuui part 2018-03-06 23:52:29 +08:00
Kent Yao
d5bf707015 add scala test plugin 2018-03-06 14:54:37 +08:00
Kent Yao
4b0cec37f0 build status 2018-03-06 11:59:57 +08:00
Kent Yao
d9545ee34f add .travis.yml 2018-03-06 11:35:38 +08:00
Kent Yao
bc938e45b4 readme doc 2018-03-06 11:20:57 +08:00
Kent Yao
b78301ca00 readme cn 2018-01-25 10:10:01 +08:00
Kent Yao
1f7d7993dc mv mvn to build 2018-01-20 00:01:36 +08:00
Kent Yao
58a9a3f998 add stop script 2018-01-19 23:43:24 +08:00
Kent Yao
6fb2cb27e1 use spark-daemon.sh instead of spark-submit 2018-01-19 23:27:08 +08:00
Kent Yao
531136b9de add spark patches 2018-01-19 17:19:49 +08:00