You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/08/22 16:24:59 UTC

Build failed in Jenkins: carbondata-master-spark-2.1 » Apache CarbonData :: Examples #3701

See <https://builds.apache.org/job/carbondata-master-spark-2.1/org.apache.carbondata$carbondata-examples/3701/display/redirect>

------------------------------------------
[...truncated 264.92 KB...]
|count(1)|
+--------+
|      12|
+--------+

+--------+
|count(1)|
+--------+
|      12|
+--------+

time for query on table with lucene datamap table:0.208
time for query on table without lucene datamap table:0.149
+-----------------+-------------+
|               id|         name|
+-----------------+-------------+
|which test1 good7|who and name6|
|which test1 good2|who and name3|
|which test1 good2|who and name4|
|which test1 good4|who and name0|
|which test1 good4|who and name0|
|which test1 good7|who and name6|
|which test1 good2|who and name3|
|which test1 good2|who and name4|
|which test1 good4|who and name0|
|which test1 good4|who and name0|
+-----------------+-------------+

+-----------------+-------------+
|               id|         name|
+-----------------+-------------+
|which test1 good7|who and name6|
|which test1 good2|who and name3|
|which test1 good2|who and name4|
|which test1 good1|who and name3|
|which test1 good4|who and name0|
|which test1 good4|who and name0|
|which test1 good7|who and name6|
|which test1 good2|who and name3|
|which test1 good2|who and name4|
|which test1 good1|who and name3|
+-----------------+-------------+

2019-08-22 16:23:43 AUDIT audit:72 - {"time":"August 22, 2019 9:23:43 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26482340810104004","opStatus":"START"}
2019-08-22 16:23:43 AUDIT audit:93 - {"time":"August 22, 2019 9:23:43 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26482340810104004","opStatus":"SUCCESS","opTime":"90 ms","table":"default.persontable","extraInfo":{}}
- LuceneDataMapExample
2019-08-22 16:23:43 AUDIT audit:72 - {"time":"August 22, 2019 9:23:43 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26482340910091446","opStatus":"START"}
2019-08-22 16:23:43 AUDIT audit:93 - {"time":"August 22, 2019 9:23:43 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26482340910091446","opStatus":"SUCCESS","opTime":"60 ms","table":"default.origin_table","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-22 16:23:43 AUDIT audit:72 - {"time":"August 22, 2019 9:23:43 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482340973522999","opStatus":"START"}
2019-08-22 16:23:44 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-22 16:23:44 AUDIT audit:93 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482340973522999","opStatus":"SUCCESS","opTime":"182 ms","table":"default.origin_table","extraInfo":{"SegmentId":"0","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-22 16:23:44 AUDIT audit:72 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482341160969145","opStatus":"START"}
2019-08-22 16:23:44 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-22 16:23:44 AUDIT audit:93 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482341160969145","opStatus":"SUCCESS","opTime":"295 ms","table":"default.origin_table","extraInfo":{"SegmentId":"1","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-22 16:23:44 AUDIT audit:72 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482341459929689","opStatus":"START"}
2019-08-22 16:23:44 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-22 16:23:44 AUDIT audit:93 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482341459929689","opStatus":"SUCCESS","opTime":"142 ms","table":"default.origin_table","extraInfo":{"SegmentId":"2","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-22 16:23:44 AUDIT audit:72 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482341606460911","opStatus":"START"}
2019-08-22 16:23:44 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-22 16:23:44 AUDIT audit:93 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482341606460911","opStatus":"SUCCESS","opTime":"138 ms","table":"default.origin_table","extraInfo":{"SegmentId":"3","DataSize":"2.85KB","IndexSize":"1.43KB"}}
+--------+
|count(1)|
+--------+
|      40|
+--------+

2019-08-22 16:23:44 AUDIT audit:72 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26482341792545100","opStatus":"START"}
2019-08-22 16:23:44 AUDIT audit:93 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26482341792545100","opStatus":"SUCCESS","opTime":"44 ms","table":"default.external_table","extraInfo":{"bad_record_path":"","_filelevelformat":"false","local_dictionary_enable":"true","external":"true","_external":"true","sort_columns":"","comment":""}}
+--------+
|count(1)|
+--------+
|      40|
+--------+

2019-08-22 16:23:44 AUDIT audit:72 - {"time":"August 22, 2019 9:23:44 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482341947019791","opStatus":"START"}
2019-08-22 16:23:44 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-22 16:23:45 AUDIT audit:93 - {"time":"August 22, 2019 9:23:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482341947019791","opStatus":"SUCCESS","opTime":"127 ms","table":"default.origin_table","extraInfo":{"SegmentId":"4","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-22 16:23:45 AUDIT audit:72 - {"time":"August 22, 2019 9:23:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482342078792924","opStatus":"START"}
2019-08-22 16:23:45 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-22 16:23:45 AUDIT audit:93 - {"time":"August 22, 2019 9:23:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482342078792924","opStatus":"SUCCESS","opTime":"143 ms","table":"default.origin_table","extraInfo":{"SegmentId":"5","DataSize":"2.85KB","IndexSize":"1.43KB"}}
+--------+
|count(1)|
+--------+
|      60|
+--------+

2019-08-22 16:23:45 AUDIT audit:72 - {"time":"August 22, 2019 9:23:45 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26482342269591985","opStatus":"START"}
2019-08-22 16:23:45 AUDIT audit:93 - {"time":"August 22, 2019 9:23:45 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26482342269591985","opStatus":"SUCCESS","opTime":"99 ms","table":"default.origin_table","extraInfo":{}}
- ExternalTableExample

Data:
0	robot0	0	0	9223372036854775807	0.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
1	robot1	1	1	9223372036854775806	0.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
2	robot2	2	2	9223372036854775805	1.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
3	robot3	3	3	9223372036854775804	1.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
4	robot4	4	4	9223372036854775803	2.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
5	robot5	5	5	9223372036854775802	2.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
6	robot6	6	6	9223372036854775801	3.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
7	robot7	7	7	9223372036854775800	3.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
8	robot8	8	8	9223372036854775799	4.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
9	robot9	9	9	9223372036854775798	4.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 

Data:
0	robot0	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	0	0	9223372036854775807	0.0	true	12.35	
1	robot1	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	1	1	9223372036854775806	0.5	true	12.35	
2	robot2	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	2	2	9223372036854775805	1.0	true	12.35	
3	robot3	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	3	3	9223372036854775804	1.5	true	12.35	
4	robot4	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	4	4	9223372036854775803	2.0	true	12.35	
5	robot5	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	5	5	9223372036854775802	2.5	true	12.35	
6	robot6	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	6	6	9223372036854775801	3.0	true	12.35	
7	robot7	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	7	7	9223372036854775800	3.5	true	12.35	
8	robot8	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	8	8	9223372036854775799	4.0	true	12.35	
9	robot9	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	9	9	9223372036854775798	4.5	true	12.35	
- CarbonReaderExample
Running SQL on carbon files directly
+------+---+------+
|  name|age|height|
+------+---+------+
|robot0|  0|   0.0|
|robot1|  1|   0.5|
|robot2|  2|   1.0|
|robot3|  3|   1.5|
|robot4|  4|   2.0|
|robot5|  5|   2.5|
|robot6|  6|   3.0|
|robot7|  7|   3.5|
|robot8|  8|   4.0|
|robot9|  9|   4.5|
+------+---+------+

- DirectSQLExample
2019-08-22 16:23:45 AUDIT audit:72 - {"time":"August 22, 2019 9:23:45 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26482342868836696","opStatus":"START"}
2019-08-22 16:23:45 AUDIT audit:93 - {"time":"August 22, 2019 9:23:45 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26482342868836696","opStatus":"SUCCESS","opTime":"76 ms","table":"default.hive_carbon_example","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-22 16:23:45 AUDIT audit:72 - {"time":"August 22, 2019 9:23:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482343011653774","opStatus":"START"}
2019-08-22 16:23:46 AUDIT audit:93 - {"time":"August 22, 2019 9:23:46 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482343011653774","opStatus":"SUCCESS","opTime":"148 ms","table":"default.hive_carbon_example","extraInfo":{"SegmentId":"0","DataSize":"924.0B","IndexSize":"551.0B"}}
2019-08-22 16:23:46 AUDIT audit:72 - {"time":"August 22, 2019 9:23:46 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482343168913713","opStatus":"START"}
2019-08-22 16:23:46 AUDIT audit:93 - {"time":"August 22, 2019 9:23:46 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482343168913713","opStatus":"SUCCESS","opTime":"131 ms","table":"default.hive_carbon_example","extraInfo":{"SegmentId":"1","DataSize":"924.0B","IndexSize":"551.0B"}}
+---+---------+--------+
| id|     name|  salary|
+---+---------+--------+
|  1|  'liang'|200000.0|
|  2|'anubhav'| 20000.0|
|  1|  'liang'|200000.0|
|  2|'anubhav'| 20000.0|
+---+---------+--------+

2019-08-22 16:23:46 AUDIT audit:72 - {"time":"August 22, 2019 9:23:46 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26482343437039326","opStatus":"START"}
2019-08-22 16:23:46 AUDIT audit:93 - {"time":"August 22, 2019 9:23:46 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26482343437039326","opStatus":"SUCCESS","opTime":"49 ms","table":"default.test_boundary","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":"","dictionary_include":"c6_timestamp"}}
2019-08-22 16:23:46 AUDIT audit:72 - {"time":"August 22, 2019 9:23:46 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482343490881632","opStatus":"START"}
2019-08-22 16:23:46 ERROR DataLoadExecutor:55 - Data Load is partially success for table test_boundary
2019-08-22 16:23:46 AUDIT audit:93 - {"time":"August 22, 2019 9:23:46 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26482343490881632","opStatus":"SUCCESS","opTime":"206 ms","table":"default.test_boundary","extraInfo":{"SegmentId":"0","DataSize":"4.03KB","IndexSize":"1.06KB"}}
OK
******Total Number Of Rows Fetched ****** 0
- HiveExample *** FAILED ***
  java.lang.AssertionError: assertion failed
  at scala.Predef$.assert(Predef.scala:156)
  at org.apache.carbondata.examples.HiveExample$.readFromHive(HiveExample.scala:171)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply$mcV$sp(RunExamples.scala:135)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply(RunExamples.scala:133)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply(RunExamples.scala:133)
  at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  at org.scalatest.Transformer.apply(Transformer.scala:22)
  at org.scalatest.Transformer.apply(Transformer.scala:20)
  ...
Exception encountered when invoking run on a nested suite - Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.test.util.QueryTest.<init>(QueryTest.scala:115)
org.apache.carbondata.examplesCI.RunExamples.<init>(RunExamples.scala:35)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:69)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:2390)

The currently active SparkContext was created at:

(No active SparkContext.)
          *** ABORTED ***
  java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.test.util.QueryTest.<init>(QueryTest.scala:115)
org.apache.carbondata.examplesCI.RunExamples.<init>(RunExamples.scala:35)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:69)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:2390)

