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

2017-09-14 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4189 Introduce a class that wraps the Map of primary key data

--
[...truncated 107.12 KB...]
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.904 s 
- in 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.509 s 
- in org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Running org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.726 s 
- in org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.935 s 
- in org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.613 s 
- in org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Running org.apache.phoenix.end2end.DropSchemaIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.288 s 
- in org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.341 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.859 
s - in org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.414 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.188 s 
- in org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Running org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.343 
s - in org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.82 s - 
in org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.918 s 
- in org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Running org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 131.38 
s - in org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Running org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Running org.apache.phoenix.end2end.StatsCollectorIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.076 s 
- in org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Running org.apache.phoenix.end2end.SystemTablePermissionsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.376 s 
- in org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Running 
org.apache.phoenix.end2end.SysTableNamespaceMappedStatsCollectorIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.855 
s - in org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.TableSnapshotReadsMapReduceIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.416 s 
- in org.apache.phoenix.end2end.TableSnapshotReadsMapReduceIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.754 s 
- in org.apache.phoenix.end2end.SystemTablePermissionsIT
[INFO] Running org.apache.phoenix.end2end.UpdateCacheAcrossDifferentClientsIT
[INFO] Running org.apache.phoenix.end2end.UserDefinedFunctionsIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.423 s 
- in org.apache.phoenix.end2end.UpdateCacheAcrossDifferentClientsIT
[INFO] Running org.apache.phoenix.end2end.index.ImmutableIndexIT
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.686 
s - in org.apache.phoenix.end2end.UserDefinedFunctionsIT
[INFO] Running org.apache.phoenix.end2end.index.MutableIndexFailureIT
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 

Build failed in Jenkins: Phoenix | Master #1799

2017-09-14 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4189 Introduce a class that wraps the Map of primary key data

--
[...truncated 106.97 KB...]
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.129 s 
- in 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.034 s 
- in org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.522 s 
- in org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.532 s 
- in org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.981 s 
- in org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.796 s 
- in org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.384 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.505 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Running org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.142 s 
- in org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.942 
s - in org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.08 s 
- in org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Running org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.529 s 
- in org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.411 
s - in org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Running org.apache.phoenix.end2end.SystemTablePermissionsIT
[INFO] Running org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Running org.apache.phoenix.end2end.StatsCollectorIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.264 s 
- in org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.392 s 
- in org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Running 
org.apache.phoenix.end2end.SysTableNamespaceMappedStatsCollectorIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 139.087 
s - in org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.96 s 
- in org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.TableSnapshotReadsMapReduceIT
[INFO] Running org.apache.phoenix.end2end.UpdateCacheAcrossDifferentClientsIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.601 s 
- in org.apache.phoenix.end2end.TableSnapshotReadsMapReduceIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.166 s 
- in org.apache.phoenix.end2end.SystemTablePermissionsIT
[INFO] Running org.apache.phoenix.end2end.UserDefinedFunctionsIT
[INFO] Running org.apache.phoenix.end2end.index.ImmutableIndexIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.51 s 
- in org.apache.phoenix.end2end.UpdateCacheAcrossDifferentClientsIT
[INFO] Running org.apache.phoenix.end2end.index.MutableIndexFailureIT
[INFO] Running org.apache.phoenix.end2end.index.LocalIndexIT
[INFO] 

[2/4] phoenix git commit: PHOENIX-4189 Introduce a class that wraps the Map of primary key data

2017-09-14 Thread elserj
PHOENIX-4189 Introduce a class that wraps the Map of primary key data


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

Branch: refs/heads/4.x-HBase-1.2
Commit: 9b0c0af11a04ab91dde68e3f961c9a543c1b0fd5
Parents: 5ccf8ef
Author: Josh Elser 
Authored: Sat Sep 9 00:00:57 2017 -0400
Committer: Josh Elser 
Committed: Thu Sep 14 18:30:40 2017 -0400

--
 .../org/apache/phoenix/hive/PhoenixRowKey.java  | 17 ++--
 .../org/apache/phoenix/hive/PrimaryKeyData.java | 88 
 .../hive/util/PhoenixStorageHandlerUtil.java|  9 +-
 .../apache/phoenix/hive/PrimaryKeyDataTest.java | 79 ++
 4 files changed, 175 insertions(+), 18 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/9b0c0af1/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
