Build failed in Jenkins: Phoenix-4.x-HBase-1.1 #303

2016-12-26 Thread Apache Jenkins Server
See 

Changes:

[ankitsinghal59] PHOENIX-3544 Fix UNSIGNED_DATE and UNSIGNED_TIME type in 
phoenix-spark

--
[...truncated 815 lines...]
Running org.apache.phoenix.end2end.SequenceBulkAllocationIT
Running org.apache.phoenix.end2end.RowValueConstructorIT
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.704 sec - 
in org.apache.phoenix.end2end.SequenceBulkAllocationIT
Running org.apache.phoenix.end2end.ToNumberFunctionIT
Running org.apache.phoenix.end2end.SequenceIT
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.129 sec - 
in org.apache.phoenix.end2end.ToNumberFunctionIT
Running org.apache.phoenix.end2end.TopNIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.756 sec - in 
org.apache.phoenix.end2end.TopNIT
Running org.apache.phoenix.end2end.TruncateFunctionIT
Tests run: 119, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.446 sec - 
in org.apache.phoenix.end2end.ScanQueryIT
Tests run: 126, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.02 sec - 
in org.apache.phoenix.end2end.QueryIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.072 sec - in 
org.apache.phoenix.end2end.TruncateFunctionIT
Running org.apache.phoenix.end2end.UpsertSelectIT
Running org.apache.phoenix.end2end.UpsertValuesIT
Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.59 sec - in 
org.apache.phoenix.end2end.SequenceIT
Running org.apache.phoenix.end2end.salted.SaltedTableIT
Running org.apache.phoenix.end2end.VariableLengthPKIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.267 sec - in 
org.apache.phoenix.end2end.salted.SaltedTableIT
Running org.apache.phoenix.rpc.UpdateCacheWithScnIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.331 sec - in 
org.apache.phoenix.rpc.UpdateCacheWithScnIT
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 176.682 sec - 
in org.apache.phoenix.end2end.QueryDatabaseMetaDataIT
Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.743 sec - 
in org.apache.phoenix.end2end.VariableLengthPKIT
Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.969 sec - 
in org.apache.phoenix.end2end.RowValueConstructorIT
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 141.765 sec - 
in org.apache.phoenix.end2end.UpsertValuesIT
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 189.024 sec - 
in org.apache.phoenix.end2end.UpsertSelectIT

Results :

Tests run: 1359, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-failsafe-plugin:2.19.1:integration-test 
(HBaseManagedTimeTests) @ phoenix-core ---

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-failsafe-plugin:2.19.1:integration-test 
(NeedTheirOwnClusterTests) @ phoenix-core ---

---
 T E S T S
---
Running 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
Running org.apache.phoenix.end2end.ConnectionUtilIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.396 sec - in 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
Running org.apache.phoenix.end2end.CountDistinctCompressionIT
Running org.apache.phoenix.end2end.AutomaticRebuildIT
Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
Running org.apache.phoenix.end2end.ContextClassloaderIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.246 sec - in 
org.apache.phoenix.end2end.CountDistinctCompressionIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.782 sec - in 
org.apache.phoenix.end2end.ConnectionUtilIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.479 sec - in 
org.apache.phoenix.end2end.ContextClassloaderIT
Running org.apache.phoenix.end2end.FlappingLocalIndexIT
Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
Running org.apache.phoenix.end2end.IndexExtendedIT
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 82.091 sec - 
in org.apache.phoenix.end2end.CsvBulkLoadToolIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.419 sec - in 
org.apache.phoenix.end2end.IndexToolForPartialBuildIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.233 sec - in 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
Running org.apache.phoenix.end2end.QueryTimeoutIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.513 sec - in 
org.apache.phoenix.end2end.FlappingLocalIndexIT
Running org.apache.phoenix.end2end.QueryWithLimitIT
Tes

Jenkins build became unstable: Phoenix | 4.x-HBase-0.98 #1412

2016-12-26 Thread Apache Jenkins Server
See 



phoenix git commit: PHOENIX-3544 Fix UNSIGNED_DATE and UNSIGNED_TIME type in phoenix-spark

2016-12-26 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 dbd8459af -> 95759f4ee


PHOENIX-3544 Fix UNSIGNED_DATE and UNSIGNED_TIME type in phoenix-spark


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/95759f4e
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/95759f4e
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/95759f4e