The currently active SparkContext was created at:

(No active SparkContext.)
  at org.apache.spark.SparkContext.assertNotStopped(SparkContext.scala:100)
  at org.apache.spark.SparkContext$$anonfun$parallelize$1.apply(SparkContext.scala:716)
  at org.apache.spark.SparkContext$$anonfun$parallelize$1.apply(SparkContext.scala:715)
  at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
  at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
  at org.apache.spark.SparkContext.withScope(SparkContext.scala:701)
  at org.apache.spark.SparkContext.parallelize(SparkContext.scala:715)
  at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:74)
  at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:114)
  at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:114)
  ...
Run completed in 2 minutes, 10 seconds.
Total number of tests run: 21
Suites: completed 1, aborted 1
Tests: succeeded 20, failed 1, canceled 0, ignored 0, pending 0
*** 1 SUITE ABORTED ***
*** 1 TEST FAILED ***
[JENKINS] Recording test results

Build failed in Jenkins: carbondata-master-spark-2.1 » Apache CarbonData :: Examples #3704

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/carbondata-master-spark-2.1/org.apache.carbondata$carbondata-examples/3704/display/redirect>

------------------------------------------
[...truncated 264.29 KB...]
2019-08-24 12:41:44 AUDIT audit:93 - {"time":"August 24, 2019 5:41:44 AM PDT","username":"jenkins","opName":"CREATE DATAMAP","opId":"26338229803996111","opStatus":"SUCCESS","opTime":"1473 ms","table":"default.persontable","extraInfo":{"provider":"lucene","dmName":"dm","index_columns":"id , name"}}
+--------+
|count(1)|
+--------+
|      10|
+--------+

