-
Notifications
You must be signed in to change notification settings - Fork 0
/
List0322.json
1 lines (1 loc) · 64.8 KB
/
List0322.json
1
{"paragraphs":[{"text":"val rdd = sc.parallelize(List(1, 2, 3, 4, 5), 2)","user":"anonymous","dateUpdated":"2021-03-21T20:47:59+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"rdd: org.apache.spark.rdd.RDD[Int] = ParallelCollectionRDD[0] at parallelize at <console>:27\n"}]},"apps":[],"jobName":"paragraph_1616359660674_1025644044","id":"20210321-204740_1443895807","dateCreated":"2021-03-21T20:47:40+0000","dateStarted":"2021-03-21T20:47:59+0000","dateFinished":"2021-03-21T20:50:42+0000","status":"FINISHED","progressUpdateIntervalMs":500,"focus":true,"$$hashKey":"object:17566"},{"text":"rdd.first","user":"anonymous","dateUpdated":"2021-03-21T20:51:32+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res1: Int = 1\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=1"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616359679102_2006414963","id":"20210321-204759_1442437344","dateCreated":"2021-03-21T20:47:59+0000","dateStarted":"2021-03-21T20:51:32+0000","dateFinished":"2021-03-21T20:51:35+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17567"},{"text":"rdd.take(1)","user":"anonymous","dateUpdated":"2021-03-21T20:52:13+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res2: Array[Int] = Array(1)\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=2"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616359780108_-1702290243","id":"20210321-204940_508901189","dateCreated":"2021-03-21T20:49:40+0000","dateStarted":"2021-03-21T20:52:13+0000","dateFinished":"2021-03-21T20:52:15+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17568"},{"text":"rdd.collect.foreach(i => println(\" ->\" + i))","user":"anonymous","dateUpdated":"2021-03-21T20:54:11+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":" ->1\n ->2\n ->3\n ->4\n ->5\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=3"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616359933303_-1110868243","id":"20210321-205213_802418846","dateCreated":"2021-03-21T20:52:13+0000","dateStarted":"2021-03-21T20:54:11+0000","dateFinished":"2021-03-21T20:54:17+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17569"},{"text":"rdd.mapPartitionsWithIndex((index: Int, iter: Iterator[Int]) => iter.toList.map(\"[partId:\" + index + \", val \" + _ + \"]\" ).iterator).collect\n","user":"anonymous","dateUpdated":"2021-03-21T20:58:12+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res4: Array[String] = Array([partId:0, val 1], [partId:0, val 2], [partId:1, val 3], [partId:1, val 4], [partId:1, val 5])\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=4"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616360051136_1381868451","id":"20210321-205411_420513990","dateCreated":"2021-03-21T20:54:11+0000","dateStarted":"2021-03-21T20:58:13+0000","dateFinished":"2021-03-21T20:58:19+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17570"},{"text":"sc.version","user":"anonymous","dateUpdated":"2021-03-21T21:20:43+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res5: String = 2.1.0\n"}]},"apps":[],"jobName":"paragraph_1616360292920_519782439","id":"20210321-205812_1016697321","dateCreated":"2021-03-21T20:58:12+0000","dateStarted":"2021-03-21T21:20:44+0000","dateFinished":"2021-03-21T21:20:47+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17571"},{"text":"sc","user":"anonymous","dateUpdated":"2021-03-21T21:20:54+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res6: org.apache.spark.SparkContext = org.apache.spark.SparkContext@1be20988\n"}]},"apps":[],"jobName":"paragraph_1616361643894_523548898","id":"20210321-212043_1820413167","dateCreated":"2021-03-21T21:20:43+0000","dateStarted":"2021-03-21T21:20:54+0000","dateFinished":"2021-03-21T21:20:57+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17572"},{"text":"val bankText = sc.textFile(\"file:///dataset/bank/bank.csv\")","user":"anonymous","dateUpdated":"2021-03-21T23:58:32+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"bankText: org.apache.spark.rdd.RDD[String] = file:///dataset/bank/bank.csv MapPartitionsRDD[17] at textFile at <console>:27\n"}]},"apps":[],"jobName":"paragraph_1616361654468_1780938951","id":"20210321-212054_1105315416","dateCreated":"2021-03-21T21:20:54+0000","dateStarted":"2021-03-21T23:58:32+0000","dateFinished":"2021-03-21T23:58:32+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17573"},{"text":"bankText.cache","user":"anonymous","dateUpdated":"2021-03-21T23:58:36+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res21: bankText.type = file:///dataset/bank/bank.csv MapPartitionsRDD[17] at textFile at <console>:27\n"}]},"apps":[],"jobName":"paragraph_1616363520622_-1742909471","id":"20210321-215200_1157479906","dateCreated":"2021-03-21T21:52:00+0000","dateStarted":"2021-03-21T23:58:36+0000","dateFinished":"2021-03-21T23:58:37+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17574"},{"text":"%spark bankText.count","user":"anonymous","dateUpdated":"2021-03-21T23:58:49+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res22: Long = 4522\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=5"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616364638891_-935314951","id":"20210321-221038_1695408754","dateCreated":"2021-03-21T22:10:38+0000","dateStarted":"2021-03-21T23:58:49+0000","dateFinished":"2021-03-21T23:58:51+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17575"},{"text":"%spark bankText.count","user":"anonymous","dateUpdated":"2021-03-22T00:15:38+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala","editOnDblClick":false},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res23: Long = 4522\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=6"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616364724668_807117583","id":"20210321-221204_1963207366","dateCreated":"2021-03-21T22:12:04+0000","dateStarted":"2021-03-22T00:15:38+0000","dateFinished":"2021-03-22T00:15:39+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17576"},{"text":"val bankHead = bankText.take(10)","user":"anonymous","dateUpdated":"2021-03-22T00:17:09+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"bankHead: Array[String] = Array(\"age\";\"job\";\"marital\";\"education\";\"default\";\"balance\";\"housing\";\"loan\";\"contact\";\"day\";\"month\";\"duration\";\"campaign\";\"pdays\";\"previous\";\"poutcome\";\"y\", 30;\"unemployed\";\"married\";\"primary\";\"no\";1787;\"no\";\"no\";\"cellular\";19;\"oct\";79;1;-1;0;\"unknown\";\"no\", 33;\"services\";\"married\";\"secondary\";\"no\";4789;\"yes\";\"yes\";\"cellular\";11;\"may\";220;1;339;4;\"failure\";\"no\", 35;\"management\";\"single\";\"tertiary\";\"no\";1350;\"yes\";\"no\";\"cellular\";16;\"apr\";185;1;330;1;\"failure\";\"no\", 30;\"management\";\"married\";\"tertiary\";\"no\";1476;\"yes\";\"yes\";\"unknown\";3;\"jun\";199;4;-1;0;\"unknown\";\"no\", 59;\"blue-collar\";\"married\";\"secondary\";\"no\";0;\"yes\";\"no\";\"unknown\";5;\"may\";226;1;-1;0;\"unknown\";\"no\", 35;\"management\";\"single\";\"tertiary\";\"no\";747;\"no\";\"no\";\"cellular\";23;\"feb\";141;2;176;3;\"failur..."}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=7"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616370599819_923814978","id":"20210321-234959_1348437673","dateCreated":"2021-03-21T23:49:59+0000","dateStarted":"2021-03-22T00:17:09+0000","dateFinished":"2021-03-22T00:17:09+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17577"},{"text":"bankHead.size","user":"anonymous","dateUpdated":"2021-03-22T00:17:33+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res24: Int = 10\n"}]},"apps":[],"jobName":"paragraph_1616372229033_1728056718","id":"20210322-001709_1560919584","dateCreated":"2021-03-22T00:17:09+0000","dateStarted":"2021-03-22T00:17:33+0000","dateFinished":"2021-03-22T00:17:33+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17578"},{"text":"case class Bank(age: Integer, job: String, marital: String, education: String, balance: Integer)","user":"anonymous","dateUpdated":"2021-03-22T00:19:56+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"defined class Bank\n"}]},"apps":[],"jobName":"paragraph_1616372253017_-105809782","id":"20210322-001733_443630799","dateCreated":"2021-03-22T00:17:33+0000","dateStarted":"2021-03-22T00:19:56+0000","dateFinished":"2021-03-22T00:19:58+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17579"},{"text":"val bankRdd = bankText.map(_.split(\":\")).filter(_.head != \"\\\"age\\\"\").map(\n s => Bank(s(0).toInt,\n s(1).replaceAll(\"\\\"\", \"\"),\n s(2).replaceAll(\"\\\"\", \"\"),\n s(3).replaceAll(\"\\\"\", \"\"),\n s(5).replaceAll(\"\\\"\", \"\").toInt\n )\n )\n","user":"anonymous","dateUpdated":"2021-03-22T00:20:45+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"bankRdd: org.apache.spark.rdd.RDD[Bank] = MapPartitionsRDD[20] at map at <console>:31\n"}]},"apps":[],"jobName":"paragraph_1616372396664_1340243506","id":"20210322-001956_103793506","dateCreated":"2021-03-22T00:19:56+0000","dateStarted":"2021-03-22T00:20:45+0000","dateFinished":"2021-03-22T00:20:47+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17580"},{"text":"bankRdd.saveAsTextFile(\"/tmp/bankRdd1.txt\")","user":"anonymous","dateUpdated":"2021-03-22T00:51:56+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"ERROR","msg":[{"type":"TEXT","data":"org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 8.0 failed 1 times, most recent failure: Lost task 0.0 in stage 8.0 (TID 12, localhost, executor driver): java.lang.NumberFormatException: For input string: \"\"age\";\"job\";\"marital\";\"education\";\"default\";\"balance\";\"housing\";\"loan\";\"contact\";\"day\";\"month\";\"duration\";\"campaign\";\"pdays\";\"previous\";\"poutcome\";\"y\"\"\n\tat java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)\n\tat java.lang.Integer.parseInt(Integer.java:569)\n\tat java.lang.Integer.parseInt(Integer.java:615)\n\tat scala.collection.immutable.StringLike$class.toInt(StringLike.scala:272)\n\tat scala.collection.immutable.StringOps.toInt(StringOps.scala:29)\n\tat $anonfun$3.apply(<console>:32)\n\tat $anonfun$3.apply(<console>:32)\n\tat scala.collection.Iterator$$anon$11.next(Iterator.scala:409)\n\tat scala.collection.Iterator$$anon$11.next(Iterator.scala:409)\n\tat org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13$$anonfun$apply$7.apply$mcV$sp(PairRDDFunctions.scala:1211)\n\tat org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13$$anonfun$apply$7.apply(PairRDDFunctions.scala:1210)\n\tat org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13$$anonfun$apply$7.apply(PairRDDFunctions.scala:1210)\n\tat org.apache.spark.util.Utils$.tryWithSafeFinallyAndFailureCallbacks(Utils.scala:1341)\n\tat org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13.apply(PairRDDFunctions.scala:1218)\n\tat org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13.apply(PairRDDFunctions.scala:1197)\n\tat org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)\n\tat org.apache.spark.scheduler.Task.run(Task.scala:99)\n\tat org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:282)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat java.lang.Thread.run(Thread.java:748)\n\nDriver stacktrace:\n at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1435)\n at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1423)\n at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1422)\n at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)\n at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)\n at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1422)\n at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:802)\n at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:802)\n at scala.Option.foreach(Option.scala:257)\n at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:802)\n at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:1650)\n at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1605)\n at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1594)\n at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)\n at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:628)\n at org.apache.spark.SparkContext.runJob(SparkContext.scala:1918)\n at org.apache.spark.SparkContext.runJob(SparkContext.scala:1931)\n at org.apache.spark.SparkContext.runJob(SparkContext.scala:1951)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1.apply$mcV$sp(PairRDDFunctions.scala:1226)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1.apply(PairRDDFunctions.scala:1168)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1.apply(PairRDDFunctions.scala:1168)\n at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)\n at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)\n at org.apache.spark.rdd.RDD.withScope(RDD.scala:362)\n at org.apache.spark.rdd.PairRDDFunctions.saveAsHadoopDataset(PairRDDFunctions.scala:1168)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopFile$4.apply$mcV$sp(PairRDDFunctions.scala:1071)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopFile$4.apply(PairRDDFunctions.scala:1037)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopFile$4.apply(PairRDDFunctions.scala:1037)\n at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)\n at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)\n at org.apache.spark.rdd.RDD.withScope(RDD.scala:362)\n at org.apache.spark.rdd.PairRDDFunctions.saveAsHadoopFile(PairRDDFunctions.scala:1037)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopFile$1.apply$mcV$sp(PairRDDFunctions.scala:963)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopFile$1.apply(PairRDDFunctions.scala:963)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopFile$1.apply(PairRDDFunctions.scala:963)\n at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)\n at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)\n at org.apache.spark.rdd.RDD.withScope(RDD.scala:362)\n at org.apache.spark.rdd.PairRDDFunctions.saveAsHadoopFile(PairRDDFunctions.scala:962)\n at org.apache.spark.rdd.RDD$$anonfun$saveAsTextFile$1.apply$mcV$sp(RDD.scala:1488)\n at org.apache.spark.rdd.RDD$$anonfun$saveAsTextFile$1.apply(RDD.scala:1467)\n at org.apache.spark.rdd.RDD$$anonfun$saveAsTextFile$1.apply(RDD.scala:1467)\n at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)\n at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)\n at org.apache.spark.rdd.RDD.withScope(RDD.scala:362)\n at org.apache.spark.rdd.RDD.saveAsTextFile(RDD.scala:1467)\n ... 47 elided\nCaused by: java.lang.NumberFormatException: For input string: \"\"age\";\"job\";\"marital\";\"education\";\"default\";\"balance\";\"housing\";\"loan\";\"contact\";\"day\";\"month\";\"duration\";\"campaign\";\"pdays\";\"previous\";\"poutcome\";\"y\"\"\n at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)\n at java.lang.Integer.parseInt(Integer.java:569)\n at java.lang.Integer.parseInt(Integer.java:615)\n at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:272)\n at scala.collection.immutable.StringOps.toInt(StringOps.scala:29)\n at $anonfun$3.apply(<console>:32)\n at $anonfun$3.apply(<console>:32)\n at scala.collection.Iterator$$anon$11.next(Iterator.scala:409)\n at scala.collection.Iterator$$anon$11.next(Iterator.scala:409)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13$$anonfun$apply$7.apply$mcV$sp(PairRDDFunctions.scala:1211)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13$$anonfun$apply$7.apply(PairRDDFunctions.scala:1210)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13$$anonfun$apply$7.apply(PairRDDFunctions.scala:1210)\n at org.apache.spark.util.Utils$.tryWithSafeFinallyAndFailureCallbacks(Utils.scala:1341)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13.apply(PairRDDFunctions.scala:1218)\n at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsHadoopDataset$1$$anonfun$13.apply(PairRDDFunctions.scala:1197)\n at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)\n at org.apache.spark.scheduler.Task.run(Task.scala:99)\n at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:282)\n ... 3 more\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=8"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616372445765_-1493554736","id":"20210322-002045_941245364","dateCreated":"2021-03-22T00:20:45+0000","dateStarted":"2021-03-22T00:51:56+0000","dateFinished":"2021-03-22T00:51:58+0000","status":"ERROR","progressUpdateIntervalMs":500,"$$hashKey":"object:17581"},{"text":"spark","user":"anonymous","dateUpdated":"2021-03-22T00:53:42+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res26: org.apache.spark.sql.SparkSession = org.apache.spark.sql.SparkSession@1d54840a\n"}]},"apps":[],"jobName":"paragraph_1616374316660_1824400997","id":"20210322-005156_2050359943","dateCreated":"2021-03-22T00:51:56+0000","dateStarted":"2021-03-22T00:53:43+0000","dateFinished":"2021-03-22T00:53:43+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17582"},{"text":"val bankRDD = spark.read\n .format(\"org.apache.spark.sql.execution.datasources.csv.CSVFileFormat\")\n .option(\"header\", \"true\")\n .option(\"inferSchema\",\"true\")\n .option(\"sep\", \";\")\n .load(\"/dataset/bank/bank.csv\")\n","user":"anonymous","dateUpdated":"2021-03-22T01:02:23+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"bankRDD: org.apache.spark.sql.DataFrame = [age: int, job: string ... 15 more fields]\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=9","http://172.17.0.2:4040/jobs/job?id=10","http://172.17.0.2:4040/jobs/job?id=11"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616374422966_2094615674","id":"20210322-005342_32439541","dateCreated":"2021-03-22T00:53:42+0000","dateStarted":"2021-03-22T01:02:23+0000","dateFinished":"2021-03-22T01:02:27+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17583"},{"text":"val bankDF = bankRDD.toDF\n bankDF.printSchema \n\n","user":"anonymous","dateUpdated":"2021-03-22T01:05:31+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"bankDF: org.apache.spark.sql.DataFrame = [age: int, job: string ... 15 more fields]\nroot\n |-- age: integer (nullable = true)\n |-- job: string (nullable = true)\n |-- marital: string (nullable = true)\n |-- education: string (nullable = true)\n |-- default: string (nullable = true)\n |-- balance: integer (nullable = true)\n |-- housing: string (nullable = true)\n |-- loan: string (nullable = true)\n |-- contact: string (nullable = true)\n |-- day: integer (nullable = true)\n |-- month: string (nullable = true)\n |-- duration: integer (nullable = true)\n |-- campaign: integer (nullable = true)\n |-- pdays: integer (nullable = true)\n |-- previous: integer (nullable = true)\n |-- poutcome: string (nullable = true)\n |-- y: string (nullable = true)\n\n"}]},"apps":[],"jobName":"paragraph_1616374943347_-282215246","id":"20210322-010223_509931393","dateCreated":"2021-03-22T01:02:23+0000","dateStarted":"2021-03-22T01:05:31+0000","dateFinished":"2021-03-22T01:05:32+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17584"},{"text":"bankRDD.toDF(\"age\", \"job\", \"marital\", \"education\", \"default\", \"balance\", \"housing\", \"loan\", \"contact\", \"day\", \"month\", \"duration\", \"campaign\", \"pdays\", \"previous\", \"potcome\", \"y\")","user":"anonymous","dateUpdated":"2021-03-22T01:12:02+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res28: org.apache.spark.sql.DataFrame = [age: int, job: string ... 15 more fields]\n"}]},"apps":[],"jobName":"paragraph_1616375131321_1471963903","id":"20210322-010531_770036985","dateCreated":"2021-03-22T01:05:31+0000","dateStarted":"2021-03-22T01:12:02+0000","dateFinished":"2021-03-22T01:12:03+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17585"},{"text":"val ds = Seq(1, 2, 3).toDS()","user":"anonymous","dateUpdated":"2021-03-22T01:12:59+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"ds: org.apache.spark.sql.Dataset[Int] = [value: int]\n"}]},"apps":[],"jobName":"paragraph_1616375522200_-2048753977","id":"20210322-011202_259521582","dateCreated":"2021-03-22T01:12:02+0000","dateStarted":"2021-03-22T01:12:59+0000","dateFinished":"2021-03-22T01:13:03+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17586"},{"text":"ds.map(_ * 2).show","user":"anonymous","dateUpdated":"2021-03-22T01:13:23+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"+-----+\n|value|\n+-----+\n| 2|\n| 4|\n| 6|\n+-----+\n\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=12","http://172.17.0.2:4040/jobs/job?id=13"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616375579384_412777541","id":"20210322-011259_1296075103","dateCreated":"2021-03-22T01:12:59+0000","dateStarted":"2021-03-22T01:13:23+0000","dateFinished":"2021-03-22T01:13:26+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17587"},{"text":"case class Person(name: String, zip: Long)\n val df = spark.read.json(sc.parallelize(\"\"\"{\"zip\": 94709, \"name\": \"Michael\"}\"\"\" :: Nil))\n","user":"anonymous","dateUpdated":"2021-03-22T01:14:45+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"defined class Person\ndf: org.apache.spark.sql.DataFrame = [name: string, zip: bigint]\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=14"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616375603353_-219334254","id":"20210322-011323_302707498","dateCreated":"2021-03-22T01:13:23+0000","dateStarted":"2021-03-22T01:14:45+0000","dateFinished":"2021-03-22T01:14:47+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17588"},{"text":"val ds2 = df.as[Person]","user":"anonymous","dateUpdated":"2021-03-22T01:15:15+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"ds2: org.apache.spark.sql.Dataset[Person] = [name: string, zip: bigint]\n"}]},"apps":[],"jobName":"paragraph_1616375685286_1496199795","id":"20210322-011445_169832733","dateCreated":"2021-03-22T01:14:45+0000","dateStarted":"2021-03-22T01:15:15+0000","dateFinished":"2021-03-22T01:15:18+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17589"},{"text":"ds2.collect","user":"anonymous","dateUpdated":"2021-03-22T01:15:54+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res30: Array[Person] = Array(Person(Michael,94709))\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=15"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616375715533_1210316562","id":"20210322-011515_990170455","dateCreated":"2021-03-22T01:15:15+0000","dateStarted":"2021-03-22T01:15:55+0000","dateFinished":"2021-03-22T01:15:56+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17590"},{"text":"ds2.show","user":"anonymous","dateUpdated":"2021-03-22T01:16:20+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"+-------+-----+\n| name| zip|\n+-------+-----+\n|Michael|94709|\n+-------+-----+\n\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=16","http://172.17.0.2:4040/jobs/job?id=17"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616375754996_-1075815430","id":"20210322-011554_2003303688","dateCreated":"2021-03-22T01:15:54+0000","dateStarted":"2021-03-22T01:16:20+0000","dateFinished":"2021-03-22T01:16:21+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17591"},{"text":"case class bank(age:Integer, job:String, marital : String, education : String, balance:Integer)","user":"anonymous","dateUpdated":"2021-03-22T01:20:43+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"defined class bank\n"}]},"apps":[],"jobName":"paragraph_1616375780788_972834545","id":"20210322-011620_1558803591","dateCreated":"2021-03-22T01:16:20+0000","dateStarted":"2021-03-22T01:20:43+0000","dateFinished":"2021-03-22T01:20:44+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17592"},{"text":"val bankDS = bankDF.as[Bank]","user":"anonymous","dateUpdated":"2021-03-22T01:21:15+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"bankDS: org.apache.spark.sql.Dataset[Bank] = [age: int, job: string ... 15 more fields]\n"}]},"apps":[],"jobName":"paragraph_1616375886974_1663812922","id":"20210322-011806_766715108","dateCreated":"2021-03-22T01:18:06+0000","dateStarted":"2021-03-22T01:21:16+0000","dateFinished":"2021-03-22T01:21:17+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17593"},{"text":"bankDS.take(2)","user":"anonymous","dateUpdated":"2021-03-22T01:21:54+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res32: Array[Bank] = Array(Bank(30,unemployed,married,primary,1787), Bank(33,services,married,secondary,4789))\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=18"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616376075954_-1118262047","id":"20210322-012115_2043383393","dateCreated":"2021-03-22T01:21:15+0000","dateStarted":"2021-03-22T01:21:54+0000","dateFinished":"2021-03-22T01:21:56+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17594"},{"text":"bankDF.createOrReplaceTempView(\"bank\")\n val banks = spark.sql(\"select age, balance from bank limit 10\")","user":"anonymous","dateUpdated":"2021-03-22T01:23:15+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"banks: org.apache.spark.sql.DataFrame = [age: int, balance: int]\n"}]},"apps":[],"jobName":"paragraph_1616376114540_-1385400377","id":"20210322-012154_776252900","dateCreated":"2021-03-22T01:21:54+0000","dateStarted":"2021-03-22T01:23:15+0000","dateFinished":"2021-03-22T01:23:18+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17595"},{"text":"banks.map(t => \"age: \" + t(0)).collect.foreach(println)\n\n","user":"anonymous","dateUpdated":"2021-03-22T01:24:18+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"age: 30\nage: 33\nage: 35\nage: 30\nage: 59\nage: 35\nage: 36\nage: 39\nage: 41\nage: 43\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=19"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616376195483_834154731","id":"20210322-012315_547210487","dateCreated":"2021-03-22T01:23:15+0000","dateStarted":"2021-03-22T01:24:18+0000","dateFinished":"2021-03-22T01:24:20+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17596"},{"text":"%sql select age, balance from bank","user":"anonymous","dateUpdated":"2021-03-22T05:50:49+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"age":"string","balance":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"editorSetting":{"language":"sql"},"editorMode":"ace/mode/sql"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"age\tbalance\n30\t1787\n33\t4789\n35\t1350\n30\t1476\n59\t0\n35\t747\n36\t307\n39\t147\n41\t221\n43\t-88\n39\t9374\n43\t264\n36\t1109\n20\t502\n31\t360\n40\t194\n56\t4073\n37\t2317\n25\t-221\n31\t132\n38\t0\n42\t16\n44\t106\n44\t93\n26\t543\n41\t5883\n55\t627\n67\t696\n56\t784\n53\t105\n68\t4189\n31\t171\n59\t42\n32\t2536\n49\t1235\n42\t1811\n78\t229\n32\t2089\n33\t3935\n23\t363\n38\t11971\n36\t553\n52\t1117\n32\t396\n32\t2204\n34\t872\n55\t145\n26\t0\n32\t-849\n61\t4629\n45\t844\n37\t228\n38\t50\n34\t1539\n53\t2231\n48\t3064\n57\t82\n33\t2155\n36\t101\n54\t784\n41\t-516\n63\t415\n48\t5887\n48\t1355\n56\t16873\n51\t203\n31\t338\n29\t444\n41\t0\n32\t360\n37\t0\n42\t2\n31\t6248\n41\t412\n56\t344\n54\t3222\n41\t174\n40\t591\n50\t388\n40\t219\n27\t451\n60\t5\n28\t177\n52\t657\n37\t1315\n51\t1466\n41\t879\n35\t293\n38\t424\n34\t1831\n39\t111\n34\t455\n27\t-195\n32\t3616\n57\t14093\n41\t1567\n41\t5426\n30\t261\n36\t2843\n31\t406\n36\t0\n38\t493\n49\t5996\n57\t3777\n34\t524\n32\t574\n37\t427\n33\t483\n56\t3391\n27\t0\n21\t2488\n58\t1517\n32\t217\n33\t22\n25\t331\n25\t505\n30\t1808\n22\t4111\n39\t52\n46\t25\n31\t1890\n45\t419\n32\t2693\n36\t-231\n51\t-55\n34\t462\n24\t119\n45\t586\n32\t228\n77\t4659\n41\t168\n37\t0\n43\t-715\n48\t0\n27\t769\n33\t0\n29\t428\n34\t0\n52\t-970\n60\t6313\n32\t948\n32\t0\n56\t1877\n31\t874\n42\t323\n35\t106\n56\t1906\n48\t1152\n46\t179\n37\t391\n41\t89\n36\t442\n45\t-249\n55\t8104\n39\t501\n35\t308\n55\t602\n55\t273\n27\t50\n34\t1641\n34\t20\n25\t4590\n41\t-256\n43\t978\n28\t80\n31\t2104\n78\t499\n45\t1269\n48\t310\n32\t1143\n42\t2980\n37\t37\n40\t462\n32\t1031\n42\t9009\n43\t-465\n44\t5181\n37\t176\n37\t1699\n37\t0\n28\t172\n32\t0\n34\t6979\n40\t6\n34\t-62\n34\t1972\n34\t899\n37\t21\n36\t23\n56\t-1206\n49\t0\n33\t215\n30\t1372\n36\t1981\n23\t9216\n57\t39\n27\t5563\n38\t1\n42\t782\n75\t3771\n34\t992\n48\t1526\n35\t2658\n39\t1315\n29\t455\n45\t0\n42\t2030\n29\t1599\n38\t-196\n56\t1333\n36\t9149\n25\t-350\n38\t432\n57\t11494\n31\t-253\n42\t372\n45\t1410\n30\t975\n49\t305\n49\t400\n53\t-22\n37\t4030\n49\t365\n41\t204\n54\t1691\n32\t406\n33\t-204\n33\t359\n36\t123\n35\t0\n52\t142\n40\t3571\n44\t33\n45\t0\n30\t3096\n48\t20\n33\t3576\n57\t206\n57\t7082\n51\t1634\n34\t1\n50\t4012\n44\t3762\n27\t-247\n50\t606\n36\t0\n42\t-189\n32\t0\n42\t484\n43\t0\n31\t395\n32\t2349\n55\t410\n58\t3401\n46\t222\n55\t989\n34\t415\n28\t16\n42\t7190\n29\t482\n54\t209\n32\t0\n39\t5803\n53\t624\n58\t883\n40\t1516\n29\t872\n33\t-988\n38\t902\n56\t1007\n40\t0\n24\t174\n46\t12186\n35\t524\n35\t0\n34\t4\n35\t11219\n38\t0\n50\t5776\n51\t37\n59\t593\n32\t1148\n37\t3561\n42\t63\n40\t260\n28\t2269\n47\t1060\n27\t-220\n41\t49\n34\t69\n50\t4108\n47\t480\n53\t4994\n53\t0\n47\t3681\n49\t-701\n29\t451\n45\t-311\n38\t593\n32\t759\n70\t4531\n65\t1840\n56\t345\n35\t1287\n56\t353\n56\t205\n49\t687\n38\t1147\n35\t4286\n38\t605\n49\t8545\n55\t559\n43\t2\n43\t2\n25\t760\n30\t1317\n46\t182\n50\t276\n35\t2971\n26\t1064\n45\t1783\n37\t-67\n60\t179\n38\t1199\n47\t214\n33\t6699\n51\t1760\n35\t145\n35\t978\n48\t1150\n37\t121\n29\t828\n34\t244\n32\t228\n30\t424\n47\t447\n33\t-195\n33\t1410\n63\t1084\n51\t10924\n41\t832\n56\t478\n60\t0\n41\t3950\n37\t504\n36\t219\n57\t1602\n55\t2587\n44\t0\n47\t2303\n31\t1660\n35\t32\n39\t278\n50\t4\n29\t318\n30\t209\n46\t271\n27\t3196\n48\t4099\n26\t2572\n36\t339\n42\t0\n50\t395\n49\t2039\n45\t5450\n23\t780\n38\t0\n32\t8436\n60\t11262\n30\t946\n58\t497\n60\t55\n38\t-140\n51\t-379\n42\t-396\n30\t0\n40\t733\n37\t393\n53\t7290\n27\t468\n39\t0\n39\t3705\n59\t9676\n37\t1328\n41\t8\n45\t61\n48\t6613\n48\t302\n32\t1005\n35\t109\n33\t1240\n28\t0\n64\t2923\n35\t0\n33\t43\n41\t288\n34\t613\n37\t6101\n38\t168\n39\t7685\n35\t4515\n28\t517\n27\t148\n48\t-285\n50\t887\n45\t3098\n41\t744\n39\t130\n44\t438\n54\t0\n49\t322\n34\t186\n75\t3810\n42\t0\n53\t4380\n49\t755\n31\t2070\n45\t999\n39\t167\n46\t1322\n42\t1076\n37\t502\n26\t1216\n37\t876\n36\t342\n29\t950\n36\t973\n26\t3825\n32\t2366\n40\t542\n53\t995\n29\t20\n34\t228\n43\t130\n56\t217\n55\t0\n31\t259\n27\t619\n36\t644\n44\t22\n37\t4303\n30\t239\n42\t275\n30\t1221\n62\t816\n24\t1222\n31\t2363\n66\t2262\n47\t2\n39\t2\n35\t4508\n35\t-402\n27\t1577\n32\t34\n44\t795\n42\t117\n34\t5462\n25\t402\n40\t641\n43\t36\n55\t383\n50\t283\n45\t0\n35\t3102\n32\t889\n59\t0\n34\t-370\n39\t-606\n40\t10378\n36\t1313\n40\t8969\n55\t-196\n38\t15\n61\t4608\n41\t666\n57\t452\n48\t149\n77\t7802\n35\t1453\n54\t1480\n37\t715\n56\t237\n40\t694\n40\t0\n54\t55\n55\t136\n55\t-404\n52\t779\n55\t1187\n33\t641\n52\t826\n33\t991\n53\t1796\n46\t22\n44\t244\n48\t1328\n50\t7317\n34\t4943\n38\t258\n42\t515\n32\t12607\n58\t2\n31\t13\n19\t103\n41\t3872\n31\t296\n52\t217\n42\t360\n41\t428\n30\t315\n38\t121\n32\t820\n52\t195\n48\t108\n36\t-381\n45\t757\n34\t691\n36\t1925\n34\t902\n61\t5207\n54\t0\n50\t665\n43\t738\n47\t233\n45\t-839\n57\t5799\n27\t1033\n49\t66\n43\t2567\n40\t1584\n32\t182\n58\t76\n34\t663\n46\t3455\n29\t15\n52\t1054\n45\t1529\n26\t63\n40\t0\n41\t920\n47\t3696\n27\t59\n27\t0\n48\t157\n49\t2465\n35\t0\n47\t2\n54\t0\n39\t12437\n28\t378\n54\t211\n34\t-228\n63\t2747\n42\t1932\n43\t11269\n37\t1314\n55\t2275\n43\t1304\n41\t720\n47\t2914\n34\t1464\n28\t11555\n36\t-302\n50\t2497\n35\t-339\n40\t56\n26\t211\n36\t3611\n59\t0\n28\t459\n46\t242\n50\t1138\n53\t1319\n81\t1\n35\t67\n58\t937\n44\t0\n38\t-558\n49\t171\n33\t696\n29\t361\n28\t227\n31\t236\n33\t-53\n52\t192\n43\t38\n32\t518\n36\t16\n41\t-256\n43\t105\n45\t334\n39\t1048\n41\t108\n31\t660\n37\t0\n28\t1034\n47\t201\n37\t189\n60\t-49\n43\t1413\n58\t264\n52\t54\n50\t12519\n32\t2881\n42\t0\n31\t88\n28\t1020\n36\t119\n51\t1594\n46\t342\n50\t72\n32\t14\n26\t81\n41\t231\n39\t1161\n31\t-45\n28\t231\n31\t36\n30\t1570\n35\t7050\n33\t3704\n30\t6619\n32\t-84\n40\t1509\n31\t1134\n36\t146\n33\t9449\n57\t374\n45\t88\n59\t2764\n30\t2\n33\t8023\n52\t289\n83\t0\n58\t1382\n33\t280\n41\t2195\n31\t33\n35\t275\n27\t703\n57\t887\n56\t0\n53\t1178\n39\t2763\n32\t890\n46\t548\n56\t272\n46\t6269\n29\t178\n60\t252\n33\t23663\n27\t81\n50\t59\n45\t1343\n58\t225\n59\t0\n58\t2538\n64\t43\n47\t57\n40\t-117\n36\t666\n28\t0\n38\t25\n53\t1034\n46\t324\n54\t0\n32\t0\n55\t621\n55\t138\n56\t4063\n40\t11084\n44\t310\n32\t73\n33\t1808\n41\t1281\n37\t64\n58\t2\n52\t60\n49\t133\n44\t3706\n28\t174\n31\t251\n37\t4153\n30\t985\n28\t168\n46\t1550\n47\t7708\n35\t-12\n80\t6483\n30\t60\n55\t3339\n22\t1161\n33\t599\n53\t28\n49\t1430\n51\t35\n41\t6000\n34\t0\n36\t340\n35\t0\n29\t3\n40\t445\n32\t874\n48\t705\n59\t1033\n35\t1354\n33\t123\n55\t8894\n41\t429\n42\t14752\n46\t67\n35\t39\n28\t102\n25\t1790\n56\t15311\n30\t-635\n45\t115\n40\t10786\n40\t498\n39\t1045\n48\t810\n31\t-162\n32\t55\n34\t586\n26\t455\n31\t1010\n37\t509\n29\t2929\n57\t3071\n47\t153\n38\t1146\n48\t1092\n50\t3463\n33\t1158\n28\t26\n30\t566\n52\t204\n36\t480\n36\t1855\n46\t1034\n57\t3250\n28\t1633\n46\t0\n55\t3334\n33\t4020\n53\t66\n41\t-41\n60\t322\n35\t2643\n43\t49\n57\t1\n46\t3098\n31\t352\n53\t65\n35\t1949\n32\t739\n48\t1167\n50\t231\n40\t1136\n42\t233\n59\t817\n27\t1128\n32\t1831\n35\t450\n28\t0\n37\t414\n57\t1052\n42\t1022\n55\t343\n52\t1944\n26\t-32\n52\t1781\n26\t350\n33\t2\n24\t111\n37\t168\n28\t3\n30\t102\n33\t0\n55\t159\n33\t1134\n42\t352\n37\t865\n59\t179\n27\t5\n23\t-230\n51\t0\n50\t3924\n43\t764\n37\t511\n34\t4348\n41\t3016\n26\t279\n49\t1405\n29\t908\n30\t162\n38\t792\n58\t111\n34\t1281\n53\t1012\n50\t2881\n30\t445\n40\t643\n57\t254\n40\t-1212\n41\t2125\n53\t629\n48\t-202\n32\t271\n34\t703\n46\t-216\n45\t88\n51\t16\n31\t466\n47\t-75\n32\t456\n41\t77\n37\t-244\n27\t1209\n27\t58\n50\t421\n31\t112\n40\t13669\n43\t1429\n39\t794\n31\t1957\n48\t454\n32\t882\n47\t168\n35\t714\n42\t0\n47\t1996\n59\t163\n38\t3190\n50\t1772\n27\t-151\n55\t16\n39\t7066\n31\t454\n37\t4798\n28\t-298\n42\t439\n40\t1927\n59\t671\n40\t65\n43\t-932\n38\t4366\n54\t0\n41\t4900\n55\t976\n33\t148\n46\t5\n36\t-148\n48\t113\n42\t-105\n46\t624\n49\t-1680\n36\t-461\n34\t144\n51\t4\n58\t309\n48\t866\n41\t1020\n49\t489\n43\t8167\n32\t-255\n54\t3671\n33\t636\n35\t141\n56\t150\n57\t839\n31\t26965\n33\t716\n29\t2485\n38\t15030\n37\t11303\n33\t595\n30\t19358\n31\t203\n28\t183\n26\t255\n31\t102\n50\t94\n45\t58\n48\t606\n41\t0\n60\t65\n41\t338\n43\t757\n36\t9269\n40\t1206\n28\t882\n27\t5291\n49\t61\n37\t0\n31\t1407\n31\t25\n31\t1354\n35\t793\n51\t10287\n33\t5235\n30\t3\n58\t409\n34\t35\n45\t-459\n28\t198\n31\t99\n40\t60\n30\t3485\n34\t-139\n40\t952\n59\t1427\n43\t1017\n41\t-29\n33\t9\n33\t4040\n36\t13\n32\t1259\n25\t18\n25\t-76\n38\t221\n34\t136\n67\t16353\n32\t-63\n45\t7353\n33\t511\n38\t3913\n32\t1097\n54\t6102\n51\t340\n42\t-119\n41\t2993\n39\t3575\n38\t361\n39\t1072\n46\t2904\n50\t1790\n33\t86\n37\t1633\n31\t8312\n34\t172\n34\t0\n36\t222\n40\t109\n40\t1451\n41\t1066\n52\t3163\n40\t888\n48\t428\n33\t106\n44\t0\n55\t979\n51\t2662\n34\t84\n58\t5920\n39\t816\n27\t3276\n55\t2\n35\t-51\n37\t3315\n52\t196\n41\t552\n52\t2347\n34\t3723\n53\t255\n33\t3143\n47\t0\n35\t6411\n33\t1909\n55\t3873\n58\t1013\n44\t262\n25\t3217\n37\t5436\n41\t2067\n34\t215\n36\t1594\n44\t134\n34\t262\n56\t3021\n43\t388\n28\t3412\n54\t1291\n37\t79\n59\t2013\n58\t543\n56\t1016\n32\t604\n42\t525\n52\t353\n46\t964\n37\t3913\n39\t879\n31\t314\n59\t0\n38\t1370\n58\t37\n34\t673\n40\t-342\n20\t291\n"},{"type":"HTML","data":"<div class=\"result-alert alert-warning\" role=\"alert\"><button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button><strong>Output is truncated</strong> to 1000 rows. Learn more about <strong>zeppelin.spark.maxResult</strong></div>"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=21"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616376258078_116441501","id":"20210322-012418_1289909067","dateCreated":"2021-03-22T01:24:18+0000","dateStarted":"2021-03-22T05:50:49+0000","dateFinished":"2021-03-22T05:50:50+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17597"},{"text":"%sql select age, balance from bank","user":"anonymous","dateUpdated":"2021-03-22T05:53:08+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"age":"string","balance":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"editorSetting":{"language":"sql"},"editorMode":"ace/mode/sql"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"age\tbalance\n30\t1787\n33\t4789\n35\t1350\n30\t1476\n59\t0\n35\t747\n36\t307\n39\t147\n41\t221\n43\t-88\n39\t9374\n43\t264\n36\t1109\n20\t502\n31\t360\n40\t194\n56\t4073\n37\t2317\n25\t-221\n31\t132\n38\t0\n42\t16\n44\t106\n44\t93\n26\t543\n41\t5883\n55\t627\n67\t696\n56\t784\n53\t105\n68\t4189\n31\t171\n59\t42\n32\t2536\n49\t1235\n42\t1811\n78\t229\n32\t2089\n33\t3935\n23\t363\n38\t11971\n36\t553\n52\t1117\n32\t396\n32\t2204\n34\t872\n55\t145\n26\t0\n32\t-849\n61\t4629\n45\t844\n37\t228\n38\t50\n34\t1539\n53\t2231\n48\t3064\n57\t82\n33\t2155\n36\t101\n54\t784\n41\t-516\n63\t415\n48\t5887\n48\t1355\n56\t16873\n51\t203\n31\t338\n29\t444\n41\t0\n32\t360\n37\t0\n42\t2\n31\t6248\n41\t412\n56\t344\n54\t3222\n41\t174\n40\t591\n50\t388\n40\t219\n27\t451\n60\t5\n28\t177\n52\t657\n37\t1315\n51\t1466\n41\t879\n35\t293\n38\t424\n34\t1831\n39\t111\n34\t455\n27\t-195\n32\t3616\n57\t14093\n41\t1567\n41\t5426\n30\t261\n36\t2843\n31\t406\n36\t0\n38\t493\n49\t5996\n57\t3777\n34\t524\n32\t574\n37\t427\n33\t483\n56\t3391\n27\t0\n21\t2488\n58\t1517\n32\t217\n33\t22\n25\t331\n25\t505\n30\t1808\n22\t4111\n39\t52\n46\t25\n31\t1890\n45\t419\n32\t2693\n36\t-231\n51\t-55\n34\t462\n24\t119\n45\t586\n32\t228\n77\t4659\n41\t168\n37\t0\n43\t-715\n48\t0\n27\t769\n33\t0\n29\t428\n34\t0\n52\t-970\n60\t6313\n32\t948\n32\t0\n56\t1877\n31\t874\n42\t323\n35\t106\n56\t1906\n48\t1152\n46\t179\n37\t391\n41\t89\n36\t442\n45\t-249\n55\t8104\n39\t501\n35\t308\n55\t602\n55\t273\n27\t50\n34\t1641\n34\t20\n25\t4590\n41\t-256\n43\t978\n28\t80\n31\t2104\n78\t499\n45\t1269\n48\t310\n32\t1143\n42\t2980\n37\t37\n40\t462\n32\t1031\n42\t9009\n43\t-465\n44\t5181\n37\t176\n37\t1699\n37\t0\n28\t172\n32\t0\n34\t6979\n40\t6\n34\t-62\n34\t1972\n34\t899\n37\t21\n36\t23\n56\t-1206\n49\t0\n33\t215\n30\t1372\n36\t1981\n23\t9216\n57\t39\n27\t5563\n38\t1\n42\t782\n75\t3771\n34\t992\n48\t1526\n35\t2658\n39\t1315\n29\t455\n45\t0\n42\t2030\n29\t1599\n38\t-196\n56\t1333\n36\t9149\n25\t-350\n38\t432\n57\t11494\n31\t-253\n42\t372\n45\t1410\n30\t975\n49\t305\n49\t400\n53\t-22\n37\t4030\n49\t365\n41\t204\n54\t1691\n32\t406\n33\t-204\n33\t359\n36\t123\n35\t0\n52\t142\n40\t3571\n44\t33\n45\t0\n30\t3096\n48\t20\n33\t3576\n57\t206\n57\t7082\n51\t1634\n34\t1\n50\t4012\n44\t3762\n27\t-247\n50\t606\n36\t0\n42\t-189\n32\t0\n42\t484\n43\t0\n31\t395\n32\t2349\n55\t410\n58\t3401\n46\t222\n55\t989\n34\t415\n28\t16\n42\t7190\n29\t482\n54\t209\n32\t0\n39\t5803\n53\t624\n58\t883\n40\t1516\n29\t872\n33\t-988\n38\t902\n56\t1007\n40\t0\n24\t174\n46\t12186\n35\t524\n35\t0\n34\t4\n35\t11219\n38\t0\n50\t5776\n51\t37\n59\t593\n32\t1148\n37\t3561\n42\t63\n40\t260\n28\t2269\n47\t1060\n27\t-220\n41\t49\n34\t69\n50\t4108\n47\t480\n53\t4994\n53\t0\n47\t3681\n49\t-701\n29\t451\n45\t-311\n38\t593\n32\t759\n70\t4531\n65\t1840\n56\t345\n35\t1287\n56\t353\n56\t205\n49\t687\n38\t1147\n35\t4286\n38\t605\n49\t8545\n55\t559\n43\t2\n43\t2\n25\t760\n30\t1317\n46\t182\n50\t276\n35\t2971\n26\t1064\n45\t1783\n37\t-67\n60\t179\n38\t1199\n47\t214\n33\t6699\n51\t1760\n35\t145\n35\t978\n48\t1150\n37\t121\n29\t828\n34\t244\n32\t228\n30\t424\n47\t447\n33\t-195\n33\t1410\n63\t1084\n51\t10924\n41\t832\n56\t478\n60\t0\n41\t3950\n37\t504\n36\t219\n57\t1602\n55\t2587\n44\t0\n47\t2303\n31\t1660\n35\t32\n39\t278\n50\t4\n29\t318\n30\t209\n46\t271\n27\t3196\n48\t4099\n26\t2572\n36\t339\n42\t0\n50\t395\n49\t2039\n45\t5450\n23\t780\n38\t0\n32\t8436\n60\t11262\n30\t946\n58\t497\n60\t55\n38\t-140\n51\t-379\n42\t-396\n30\t0\n40\t733\n37\t393\n53\t7290\n27\t468\n39\t0\n39\t3705\n59\t9676\n37\t1328\n41\t8\n45\t61\n48\t6613\n48\t302\n32\t1005\n35\t109\n33\t1240\n28\t0\n64\t2923\n35\t0\n33\t43\n41\t288\n34\t613\n37\t6101\n38\t168\n39\t7685\n35\t4515\n28\t517\n27\t148\n48\t-285\n50\t887\n45\t3098\n41\t744\n39\t130\n44\t438\n54\t0\n49\t322\n34\t186\n75\t3810\n42\t0\n53\t4380\n49\t755\n31\t2070\n45\t999\n39\t167\n46\t1322\n42\t1076\n37\t502\n26\t1216\n37\t876\n36\t342\n29\t950\n36\t973\n26\t3825\n32\t2366\n40\t542\n53\t995\n29\t20\n34\t228\n43\t130\n56\t217\n55\t0\n31\t259\n27\t619\n36\t644\n44\t22\n37\t4303\n30\t239\n42\t275\n30\t1221\n62\t816\n24\t1222\n31\t2363\n66\t2262\n47\t2\n39\t2\n35\t4508\n35\t-402\n27\t1577\n32\t34\n44\t795\n42\t117\n34\t5462\n25\t402\n40\t641\n43\t36\n55\t383\n50\t283\n45\t0\n35\t3102\n32\t889\n59\t0\n34\t-370\n39\t-606\n40\t10378\n36\t1313\n40\t8969\n55\t-196\n38\t15\n61\t4608\n41\t666\n57\t452\n48\t149\n77\t7802\n35\t1453\n54\t1480\n37\t715\n56\t237\n40\t694\n40\t0\n54\t55\n55\t136\n55\t-404\n52\t779\n55\t1187\n33\t641\n52\t826\n33\t991\n53\t1796\n46\t22\n44\t244\n48\t1328\n50\t7317\n34\t4943\n38\t258\n42\t515\n32\t12607\n58\t2\n31\t13\n19\t103\n41\t3872\n31\t296\n52\t217\n42\t360\n41\t428\n30\t315\n38\t121\n32\t820\n52\t195\n48\t108\n36\t-381\n45\t757\n34\t691\n36\t1925\n34\t902\n61\t5207\n54\t0\n50\t665\n43\t738\n47\t233\n45\t-839\n57\t5799\n27\t1033\n49\t66\n43\t2567\n40\t1584\n32\t182\n58\t76\n34\t663\n46\t3455\n29\t15\n52\t1054\n45\t1529\n26\t63\n40\t0\n41\t920\n47\t3696\n27\t59\n27\t0\n48\t157\n49\t2465\n35\t0\n47\t2\n54\t0\n39\t12437\n28\t378\n54\t211\n34\t-228\n63\t2747\n42\t1932\n43\t11269\n37\t1314\n55\t2275\n43\t1304\n41\t720\n47\t2914\n34\t1464\n28\t11555\n36\t-302\n50\t2497\n35\t-339\n40\t56\n26\t211\n36\t3611\n59\t0\n28\t459\n46\t242\n50\t1138\n53\t1319\n81\t1\n35\t67\n58\t937\n44\t0\n38\t-558\n49\t171\n33\t696\n29\t361\n28\t227\n31\t236\n33\t-53\n52\t192\n43\t38\n32\t518\n36\t16\n41\t-256\n43\t105\n45\t334\n39\t1048\n41\t108\n31\t660\n37\t0\n28\t1034\n47\t201\n37\t189\n60\t-49\n43\t1413\n58\t264\n52\t54\n50\t12519\n32\t2881\n42\t0\n31\t88\n28\t1020\n36\t119\n51\t1594\n46\t342\n50\t72\n32\t14\n26\t81\n41\t231\n39\t1161\n31\t-45\n28\t231\n31\t36\n30\t1570\n35\t7050\n33\t3704\n30\t6619\n32\t-84\n40\t1509\n31\t1134\n36\t146\n33\t9449\n57\t374\n45\t88\n59\t2764\n30\t2\n33\t8023\n52\t289\n83\t0\n58\t1382\n33\t280\n41\t2195\n31\t33\n35\t275\n27\t703\n57\t887\n56\t0\n53\t1178\n39\t2763\n32\t890\n46\t548\n56\t272\n46\t6269\n29\t178\n60\t252\n33\t23663\n27\t81\n50\t59\n45\t1343\n58\t225\n59\t0\n58\t2538\n64\t43\n47\t57\n40\t-117\n36\t666\n28\t0\n38\t25\n53\t1034\n46\t324\n54\t0\n32\t0\n55\t621\n55\t138\n56\t4063\n40\t11084\n44\t310\n32\t73\n33\t1808\n41\t1281\n37\t64\n58\t2\n52\t60\n49\t133\n44\t3706\n28\t174\n31\t251\n37\t4153\n30\t985\n28\t168\n46\t1550\n47\t7708\n35\t-12\n80\t6483\n30\t60\n55\t3339\n22\t1161\n33\t599\n53\t28\n49\t1430\n51\t35\n41\t6000\n34\t0\n36\t340\n35\t0\n29\t3\n40\t445\n32\t874\n48\t705\n59\t1033\n35\t1354\n33\t123\n55\t8894\n41\t429\n42\t14752\n46\t67\n35\t39\n28\t102\n25\t1790\n56\t15311\n30\t-635\n45\t115\n40\t10786\n40\t498\n39\t1045\n48\t810\n31\t-162\n32\t55\n34\t586\n26\t455\n31\t1010\n37\t509\n29\t2929\n57\t3071\n47\t153\n38\t1146\n48\t1092\n50\t3463\n33\t1158\n28\t26\n30\t566\n52\t204\n36\t480\n36\t1855\n46\t1034\n57\t3250\n28\t1633\n46\t0\n55\t3334\n33\t4020\n53\t66\n41\t-41\n60\t322\n35\t2643\n43\t49\n57\t1\n46\t3098\n31\t352\n53\t65\n35\t1949\n32\t739\n48\t1167\n50\t231\n40\t1136\n42\t233\n59\t817\n27\t1128\n32\t1831\n35\t450\n28\t0\n37\t414\n57\t1052\n42\t1022\n55\t343\n52\t1944\n26\t-32\n52\t1781\n26\t350\n33\t2\n24\t111\n37\t168\n28\t3\n30\t102\n33\t0\n55\t159\n33\t1134\n42\t352\n37\t865\n59\t179\n27\t5\n23\t-230\n51\t0\n50\t3924\n43\t764\n37\t511\n34\t4348\n41\t3016\n26\t279\n49\t1405\n29\t908\n30\t162\n38\t792\n58\t111\n34\t1281\n53\t1012\n50\t2881\n30\t445\n40\t643\n57\t254\n40\t-1212\n41\t2125\n53\t629\n48\t-202\n32\t271\n34\t703\n46\t-216\n45\t88\n51\t16\n31\t466\n47\t-75\n32\t456\n41\t77\n37\t-244\n27\t1209\n27\t58\n50\t421\n31\t112\n40\t13669\n43\t1429\n39\t794\n31\t1957\n48\t454\n32\t882\n47\t168\n35\t714\n42\t0\n47\t1996\n59\t163\n38\t3190\n50\t1772\n27\t-151\n55\t16\n39\t7066\n31\t454\n37\t4798\n28\t-298\n42\t439\n40\t1927\n59\t671\n40\t65\n43\t-932\n38\t4366\n54\t0\n41\t4900\n55\t976\n33\t148\n46\t5\n36\t-148\n48\t113\n42\t-105\n46\t624\n49\t-1680\n36\t-461\n34\t144\n51\t4\n58\t309\n48\t866\n41\t1020\n49\t489\n43\t8167\n32\t-255\n54\t3671\n33\t636\n35\t141\n56\t150\n57\t839\n31\t26965\n33\t716\n29\t2485\n38\t15030\n37\t11303\n33\t595\n30\t19358\n31\t203\n28\t183\n26\t255\n31\t102\n50\t94\n45\t58\n48\t606\n41\t0\n60\t65\n41\t338\n43\t757\n36\t9269\n40\t1206\n28\t882\n27\t5291\n49\t61\n37\t0\n31\t1407\n31\t25\n31\t1354\n35\t793\n51\t10287\n33\t5235\n30\t3\n58\t409\n34\t35\n45\t-459\n28\t198\n31\t99\n40\t60\n30\t3485\n34\t-139\n40\t952\n59\t1427\n43\t1017\n41\t-29\n33\t9\n33\t4040\n36\t13\n32\t1259\n25\t18\n25\t-76\n38\t221\n34\t136\n67\t16353\n32\t-63\n45\t7353\n33\t511\n38\t3913\n32\t1097\n54\t6102\n51\t340\n42\t-119\n41\t2993\n39\t3575\n38\t361\n39\t1072\n46\t2904\n50\t1790\n33\t86\n37\t1633\n31\t8312\n34\t172\n34\t0\n36\t222\n40\t109\n40\t1451\n41\t1066\n52\t3163\n40\t888\n48\t428\n33\t106\n44\t0\n55\t979\n51\t2662\n34\t84\n58\t5920\n39\t816\n27\t3276\n55\t2\n35\t-51\n37\t3315\n52\t196\n41\t552\n52\t2347\n34\t3723\n53\t255\n33\t3143\n47\t0\n35\t6411\n33\t1909\n55\t3873\n58\t1013\n44\t262\n25\t3217\n37\t5436\n41\t2067\n34\t215\n36\t1594\n44\t134\n34\t262\n56\t3021\n43\t388\n28\t3412\n54\t1291\n37\t79\n59\t2013\n58\t543\n56\t1016\n32\t604\n42\t525\n52\t353\n46\t964\n37\t3913\n39\t879\n31\t314\n59\t0\n38\t1370\n58\t37\n34\t673\n40\t-342\n20\t291\n"},{"type":"HTML","data":"<div class=\"result-alert alert-warning\" role=\"alert\"><button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button><strong>Output is truncated</strong> to 1000 rows. Learn more about <strong>zeppelin.spark.maxResult</strong></div>"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=22"],"interpreterSettingId":"2CBEJNFR7"}},"apps":[],"jobName":"paragraph_1616376307141_1886179173","id":"20210322-012507_854112740","dateCreated":"2021-03-22T01:25:07+0000","dateStarted":"2021-03-22T05:53:07+0000","dateFinished":"2021-03-22T05:53:07+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17598"},{"text":"%sql select age, sum(balance) from bank group by age","user":"anonymous","dateUpdated":"2021-03-22T17:51:25+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"age":"string","sum(balance)":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/sql"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"age\tsum(balance)\n31\t256408\n65\t9829\n53\t149301\n78\t954\n34\t256765\n81\t1\n28\t105585\n76\t2676\n26\t60719\n27\t80067\n44\t192838\n22\t13098\n47\t147209\n52\t67277\n86\t1503\n20\t1984\n40\t198730\n57\t151572\n54\t117623\n48\t166709\n19\t1574\n64\t7723\n41\t203282\n43\t207901\n37\t235691\n61\t38520\n72\t10104\n35\t214709\n59\t112356\n55\t112045\n39\t143632\n23\t42359\n49\t178204\n84\t639\n87\t230\n51\t139100\n69\t4646\n63\t18291\n77\t14431\n50\t166151\n45\t132985\n38\t273320\n80\t25101\n25\t54563\n73\t3155\n24\t15231\n70\t35592\n62\t3613\n29\t122402\n21\t12420\n32\t281467\n60\t139335\n75\t42279\n56\t156890\n58\t149182\n33\t287447\n83\t1522\n68\t23506\n71\t22724\n42\t227343\n79\t16351\n30\t166955\n66\t29825\n67\t20747\n46\t118854\n74\t5935\n36\t230656\n"}]},"apps":[],"jobName":"paragraph_1616376331257_1209821255","id":"20210322-012531_1743492394","dateCreated":"2021-03-22T01:25:31+0000","dateStarted":"2021-03-22T17:50:54+0000","dateFinished":"2021-03-22T17:51:22+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17599","runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=23","http://172.17.0.2:4040/jobs/job?id=24","http://172.17.0.2:4040/jobs/job?id=25","http://172.17.0.2:4040/jobs/job?id=26","http://172.17.0.2:4040/jobs/job?id=27"],"interpreterSettingId":"2CBEJNFR7"}}},{"text":"%sql val df = sc.makeRDD(1 to 500).map(I => (i, i * 2)). toDF(\"single\", \"double\")\n","user":"anonymous","dateUpdated":"2021-03-22T18:02:21+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql","editOnDblClick":false},"editorMode":"ace/mode/sql"},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1616435125590_540858941","id":"20210322-174525_600953807","dateCreated":"2021-03-22T17:45:25+0000","status":"ERROR","progressUpdateIntervalMs":500,"focus":true,"$$hashKey":"object:19488","dateFinished":"2021-03-22T18:02:21+0000","dateStarted":"2021-03-22T18:02:21+0000","results":{"code":"ERROR","msg":[{"type":"TEXT","data":"\nmismatched input 'val' expecting {'(', 'SELECT', 'FROM', 'ADD', 'DESC', 'WITH', 'VALUES', 'CREATE', 'TABLE', 'INSERT', 'DELETE', 'DESCRIBE', 'EXPLAIN', 'SHOW', 'USE', 'DROP', 'ALTER', 'MAP', 'SET', 'RESET', 'START', 'COMMIT', 'ROLLBACK', 'REDUCE', 'REFRESH', 'CLEAR', 'CACHE', 'UNCACHE', 'DFS', 'TRUNCATE', 'ANALYZE', 'LIST', 'REVOKE', 'GRANT', 'LOCK', 'UNLOCK', 'MSCK', 'EXPORT', 'IMPORT', 'LOAD'}(line 1, pos 0)\n\n== SQL ==\nval df = sc.makeRDD(1 to 500).map(I => (i, i * 2)). toDF(\"single\", \"double\")\n^^^\n\nset zeppelin.spark.sql.stacktrace = true to see full stacktrace"}]}},{"text":" println(df)\n","user":"anonymous","dateUpdated":"2021-03-22T18:32:42+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1616435122849_-92822497","id":"20210322-174522_2091143264","dateCreated":"2021-03-22T17:45:22+0000","status":"FINISHED","progressUpdateIntervalMs":500,"focus":true,"$$hashKey":"object:19423","dateFinished":"2021-03-22T18:32:44+0000","dateStarted":"2021-03-22T18:32:42+0000","results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"[name: string, zip: bigint]\n"}]}},{"text":"df.createOrReplaceTempView(\"u\")","user":"anonymous","dateUpdated":"2021-03-22T18:33:20+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[]},"apps":[],"jobName":"paragraph_1616376484734_-1603231196","id":"20210322-012804_1116336148","dateCreated":"2021-03-22T01:28:04+0000","dateStarted":"2021-03-22T18:33:21+0000","dateFinished":"2021-03-22T18:33:22+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17600"},{"text":"df.printSchema","user":"anonymous","dateUpdated":"2021-03-22T18:33:56+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"root\n |-- name: string (nullable = true)\n |-- zip: long (nullable = true)\n\n"}]},"apps":[],"jobName":"paragraph_1616376579410_-307275951","id":"20210322-012939_318650560","dateCreated":"2021-03-22T01:29:39+0000","dateStarted":"2021-03-22T18:33:56+0000","dateFinished":"2021-03-22T18:33:57+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17601"},{"text":"spark.sql(\"select count(*) from u\").first.get(0)","user":"anonymous","dateUpdated":"2021-03-22T18:35:20+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"scala"},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TEXT","data":"res38: Any = 1\n"}]},"apps":[],"jobName":"paragraph_1616376608123_387226462","id":"20210322-013008_1258560655","dateCreated":"2021-03-22T01:30:08+0000","dateStarted":"2021-03-22T18:35:20+0000","dateFinished":"2021-03-22T18:35:23+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17602","runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=28"],"interpreterSettingId":"2CBEJNFR7"}}},{"text":"%sql select count(*) from u\n","user":"anonymous","dateUpdated":"2021-03-22T18:36:18+0000","config":{"colWidth":12,"enabled":true,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"count(1)":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"editorSetting":{"language":"sql"},"editorMode":"ace/mode/sql"},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1616392782783_-690487418","id":"20210322-055942_497270989","dateCreated":"2021-03-22T05:59:42+0000","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:17603","dateFinished":"2021-03-22T18:36:13+0000","dateStarted":"2021-03-22T18:36:12+0000","results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"count(1)\n1\n"}]},"runtimeInfos":{"jobUrl":{"propertyName":"jobUrl","label":"SPARK JOB","tooltip":"View in Spark web UI","group":"spark","values":["http://172.17.0.2:4040/jobs/job?id=29"],"interpreterSettingId":"2CBEJNFR7"}}},{"text":"%sql\n","user":"anonymous","dateUpdated":"2021-03-22T18:36:12+0000","config":{"colWidth":12,"enabled":true,"results":{},"editorSetting":{"language":"sql"},"editorMode":"ace/mode/sql"},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1616438172086_1562314720","id":"20210322-183612_1697578831","dateCreated":"2021-03-22T18:36:12+0000","status":"READY","progressUpdateIntervalMs":500,"focus":true,"$$hashKey":"object:20504"}],"name":"List","id":"2G399D7F1","angularObjects":{"2CCMX5R9J:shared_process":[],"2CBEJNFR7:shared_process":[],"2CC4ZU7DE:shared_process":[],"2CA9YJVBZ:shared_process":[],"2CBRBCK1E:shared_process":[],"2CB345NPA:shared_process":[],"2CDPGFX2T:shared_process":[]},"config":{"looknfeel":"default","personalizedMode":"false"},"info":{}}