Branch: refs/heads/4.x-HBase-0.98
Commit: 95759f4ee340cc8d99a00a95ec18fbbde381dabb
Parents: dbd8459
Author: Ankit Singhal 
Authored: Mon Dec 26 17:02:42 2016 +0530
Committer: Ankit Singhal 
Committed: Mon Dec 26 17:02:42 2016 +0530

--
 phoenix-spark/src/it/resources/globalSetup.sql   | 5 -
 .../it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala   | 8 
 .../src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala | 5 ++---
 3 files changed, 14 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/95759f4e/phoenix-spark/src/it/resources/globalSetup.sql
--
diff --git a/phoenix-spark/src/it/resources/globalSetup.sql 
b/phoenix-spark/src/it/resources/globalSetup.sql
index 72f8620..28eb0f7 100644
--- a/phoenix-spark/src/it/resources/globalSetup.sql
+++ b/phoenix-spark/src/it/resources/globalSetup.sql
@@ -57,4 +57,7 @@ UPSERT INTO "small" VALUES ('key1', 'foo', 1)
 UPSERT INTO "small" VALUES ('key2', 'bar', 2)
 UPSERT INTO "small" VALUES ('key3', 'xyz', 3)
 
-CREATE TABLE MULTITENANT_TEST_TABLE (TENANT_ID VARCHAR NOT NULL, 
ORGANIZATION_ID VARCHAR, GLOBAL_COL1 VARCHAR  CONSTRAINT pk PRIMARY KEY 
(TENANT_ID, ORGANIZATION_ID)) MULTI_TENANT=true
\ No newline at end of file
+CREATE TABLE MULTITENANT_TEST_TABLE (TENANT_ID VARCHAR NOT NULL, 
ORGANIZATION_ID VARCHAR, GLOBAL_COL1 VARCHAR  CONSTRAINT pk PRIMARY KEY 
(TENANT_ID, ORGANIZATION_ID)) MULTI_TENANT=true
+CREATE TABLE IF NOT EXISTS GIGANTIC_TABLE (ID INTEGER PRIMARY KEY,unsig_id 
UNSIGNED_INT,big_id BIGINT,unsig_long_id UNSIGNED_LONG,tiny_id 
TINYINT,unsig_tiny_id UNSIGNED_TINYINT,small_id SMALLINT,unsig_small_id 
UNSIGNED_SMALLINT,float_id FLOAT,unsig_float_id UNSIGNED_FLOAT,double_id 
DOUBLE,unsig_double_id UNSIGNED_DOUBLE,decimal_id DECIMAL,boolean_id 
BOOLEAN,time_id TIME,date_id DATE,timestamp_id TIMESTAMP,unsig_time_id 
UNSIGNED_TIME,unsig_date_id UNSIGNED_DATE,unsig_timestamp_id 
UNSIGNED_TIMESTAMP,varchar_id VARCHAR (30),char_id CHAR (30),binary_id BINARY 
(100),varbinary_id VARBINARY (100))
+ CREATE TABLE IF NOT EXISTS OUTPUT_GIGANTIC_TABLE (ID INTEGER PRIMARY 
KEY,unsig_id UNSIGNED_INT,big_id BIGINT,unsig_long_id UNSIGNED_LONG,tiny_id 
TINYINT,unsig_tiny_id UNSIGNED_TINYINT,small_id SMALLINT,unsig_small_id 
UNSIGNED_SMALLINT,float_id FLOAT,unsig_float_id UNSIGNED_FLOAT,double_id 
DOUBLE,unsig_double_id UNSIGNED_DOUBLE,decimal_id DECIMAL,boolean_id 
BOOLEAN,time_id TIME,date_id DATE,timestamp_id TIMESTAMP,unsig_time_id 
UNSIGNED_TIME,unsig_date_id UNSIGNED_DATE,unsig_timestamp_id 
UNSIGNED_TIMESTAMP,varchar_id VARCHAR (30),char_id CHAR (30),binary_id BINARY 
(100),varbinary_id VARBINARY (100))
+ upsert into GIGANTIC_TABLE 
values(0,2,3,4,-5,6,7,8,9.3,10.4,11.5,12.6,13.7,true,CURRENT_TIME(),CURRENT_DATE(),CURRENT_TIME(),CURRENT_TIME(),CURRENT_DATE(),CURRENT_TIME(),'This
 is random textA','a','a','a')

http://git-wip-us.apache.org/repos/asf/phoenix/blob/95759f4e/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
--
diff --git 
a/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala 
b/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
index fc8483d..8b27c9d 100644
--- a/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
+++ b/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
@@ -631,5 +631,13 @@ class PhoenixSparkIT extends AbstractPhoenixSparkIT {
 val epoch = new Date().getTime
 assert(Math.abs(epoch - time) < 8640)
   }
+  test("can read all Phoenix data types") {
+val sqlContext = new SQLContext(sc)
+val df = sqlContext.load("org.apache.phoenix.spark", Map("table" -> 
"GIGANTIC_TABLE",
+  "zkUrl" -> quorumAddress))
+df.save("org.apache.phoenix.spark",SaveMode.Overwrite, Map("table" -> 
"OUTPUT_GIGANTIC_TABLE",
+ "zkUrl" -> quorumAddress))
+df.count() shouldEqual 1
+  }
 
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/95759f4e/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
--
diff --git 
a/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala 
b/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
index 204a7ef..6328

phoenix git commit: PHOENIX-3544 Fix UNSIGNED_DATE and UNSIGNED_TIME type in phoenix-spark

2016-12-26 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 068c1cd96 -> 39bfb98ff


PHOENIX-3544 Fix UNSIGNED_DATE and UNSIGNED_TIME type in phoenix-spark


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/39bfb98f
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/39bfb98f
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/39bfb98f

Branch: refs/heads/4.x-HBase-1.1
Commit: 39bfb98ff5afd353f25a0b2cf3b23ec5fef21c85
Parents: 068c1cd
Author: Ankit Singhal 
Authored: Mon Dec 26 16:59:36 2016 +0530
Committer: Ankit Singhal 
Committed: Mon Dec 26 16:59:36 2016 +0530

--
 phoenix-spark/src/it/resources/globalSetup.sql   | 3 +++
 .../it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala   | 8 
 .../src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala | 5 ++---
 3 files changed, 13 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/39bfb98f/phoenix-spark/src/it/resources/globalSetup.sql
--
diff --git a/phoenix-spark/src/it/resources/globalSetup.sql 
b/phoenix-spark/src/it/resources/globalSetup.sql
index 1a2d162..17a6162 100644
--- a/phoenix-spark/src/it/resources/globalSetup.sql
+++ b/phoenix-spark/src/it/resources/globalSetup.sql
@@ -58,3 +58,6 @@ UPSERT INTO "small" VALUES ('key2', 'bar', 2)
 UPSERT INTO "small" VALUES ('key3', 'xyz', 3)
 
 CREATE TABLE MULTITENANT_TEST_TABLE (TENANT_ID VARCHAR NOT NULL, 
ORGANIZATION_ID VARCHAR, GLOBAL_COL1 VARCHAR  CONSTRAINT pk PRIMARY KEY 
(TENANT_ID, ORGANIZATION_ID)) MULTI_TENANT=true
+CREATE TABLE IF NOT EXISTS GIGANTIC_TABLE (ID INTEGER PRIMARY KEY,unsig_id 
UNSIGNED_INT,big_id BIGINT,unsig_long_id UNSIGNED_LONG,tiny_id 
TINYINT,unsig_tiny_id UNSIGNED_TINYINT,small_id SMALLINT,unsig_small_id 
UNSIGNED_SMALLINT,float_id FLOAT,unsig_float_id UNSIGNED_FLOAT,double_id 
DOUBLE,unsig_double_id UNSIGNED_DOUBLE,decimal_id DECIMAL,boolean_id 
BOOLEAN,time_id TIME,date_id DATE,timestamp_id TIMESTAMP,unsig_time_id 
UNSIGNED_TIME,unsig_date_id UNSIGNED_DATE,unsig_timestamp_id 
UNSIGNED_TIMESTAMP,varchar_id VARCHAR (30),char_id CHAR (30),binary_id BINARY 
(100),varbinary_id VARBINARY (100))
+  CREATE TABLE IF NOT EXISTS OUTPUT_GIGANTIC_TABLE (ID INTEGER PRIMARY 
KEY,unsig_id UNSIGNED_INT,big_id BIGINT,unsig_long_id UNSIGNED_LONG,tiny_id 
TINYINT,unsig_tiny_id UNSIGNED_TINYINT,small_id SMALLINT,unsig_small_id 
UNSIGNED_SMALLINT,float_id FLOAT,unsig_float_id UNSIGNED_FLOAT,double_id 
DOUBLE,unsig_double_id UNSIGNED_DOUBLE,decimal_id DECIMAL,boolean_id 
BOOLEAN,time_id TIME,date_id DATE,timestamp_id TIMESTAMP,unsig_time_id 
UNSIGNED_TIME,unsig_date_id UNSIGNED_DATE,unsig_timestamp_id 
UNSIGNED_TIMESTAMP,varchar_id VARCHAR (30),char_id CHAR (30),binary_id BINARY 
(100),varbinary_id VARBINARY (100))
+  upsert into GIGANTIC_TABLE 
values(0,2,3,4,-5,6,7,8,9.3,10.4,11.5,12.6,13.7,true,CURRENT_TIME(),CURRENT_DATE(),CURRENT_TIME(),CURRENT_TIME(),CURRENT_DATE(),CURRENT_TIME(),'This
 is random textA','a','a','a')

http://git-wip-us.apache.org/repos/asf/phoenix/blob/39bfb98f/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
--
diff --git 
a/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala 
b/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
index bbab4e0..68c4221 100644
--- a/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
+++ b/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
@@ -583,5 +583,13 @@ class PhoenixSparkIT extends AbstractPhoenixSparkIT {
 val epoch = new Date().getTime
 assert(Math.abs(epoch - time) < 8640)
   }
+  test("can read all Phoenix data types") {
+val sqlContext = new SQLContext(sc)
+val df = sqlContext.load("org.apache.phoenix.spark", Map("table" -> 
"GIGANTIC_TABLE",
+  "zkUrl" -> quorumAddress))
+df.save("org.apache.phoenix.spark",SaveMode.Overwrite, Map("table" -> 
"OUTPUT_GIGANTIC_TABLE",
+ "zkUrl" -> quorumAddress))
+df.count() shouldEqual 1
+  }
 
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/39bfb98f/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
--
diff --git 
a/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala 
b/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
index 204a7ef..63289a0 100644
--- a/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
+++ b/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
@@ -129,11 +129,10 @@ class PhoenixRDD(sc: SparkContext, table: String, 
columns: Seq[String],
   //

phoenix git commit: PHOENIX-3544 Fix UNSIGNED_DATE and UNSIGNED_TIME type in phoenix-spark

2016-12-26 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/master e906841fb -> b32699505


PHOENIX-3544 Fix UNSIGNED_DATE and UNSIGNED_TIME type in phoenix-spark


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b3269950
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b3269950
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b3269950

Branch: refs/heads/master
Commit: b32699505d18b5b93b4072e0b146df6b8ddaa7fb
Parents: e906841
Author: Ankit Singhal 
Authored: Mon Dec 26 16:54:13 2016 +0530
Committer: Ankit Singhal 
Committed: Mon Dec 26 16:54:13 2016 +0530

--
 phoenix-spark/src/it/resources/globalSetup.sql   | 5 -
 .../it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala   | 8 
 .../src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala | 5 ++---
 3 files changed, 14 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b3269950/phoenix-spark/src/it/resources/globalSetup.sql
--
diff --git a/phoenix-spark/src/it/resources/globalSetup.sql 
b/phoenix-spark/src/it/resources/globalSetup.sql
index 72f8620..28eb0f7 100644
--- a/phoenix-spark/src/it/resources/globalSetup.sql
+++ b/phoenix-spark/src/it/resources/globalSetup.sql
@@ -57,4 +57,7 @@ UPSERT INTO "small" VALUES ('key1', 'foo', 1)
 UPSERT INTO "small" VALUES ('key2', 'bar', 2)
 UPSERT INTO "small" VALUES ('key3', 'xyz', 3)
 
-CREATE TABLE MULTITENANT_TEST_TABLE (TENANT_ID VARCHAR NOT NULL, 
ORGANIZATION_ID VARCHAR, GLOBAL_COL1 VARCHAR  CONSTRAINT pk PRIMARY KEY 
(TENANT_ID, ORGANIZATION_ID)) MULTI_TENANT=true
\ No newline at end of file
+CREATE TABLE MULTITENANT_TEST_TABLE (TENANT_ID VARCHAR NOT NULL, 
ORGANIZATION_ID VARCHAR, GLOBAL_COL1 VARCHAR  CONSTRAINT pk PRIMARY KEY 
(TENANT_ID, ORGANIZATION_ID)) MULTI_TENANT=true
+CREATE TABLE IF NOT EXISTS GIGANTIC_TABLE (ID INTEGER PRIMARY KEY,unsig_id 
UNSIGNED_INT,big_id BIGINT,unsig_long_id UNSIGNED_LONG,tiny_id 
TINYINT,unsig_tiny_id UNSIGNED_TINYINT,small_id SMALLINT,unsig_small_id 
UNSIGNED_SMALLINT,float_id FLOAT,unsig_float_id UNSIGNED_FLOAT,double_id 
DOUBLE,unsig_double_id UNSIGNED_DOUBLE,decimal_id DECIMAL,boolean_id 
BOOLEAN,time_id TIME,date_id DATE,timestamp_id TIMESTAMP,unsig_time_id 
UNSIGNED_TIME,unsig_date_id UNSIGNED_DATE,unsig_timestamp_id 
UNSIGNED_TIMESTAMP,varchar_id VARCHAR (30),char_id CHAR (30),binary_id BINARY 
(100),varbinary_id VARBINARY (100))
+ CREATE TABLE IF NOT EXISTS OUTPUT_GIGANTIC_TABLE (ID INTEGER PRIMARY 
KEY,unsig_id UNSIGNED_INT,big_id BIGINT,unsig_long_id UNSIGNED_LONG,tiny_id 
TINYINT,unsig_tiny_id UNSIGNED_TINYINT,small_id SMALLINT,unsig_small_id 
UNSIGNED_SMALLINT,float_id FLOAT,unsig_float_id UNSIGNED_FLOAT,double_id 
DOUBLE,unsig_double_id UNSIGNED_DOUBLE,decimal_id DECIMAL,boolean_id 
BOOLEAN,time_id TIME,date_id DATE,timestamp_id TIMESTAMP,unsig_time_id 
UNSIGNED_TIME,unsig_date_id UNSIGNED_DATE,unsig_timestamp_id 
UNSIGNED_TIMESTAMP,varchar_id VARCHAR (30),char_id CHAR (30),binary_id BINARY 
(100),varbinary_id VARBINARY (100))
+ upsert into GIGANTIC_TABLE 
values(0,2,3,4,-5,6,7,8,9.3,10.4,11.5,12.6,13.7,true,CURRENT_TIME(),CURRENT_DATE(),CURRENT_TIME(),CURRENT_TIME(),CURRENT_DATE(),CURRENT_TIME(),'This
 is random textA','a','a','a')

http://git-wip-us.apache.org/repos/asf/phoenix/blob/b3269950/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
--
diff --git 
a/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala 
b/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
index dbcc4f1..9def354 100644
--- a/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
+++ b/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
@@ -632,5 +632,13 @@ class PhoenixSparkIT extends AbstractPhoenixSparkIT {
 val epoch = new Date().getTime
 assert(Math.abs(epoch - time) < 8640)
   }
+  test("can read all Phoenix data types") {
+val sqlContext = new SQLContext(sc)
+val df = sqlContext.load("org.apache.phoenix.spark", Map("table" -> 
"GIGANTIC_TABLE",
+  "zkUrl" -> quorumAddress))
+df.save("org.apache.phoenix.spark",SaveMode.Overwrite, Map("table" -> 
"OUTPUT_GIGANTIC_TABLE",
+ "zkUrl" -> quorumAddress))
+df.count() shouldEqual 1
+  }
 
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/b3269950/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
--
diff --git 
a/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala 
b/phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
index 204a7ef..63289a0 100644
--- a

Apache-Phoenix | 4.x-HBase-0.98 | Build Successful

2016-12-26 Thread Apache Jenkins Server
4.x-HBase-0.98 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.x-HBase-0.98

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.x-HBase-0.98/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.x-HBase-0.98/lastCompletedBuild/testReport/

Changes
[ankitsinghal59] PHOENIX-2890 Extend IndexTool to allow incremental index rebuilds



Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout


Apache-Phoenix | 4.x-HBase-1.0 | Build Successful

2016-12-26 Thread Apache Jenkins Server
4.x-HBase-1.0 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.x-HBase-1.0

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.x-HBase-1.0/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.x-HBase-1.0/lastCompletedBuild/testReport/

Changes
[ankitsinghal59] PHOENIX-2890 Extend IndexTool to allow incremental index rebuilds



Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout


Build failed in Jenkins: Phoenix | Master #1526

2016-12-26 Thread Apache Jenkins Server
See 

Changes:

[ankitsinghal59] PHOENIX-2890 Extend IndexTool to allow incremental index

--
[...truncated 847 lines...]
Running org.apache.phoenix.end2end.ToNumberFunctionIT
Tests run: 245, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 216.155 sec - 
in org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT
Running org.apache.phoenix.end2end.SequenceBulkAllocationIT
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.66 sec - in 
org.apache.phoenix.end2end.ToNumberFunctionIT
Running org.apache.phoenix.end2end.TruncateFunctionIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.437 sec - in 
org.apache.phoenix.end2end.TruncateFunctionIT
Running org.apache.phoenix.end2end.UpsertSelectIT
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.18 sec - in 
org.apache.phoenix.end2end.SequenceBulkAllocationIT
Running org.apache.phoenix.end2end.UpsertValuesIT
Running org.apache.phoenix.end2end.TopNIT
Tests run: 119, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.131 sec - 
in org.apache.phoenix.end2end.ScanQueryIT
Tests run: 126, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 135.606 sec - 
in org.apache.phoenix.end2end.QueryIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.181 sec - in 
org.apache.phoenix.end2end.TopNIT
Running org.apache.phoenix.end2end.salted.SaltedTableIT
Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.298 sec - 
in org.apache.phoenix.end2end.SequenceIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.122 sec - in 
org.apache.phoenix.end2end.salted.SaltedTableIT
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 219.229 sec - 
in org.apache.phoenix.end2end.QueryDatabaseMetaDataIT
Running org.apache.phoenix.end2end.VariableLengthPKIT
Running org.apache.phoenix.rpc.UpdateCacheWithScnIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.509 sec - in 
org.apache.phoenix.rpc.UpdateCacheWithScnIT
Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.016 sec - 
in org.apache.phoenix.end2end.VariableLengthPKIT
Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 226.72 sec - 
in org.apache.phoenix.end2end.RowValueConstructorIT
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 228.491 sec - 
in org.apache.phoenix.end2end.UpsertValuesIT
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 264.745 sec - 
in org.apache.phoenix.end2end.UpsertSelectIT

Results :

Tests run: 1359, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-failsafe-plugin:2.19.1:integration-test 
(HBaseManagedTimeTests) @ phoenix-core ---

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-failsafe-plugin:2.19.1:integration-test 
(NeedTheirOwnClusterTests) @ phoenix-core ---

---
 T E S T S
---
Running 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
Running org.apache.phoenix.end2end.ConnectionUtilIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.456 sec - in 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
Running org.apache.phoenix.end2end.AutomaticRebuildIT
Running org.apache.phoenix.end2end.CountDistinctCompressionIT
Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
Running org.apache.phoenix.end2end.ContextClassloaderIT
Running org.apache.phoenix.end2end.FlappingLocalIndexIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.295 sec - in 
org.apache.phoenix.end2end.ConnectionUtilIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.775 sec - in 
org.apache.phoenix.end2end.CountDistinctCompressionIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.177 sec - in 
org.apache.phoenix.end2end.ContextClassloaderIT
Running org.apache.phoenix.end2end.IndexExtendedIT
Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.504 sec - in 
org.apache.phoenix.end2end.IndexToolForPartialBuildIT
Running org.apache.phoenix.end2end.QueryTimeoutIT
Running org.apache.phoenix.end2end.QueryWithLimitIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.214 sec - in 
org.apache.phoenix.end2end.QueryWithLimitIT
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.703 sec - 
in org.apache.phoenix.end2end.CsvBulkLoadToolIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 108.14 sec - in 
org.apache.phoenix.end2end.FlappingLocalIndexIT
Tests run: 2, Fa