+--------+
|count(1)|
+--------+
|      10|
+--------+

time for query on table with lucene datamap table:0.209
time for query on table without lucene datamap table:0.12
+-----------------+-------------+
|               id|         name|
+-----------------+-------------+
|which test1 good9|who and name3|
|which test1 good0|who and name0|
|which test1 good4|who and name2|
|which test1 good7|who and name2|
|which test1 good9|who and name3|
|which test1 good0|who and name0|
|which test1 good4|who and name2|
|which test1 good7|who and name2|
+-----------------+-------------+

+-----------------+-------------+
|               id|         name|
+-----------------+-------------+
|which test1 good9|who and name3|
|which test1 good0|who and name0|
|which test1 good4|who and name2|
|which test1 good1|who and name7|
|which test1 good7|who and name2|
|which test1 good9|who and name3|
|which test1 good0|who and name0|
|which test1 good4|who and name2|
|which test1 good1|who and name7|
|which test1 good7|who and name2|
+-----------------+-------------+

2019-08-24 12:41:44 AUDIT audit:72 - {"time":"August 24, 2019 5:41:44 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26338231859361481","opStatus":"START"}
2019-08-24 12:41:45 AUDIT audit:93 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26338231859361481","opStatus":"SUCCESS","opTime":"81 ms","table":"default.persontable","extraInfo":{}}
- LuceneDataMapExample
2019-08-24 12:41:45 AUDIT audit:72 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26338231948587288","opStatus":"START"}
2019-08-24 12:41:45 AUDIT audit:93 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26338231948587288","opStatus":"SUCCESS","opTime":"46 ms","table":"default.origin_table","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-24 12:41:45 AUDIT audit:72 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338231997876889","opStatus":"START"}
2019-08-24 12:41:45 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-24 12:41:45 AUDIT audit:93 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338231997876889","opStatus":"SUCCESS","opTime":"161 ms","table":"default.origin_table","extraInfo":{"SegmentId":"0","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-24 12:41:45 AUDIT audit:72 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232162396369","opStatus":"START"}
2019-08-24 12:41:45 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-24 12:41:45 AUDIT audit:93 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232162396369","opStatus":"SUCCESS","opTime":"115 ms","table":"default.origin_table","extraInfo":{"SegmentId":"1","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-24 12:41:45 AUDIT audit:72 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232280979793","opStatus":"START"}
2019-08-24 12:41:45 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-24 12:41:45 AUDIT audit:93 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232280979793","opStatus":"SUCCESS","opTime":"115 ms","table":"default.origin_table","extraInfo":{"SegmentId":"2","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-24 12:41:45 AUDIT audit:72 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232399732999","opStatus":"START"}
2019-08-24 12:41:45 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-24 12:41:45 AUDIT audit:93 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232399732999","opStatus":"SUCCESS","opTime":"119 ms","table":"default.origin_table","extraInfo":{"SegmentId":"3","DataSize":"2.85KB","IndexSize":"1.43KB"}}
+--------+
|count(1)|
+--------+
|      40|
+--------+

2019-08-24 12:41:45 AUDIT audit:72 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26338232561115918","opStatus":"START"}
2019-08-24 12:41:45 AUDIT audit:93 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26338232561115918","opStatus":"SUCCESS","opTime":"50 ms","table":"default.external_table","extraInfo":{"bad_record_path":"","_filelevelformat":"false","local_dictionary_enable":"true","external":"true","_external":"true","sort_columns":"","comment":""}}
+--------+
|count(1)|
+--------+
|      40|
+--------+

2019-08-24 12:41:45 AUDIT audit:72 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232705883067","opStatus":"START"}
2019-08-24 12:41:45 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-24 12:41:45 AUDIT audit:93 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232705883067","opStatus":"SUCCESS","opTime":"127 ms","table":"default.origin_table","extraInfo":{"SegmentId":"4","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-24 12:41:45 AUDIT audit:72 - {"time":"August 24, 2019 5:41:45 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232837038214","opStatus":"START"}
2019-08-24 12:41:46 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-24 12:41:46 AUDIT audit:93 - {"time":"August 24, 2019 5:41:46 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338232837038214","opStatus":"SUCCESS","opTime":"123 ms","table":"default.origin_table","extraInfo":{"SegmentId":"5","DataSize":"2.85KB","IndexSize":"1.43KB"}}
+--------+
|count(1)|
+--------+
|      60|
+--------+

2019-08-24 12:41:46 AUDIT audit:72 - {"time":"August 24, 2019 5:41:46 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26338232996680521","opStatus":"START"}
2019-08-24 12:41:46 AUDIT audit:93 - {"time":"August 24, 2019 5:41:46 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26338232996680521","opStatus":"SUCCESS","opTime":"128 ms","table":"default.origin_table","extraInfo":{}}
- ExternalTableExample

Data:
0	robot0	0	0	9223372036854775807	0.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
1	robot1	1	1	9223372036854775806	0.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
2	robot2	2	2	9223372036854775805	1.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
3	robot3	3	3	9223372036854775804	1.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
4	robot4	4	4	9223372036854775803	2.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
5	robot5	5	5	9223372036854775802	2.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
6	robot6	6	6	9223372036854775801	3.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
7	robot7	7	7	9223372036854775800	3.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
8	robot8	8	8	9223372036854775799	4.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
9	robot9	9	9	9223372036854775798	4.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 

Data:
0	robot0	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	0	0	9223372036854775807	0.0	true	12.35	
1	robot1	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	1	1	9223372036854775806	0.5	true	12.35	
2	robot2	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	2	2	9223372036854775805	1.0	true	12.35	
3	robot3	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	3	3	9223372036854775804	1.5	true	12.35	
4	robot4	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	4	4	9223372036854775803	2.0	true	12.35	
5	robot5	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	5	5	9223372036854775802	2.5	true	12.35	
6	robot6	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	6	6	9223372036854775801	3.0	true	12.35	
7	robot7	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	7	7	9223372036854775800	3.5	true	12.35	
8	robot8	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	8	8	9223372036854775799	4.0	true	12.35	
9	robot9	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	9	9	9223372036854775798	4.5	true	12.35	
- CarbonReaderExample
Running SQL on carbon files directly
+------+---+------+
|  name|age|height|
+------+---+------+
|robot0|  0|   0.0|
|robot1|  1|   0.5|
|robot2|  2|   1.0|
|robot3|  3|   1.5|
|robot4|  4|   2.0|
|robot5|  5|   2.5|
|robot6|  6|   3.0|
|robot7|  7|   3.5|
|robot8|  8|   4.0|
|robot9|  9|   4.5|
+------+---+------+