--
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
index c4cbb2c..a963fba 100644
--- a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
@@ -17,15 +17,12 @@
  */
 package org.apache.phoenix.hive;
 
-import com.google.common.collect.Maps;
 import org.apache.hadoop.hive.ql.io.RecordIdentifier;
 
 import java.io.DataInput;
 import java.io.DataOutput;
 import java.io.IOException;
 import java.io.InputStream;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
 import java.io.OutputStream;
 import java.util.Map;
 
@@ -35,33 +32,29 @@ import java.util.Map;
 
 public class PhoenixRowKey extends RecordIdentifier {
 
-private Map rowKeyMap = Maps.newHashMap();
+private PrimaryKeyData rowKeyMap = PrimaryKeyData.EMPTY;
 
 public PhoenixRowKey() {
 
 }
 
 public void setRowKeyMap(Map rowKeyMap) {
-this.rowKeyMap = rowKeyMap;
+this.rowKeyMap = new PrimaryKeyData(rowKeyMap);
 }
 
 @Override
 public void write(DataOutput dataOutput) throws IOException {
 super.write(dataOutput);
 
-try (ObjectOutputStream oos = new ObjectOutputStream((OutputStream) 
dataOutput)) {
-oos.writeObject(rowKeyMap);
-oos.flush();
-}
+rowKeyMap.serialize((OutputStream) dataOutput);
 }
 
-@SuppressWarnings("unchecked")
 @Override
 public void readFields(DataInput dataInput) throws IOException {
 super.readFields(dataInput);
 
-try (ObjectInputStream ois = new ObjectInputStream((InputStream) 
dataInput)) {
-rowKeyMap = (Map) ois.readObject();
+try {
+rowKeyMap = PrimaryKeyData.deserialize((InputStream) dataInput);
 } catch (ClassNotFoundException e) {
 throw new RuntimeException(e);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/9b0c0af1/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
--
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
new file mode 100644
index 000..b5e9dd9
--- /dev/null
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
@@ -0,0 +1,88 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.hive;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InvalidClassException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.io.ObjectStreamClass;
+import java.io.OutputStream;
+import java.io.Serializable;
+import java.util.Collections;
+import java.util.HashMap;
+import 

[4/4] phoenix git commit: PHOENIX-4189 Introduce a class that wraps the Map of primary key data

2017-09-14 Thread elserj
PHOENIX-4189 Introduce a class that wraps the Map of primary key data


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 580b035f09fd492325719ca8b2647e99c41010d6
Parents: 62034b0
Author: Josh Elser 
Authored: Sat Sep 9 00:00:57 2017 -0400
Committer: Josh Elser 
Committed: Thu Sep 14 18:40:46 2017 -0400

--
 .../org/apache/phoenix/hive/PhoenixRowKey.java  | 17 ++--
 .../org/apache/phoenix/hive/PrimaryKeyData.java | 88 
 .../hive/util/PhoenixStorageHandlerUtil.java|  9 +-
 .../apache/phoenix/hive/PrimaryKeyDataTest.java | 79 ++
 4 files changed, 175 insertions(+), 18 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/580b035f/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
--
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
index c4cbb2c..a963fba 100644
--- a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
@@ -17,15 +17,12 @@
  */
 package org.apache.phoenix.hive;
 
-import com.google.common.collect.Maps;
 import org.apache.hadoop.hive.ql.io.RecordIdentifier;
 
 import java.io.DataInput;
 import java.io.DataOutput;
 import java.io.IOException;
 import java.io.InputStream;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
 import java.io.OutputStream;
 import java.util.Map;
 
@@ -35,33 +32,29 @@ import java.util.Map;
 
 public class PhoenixRowKey extends RecordIdentifier {
 
-private Map rowKeyMap = Maps.newHashMap();
+private PrimaryKeyData rowKeyMap = PrimaryKeyData.EMPTY;
 
 public PhoenixRowKey() {
 
 }
 
 public void setRowKeyMap(Map rowKeyMap) {
-this.rowKeyMap = rowKeyMap;
+this.rowKeyMap = new PrimaryKeyData(rowKeyMap);
 }
 
 @Override
 public void write(DataOutput dataOutput) throws IOException {
 super.write(dataOutput);
 
-try (ObjectOutputStream oos = new ObjectOutputStream((OutputStream) 
dataOutput)) {
-oos.writeObject(rowKeyMap);
-oos.flush();
-}
+rowKeyMap.serialize((OutputStream) dataOutput);
 }
 
-@SuppressWarnings("unchecked")
 @Override
 public void readFields(DataInput dataInput) throws IOException {
 super.readFields(dataInput);
 
-try (ObjectInputStream ois = new ObjectInputStream((InputStream) 
dataInput)) {
-rowKeyMap = (Map) ois.readObject();
+try {
+rowKeyMap = PrimaryKeyData.deserialize((InputStream) dataInput);
 } catch (ClassNotFoundException e) {
 throw new RuntimeException(e);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/580b035f/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
--
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
new file mode 100644
index 000..b5e9dd9
--- /dev/null
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
@@ -0,0 +1,88 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.hive;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InvalidClassException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.io.ObjectStreamClass;
+import java.io.OutputStream;
+import java.io.Serializable;
+import java.util.Collections;
+import java.util.HashMap;
+import 

[1/4] phoenix git commit: PHOENIX-4189 Introduce a class that wraps the Map of primary key data

2017-09-14 Thread elserj
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 62034b0c9 -> 580b035f0
  refs/heads/4.x-HBase-1.1 a56114757 -> 7988111db
  refs/heads/4.x-HBase-1.2 5ccf8ef3e -> 9b0c0af11
  refs/heads/master 0311e4f56 -> 052490e09


PHOENIX-4189 Introduce a class that wraps the Map of primary key data


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

Branch: refs/heads/master
Commit: 052490e09f2271eaa84dc9ab123a62a87123a498
Parents: 0311e4f
Author: Josh Elser 
Authored: Sat Sep 9 00:00:57 2017 -0400
Committer: Josh Elser 
Committed: Thu Sep 14 18:24:02 2017 -0400

--
 .../org/apache/phoenix/hive/PhoenixRowKey.java  | 17 ++--
 .../org/apache/phoenix/hive/PrimaryKeyData.java | 88 
 .../hive/util/PhoenixStorageHandlerUtil.java|  9 +-
 .../apache/phoenix/hive/PrimaryKeyDataTest.java | 79 ++
 4 files changed, 175 insertions(+), 18 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/052490e0/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
--
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
index c4cbb2c..a963fba 100644
--- a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
@@ -17,15 +17,12 @@
  */
 package org.apache.phoenix.hive;
 
-import com.google.common.collect.Maps;
 import org.apache.hadoop.hive.ql.io.RecordIdentifier;
 
 import java.io.DataInput;
 import java.io.DataOutput;
 import java.io.IOException;
 import java.io.InputStream;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
 import java.io.OutputStream;
 import java.util.Map;
 
@@ -35,33 +32,29 @@ import java.util.Map;
 
 public class PhoenixRowKey extends RecordIdentifier {
 
-private Map rowKeyMap = Maps.newHashMap();
+private PrimaryKeyData rowKeyMap = PrimaryKeyData.EMPTY;
 
 public PhoenixRowKey() {
 
 }
 
 public void setRowKeyMap(Map rowKeyMap) {
-this.rowKeyMap = rowKeyMap;
+this.rowKeyMap = new PrimaryKeyData(rowKeyMap);
 }
 
 @Override
 public void write(DataOutput dataOutput) throws IOException {
 super.write(dataOutput);
 
-try (ObjectOutputStream oos = new ObjectOutputStream((OutputStream) 
dataOutput)) {
-oos.writeObject(rowKeyMap);
-oos.flush();
-}
+rowKeyMap.serialize((OutputStream) dataOutput);
 }
 
-@SuppressWarnings("unchecked")
 @Override
 public void readFields(DataInput dataInput) throws IOException {
 super.readFields(dataInput);
 
-try (ObjectInputStream ois = new ObjectInputStream((InputStream) 
dataInput)) {
-rowKeyMap = (Map) ois.readObject();
+try {
+rowKeyMap = PrimaryKeyData.deserialize((InputStream) dataInput);
 } catch (ClassNotFoundException e) {
 throw new RuntimeException(e);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/052490e0/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
--
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
new file mode 100644
index 000..b5e9dd9
--- /dev/null
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
@@ -0,0 +1,88 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.hive;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InvalidClassException;
+import 

[3/4] phoenix git commit: PHOENIX-4189 Introduce a class that wraps the Map of primary key data

2017-09-14 Thread elserj
PHOENIX-4189 Introduce a class that wraps the Map of primary key data


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

Branch: refs/heads/4.x-HBase-1.1
Commit: 7988111db682dee07d870a2226fd88ab6f92930d
Parents: a561147
Author: Josh Elser 
Authored: Sat Sep 9 00:00:57 2017 -0400
Committer: Josh Elser 
Committed: Thu Sep 14 18:35:52 2017 -0400

--
 .../org/apache/phoenix/hive/PhoenixRowKey.java  | 17 ++--
 .../org/apache/phoenix/hive/PrimaryKeyData.java | 88 
 .../hive/util/PhoenixStorageHandlerUtil.java|  9 +-
 .../apache/phoenix/hive/PrimaryKeyDataTest.java | 79 ++
 4 files changed, 175 insertions(+), 18 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/7988111d/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
--
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
index c4cbb2c..a963fba 100644
--- a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PhoenixRowKey.java
@@ -17,15 +17,12 @@
  */
 package org.apache.phoenix.hive;
 
-import com.google.common.collect.Maps;
 import org.apache.hadoop.hive.ql.io.RecordIdentifier;
 
 import java.io.DataInput;
 import java.io.DataOutput;
 import java.io.IOException;
 import java.io.InputStream;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
 import java.io.OutputStream;
 import java.util.Map;
 
@@ -35,33 +32,29 @@ import java.util.Map;
 
 public class PhoenixRowKey extends RecordIdentifier {
 
-private Map rowKeyMap = Maps.newHashMap();
+private PrimaryKeyData rowKeyMap = PrimaryKeyData.EMPTY;
 
 public PhoenixRowKey() {
 
 }
 
 public void setRowKeyMap(Map rowKeyMap) {
-this.rowKeyMap = rowKeyMap;
+this.rowKeyMap = new PrimaryKeyData(rowKeyMap);
 }
 
 @Override
 public void write(DataOutput dataOutput) throws IOException {
 super.write(dataOutput);
 
-try (ObjectOutputStream oos = new ObjectOutputStream((OutputStream) 
dataOutput)) {
-oos.writeObject(rowKeyMap);
-oos.flush();
-}
+rowKeyMap.serialize((OutputStream) dataOutput);
 }
 
-@SuppressWarnings("unchecked")
 @Override
 public void readFields(DataInput dataInput) throws IOException {
 super.readFields(dataInput);
 
-try (ObjectInputStream ois = new ObjectInputStream((InputStream) 
dataInput)) {
-rowKeyMap = (Map) ois.readObject();
+try {
+rowKeyMap = PrimaryKeyData.deserialize((InputStream) dataInput);
 } catch (ClassNotFoundException e) {
 throw new RuntimeException(e);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/7988111d/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
--
diff --git 
a/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java 
b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
new file mode 100644
index 000..b5e9dd9
--- /dev/null
+++ b/phoenix-hive/src/main/java/org/apache/phoenix/hive/PrimaryKeyData.java
@@ -0,0 +1,88 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.hive;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InvalidClassException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.io.ObjectStreamClass;
+import java.io.OutputStream;
+import java.io.Serializable;
+import java.util.Collections;
+import java.util.HashMap;
+import 

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

2017-09-14 Thread Apache Jenkins Server
4.x-HBase-1.2 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.2

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

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

Changes
[elserj] PHOENIX-4207 Improve zombie-test detection in test-patch.sh



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 #1798

2017-09-14 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4207 Improve zombie-test detection in test-patch.sh

--
[...truncated 116.16 KB...]
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 238.563 
s - in org.apache.phoenix.tx.TxCheckpointIT
[INFO] Tests run: 320, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1,933.182 s - in org.apache.phoenix.end2end.index.IndexIT
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   ConcurrentMutationsIT.testConcurrentDeletesAndUpsertValues:214 
Expected to find PK in data table: (1,0)
[ERROR]   ConcurrentMutationsIT.testConcurrentUpserts:262 Ran out of time
[ERROR]   Ran out of time
[ERROR] Errors: 
[ERROR]   
AlterTableIT.testSetHColumnPropertyAndAddColumnForNewCFForTableWithOnlyPKCols:1932
 ยป PhoenixIO
[INFO] 
[ERROR] Tests run: 3085, Failures: 3, Errors: 1, Skipped: 14
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test (ClientManagedTimeTests) 
@ phoenix-core ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.phoenix.end2end.SequenceIT
[INFO] Running org.apache.phoenix.end2end.ExtendedQueryExecIT
[INFO] Running org.apache.phoenix.end2end.DistinctCountIT
[INFO] Running org.apache.phoenix.end2end.UpsertValuesIT
[INFO] Running org.apache.phoenix.end2end.DerivedTableIT
[INFO] Running org.apache.phoenix.end2end.VariableLengthPKIT
[INFO] Running org.apache.phoenix.end2end.FunkyNamesIT
[INFO] Running org.apache.phoenix.end2end.SequenceBulkAllocationIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.517 s 
- in org.apache.phoenix.end2end.FunkyNamesIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.185 s 
- in org.apache.phoenix.end2end.ExtendedQueryExecIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.268 
s - in org.apache.phoenix.end2end.DistinctCountIT
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.311 
s - in org.apache.phoenix.end2end.DerivedTableIT
[INFO] Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.371 
s - in org.apache.phoenix.end2end.SequenceBulkAllocationIT
[INFO] Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.278 
s - in org.apache.phoenix.end2end.SequenceIT
[INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.803 
s - in org.apache.phoenix.end2end.VariableLengthPKIT
[INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 151.237 
s - in org.apache.phoenix.end2end.UpsertValuesIT
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 221, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test (HBaseManagedTimeTests) 
@ phoenix-core ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test 
(NeedTheirOwnClusterTests) @ phoenix-core ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.247 s 
- in 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Running org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Running org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.19 s - 
in org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.927 s 
- in org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.437 s 
- in org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.154 s 
- in org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.DropSchemaIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.777 s 
- in org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running 

[3/4] phoenix git commit: PHOENIX-4207 Improve zombie-test detection in test-patch.sh

2017-09-14 Thread elserj
PHOENIX-4207 Improve zombie-test detection in test-patch.sh


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

Branch: refs/heads/4.x-HBase-1.1
Commit: a561147571052c6ebdca38031f643c5a9a570398
Parents: fcb2dde
Author: Josh Elser 
Authored: Wed Sep 13 17:49:06 2017 -0400
Committer: Josh Elser 
Committed: Thu Sep 14 15:04:19 2017 -0400

--
 dev/test-patch.sh | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/a5611475/dev/test-patch.sh
--
diff --git a/dev/test-patch.sh b/dev/test-patch.sh
index b2c0fa1..a1161fb 100755
--- a/dev/test-patch.sh
+++ b/dev/test-patch.sh
@@ -899,23 +899,23 @@ runTests () {
 {color:green}+1 core tests{color}.  The patch passed unit tests in 
$modules."
 BAD=0
   fi
-  ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
+  ZOMBIE_TESTS_COUNT=`jps -m | grep surefirebooter | grep "phoenix-.*/target" 
| wc -l`
   if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
 #It seems sometimes the tests are not dying immediately. Let's give them 
30s
 echo "Suspicious java process found - waiting 30s to see if there are just 
slow to stop"
 sleep 30
-ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
+ZOMBIE_TESTS_COUNT=`jps -m | grep surefirebooter | grep 
"phoenix-.*/target" | wc -l`
 if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
   echo "There are $ZOMBIE_TESTS_COUNT zombie tests, they should have been 
killed by surefire but survived"
   echo " BEGIN zombies jstack extract"
-  ZB_STACK=`jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 
jstack | grep ".test" | grep "\.java"`
-  jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 jstack
+  ZB_STACK=`jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut 
-d ' ' -f 1 | xargs -n 1 jstack | grep ".test" | grep "\.java"`
+  jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut -d ' ' -f 
1 | xargs -n 1 jstack
   echo " END  zombies jstack extract"
   JIRA_COMMENT="$JIRA_COMMENT
 
  {color:red}-1 core zombie tests{color}.  There are ${ZOMBIE_TESTS_COUNT} 
zombie test(s): ${ZB_STACK}"
   BAD=1
-  jps | grep surefirebooter | cut -d ' ' -f 1 | xargs kill -9
+  jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut -d ' ' -f 
1 | xargs kill -9
 else
   echo "We're ok: there is no zombie test, but some tests took some time 
to stop"
 fi



[1/4] phoenix git commit: PHOENIX-4207 Improve zombie-test detection in test-patch.sh

2017-09-14 Thread elserj
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 f5d3987ae -> 62034b0c9
  refs/heads/4.x-HBase-1.1 fcb2dde54 -> a56114757
  refs/heads/4.x-HBase-1.2 a7f36076d -> 5ccf8ef3e
  refs/heads/master 8ee8f092a -> 0311e4f56


PHOENIX-4207 Improve zombie-test detection in test-patch.sh


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

Branch: refs/heads/master
Commit: 0311e4f56fa10a6ea3eb3e0dce8a9d6fa70a48f8
Parents: 8ee8f09
Author: Josh Elser 
Authored: Wed Sep 13 17:49:06 2017 -0400
Committer: Josh Elser 
Committed: Thu Sep 14 15:03:29 2017 -0400

--
 dev/test-patch.sh | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/0311e4f5/dev/test-patch.sh
--
diff --git a/dev/test-patch.sh b/dev/test-patch.sh
index b2c0fa1..a1161fb 100755
--- a/dev/test-patch.sh
+++ b/dev/test-patch.sh
@@ -899,23 +899,23 @@ runTests () {
 {color:green}+1 core tests{color}.  The patch passed unit tests in 
$modules."
 BAD=0
   fi
-  ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
+  ZOMBIE_TESTS_COUNT=`jps -m | grep surefirebooter | grep "phoenix-.*/target" 
| wc -l`
   if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
 #It seems sometimes the tests are not dying immediately. Let's give them 
30s
 echo "Suspicious java process found - waiting 30s to see if there are just 
slow to stop"
 sleep 30
-ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
+ZOMBIE_TESTS_COUNT=`jps -m | grep surefirebooter | grep 
"phoenix-.*/target" | wc -l`
 if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
   echo "There are $ZOMBIE_TESTS_COUNT zombie tests, they should have been 
killed by surefire but survived"
   echo " BEGIN zombies jstack extract"
-  ZB_STACK=`jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 
jstack | grep ".test" | grep "\.java"`
-  jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 jstack
+  ZB_STACK=`jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut 
-d ' ' -f 1 | xargs -n 1 jstack | grep ".test" | grep "\.java"`
+  jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut -d ' ' -f 
1 | xargs -n 1 jstack
   echo " END  zombies jstack extract"
   JIRA_COMMENT="$JIRA_COMMENT
 
  {color:red}-1 core zombie tests{color}.  There are ${ZOMBIE_TESTS_COUNT} 
zombie test(s): ${ZB_STACK}"
   BAD=1
-  jps | grep surefirebooter | cut -d ' ' -f 1 | xargs kill -9
+  jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut -d ' ' -f 
1 | xargs kill -9
 else
   echo "We're ok: there is no zombie test, but some tests took some time 
to stop"
 fi



[4/4] phoenix git commit: PHOENIX-4207 Improve zombie-test detection in test-patch.sh

2017-09-14 Thread elserj
PHOENIX-4207 Improve zombie-test detection in test-patch.sh


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 62034b0c90bca5bea19b5b86e6221f124427f0f0
Parents: f5d3987
Author: Josh Elser 
Authored: Wed Sep 13 17:49:06 2017 -0400
Committer: Josh Elser 
Committed: Thu Sep 14 15:04:32 2017 -0400

--
 dev/test-patch.sh | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/62034b0c/dev/test-patch.sh
--
diff --git a/dev/test-patch.sh b/dev/test-patch.sh
index cd83464..f2268e6 100755
--- a/dev/test-patch.sh
+++ b/dev/test-patch.sh
@@ -899,23 +899,23 @@ runTests () {
 {color:green}+1 core tests{color}.  The patch passed unit tests in 
$modules."
 BAD=0
   fi
-  ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
+  ZOMBIE_TESTS_COUNT=`jps -m | grep surefirebooter | grep "phoenix-.*/target" 
| wc -l`
   if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
 #It seems sometimes the tests are not dying immediately. Let's give them 
30s
 echo "Suspicious java process found - waiting 30s to see if there are just 
slow to stop"
 sleep 30
-ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
+ZOMBIE_TESTS_COUNT=`jps -m | grep surefirebooter | grep 
"phoenix-.*/target" | wc -l`
 if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
   echo "There are $ZOMBIE_TESTS_COUNT zombie tests, they should have been 
killed by surefire but survived"
   echo " BEGIN zombies jstack extract"
-  ZB_STACK=`jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 
jstack | grep ".test" | grep "\.java"`
-  jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 jstack
+  ZB_STACK=`jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut 
-d ' ' -f 1 | xargs -n 1 jstack | grep ".test" | grep "\.java"`
+  jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut -d ' ' -f 
1 | xargs -n 1 jstack
   echo " END  zombies jstack extract"
   JIRA_COMMENT="$JIRA_COMMENT
 
  {color:red}-1 core zombie tests{color}.  There are ${ZOMBIE_TESTS_COUNT} 
zombie test(s): ${ZB_STACK}"
   BAD=1
-  jps | grep surefirebooter | cut -d ' ' -f 1 | xargs kill -9
+  jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut -d ' ' -f 
1 | xargs kill -9
 else
   echo "We're ok: there is no zombie test, but some tests took some time 
to stop"
 fi



[2/4] phoenix git commit: PHOENIX-4207 Improve zombie-test detection in test-patch.sh

2017-09-14 Thread elserj
PHOENIX-4207 Improve zombie-test detection in test-patch.sh


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

Branch: refs/heads/4.x-HBase-1.2
Commit: 5ccf8ef3e145967aee7bbaa7422ee11f2c25a553
Parents: a7f3607
Author: Josh Elser 
Authored: Wed Sep 13 17:49:06 2017 -0400
Committer: Josh Elser 
Committed: Thu Sep 14 15:04:08 2017 -0400

--
 dev/test-patch.sh | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/5ccf8ef3/dev/test-patch.sh
--
diff --git a/dev/test-patch.sh b/dev/test-patch.sh
index b2c0fa1..a1161fb 100755
--- a/dev/test-patch.sh
+++ b/dev/test-patch.sh
@@ -899,23 +899,23 @@ runTests () {
 {color:green}+1 core tests{color}.  The patch passed unit tests in 
$modules."
 BAD=0
   fi
-  ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
+  ZOMBIE_TESTS_COUNT=`jps -m | grep surefirebooter | grep "phoenix-.*/target" 
| wc -l`
   if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
 #It seems sometimes the tests are not dying immediately. Let's give them 
30s
 echo "Suspicious java process found - waiting 30s to see if there are just 
slow to stop"
 sleep 30
-ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
+ZOMBIE_TESTS_COUNT=`jps -m | grep surefirebooter | grep 
"phoenix-.*/target" | wc -l`
 if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
   echo "There are $ZOMBIE_TESTS_COUNT zombie tests, they should have been 
killed by surefire but survived"
   echo " BEGIN zombies jstack extract"
-  ZB_STACK=`jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 
jstack | grep ".test" | grep "\.java"`
-  jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 jstack
+  ZB_STACK=`jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut 
-d ' ' -f 1 | xargs -n 1 jstack | grep ".test" | grep "\.java"`
+  jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut -d ' ' -f 
1 | xargs -n 1 jstack
   echo " END  zombies jstack extract"
   JIRA_COMMENT="$JIRA_COMMENT
 
  {color:red}-1 core zombie tests{color}.  There are ${ZOMBIE_TESTS_COUNT} 
zombie test(s): ${ZB_STACK}"
   BAD=1
-  jps | grep surefirebooter | cut -d ' ' -f 1 | xargs kill -9
+  jps -m | grep surefirebooter | grep "phoenix-.*/target" | cut -d ' ' -f 
1 | xargs kill -9
 else
   echo "We're ok: there is no zombie test, but some tests took some time 
to stop"
 fi



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

2017-09-14 Thread Apache Jenkins Server
4.x-HBase-1.1 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.1

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

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

Changes
[jtaylor] PHOENIX-4180 Modify tests to generate unique table names and not use

[jtaylor] PHOENIX-4208 Modify tests to not use CurrentSCN

[jtaylor] PHOENIX-4208 Modify tests to not use CurrentSCN



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