Commit Graph

1112 Commits

Author SHA1 Message Date
Kent Yao
864542118d 1. set operation log to rootlogdir/operation_logs/username/sessionid
2. fix delete log dir bug:

java.io.FileNotFoundException: File does not exist: /home/hadoop/data/apache-spark/spark-2.1.2-bin-2.1.2/operation_logs/hzyaoqin/7c8789b1-5dfc-4eb2-bc9e-243e1ad6446e/f8ef9615-5a13-471d-a091-8ea83f32cd30
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275)
	at org.apache.hadoop.hive.ql.session.OperationLog$LogFile.remove(OperationLog.java:163)
	at org.apache.hadoop.hive.ql.session.OperationLog.close(OperationLog.java:121)
	at yaooqinn.kyuubi.operation.KyuubiOperation.cleanupOperationLog(KyuubiOperation.scala:190)
	at yaooqinn.kyuubi.operation.KyuubiOperation.close(KyuubiOperation.scala:199)
	at yaooqinn.kyuubi.operation.OperationManager.closeOperation(OperationManager.scala:131)
	at yaooqinn.kyuubi.session.KyuubiSession$$anonfun$close$1.apply(KyuubiSession.scala:319)
	at yaooqinn.kyuubi.session.KyuubiSession$$anonfun$close$1.apply(KyuubiSession.scala:318)
	at scala.collection.mutable.HashSet.foreach(HashSet.scala:78)
	at yaooqinn.kyuubi.session.KyuubiSession.close(KyuubiSession.scala:318)
	at yaooqinn.kyuubi.session.SessionManager.closeSession(SessionManager.scala:264)
	at yaooqinn.kyuubi.server.BackendService.closeSession(BackendService.scala:78)
	at yaooqinn.kyuubi.server.FrontendService$FeTServerEventHandler$$anonfun$deleteContext$1$$anonfun$1.apply$mcV$sp(FrontendService.scala:96)
	at yaooqinn.kyuubi.server.FrontendService$FeTServerEventHandler$$anonfun$deleteContext$1$$anonfun$1.apply(FrontendService.scala:96)
	at yaooqinn.kyuubi.server.FrontendService$FeTServerEventHandler$$anonfun$deleteContext$1$$anonfun$1.apply(FrontendService.scala:96)
	at scala.util.Try$.apply(Try.scala:192)
	at yaooqinn.kyuubi.server.FrontendService$FeTServerEventHandler$$anonfun$deleteContext$1.apply(FrontendService.scala:96)
	at yaooqinn.kyuubi.server.FrontendService$FeTServerEventHandler$$anonfun$deleteContext$1.apply(FrontendService.scala:93)
	at scala.Option.foreach(Option.scala:257)
	at yaooqinn.kyuubi.server.FrontendService$FeTServerEventHandler.deleteContext(FrontendService.scala:93)
	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:300)
	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-01-18 15:43:56 +08:00
Kent Yao
1e40804c9a formatted kyuubi configurations 2018-01-18 11:55:37 +08:00
Kent Yao
7f52205752 1. create sc in a new thread; 2. kill yarn app by app name when sc init timeout 2018-01-17 17:15:35 +08:00
Kent Yao
66f86172a6 rename hive related class names in case of class conflicts 2018-01-15 18:58:24 +08:00
Kent Yao
3b9ce670b9 regist kyuubi conf to spark conf 2018-01-11 16:41:40 +08:00
Kent Yao
5b75e65bc4 import KyuubiConf._ 2018-01-11 14:38:49 +08:00
Kent Yao
d50825a659 delete sbin 2018-01-11 11:15:29 +08:00
Kent Yao
fe524b952e add comments 2018-01-11 11:04:23 +08:00
Kent Yao
6910b57f79 naming for kyuubi server 2018-01-10 17:59:08 +08:00
Kent Yao
2024477419 set has row set to be true to avoid null row set 2018-01-08 15:15:10 +08:00
Kent Yao
79010ea2ce init commit for kyuubi 2018-01-05 19:38:54 +08:00
Kent Yao
216c2b4fe3
Initial commit 2017-12-18 17:05:10 +08:00