- DirectSQLExample
2019-08-24 12:41:46 AUDIT audit:72 - {"time":"August 24, 2019 5:41:46 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26338233603502965","opStatus":"START"}
2019-08-24 12:41:46 AUDIT audit:93 - {"time":"August 24, 2019 5:41:46 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26338233603502965","opStatus":"SUCCESS","opTime":"66 ms","table":"default.hive_carbon_example","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-24 12:41:46 AUDIT audit:72 - {"time":"August 24, 2019 5:41:46 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338233733610166","opStatus":"START"}
2019-08-24 12:41:46 AUDIT audit:93 - {"time":"August 24, 2019 5:41:46 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338233733610166","opStatus":"SUCCESS","opTime":"134 ms","table":"default.hive_carbon_example","extraInfo":{"SegmentId":"0","DataSize":"924.0B","IndexSize":"551.0B"}}
2019-08-24 12:41:47 AUDIT audit:72 - {"time":"August 24, 2019 5:41:47 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338233876187845","opStatus":"START"}
2019-08-24 12:41:47 AUDIT audit:93 - {"time":"August 24, 2019 5:41:47 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338233876187845","opStatus":"SUCCESS","opTime":"127 ms","table":"default.hive_carbon_example","extraInfo":{"SegmentId":"1","DataSize":"924.0B","IndexSize":"551.0B"}}
+---+---------+--------+
| id|     name|  salary|
+---+---------+--------+
|  1|  'liang'|200000.0|
|  2|'anubhav'| 20000.0|
|  1|  'liang'|200000.0|
|  2|'anubhav'| 20000.0|
+---+---------+--------+

2019-08-24 12:41:47 AUDIT audit:72 - {"time":"August 24, 2019 5:41:47 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26338234140468738","opStatus":"START"}
2019-08-24 12:41:47 AUDIT audit:93 - {"time":"August 24, 2019 5:41:47 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26338234140468738","opStatus":"SUCCESS","opTime":"63 ms","table":"default.test_boundary","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":"","dictionary_include":"c6_timestamp"}}
2019-08-24 12:41:47 AUDIT audit:72 - {"time":"August 24, 2019 5:41:47 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338234208303913","opStatus":"START"}
2019-08-24 12:41:47 ERROR DataLoadExecutor:55 - Data Load is partially success for table test_boundary
2019-08-24 12:41:47 AUDIT audit:93 - {"time":"August 24, 2019 5:41:47 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26338234208303913","opStatus":"SUCCESS","opTime":"210 ms","table":"default.test_boundary","extraInfo":{"SegmentId":"0","DataSize":"4.03KB","IndexSize":"1.06KB"}}
OK
******Total Number Of Rows Fetched ****** 0
- HiveExample *** FAILED ***
  java.lang.AssertionError: assertion failed
  at scala.Predef$.assert(Predef.scala:156)
  at org.apache.carbondata.examples.HiveExample$.readFromHive(HiveExample.scala:171)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply$mcV$sp(RunExamples.scala:135)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply(RunExamples.scala:133)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply(RunExamples.scala:133)
  at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  at org.scalatest.Transformer.apply(Transformer.scala:22)
  at org.scalatest.Transformer.apply(Transformer.scala:20)
  ...
Exception encountered when invoking run on a nested suite - Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.test.util.QueryTest.<init>(QueryTest.scala:115)
org.apache.carbondata.examplesCI.RunExamples.<init>(RunExamples.scala:35)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:69)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:2390)

The currently active SparkContext was created at:

(No active SparkContext.)
          *** ABORTED ***
  java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.test.util.QueryTest.<init>(QueryTest.scala:115)
org.apache.carbondata.examplesCI.RunExamples.<init>(RunExamples.scala:35)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:69)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:2390)

The currently active SparkContext was created at:

(No active SparkContext.)
  at org.apache.spark.SparkContext.assertNotStopped(SparkContext.scala:100)
  at org.apache.spark.SparkContext$$anonfun$parallelize$1.apply(SparkContext.scala:716)
  at org.apache.spark.SparkContext$$anonfun$parallelize$1.apply(SparkContext.scala:715)
  at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
  at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
  at org.apache.spark.SparkContext.withScope(SparkContext.scala:701)
  at org.apache.spark.SparkContext.parallelize(SparkContext.scala:715)
  at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:74)
  at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:114)
  at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:114)
  ...
Run completed in 2 minutes, 15 seconds.
Total number of tests run: 21
Suites: completed 1, aborted 1
Tests: succeeded 20, failed 1, canceled 0, ignored 0, pending 0
*** 1 SUITE ABORTED ***
*** 1 TEST FAILED ***
[JENKINS] Recording test results

Build failed in Jenkins: carbondata-master-spark-2.1 » Apache CarbonData :: Examples #3703

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/carbondata-master-spark-2.1/org.apache.carbondata$carbondata-examples/3703/display/redirect>

------------------------------------------
[...truncated 265.98 KB...]
|count(1)|
+--------+
|      12|
+--------+

+--------+
|count(1)|
+--------+
|      12|
+--------+

time for query on table with lucene datamap table:0.247
time for query on table without lucene datamap table:0.156
+-----------------+-------------+
|               id|         name|
+-----------------+-------------+
|which test1 good7|who and name2|
|which test1 good7|who and name3|
|which test1 good0|who and name0|
|which test1 good6|who and name0|
|which test1 good7|who and name0|
|which test1 good7|who and name2|
|which test1 good7|who and name3|
|which test1 good0|who and name0|
|which test1 good6|who and name0|
|which test1 good7|who and name0|
+-----------------+-------------+

+-----------------+-------------+
|               id|         name|
+-----------------+-------------+
|which test1 good7|who and name2|
|which test1 good7|who and name3|
|which test1 good0|who and name0|
|which test1 good6|who and name0|
|which test1 good1|who and name1|
|which test1 good7|who and name0|
|which test1 good7|who and name2|
|which test1 good7|who and name3|
|which test1 good0|who and name0|
|which test1 good6|who and name0|
+-----------------+-------------+

2019-08-23 19:23:35 AUDIT audit:72 - {"time":"August 23, 2019 12:23:35 PM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26275962264964711","opStatus":"START"}
2019-08-23 19:23:35 AUDIT audit:93 - {"time":"August 23, 2019 12:23:35 PM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26275962264964711","opStatus":"SUCCESS","opTime":"462 ms","table":"default.persontable","extraInfo":{}}
- LuceneDataMapExample
2019-08-23 19:23:35 AUDIT audit:72 - {"time":"August 23, 2019 12:23:35 PM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26275962739551972","opStatus":"START"}
2019-08-23 19:23:35 AUDIT audit:93 - {"time":"August 23, 2019 12:23:35 PM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26275962739551972","opStatus":"SUCCESS","opTime":"80 ms","table":"default.origin_table","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-23 19:23:35 AUDIT audit:72 - {"time":"August 23, 2019 12:23:35 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275962825844465","opStatus":"START"}
2019-08-23 19:23:35 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 19:23:36 AUDIT audit:93 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275962825844465","opStatus":"SUCCESS","opTime":"222 ms","table":"default.origin_table","extraInfo":{"SegmentId":"0","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-23 19:23:36 AUDIT audit:72 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275963053290822","opStatus":"START"}
2019-08-23 19:23:36 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 19:23:36 AUDIT audit:93 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275963053290822","opStatus":"SUCCESS","opTime":"138 ms","table":"default.origin_table","extraInfo":{"SegmentId":"1","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-23 19:23:36 AUDIT audit:72 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275963198341395","opStatus":"START"}
2019-08-23 19:23:36 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 19:23:36 AUDIT audit:93 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275963198341395","opStatus":"SUCCESS","opTime":"168 ms","table":"default.origin_table","extraInfo":{"SegmentId":"2","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-23 19:23:36 AUDIT audit:72 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275963371690456","opStatus":"START"}
2019-08-23 19:23:36 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 19:23:36 AUDIT audit:93 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275963371690456","opStatus":"SUCCESS","opTime":"292 ms","table":"default.origin_table","extraInfo":{"SegmentId":"3","DataSize":"2.85KB","IndexSize":"1.43KB"}}
+--------+
|count(1)|
+--------+
|      40|
+--------+

2019-08-23 19:23:36 AUDIT audit:72 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26275963726458345","opStatus":"START"}
2019-08-23 19:23:36 AUDIT audit:93 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26275963726458345","opStatus":"SUCCESS","opTime":"93 ms","table":"default.external_table","extraInfo":{"bad_record_path":"","_filelevelformat":"false","local_dictionary_enable":"true","external":"true","_external":"true","sort_columns":"","comment":""}}
+--------+
|count(1)|
+--------+
|      40|
+--------+

2019-08-23 19:23:36 AUDIT audit:72 - {"time":"August 23, 2019 12:23:36 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275963954360420","opStatus":"START"}
2019-08-23 19:23:37 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 19:23:37 AUDIT audit:93 - {"time":"August 23, 2019 12:23:37 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275963954360420","opStatus":"SUCCESS","opTime":"139 ms","table":"default.origin_table","extraInfo":{"SegmentId":"4","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-23 19:23:37 AUDIT audit:72 - {"time":"August 23, 2019 12:23:37 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275964097492856","opStatus":"START"}
2019-08-23 19:23:37 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 19:23:37 AUDIT audit:93 - {"time":"August 23, 2019 12:23:37 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275964097492856","opStatus":"SUCCESS","opTime":"149 ms","table":"default.origin_table","extraInfo":{"SegmentId":"5","DataSize":"2.85KB","IndexSize":"1.43KB"}}
+--------+
|count(1)|
+--------+
|      60|
+--------+

2019-08-23 19:23:37 AUDIT audit:72 - {"time":"August 23, 2019 12:23:37 PM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26275964295369901","opStatus":"START"}
2019-08-23 19:23:37 AUDIT audit:93 - {"time":"August 23, 2019 12:23:37 PM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26275964295369901","opStatus":"SUCCESS","opTime":"238 ms","table":"default.origin_table","extraInfo":{}}
- ExternalTableExample

Data:
0	robot0	0	0	9223372036854775807	0.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
1	robot1	1	1	9223372036854775806	0.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
2	robot2	2	2	9223372036854775805	1.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
3	robot3	3	3	9223372036854775804	1.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
4	robot4	4	4	9223372036854775803	2.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
5	robot5	5	5	9223372036854775802	2.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
6	robot6	6	6	9223372036854775801	3.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
7	robot7	7	7	9223372036854775800	3.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
8	robot8	8	8	9223372036854775799	4.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
9	robot9	9	9	9223372036854775798	4.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 

Data:
0	robot0	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	0	0	9223372036854775807	0.0	true	12.35	
1	robot1	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	1	1	9223372036854775806	0.5	true	12.35	
2	robot2	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	2	2	9223372036854775805	1.0	true	12.35	
3	robot3	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	3	3	9223372036854775804	1.5	true	12.35	
4	robot4	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	4	4	9223372036854775803	2.0	true	12.35	
5	robot5	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	5	5	9223372036854775802	2.5	true	12.35	
6	robot6	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	6	6	9223372036854775801	3.0	true	12.35	
7	robot7	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	7	7	9223372036854775800	3.5	true	12.35	
8	robot8	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	8	8	9223372036854775799	4.0	true	12.35	
9	robot9	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	9	9	9223372036854775798	4.5	true	12.35	
- CarbonReaderExample
Running SQL on carbon files directly
+------+---+------+
|  name|age|height|
+------+---+------+
|robot0|  0|   0.0|
|robot1|  1|   0.5|
|robot2|  2|   1.0|
|robot3|  3|   1.5|
|robot4|  4|   2.0|
|robot5|  5|   2.5|
|robot6|  6|   3.0|
|robot7|  7|   3.5|
|robot8|  8|   4.0|
|robot9|  9|   4.5|
+------+---+------+

- DirectSQLExample
2019-08-23 19:23:38 AUDIT audit:72 - {"time":"August 23, 2019 12:23:38 PM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26275965180553019","opStatus":"START"}
2019-08-23 19:23:38 AUDIT audit:93 - {"time":"August 23, 2019 12:23:38 PM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26275965180553019","opStatus":"SUCCESS","opTime":"303 ms","table":"default.hive_carbon_example","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-23 19:23:38 AUDIT audit:72 - {"time":"August 23, 2019 12:23:38 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275965565748778","opStatus":"START"}
2019-08-23 19:23:38 AUDIT audit:93 - {"time":"August 23, 2019 12:23:38 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275965565748778","opStatus":"SUCCESS","opTime":"177 ms","table":"default.hive_carbon_example","extraInfo":{"SegmentId":"0","DataSize":"924.0B","IndexSize":"551.0B"}}
2019-08-23 19:23:38 AUDIT audit:72 - {"time":"August 23, 2019 12:23:38 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275965751230732","opStatus":"START"}
2019-08-23 19:23:38 AUDIT audit:93 - {"time":"August 23, 2019 12:23:38 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275965751230732","opStatus":"SUCCESS","opTime":"195 ms","table":"default.hive_carbon_example","extraInfo":{"SegmentId":"1","DataSize":"924.0B","IndexSize":"551.0B"}}
+---+---------+--------+
| id|     name|  salary|
+---+---------+--------+
|  1|  'liang'|200000.0|
|  2|'anubhav'| 20000.0|
|  1|  'liang'|200000.0|
|  2|'anubhav'| 20000.0|
+---+---------+--------+

2019-08-23 19:23:39 AUDIT audit:72 - {"time":"August 23, 2019 12:23:39 PM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26275966095731550","opStatus":"START"}
2019-08-23 19:23:39 AUDIT audit:93 - {"time":"August 23, 2019 12:23:39 PM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26275966095731550","opStatus":"SUCCESS","opTime":"107 ms","table":"default.test_boundary","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":"","dictionary_include":"c6_timestamp"}}
2019-08-23 19:23:39 AUDIT audit:72 - {"time":"August 23, 2019 12:23:39 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275966209222761","opStatus":"START"}
2019-08-23 19:23:39 ERROR DataLoadExecutor:55 - Data Load is partially success for table test_boundary
2019-08-23 19:23:39 AUDIT audit:93 - {"time":"August 23, 2019 12:23:39 PM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26275966209222761","opStatus":"SUCCESS","opTime":"254 ms","table":"default.test_boundary","extraInfo":{"SegmentId":"0","DataSize":"4.03KB","IndexSize":"1.06KB"}}
OK
******Total Number Of Rows Fetched ****** 0
- HiveExample *** FAILED ***
  java.lang.AssertionError: assertion failed
  at scala.Predef$.assert(Predef.scala:156)
  at org.apache.carbondata.examples.HiveExample$.readFromHive(HiveExample.scala:171)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply$mcV$sp(RunExamples.scala:135)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply(RunExamples.scala:133)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply(RunExamples.scala:133)
  at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  at org.scalatest.Transformer.apply(Transformer.scala:22)
  at org.scalatest.Transformer.apply(Transformer.scala:20)
  ...
Exception encountered when invoking run on a nested suite - Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.test.util.QueryTest.<init>(QueryTest.scala:115)
org.apache.carbondata.examplesCI.RunExamples.<init>(RunExamples.scala:35)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:69)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:2390)

The currently active SparkContext was created at:

(No active SparkContext.)
          *** ABORTED ***
  java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.test.util.QueryTest.<init>(QueryTest.scala:115)
org.apache.carbondata.examplesCI.RunExamples.<init>(RunExamples.scala:35)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:69)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:2390)

The currently active SparkContext was created at:

(No active SparkContext.)
  at org.apache.spark.SparkContext.assertNotStopped(SparkContext.scala:100)
  at org.apache.spark.SparkContext$$anonfun$parallelize$1.apply(SparkContext.scala:716)
  at org.apache.spark.SparkContext$$anonfun$parallelize$1.apply(SparkContext.scala:715)
  at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
  at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
  at org.apache.spark.SparkContext.withScope(SparkContext.scala:701)
  at org.apache.spark.SparkContext.parallelize(SparkContext.scala:715)
  at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:74)
  at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:114)
  at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:114)
  ...
Run completed in 3 minutes, 3 seconds.
Total number of tests run: 21
Suites: completed 1, aborted 1
Tests: succeeded 20, failed 1, canceled 0, ignored 0, pending 0
*** 1 SUITE ABORTED ***
*** 1 TEST FAILED ***
[JENKINS] Recording test results

Build failed in Jenkins: carbondata-master-spark-2.1 » Apache CarbonData :: Examples #3702

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/carbondata-master-spark-2.1/org.apache.carbondata$carbondata-examples/3702/display/redirect>

------------------------------------------
[...truncated 263.26 KB...]
2019-08-23 11:11:30 AUDIT audit:93 - {"time":"August 23, 2019 4:11:30 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549949454131759","opStatus":"SUCCESS","opTime":"166 ms","table":"default.persontable","extraInfo":{"bad_record_path":"","streaming":"false","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-23 11:11:30 AUDIT audit:72 - {"time":"August 23, 2019 4:11:30 AM PDT","username":"jenkins","opName":"LOAD DATA OVERWRITE","opId":"26549949622552967","opStatus":"START"}
2019-08-23 11:11:31 AUDIT audit:93 - {"time":"August 23, 2019 4:11:31 AM PDT","username":"jenkins","opName":"LOAD DATA OVERWRITE","opId":"26549949622552967","opStatus":"SUCCESS","opTime":"564 ms","table":"default.personTable","extraInfo":{"SegmentId":"0","DataSize":"772.10KB","IndexSize":"720.0B"}}
2019-08-23 11:11:31 AUDIT audit:72 - {"time":"August 23, 2019 4:11:31 AM PDT","username":"jenkins","opName":"CREATE DATAMAP","opId":"26549950190183812","opStatus":"START"}
2019-08-23 11:11:32 AUDIT audit:93 - {"time":"August 23, 2019 4:11:32 AM PDT","username":"jenkins","opName":"CREATE DATAMAP","opId":"26549950190183812","opStatus":"SUCCESS","opTime":"1570 ms","table":"default.persontable","extraInfo":{"provider":"lucene","dmName":"dm","index_columns":"id , name"}}
+--------+
|count(1)|
+--------+
|       8|
+--------+

+--------+
|count(1)|
+--------+
|       8|
+--------+

time for query on table with lucene datamap table:0.269
time for query on table without lucene datamap table:0.159
+-----------------+-------------+
|               id|         name|
+-----------------+-------------+
|which test1 good4|who and name0|
|which test1 good6|who and name3|
|which test1 good5|who and name4|
|which test1 good4|who and name0|
|which test1 good6|who and name3|
|which test1 good5|who and name4|
+-----------------+-------------+

+-----------------+-------------+
|               id|         name|
+-----------------+-------------+
|which test1 good4|who and name0|
|which test1 good1|who and name4|
|which test1 good6|who and name3|
|which test1 good5|who and name4|
|which test1 good4|who and name0|
|which test1 good1|who and name4|
|which test1 good6|who and name3|
|which test1 good5|who and name4|
+-----------------+-------------+

2019-08-23 11:11:33 AUDIT audit:72 - {"time":"August 23, 2019 4:11:33 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26549952505669664","opStatus":"START"}
2019-08-23 11:11:33 AUDIT audit:93 - {"time":"August 23, 2019 4:11:33 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26549952505669664","opStatus":"SUCCESS","opTime":"203 ms","table":"default.persontable","extraInfo":{}}
- LuceneDataMapExample
2019-08-23 11:11:33 AUDIT audit:72 - {"time":"August 23, 2019 4:11:33 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549952720029480","opStatus":"START"}
2019-08-23 11:11:33 AUDIT audit:93 - {"time":"August 23, 2019 4:11:33 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549952720029480","opStatus":"SUCCESS","opTime":"102 ms","table":"default.origin_table","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-23 11:11:33 AUDIT audit:72 - {"time":"August 23, 2019 4:11:33 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549952826022560","opStatus":"START"}
2019-08-23 11:11:33 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 11:11:33 AUDIT audit:93 - {"time":"August 23, 2019 4:11:33 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549952826022560","opStatus":"SUCCESS","opTime":"202 ms","table":"default.origin_table","extraInfo":{"SegmentId":"0","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-23 11:11:34 AUDIT audit:72 - {"time":"August 23, 2019 4:11:34 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549953032590615","opStatus":"START"}
2019-08-23 11:11:34 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 11:11:34 AUDIT audit:93 - {"time":"August 23, 2019 4:11:34 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549953032590615","opStatus":"SUCCESS","opTime":"131 ms","table":"default.origin_table","extraInfo":{"SegmentId":"1","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-23 11:11:34 AUDIT audit:72 - {"time":"August 23, 2019 4:11:34 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549953167708579","opStatus":"START"}
2019-08-23 11:11:34 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 11:11:34 AUDIT audit:93 - {"time":"August 23, 2019 4:11:34 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549953167708579","opStatus":"SUCCESS","opTime":"135 ms","table":"default.origin_table","extraInfo":{"SegmentId":"2","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-23 11:11:34 AUDIT audit:72 - {"time":"August 23, 2019 4:11:34 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549953307035005","opStatus":"START"}
2019-08-23 11:11:34 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 11:11:34 AUDIT audit:93 - {"time":"August 23, 2019 4:11:34 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549953307035005","opStatus":"SUCCESS","opTime":"138 ms","table":"default.origin_table","extraInfo":{"SegmentId":"3","DataSize":"2.85KB","IndexSize":"1.43KB"}}
+--------+
|count(1)|
+--------+
|      40|
+--------+

2019-08-23 11:11:34 AUDIT audit:72 - {"time":"August 23, 2019 4:11:34 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549953510995717","opStatus":"START"}
2019-08-23 11:11:34 AUDIT audit:93 - {"time":"August 23, 2019 4:11:34 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549953510995717","opStatus":"SUCCESS","opTime":"442 ms","table":"default.external_table","extraInfo":{"bad_record_path":"","_filelevelformat":"false","local_dictionary_enable":"true","external":"true","_external":"true","sort_columns":"","comment":""}}
+--------+
|count(1)|
+--------+
|      40|
+--------+

2019-08-23 11:11:35 AUDIT audit:72 - {"time":"August 23, 2019 4:11:35 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549954086137932","opStatus":"START"}
2019-08-23 11:11:35 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 11:11:35 AUDIT audit:93 - {"time":"August 23, 2019 4:11:35 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549954086137932","opStatus":"SUCCESS","opTime":"138 ms","table":"default.origin_table","extraInfo":{"SegmentId":"4","DataSize":"2.85KB","IndexSize":"1.43KB"}}
2019-08-23 11:11:35 AUDIT audit:72 - {"time":"August 23, 2019 4:11:35 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549954228848773","opStatus":"START"}
2019-08-23 11:11:35 ERROR DataLoadExecutor:55 - Data Load is partially success for table origin_table
2019-08-23 11:11:35 AUDIT audit:93 - {"time":"August 23, 2019 4:11:35 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549954228848773","opStatus":"SUCCESS","opTime":"132 ms","table":"default.origin_table","extraInfo":{"SegmentId":"5","DataSize":"2.85KB","IndexSize":"1.43KB"}}
+--------+
|count(1)|
+--------+
|      60|
+--------+

2019-08-23 11:11:35 AUDIT audit:72 - {"time":"August 23, 2019 4:11:35 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26549954407846626","opStatus":"START"}
2019-08-23 11:11:35 AUDIT audit:93 - {"time":"August 23, 2019 4:11:35 AM PDT","username":"jenkins","opName":"DROP TABLE","opId":"26549954407846626","opStatus":"SUCCESS","opTime":"191 ms","table":"default.origin_table","extraInfo":{}}
- ExternalTableExample

Data:
0	robot0	0	0	9223372036854775807	0.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
1	robot1	1	1	9223372036854775806	0.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
2	robot2	2	2	9223372036854775805	1.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
3	robot3	3	3	9223372036854775804	1.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
4	robot4	4	4	9223372036854775803	2.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
5	robot5	5	5	9223372036854775802	2.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
6	robot6	6	6	9223372036854775801	3.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
7	robot7	7	7	9223372036854775800	3.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
8	robot8	8	8	9223372036854775799	4.0	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 
9	robot9	9	9	9223372036854775798	4.5	true	2019-03-01	2019-02-12 03:03:34.0	12.35	varchar	
Hello World From Carbon 

Data:
0	robot0	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	0	0	9223372036854775807	0.0	true	12.35	
1	robot1	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	1	1	9223372036854775806	0.5	true	12.35	
2	robot2	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	2	2	9223372036854775805	1.0	true	12.35	
3	robot3	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	3	3	9223372036854775804	1.5	true	12.35	
4	robot4	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	4	4	9223372036854775803	2.0	true	12.35	
5	robot5	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	5	5	9223372036854775802	2.5	true	12.35	
6	robot6	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	6	6	9223372036854775801	3.0	true	12.35	
7	robot7	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	7	7	9223372036854775800	3.5	true	12.35	
8	robot8	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	8	8	9223372036854775799	4.0	true	12.35	
9	robot9	2019-03-01	2019-02-12 03:03:34.0	varchar	Hello World From Carbon 	9	9	9223372036854775798	4.5	true	12.35	
- CarbonReaderExample
Running SQL on carbon files directly
+------+---+------+
|  name|age|height|
+------+---+------+
|robot0|  0|   0.0|
|robot1|  1|   0.5|
|robot2|  2|   1.0|
|robot3|  3|   1.5|
|robot4|  4|   2.0|
|robot5|  5|   2.5|
|robot6|  6|   3.0|
|robot7|  7|   3.5|
|robot8|  8|   4.0|
|robot9|  9|   4.5|
+------+---+------+

- DirectSQLExample
2019-08-23 11:11:36 AUDIT audit:72 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549955210836782","opStatus":"START"}
2019-08-23 11:11:36 AUDIT audit:93 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549955210836782","opStatus":"SUCCESS","opTime":"234 ms","table":"default.hive_carbon_example","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":""}}
2019-08-23 11:11:36 AUDIT audit:72 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549955518699759","opStatus":"START"}
2019-08-23 11:11:36 AUDIT audit:93 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549955518699759","opStatus":"SUCCESS","opTime":"161 ms","table":"default.hive_carbon_example","extraInfo":{"SegmentId":"0","DataSize":"924.0B","IndexSize":"551.0B"}}
2019-08-23 11:11:36 AUDIT audit:72 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549955688221579","opStatus":"START"}
2019-08-23 11:11:36 AUDIT audit:93 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549955688221579","opStatus":"SUCCESS","opTime":"126 ms","table":"default.hive_carbon_example","extraInfo":{"SegmentId":"1","DataSize":"924.0B","IndexSize":"551.0B"}}
+---+---------+--------+
| id|     name|  salary|
+---+---------+--------+
|  1|  'liang'|200000.0|
|  2|'anubhav'| 20000.0|
|  1|  'liang'|200000.0|
|  2|'anubhav'| 20000.0|
+---+---------+--------+

2019-08-23 11:11:36 AUDIT audit:72 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549955904133719","opStatus":"START"}
2019-08-23 11:11:36 AUDIT audit:93 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"CREATE TABLE","opId":"26549955904133719","opStatus":"SUCCESS","opTime":"104 ms","table":"default.test_boundary","extraInfo":{"bad_record_path":"","local_dictionary_enable":"true","external":"false","sort_columns":"","comment":"","dictionary_include":"c6_timestamp"}}
2019-08-23 11:11:36 AUDIT audit:72 - {"time":"August 23, 2019 4:11:36 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549956012285080","opStatus":"START"}
2019-08-23 11:11:37 ERROR DataLoadExecutor:55 - Data Load is partially success for table test_boundary
2019-08-23 11:11:37 AUDIT audit:93 - {"time":"August 23, 2019 4:11:37 AM PDT","username":"jenkins","opName":"LOAD DATA","opId":"26549956012285080","opStatus":"SUCCESS","opTime":"264 ms","table":"default.test_boundary","extraInfo":{"SegmentId":"0","DataSize":"4.03KB","IndexSize":"1.06KB"}}
OK
******Total Number Of Rows Fetched ****** 0
- HiveExample *** FAILED ***
  java.lang.AssertionError: assertion failed
  at scala.Predef$.assert(Predef.scala:156)
  at org.apache.carbondata.examples.HiveExample$.readFromHive(HiveExample.scala:171)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply$mcV$sp(RunExamples.scala:135)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply(RunExamples.scala:133)
  at org.apache.carbondata.examplesCI.RunExamples$$anonfun$21.apply(RunExamples.scala:133)
  at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
  at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
  at org.scalatest.Transformer.apply(Transformer.scala:22)
  at org.scalatest.Transformer.apply(Transformer.scala:20)
  ...
Exception encountered when invoking run on a nested suite - Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.test.util.QueryTest.<init>(QueryTest.scala:115)
org.apache.carbondata.examplesCI.RunExamples.<init>(RunExamples.scala:35)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:69)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:2390)

The currently active SparkContext was created at:

(No active SparkContext.)
          *** ABORTED ***
  java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at:

org.apache.spark.sql.test.util.QueryTest.<init>(QueryTest.scala:115)
org.apache.carbondata.examplesCI.RunExamples.<init>(RunExamples.scala:35)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
java.lang.Class.newInstance(Class.java:442)
org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:69)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
org.scalatest.tools.DiscoverySuite.<init>(DiscoverySuite.scala:37)
org.scalatest.tools.Runner$.genDiscoSuites$1(Runner.scala:2390)

The currently active SparkContext was created at:

(No active SparkContext.)
  at org.apache.spark.SparkContext.assertNotStopped(SparkContext.scala:100)
  at org.apache.spark.SparkContext$$anonfun$parallelize$1.apply(SparkContext.scala:716)
  at org.apache.spark.SparkContext$$anonfun$parallelize$1.apply(SparkContext.scala:715)
  at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
  at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
  at org.apache.spark.SparkContext.withScope(SparkContext.scala:701)
  at org.apache.spark.SparkContext.parallelize(SparkContext.scala:715)
  at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:74)
  at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:114)
  at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:114)
  ...
Run completed in 3 minutes, 6 seconds.
Total number of tests run: 21
Suites: completed 1, aborted 1
Tests: succeeded 20, failed 1, canceled 0, ignored 0, pending 0
*** 1 SUITE ABORTED ***
*** 1 TEST FAILED ***
[JENKINS] Recording test results