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

2018-03-22 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
[elserj] PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)



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-4.x-HBase-1.2 #301

2018-03-22 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

--
[...truncated 541.56 KB...]
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.DropSchemaIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
178.847 s - in org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
183.99 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
189.722 s - in 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
194.058 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.114 s 
- in org.apache.phoenix.end2end.DropSchemaIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 123.956 
s - in org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.IndexToolIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 203.44 
s - in org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 207.345 
s - in org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Running org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Running org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.166 s 
- in org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 593.215 
s - in org.apache.phoenix.end2end.CostBasedDecisionIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 505.527 
s - in org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running org.apache.phoenix.end2end.PartialResultServerConfigurationIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 590.304 
s - in org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 593.738 
s - in org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 382.12 s 
- in org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.94 s 
- in org.apache.phoenix.end2end.PartialResultServerConfigurationIT
[INFO] Running org.apache.phoenix.end2end.PhoenixDriverIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
193.955 s - in 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Running org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Running org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.833 s 
- in org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
190.903 s - in 
org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.143 s 
- in org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.473 s 
- in org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Running org.apache.phoenix.end2end.SystemTablePermissionsIT
[INFO] Running org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.222 s 
- in org.apache.phoenix.end2end.PhoenixDriverIT
[INFO] Running org.apache.phoenix.end2end.TableDDLPermissionsIT
[INFO] Running org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Running org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Running 
org.apache.phoenix.end2end.SysTableNamespaceMappedStatsCollectorIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.866 s 
- in org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Tests run: 3, Failures: 0, Errors: 

Build failed in Jenkins: Phoenix | Master #1968

2018-03-22 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

--
[...truncated 110.59 KB...]
[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinGlobalIndexIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 505.757 
s - in org.apache.phoenix.end2end.index.LocalImmutableTxIndexIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 489.207 
s - in org.apache.phoenix.end2end.index.LocalMutableNonTxIndexIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 516.669 
s - in org.apache.phoenix.end2end.index.LocalMutableTxIndexIT
[INFO] Running org.apache.phoenix.end2end.join.HashJoinNoIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 364.861 
s - in org.apache.phoenix.end2end.join.HashJoinNoIndexIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 378.161 
s - in org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 835.129 
s - in org.apache.phoenix.end2end.index.MutableIndexIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 629.712 
s - in org.apache.phoenix.end2end.join.HashJoinGlobalIndexIT
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 400.519 
s - in org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.041 s 
- in org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Running org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.35 s - 
in org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Running org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Running org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.554 s 
- in org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Running org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.19 s - 
in org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.679 s 
- in org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Running org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.475 s 
- in org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Running org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.872 s 
- in org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Running org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.709 s 
- in org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Running org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.353 s 
- in org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Running org.apache.phoenix.tx.TxCheckpointIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 649.422 
s - in org.apache.phoenix.end2end.join.SortMergeJoinGlobalIndexIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.905 
s - in org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.035 s 
- in org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 844.96 
s - in org.apache.phoenix.end2end.join.HashJoinLocalIndexIT
[INFO] Running org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.42 s 
- in org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 289.333 
s - in org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 837.676 
s - in org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[WARNING] Tests run: 52, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
381.702 s - in 

Build failed in Jenkins: Phoenix-4.x-HBase-1.3 #73

2018-03-22 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

--
[...truncated 171.59 KB...]
at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:2795)
at 
org.apache.tephra.hbase.coprocessor.TransactionProcessor.preDelete(TransactionProcessor.java:242)
at 
org.apache.phoenix.coprocessor.DelegateRegionObserver.preDelete(DelegateRegionObserver.java:422)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$33.call(RegionCoprocessorHost.java:974)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1673)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1749)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1705)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preDelete(RegionCoprocessorHost.java:970)
at 
org.apache.hadoop.hbase.regionserver.HRegion.doPreMutationHook(HRegion.java:3008)
at 
org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2972)
at 
org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2918)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.doBatchOp(RSRpcServices.java:823)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.doNonAtomicRegionMutation(RSRpcServices.java:785)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.multi(RSRpcServices.java:2239)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:34958)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2339)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:123)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.util.TransactionUtil.convertIfDelete(TransactionUtil.java:105)
at 
org.apache.phoenix.index.PhoenixTransactionalIndexer.preBatchMutate(PhoenixTransactionalIndexer.java:194)
... 29 more
: 1 time, servers with issues: asf930.gq1.ygridcore.net,34572,1521776378984, 

[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 365.22 
s - in org.apache.phoenix.end2end.join.HashJoinNoIndexIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 376.869 
s - in org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 845.59 
s - in org.apache.phoenix.end2end.index.MutableIndexIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.741 s 
- in org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.431 s 
- in org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Running org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.355 s 
- in org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Running org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 636.633 
s - in org.apache.phoenix.end2end.join.HashJoinGlobalIndexIT
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 403.1 s 
- in org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Running org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.546 s 
- in org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Running org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.433 s 
- in org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Running org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.913 s 
- in org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Running org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.68 s 
- in 

Jenkins build is back to normal : Phoenix | 4.x-HBase-0.98 #1841

2018-03-22 Thread Apache Jenkins Server
See 




[6/6] phoenix git commit: PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

2018-03-22 Thread elserj
PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)


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

Branch: refs/heads/5.x-HBase-2.0
Commit: 2689b0a4598b2c8ac3ed1addf221208769c4fab2
Parents: 0bcf122
Author: Josh Elser 
Authored: Thu Mar 22 16:03:21 2018 -0400
Committer: Josh Elser 
Committed: Thu Mar 22 22:16:24 2018 -0400

--
 .../java/org/apache/phoenix/iterate/TableResultIterator.java  | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/2689b0a4/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
index c9e7bfb..92903c7 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
@@ -198,9 +198,12 @@ public class TableResultIterator implements ResultIterator 
{
retry--;
try {
Long cacheId = 
((HashJoinCacheNotFoundException) e1).getCacheId();
+
+   ServerCache 
cache = caches == null ? null :
+   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId)));
+
if 
(!hashCacheClient.addHashCacheToServer(newScan.getStartRow(),
-   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId))),
-   
plan.getTableRef().getTable())) {
+   
cache, plan.getTableRef().getTable())) {
throw 
e1;
}

this.scanIterator = ((BaseQueryPlan) plan).iterator(caches, scanGrouper, 
newScan);



[2/6] phoenix git commit: PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

2018-03-22 Thread elserj
PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)


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

Branch: refs/heads/4.x-HBase-1.3
Commit: d1c48b6d7a903f3a7a87222bcf1cf514b062f83c
Parents: 45e75de
Author: Josh Elser 
Authored: Thu Mar 22 16:03:21 2018 -0400
Committer: Josh Elser 
Committed: Thu Mar 22 16:31:19 2018 -0400

--
 .../java/org/apache/phoenix/iterate/TableResultIterator.java  | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/d1c48b6d/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
index e812854..f6902cc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
@@ -198,9 +198,12 @@ public class TableResultIterator implements ResultIterator 
{
retry--;
try {
Long cacheId = 
((HashJoinCacheNotFoundException) e1).getCacheId();
+
+   ServerCache 
cache = caches == null ? null :
+   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId)));
+
if 
(!hashCacheClient.addHashCacheToServer(newScan.getStartRow(),
-   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId))),
-   
plan.getTableRef().getTable())) {
+   
cache, plan.getTableRef().getTable())) {
throw 
e1;
}

this.scanIterator = ((BaseQueryPlan) plan).iterator(caches, scanGrouper, 
newScan);



[3/6] phoenix git commit: PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

2018-03-22 Thread elserj
PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)


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

Branch: refs/heads/4.x-HBase-1.2
Commit: 64b9f6ffc3228fd5b4c9140de1d4a3621c0b472a
Parents: 0fef552
Author: Josh Elser 
Authored: Thu Mar 22 16:03:21 2018 -0400
Committer: Josh Elser 
Committed: Thu Mar 22 21:45:06 2018 -0400

--
 .../java/org/apache/phoenix/iterate/TableResultIterator.java  | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/64b9f6ff/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
index e812854..f6902cc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
@@ -198,9 +198,12 @@ public class TableResultIterator implements ResultIterator 
{
retry--;
try {
Long cacheId = 
((HashJoinCacheNotFoundException) e1).getCacheId();
+
+   ServerCache 
cache = caches == null ? null :
+   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId)));
+
if 
(!hashCacheClient.addHashCacheToServer(newScan.getStartRow(),
-   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId))),
-   
plan.getTableRef().getTable())) {
+   
cache, plan.getTableRef().getTable())) {
throw 
e1;
}

this.scanIterator = ((BaseQueryPlan) plan).iterator(caches, scanGrouper, 
newScan);



[5/6] phoenix git commit: PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

2018-03-22 Thread elserj
PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 70e1be931881222705a47f8738ec423dc41a28fe
Parents: 4216201
Author: Josh Elser 
Authored: Thu Mar 22 16:03:21 2018 -0400
Committer: Josh Elser 
Committed: Thu Mar 22 22:12:38 2018 -0400

--
 .../java/org/apache/phoenix/iterate/TableResultIterator.java  | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/70e1be93/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
index 5a3b77b..9c2df64 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
@@ -199,9 +199,12 @@ public class TableResultIterator implements ResultIterator 
{
retry--;
try {
Long cacheId = 
((HashJoinCacheNotFoundException) e1).getCacheId();
+
+   ServerCache 
cache = caches == null ? null :
+   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId)));
+
if 
(!hashCacheClient.addHashCacheToServer(newScan.getStartRow(),
-   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId))),
-   
plan.getTableRef().getTable())) {
+   
cache, plan.getTableRef().getTable())) {
throw 
e1;
}

this.scanIterator = ((BaseQueryPlan) plan).iterator(caches, scanGrouper, 
newScan);



[1/6] phoenix git commit: PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

2018-03-22 Thread elserj
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 421620138 -> 70e1be931
  refs/heads/4.x-HBase-1.1 c1f7bbe32 -> 94ae688d1
  refs/heads/4.x-HBase-1.2 0fef552f6 -> 64b9f6ffc
  refs/heads/4.x-HBase-1.3 45e75de76 -> d1c48b6d7
  refs/heads/5.x-HBase-2.0 0bcf1227b -> 2689b0a45
  refs/heads/master 383d1a5ac -> e3889e2c1


PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)


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

Branch: refs/heads/master
Commit: e3889e2c1c9f935f1d304b4592e751b10035acc9
Parents: 383d1a5
Author: Josh Elser 
Authored: Thu Mar 22 16:03:21 2018 -0400
Committer: Josh Elser 
Committed: Thu Mar 22 16:04:25 2018 -0400

--
 .../java/org/apache/phoenix/iterate/TableResultIterator.java  | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/e3889e2c/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
index e812854..f6902cc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
@@ -198,9 +198,12 @@ public class TableResultIterator implements ResultIterator 
{
retry--;
try {
Long cacheId = 
((HashJoinCacheNotFoundException) e1).getCacheId();
+
+   ServerCache 
cache = caches == null ? null :
+   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId)));
+
if 
(!hashCacheClient.addHashCacheToServer(newScan.getStartRow(),
-   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId))),
-   
plan.getTableRef().getTable())) {
+   
cache, plan.getTableRef().getTable())) {
throw 
e1;
}

this.scanIterator = ((BaseQueryPlan) plan).iterator(caches, scanGrouper, 
newScan);



[4/6] phoenix git commit: PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)

2018-03-22 Thread elserj
PHOENIX-4662 Avoid NPE when server-caches are null (Csaba Skrabak)


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

Branch: refs/heads/4.x-HBase-1.1
Commit: 94ae688d138d086843a8dca0408b8861feaf5e70
Parents: c1f7bbe
Author: Josh Elser 
Authored: Thu Mar 22 16:03:21 2018 -0400
Committer: Josh Elser 
Committed: Thu Mar 22 21:57:54 2018 -0400

--
 .../java/org/apache/phoenix/iterate/TableResultIterator.java  | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/94ae688d/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
index e812854..f6902cc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
@@ -198,9 +198,12 @@ public class TableResultIterator implements ResultIterator 
{
retry--;
try {
Long cacheId = 
((HashJoinCacheNotFoundException) e1).getCacheId();
+
+   ServerCache 
cache = caches == null ? null :
+   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId)));
+
if 
(!hashCacheClient.addHashCacheToServer(newScan.getStartRow(),
-   
caches.get(new ImmutableBytesPtr(Bytes.toBytes(cacheId))),
-   
plan.getTableRef().getTable())) {
+   
cache, plan.getTableRef().getTable())) {
throw 
e1;
}

this.scanIterator = ((BaseQueryPlan) plan).iterator(caches, scanGrouper, 
newScan);



phoenix git commit: PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with TableNotFoundException if we have local indexes but no multi-tenant tables.(Rajeshbabu)

2018-03-22 Thread pboado
Repository: phoenix
Updated Branches:
  refs/heads/4.x-cdh5.11.2 6caf7e960 -> 13c1309c2


PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with 
TableNotFoundException if we have local indexes but no multi-tenant 
tables.(Rajeshbabu)


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

Branch: refs/heads/4.x-cdh5.11.2
Commit: 13c1309c25ca3c334e91bf64de153fafc563d4ae
Parents: 6caf7e9
Author: Rajeshbabu Chintaguntla 
Authored: Thu Mar 22 10:59:33 2018 +
Committer: Pedro Boado 
Committed: Thu Mar 22 21:45:52 2018 +

--
 .../src/main/java/org/apache/phoenix/util/UpgradeUtil.java | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/13c1309c/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java 
b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
index f09590d..741bdff 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
@@ -603,8 +603,10 @@ public class UpgradeUtil {
 String indexPhysicalTableName = 
MetaDataUtil.getViewIndexTableName(viewPTable.getPhysicalName().getString());
 if (physicalTables.add(indexPhysicalTableName)) {
 final TableName tableName = 
TableName.valueOf(indexPhysicalTableName);
-admin.disableTable(tableName);
-admin.truncateTable(tableName, false);
+if(admin.tableExists(tableName)) {
+admin.disableTable(tableName);
+admin.truncateTable(tableName, false);
+}
 }
 }
 }



[1/9] phoenix git commit: PHOENIX-4576 Correct local index wrongly using child region scanners

2018-03-22 Thread pboado
Repository: phoenix
Updated Branches:
  refs/heads/4.x-cdh5.11.2 cc23187fb -> 6caf7e960


PHOENIX-4576 Correct local index wrongly using child region scanners

Was causing failures in LocalIndexSplitMergeIT.

Signed-off-by: Josh Elser 


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

Branch: refs/heads/4.x-cdh5.11.2
Commit: 4debdd1d9a0c86fccce919537b2c83e23f4c6550
Parents: cc23187
Author: Rajeshbabu Chintaguntla 
Authored: Mon Mar 19 16:32:08 2018 +
Committer: Pedro Boado 
Committed: Wed Mar 21 20:17:30 2018 +

--
 .../regionserver/IndexHalfStoreFileReaderGenerator.java | 10 ++
 .../phoenix/coprocessor/BaseScannerRegionObserver.java  |  2 +-
 .../src/main/java/org/apache/phoenix/util/ScanUtil.java | 12 +---
 3 files changed, 16 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/4debdd1d/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReaderGenerator.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReaderGenerator.java
 
b/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReaderGenerator.java
index 140b0ba..12fa47a 100644
--- 
a/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReaderGenerator.java
+++ 
b/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReaderGenerator.java
@@ -361,6 +361,16 @@ public class IndexHalfStoreFileReaderGenerator extends 
BaseRegionObserver {
 ());
 final List keyValueScanners = new ArrayList<>(store
 .getStorefiles().size() + 1);
+byte[] startKey = c.getEnvironment().getRegionInfo().getStartKey();
+byte[] endKey = c.getEnvironment().getRegionInfo().getEndKey();
+// If the region start key is not the prefix of the scan start row 
then we can return empty
+// scanners. This is possible during merge where one of the child 
region scan should not return any
+// results as we go through merged region.
+if (Bytes.compareTo(scan.getStartRow(), 0, startKey.length == 0 ? 
endKey.length
+: startKey.length, startKey.length == 0 ? new 
byte[endKey.length] : startKey, 0,
+startKey.length == 0 ? endKey.length : startKey.length) != 0) {
+return keyValueScanners;
+}
 for (StoreFile storeFile : storeFiles) {
 if (storeFile.isReference()) {
 referenceStoreFiles.add(storeFile);

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4debdd1d/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/BaseScannerRegionObserver.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/BaseScannerRegionObserver.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/BaseScannerRegionObserver.java
index 9f55ca5..7ef64b0 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/BaseScannerRegionObserver.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/BaseScannerRegionObserver.java
@@ -179,7 +179,7 @@ abstract public class BaseScannerRegionObserver extends 
BaseRegionObserver {
 throw new DoNotRetryIOException(cause.getMessage(), cause);
 }
 if(isLocalIndex) {
-ScanUtil.setupLocalIndexScan(scan, lowerInclusiveRegionKey, 
upperExclusiveRegionKey);
+ScanUtil.setupLocalIndexScan(scan);
 }
 }
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4debdd1d/phoenix-core/src/main/java/org/apache/phoenix/util/ScanUtil.java
--
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/ScanUtil.java 
b/phoenix-core/src/main/java/org/apache/phoenix/util/ScanUtil.java
index a844226..9c710c1 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/ScanUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/ScanUtil.java
@@ -652,15 +652,13 @@ public class ScanUtil {
 }
 
 /**
- * prefix region start key to the start row/stop row suffix and set as 
scan boundaries.
+ * Start key and stop key of the original scan from client are regions 
start and end keys so
+ * prefix scan start/stop key to the start row/stop row suffix and set 
them as scan boundaries.
  * @param scan
- * @param lowerInclusiveRegionKey
- * @param 

[7/9] phoenix git commit: PHOENIX-4636 Add the python PQS driver

2018-03-22 Thread pboado
PHOENIX-4636 Add the python PQS driver


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

Branch: refs/heads/4.x-cdh5.11.2
Commit: 43b437a52a09d798601521a221f30baddb54ffc3
Parents: 71b528b
Author: Josh Elser 
Authored: Mon Mar 19 21:36:02 2018 +
Committer: Pedro Boado 
Committed: Wed Mar 21 21:51:01 2018 +

--
 dev/make_rc.sh  |5 +
 pom.xml |6 +
 python/.gitignore   |8 +
 python/.gitlab-ci.yml   |  149 ++
 python/NEWS.rst |   44 +
 python/README.rst   |  136 ++
 python/RELEASING.rst|   12 +
 python/ci/build-env/Dockerfile  |7 +
 python/ci/phoenix/Dockerfile|   33 +
 python/ci/phoenix/docker-entrypoint.sh  |   24 +
 python/ci/phoenix/hbase-site.xml|   12 +
 python/doc/Makefile |  192 ++
 python/doc/api.rst  |   30 +
 python/doc/conf.py  |  287 +++
 python/doc/index.rst|   27 +
 python/doc/versions.rst |3 +
 python/docker-compose.yml   |   21 +
 python/examples/basic.py|   27 +
 python/examples/shell.py|   33 +
 python/gen-protobuf.sh  |   38 +
 python/phoenixdb/__init__.py|   68 +
 python/phoenixdb/avatica/__init__.py|   16 +
 python/phoenixdb/avatica/client.py  |  510 ++
 python/phoenixdb/avatica/proto/__init__.py  |0
 python/phoenixdb/avatica/proto/common_pb2.py| 1667 ++
 python/phoenixdb/avatica/proto/requests_pb2.py  | 1206 +
 python/phoenixdb/avatica/proto/responses_pb2.py |  917 ++
 python/phoenixdb/connection.py  |  187 ++
 python/phoenixdb/cursor.py  |  347 
 python/phoenixdb/errors.py  |   93 +
 python/phoenixdb/tests/__init__.py  |   44 +
 python/phoenixdb/tests/dbapi20.py   |  857 +
 python/phoenixdb/tests/test_avatica.py  |   25 +
 python/phoenixdb/tests/test_connection.py   |   42 +
 python/phoenixdb/tests/test_db.py   |   99 ++
 python/phoenixdb/tests/test_dbapi20.py  |  122 ++
 python/phoenixdb/tests/test_errors.py   |   60 +
 python/phoenixdb/tests/test_types.py|  327 
 python/phoenixdb/types.py   |  202 +++
 python/requirements.txt |   20 +
 python/setup.cfg|   34 +
 python/setup.py |   64 +
 python/tox.ini  |   24 +
 43 files changed, 8025 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/43b437a5/dev/make_rc.sh
--
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index 8f77359..c5e5012 100755
--- a/dev/make_rc.sh
+++ b/dev/make_rc.sh
@@ -40,6 +40,7 @@ DIR_BIN=$DIR_REL_BIN_PATH/bin
 DIR_PHERF_CONF=phoenix-pherf/config
 DIR_EXAMPLES=$DIR_REL_BIN_PATH/examples
 DIR_DOCS=dev/release_files
+DIR_PYTHON=$DIR_REL_BIN_PATH/python
 DIR_PARCEL_TAR=phoenix-parcel/target
 DIR_REL_PARCELS_PATH=$DIR_REL_ROOT/parcels
 SCRIPT_MAKE_MANIFEST=phoenix-parcel/src/build/manifest/make_manifest.py
@@ -68,6 +69,7 @@ mkdir $DIR_REL_SRC_TAR_PATH;
 mkdir $DIR_REL_PARCELS_PATH;
 mkdir $DIR_EXAMPLES;
 mkdir $DIR_BIN;
+mkdir $DIR_PYTHON;
 
 # Move src tar
 mv $REL_SRC.tar.gz $DIR_REL_SRC_TAR_PATH;
@@ -91,6 +93,9 @@ cp $DIR_DOCS/* $DIR_REL_BIN_PATH;
 # Copy examples
 cp -r examples/* $DIR_EXAMPLES
 
+# Copy the python driver
+cp -r python/* $DIR_PYTHON
+
 # Generate bin tar
 tar cvzf $DIR_REL_BIN_TAR_PATH/$DIR_REL_BIN.tar.gz -C $DIR_REL_ROOT 
apache-phoenix-$PHOENIX-bin;
 rm -rf $DIR_REL_BIN_PATH;

http://git-wip-us.apache.org/repos/asf/phoenix/blob/43b437a5/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 0bb9ed5..1479b75 100644
--- a/pom.xml
+++ b/pom.xml
@@ -520,6 +520,12 @@
 
 bin/argparse-1.4.0/argparse.py
+python/ci/**
+python/phoenixdb/avatica/proto/*
+python/*.rst
+python/doc/*.rst
+python/doc/conf.py
+python/doc/Makefile
   
 
   


[3/9] phoenix git commit: PHOENIX-4636 Add the python PQS driver

2018-03-22 Thread pboado
http://git-wip-us.apache.org/repos/asf/phoenix/blob/43b437a5/python/phoenixdb/types.py
--
diff --git a/python/phoenixdb/types.py b/python/phoenixdb/types.py
new file mode 100644
index 000..f41355a
--- /dev/null
+++ b/python/phoenixdb/types.py
@@ -0,0 +1,202 @@
+# 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.
+
+import sys
+import time
+import datetime
+from decimal import Decimal
+from phoenixdb.avatica.proto import common_pb2
+
+__all__ = [
+'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks', 
'TimestampFromTicks',
+'Binary', 'STRING', 'BINARY', 'NUMBER', 'DATETIME', 'ROWID', 'BOOLEAN',
+'JAVA_CLASSES', 'JAVA_CLASSES_MAP', 'TypeHelper',
+]
+
+
+def Date(year, month, day):
+"""Constructs an object holding a date value."""
+return datetime.date(year, month, day)
+
+
+def Time(hour, minute, second):
+"""Constructs an object holding a time value."""
+return datetime.time(hour, minute, second)
+
+
+def Timestamp(year, month, day, hour, minute, second):
+"""Constructs an object holding a datetime/timestamp value."""
+return datetime.datetime(year, month, day, hour, minute, second)
+
+
+def DateFromTicks(ticks):
+"""Constructs an object holding a date value from the given UNIX 
timestamp."""
+return Date(*time.localtime(ticks)[:3])
+
+
+def TimeFromTicks(ticks):
+"""Constructs an object holding a time value from the given UNIX 
timestamp."""
+return Time(*time.localtime(ticks)[3:6])
+
+
+def TimestampFromTicks(ticks):
+"""Constructs an object holding a datetime/timestamp value from the given 
UNIX timestamp."""
+return Timestamp(*time.localtime(ticks)[:6])
+
+
+def Binary(value):
+"""Constructs an object capable of holding a binary (long) string value."""
+return bytes(value)
+
+
+def time_from_java_sql_time(n):
+dt = datetime.datetime(1970, 1, 1) + datetime.timedelta(milliseconds=n)
+return dt.time()
+
+
+def time_to_java_sql_time(t):
+return ((t.hour * 60 + t.minute) * 60 + t.second) * 1000 + t.microsecond 
// 1000
+
+
+def date_from_java_sql_date(n):
+return datetime.date(1970, 1, 1) + datetime.timedelta(days=n)
+
+
+def date_to_java_sql_date(d):
+if isinstance(d, datetime.datetime):
+d = d.date()
+td = d - datetime.date(1970, 1, 1)
+return td.days
+
+
+def datetime_from_java_sql_timestamp(n):
+return datetime.datetime(1970, 1, 1) + datetime.timedelta(milliseconds=n)
+
+
+def datetime_to_java_sql_timestamp(d):
+td = d - datetime.datetime(1970, 1, 1)
+return td.microseconds // 1000 + (td.seconds + td.days * 24 * 3600) * 1000
+
+
+class ColumnType(object):
+
+def __init__(self, eq_types):
+self.eq_types = tuple(eq_types)
+self.eq_types_set = set(eq_types)
+
+def __eq__(self, other):
+return other in self.eq_types_set
+
+def __cmp__(self, other):
+if other in self.eq_types_set:
+return 0
+if other < self.eq_types:
+return 1
+else:
+return -1
+
+
+STRING = ColumnType(['VARCHAR', 'CHAR'])
+"""Type object that can be used to describe string-based columns."""
+
+BINARY = ColumnType(['BINARY', 'VARBINARY'])
+"""Type object that can be used to describe (long) binary columns."""
+
+NUMBER = ColumnType([
+'INTEGER', 'UNSIGNED_INT', 'BIGINT', 'UNSIGNED_LONG', 'TINYINT', 
'UNSIGNED_TINYINT',
+'SMALLINT', 'UNSIGNED_SMALLINT', 'FLOAT', 'UNSIGNED_FLOAT', 'DOUBLE', 
'UNSIGNED_DOUBLE', 'DECIMAL'
+])
+"""Type object that can be used to describe numeric columns."""
+
+DATETIME = ColumnType(['TIME', 'DATE', 'TIMESTAMP', 'UNSIGNED_TIME', 
'UNSIGNED_DATE', 'UNSIGNED_TIMESTAMP'])
+"""Type object that can be used to describe date/time columns."""
+
+ROWID = ColumnType([])
+"""Only implemented for DB API 2.0 compatibility, not used."""
+
+BOOLEAN = ColumnType(['BOOLEAN'])
+"""Type object that can be used to describe boolean columns. This is a 
phoenixdb-specific extension."""
+
+
+# XXX ARRAY
+
+if sys.version_info[0] < 3:
+_long = long  # noqa: F821
+else:
+_long = int
+
+JAVA_CLASSES = {
+'bool_value': [
+('java.lang.Boolean', common_pb2.BOOLEAN, None, None),
+],
+

[9/9] phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache(Addendum)

2018-03-22 Thread pboado
PHOENIX-4661 Handled deleted PTables in the MetadataCache(Addendum)


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

Branch: refs/heads/4.x-cdh5.11.2
Commit: 6caf7e9605758daa8a880e6989ac79f591293ff5
Parents: f1a3528
Author: Ankit Singhal 
Authored: Thu Mar 22 07:35:03 2018 +
Committer: Pedro Boado 
Committed: Thu Mar 22 09:16:57 2018 +

--
 .../java/org/apache/phoenix/end2end/ChangePermissionsIT.java | 8 
 .../org/apache/phoenix/end2end/SystemTablePermissionsIT.java | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/6caf7e96/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
index a30f01f..3965f69 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
@@ -167,7 +167,7 @@ public class ChangePermissionsIT extends BasePermissionsIT {
 
 // Grant READ permissions to RegularUser2 on the table
 // Permissions should propagate automatically to relevant physical 
tables such as global index and view index.
-verifyAllowed(grantPermissions("R", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
+verifyAllowed(grantPermissions("RX", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
 // Granting permissions directly to index tables should fail
 verifyDenied(grantPermissions("W", regularUser2, SCHEMA_NAME + "." + 
IDX1_TABLE_NAME, false), AccessDeniedException.class, regularUser1);
 // Granting permissions directly to views should fail. We expect 
TableNotFoundException since VIEWS are not physical tables
@@ -209,12 +209,12 @@ public class ChangePermissionsIT extends 
BasePermissionsIT {
 grantSystemTableAccess(superUser1, regularUser1);
 
 // Grant Permissions to Groups (Should be automatically applicable to 
all users inside it)
-verifyAllowed(grantPermissions("AR", GROUP_SYSTEM_ACCESS, 
FULL_TABLE_NAME, false), superUser1);
+verifyAllowed(grantPermissions("ARX", GROUP_SYSTEM_ACCESS, 
FULL_TABLE_NAME, false), superUser1);
 verifyAllowed(readTable(FULL_TABLE_NAME), groupUser);
 
 // GroupUser is an admin and can grant perms to other users
 verifyDenied(readTable(FULL_TABLE_NAME), AccessDeniedException.class, 
regularUser1);
-verifyAllowed(grantPermissions("R", regularUser1, FULL_TABLE_NAME, 
false), groupUser);
+verifyAllowed(grantPermissions("RX", regularUser1, FULL_TABLE_NAME, 
false), groupUser);
 verifyAllowed(readTable(FULL_TABLE_NAME), regularUser1);
 
 // Revoke the perms and try accessing data again
@@ -247,7 +247,7 @@ public class ChangePermissionsIT extends BasePermissionsIT {
 verifyDenied(readMultiTenantTableWithoutIndex(FULL_TABLE_NAME), 
AccessDeniedException.class, regularUser2);
 
 // Grant perms to base table (Should propagate to View Index as well)
-verifyAllowed(grantPermissions("R", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
+verifyAllowed(grantPermissions("RX", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
 // Try reading full table
 verifyAllowed(readMultiTenantTableWithoutIndex(FULL_TABLE_NAME), 
regularUser2);
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/6caf7e96/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
index 743785a..cd81e6f 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
@@ -70,7 +70,7 @@ public class SystemTablePermissionsIT extends 
BasePermissionsIT {
 Action.EXEC, Action.READ);
 }
 grantPermissions(regularUser1.getShortName(),
-Collections.singleton(TABLE_NAME), Action.READ);
+Collections.singleton(TABLE_NAME), 
Action.READ,Action.EXEC);
 } 

[8/9] phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache

2018-03-22 Thread pboado
PHOENIX-4661 Handled deleted PTables in the MetadataCache

Signed-off-by: Josh Elser 
Signed-off-by: Sergey Soldatov 


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

Branch: refs/heads/4.x-cdh5.11.2
Commit: f1a3528c0d2de870b7c232048bf8cf49f73b30ce
Parents: 43b437a
Author: Ankit Singhal 
Authored: Tue Mar 20 18:54:05 2018 +
Committer: Pedro Boado 
Committed: Thu Mar 22 09:15:50 2018 +

--
 .../org/apache/phoenix/end2end/DropTableIT.java | 43 
 .../coprocessor/MetaDataEndpointImpl.java   | 33 ---
 .../coprocessor/PhoenixAccessController.java|  8 +---
 3 files changed, 64 insertions(+), 20 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/f1a3528c/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
new file mode 100644
index 000..823605d
--- /dev/null
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
@@ -0,0 +1,43 @@
+/*
+ * 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.end2end;
+
+import static org.junit.Assert.assertFalse;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+
+import org.junit.Test;
+
+public class DropTableIT extends ParallelStatsDisabledIT {
+
+@Test
+public void testRepeatedDropTable() throws Exception {
+  final String tableName = generateUniqueName();
+  final String url = getUrl();
+  try (final Connection conn = DriverManager.getConnection(url);
+  final Statement stmt = conn.createStatement()) {
+assertFalse(stmt.execute(String.format("CREATE TABLE %s(pk varchar not 
null primary key)", tableName)));
+String dropTable = String.format("DROP TABLE IF EXISTS %s", tableName);
+for (int i = 0; i < 5; i++) {
+  assertFalse(stmt.execute(dropTable));
+}
+  }
+}
+}

http://git-wip-us.apache.org/repos/asf/phoenix/blob/f1a3528c/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
index 11e5e45..05ad959 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
@@ -1293,6 +1293,13 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 return function.getFunctionName() == null;
 }
 
+private PTable getTable(RegionCoprocessorEnvironment env, byte[] key, 
ImmutableBytesPtr cacheKey,
+long clientTimeStamp, long asOfTimeStamp, int clientVersion) 
throws IOException, SQLException {
+PTable table = loadTable(env, key, cacheKey, clientTimeStamp, 
asOfTimeStamp, clientVersion);
+if (table == null || isTableDeleted(table)) { return null; }
+return table;
+}
+
 private PTable loadTable(RegionCoprocessorEnvironment env, byte[] key,
 ImmutableBytesPtr cacheKey, long clientTimeStamp, long asOfTimeStamp, 
int clientVersion)
 throws IOException, SQLException {
@@ -1464,7 +1471,7 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 
 parentTableKey = 
SchemaUtil.getTableKey(ByteUtil.EMPTY_BYTE_ARRAY,
 parentPhysicalSchemaTableNames[1], 

[5/9] phoenix git commit: PHOENIX-4636 Add the python PQS driver

2018-03-22 Thread pboado
http://git-wip-us.apache.org/repos/asf/phoenix/blob/43b437a5/python/phoenixdb/avatica/proto/requests_pb2.py
--
diff --git a/python/phoenixdb/avatica/proto/requests_pb2.py 
b/python/phoenixdb/avatica/proto/requests_pb2.py
new file mode 100644
index 000..203f945
--- /dev/null
+++ b/python/phoenixdb/avatica/proto/requests_pb2.py
@@ -0,0 +1,1206 @@
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: requests.proto
+
+import sys
+_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
+from google.protobuf import descriptor_pb2
+# @@protoc_insertion_point(imports)
+
+_sym_db = _symbol_database.Default()
+
+
+from . import common_pb2 as common__pb2
+
+
+DESCRIPTOR = _descriptor.FileDescriptor(
+  name='requests.proto',
+  package='',
+  syntax='proto3',
+  
serialized_pb=_b('\n\x0erequests.proto\x1a\x0c\x63ommon.proto\"(\n\x0f\x43\x61talogsRequest\x12\x15\n\rconnection_id\x18\x01
 \x01(\t\"0\n\x17\x44\x61tabasePropertyRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\"P\n\x0eSchemasRequest\x12\x0f\n\x07\x63\x61talog\x18\x01 
\x01(\t\x12\x16\n\x0eschema_pattern\x18\x02 
\x01(\t\x12\x15\n\rconnection_id\x18\x03 
\x01(\t\"\x95\x01\n\rTablesRequest\x12\x0f\n\x07\x63\x61talog\x18\x01 
\x01(\t\x12\x16\n\x0eschema_pattern\x18\x02 
\x01(\t\x12\x1a\n\x12table_name_pattern\x18\x03 
\x01(\t\x12\x11\n\ttype_list\x18\x04 \x03(\t\x12\x15\n\rhas_type_list\x18\x06 
\x01(\x08\x12\x15\n\rconnection_id\x18\x07 
\x01(\t\"*\n\x11TableTypesRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\"\x89\x01\n\x0e\x43olumnsRequest\x12\x0f\n\x07\x63\x61talog\x18\x01 
\x01(\t\x12\x16\n\x0eschema_pattern\x18\x02 
\x01(\t\x12\x1a\n\x12table_name_pattern\x18\x03 
\x01(\t\x12\x1b\n\x13\x63olumn_name_pattern\x18\x04 
\x01(\t\x12\x15\n\rconnection_id\x18\x05 \x01(\t\"(\n\x0fTypeInfoReque
 st\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\"\xa1\x01\n\x18PrepareAndExecuteRequest\x12\x15\n\rconnection_id\x18\x01
 \x01(\t\x12\x0b\n\x03sql\x18\x02 \x01(\t\x12\x15\n\rmax_row_count\x18\x03 
\x01(\x04\x12\x14\n\x0cstatement_id\x18\x04 
\x01(\r\x12\x16\n\x0emax_rows_total\x18\x05 
\x01(\x03\x12\x1c\n\x14\x66irst_frame_max_size\x18\x06 
\x01(\x05\"c\n\x0ePrepareRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\x12\x0b\n\x03sql\x18\x02 \x01(\t\x12\x15\n\rmax_row_count\x18\x03 
\x01(\x04\x12\x16\n\x0emax_rows_total\x18\x04 
\x01(\x03\"\x80\x01\n\x0c\x46\x65tchRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\x12\x14\n\x0cstatement_id\x18\x02 \x01(\r\x12\x0e\n\x06offset\x18\x03 
\x01(\x04\x12\x1b\n\x13\x66\x65tch_max_row_count\x18\x04 
\x01(\r\x12\x16\n\x0e\x66rame_max_size\x18\x05 
\x01(\x05\"/\n\x16\x43reateStatementRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\"D\n\x15\x43loseStatementRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\x12\x14\n\x0cstatement_id\x18\x02 \x01(\r\"\x8b\x01\n\x15Op
 enConnectionRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\x12.\n\x04info\x18\x02 \x03(\x0b\x32 
.OpenConnectionRequest.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 
\x01(\t\x12\r\n\x05value\x18\x02 
\x01(\t:\x02\x38\x01\"/\n\x16\x43loseConnectionRequest\x12\x15\n\rconnection_id\x18\x01
 \x01(\t\"Y\n\x15\x43onnectionSyncRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\x12)\n\nconn_props\x18\x02 
\x01(\x0b\x32\x15.ConnectionProperties\"\xc7\x01\n\x0e\x45xecuteRequest\x12)\n\x0fstatementHandle\x18\x01
 \x01(\x0b\x32\x10.StatementHandle\x12%\n\x10parameter_values\x18\x02 
\x03(\x0b\x32\x0b.TypedValue\x12\'\n\x1f\x64\x65precated_first_frame_max_size\x18\x03
 \x01(\x04\x12\x1c\n\x14has_parameter_values\x18\x04 
\x01(\x08\x12\x1c\n\x14\x66irst_frame_max_size\x18\x05 
\x01(\x05\"m\n\x12SyncResultsRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\x12\x14\n\x0cstatement_id\x18\x02 \x01(\r\x12\x1a\n\x05state\x18\x03 
\x01(\x0b\x32\x0b.QueryState\x12\x0e\n\x06offset\x18\x04 \x01(\x04\"&\n\rCommi
 tRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\"(\n\x0fRollbackRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\"b\n\x1dPrepareAndExecuteBatchRequest\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\x12\x14\n\x0cstatement_id\x18\x02 
\x01(\r\x12\x14\n\x0csql_commands\x18\x03 
\x03(\t\"4\n\x0bUpdateBatch\x12%\n\x10parameter_values\x18\x01 
\x03(\x0b\x32\x0b.TypedValue\"a\n\x13\x45xecuteBatchRequest\x12\x15\n\rconnection_id\x18\x01
 \x01(\t\x12\x14\n\x0cstatement_id\x18\x02 \x01(\r\x12\x1d\n\x07updates\x18\x03 
\x03(\x0b\x32\x0c.UpdateBatchB\"\n org.apache.calcite.avatica.protob\x06proto3')
+  ,
+  dependencies=[common__pb2.DESCRIPTOR,])
+_sym_db.RegisterFileDescriptor(DESCRIPTOR)
+
+
+
+
+_CATALOGSREQUEST = _descriptor.Descriptor(
+  name='CatalogsRequest',
+  full_name='CatalogsRequest',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  

[6/9] phoenix git commit: PHOENIX-4636 Add the python PQS driver

2018-03-22 Thread pboado
http://git-wip-us.apache.org/repos/asf/phoenix/blob/43b437a5/python/phoenixdb/avatica/proto/common_pb2.py
--
diff --git a/python/phoenixdb/avatica/proto/common_pb2.py 
b/python/phoenixdb/avatica/proto/common_pb2.py
new file mode 100644
index 000..3c99502
--- /dev/null
+++ b/python/phoenixdb/avatica/proto/common_pb2.py
@@ -0,0 +1,1667 @@
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: common.proto
+
+import sys
+_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+from google.protobuf.internal import enum_type_wrapper
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
+from google.protobuf import descriptor_pb2
+# @@protoc_insertion_point(imports)
+
+_sym_db = _symbol_database.Default()
+
+
+
+
+DESCRIPTOR = _descriptor.FileDescriptor(
+  name='common.proto',
+  package='',
+  syntax='proto3',
+  
serialized_pb=_b('\n\x0c\x63ommon.proto\"\xc0\x01\n\x14\x43onnectionProperties\x12\x10\n\x08is_dirty\x18\x01
 \x01(\x08\x12\x13\n\x0b\x61uto_commit\x18\x02 
\x01(\x08\x12\x17\n\x0fhas_auto_commit\x18\x07 
\x01(\x08\x12\x11\n\tread_only\x18\x03 
\x01(\x08\x12\x15\n\rhas_read_only\x18\x08 
\x01(\x08\x12\x1d\n\x15transaction_isolation\x18\x04 
\x01(\r\x12\x0f\n\x07\x63\x61talog\x18\x05 \x01(\t\x12\x0e\n\x06schema\x18\x06 
\x01(\t\"S\n\x0fStatementHandle\x12\x15\n\rconnection_id\x18\x01 
\x01(\t\x12\n\n\x02id\x18\x02 \x01(\r\x12\x1d\n\tsignature\x18\x03 
\x01(\x0b\x32\n.Signature\"\xb0\x01\n\tSignature\x12 \n\x07\x63olumns\x18\x01 
\x03(\x0b\x32\x0f.ColumnMetaData\x12\x0b\n\x03sql\x18\x02 
\x01(\t\x12%\n\nparameters\x18\x03 
\x03(\x0b\x32\x11.AvaticaParameter\x12&\n\x0e\x63ursor_factory\x18\x04 
\x01(\x0b\x32\x0e.CursorFactory\x12%\n\rstatementType\x18\x05 
\x01(\x0e\x32\x0e.StatementType\"\xad\x03\n\x0e\x43olumnMetaData\x12\x0f\n\x07ordinal\x18\x01
 \x01(\r\x12\x16\n\x0e\x61uto_increment\x18\x02 \x
 01(\x08\x12\x16\n\x0e\x63\x61se_sensitive\x18\x03 
\x01(\x08\x12\x12\n\nsearchable\x18\x04 
\x01(\x08\x12\x10\n\x08\x63urrency\x18\x05 
\x01(\x08\x12\x10\n\x08nullable\x18\x06 \x01(\r\x12\x0e\n\x06signed\x18\x07 
\x01(\x08\x12\x14\n\x0c\x64isplay_size\x18\x08 \x01(\r\x12\r\n\x05label\x18\t 
\x01(\t\x12\x13\n\x0b\x63olumn_name\x18\n 
\x01(\t\x12\x13\n\x0bschema_name\x18\x0b \x01(\t\x12\x11\n\tprecision\x18\x0c 
\x01(\r\x12\r\n\x05scale\x18\r \x01(\r\x12\x12\n\ntable_name\x18\x0e 
\x01(\t\x12\x14\n\x0c\x63\x61talog_name\x18\x0f 
\x01(\t\x12\x11\n\tread_only\x18\x10 \x01(\x08\x12\x10\n\x08writable\x18\x11 
\x01(\x08\x12\x1b\n\x13\x64\x65\x66initely_writable\x18\x12 
\x01(\x08\x12\x19\n\x11\x63olumn_class_name\x18\x13 
\x01(\t\x12\x1a\n\x04type\x18\x14 
\x01(\x0b\x32\x0c.AvaticaType\"}\n\x0b\x41vaticaType\x12\n\n\x02id\x18\x01 
\x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\x03rep\x18\x03 
\x01(\x0e\x32\x04.Rep\x12 \n\x07\x63olumns\x18\x04 
\x03(\x0b\x32\x0f.ColumnMetaData\x12\x1f\n\tcomponent\x18
 \x05 
\x01(\x0b\x32\x0c.AvaticaType\"\x91\x01\n\x10\x41vaticaParameter\x12\x0e\n\x06signed\x18\x01
 \x01(\x08\x12\x11\n\tprecision\x18\x02 \x01(\r\x12\r\n\x05scale\x18\x03 
\x01(\r\x12\x16\n\x0eparameter_type\x18\x04 
\x01(\r\x12\x11\n\ttype_name\x18\x05 \x01(\t\x12\x12\n\nclass_name\x18\x06 
\x01(\t\x12\x0c\n\x04name\x18\x07 
\x01(\t\"\xb3\x01\n\rCursorFactory\x12#\n\x05style\x18\x01 
\x01(\x0e\x32\x14.CursorFactory.Style\x12\x12\n\nclass_name\x18\x02 
\x01(\t\x12\x13\n\x0b\x66ield_names\x18\x03 
\x03(\t\"T\n\x05Style\x12\n\n\x06OBJECT\x10\x00\x12\n\n\x06RECORD\x10\x01\x12\x15\n\x11RECORD_PROJECTION\x10\x02\x12\t\n\x05\x41RRAY\x10\x03\x12\x08\n\x04LIST\x10\x04\x12\x07\n\x03MAP\x10\x05\"9\n\x05\x46rame\x12\x0e\n\x06offset\x18\x01
 \x01(\x04\x12\x0c\n\x04\x64one\x18\x02 \x01(\x08\x12\x12\n\x04rows\x18\x03 
\x03(\x0b\x32\x04.Row\"\"\n\x03Row\x12\x1b\n\x05value\x18\x01 
\x03(\x0b\x32\x0c.ColumnValue\"3\n\x10\x44\x61tabaseProperty\x12\x0c\n\x04name\x18\x01
 \x01(\t\x12\x11\n\tfunctions\x18\x02 \x03(
 \t\"4\n\x0bWireMessage\x12\x0c\n\x04name\x18\x01 
\x01(\t\x12\x17\n\x0fwrapped_message\x18\x02 
\x01(\x0c\"\x87\x01\n\x0b\x43olumnValue\x12\x1a\n\x05value\x18\x01 
\x03(\x0b\x32\x0b.TypedValue\x12 \n\x0b\x61rray_value\x18\x02 
\x03(\x0b\x32\x0b.TypedValue\x12\x17\n\x0fhas_array_value\x18\x03 
\x01(\x08\x12!\n\x0cscalar_value\x18\x04 
\x01(\x0b\x32\x0b.TypedValue\"\xf2\x01\n\nTypedValue\x12\x12\n\x04type\x18\x01 
\x01(\x0e\x32\x04.Rep\x12\x12\n\nbool_value\x18\x02 
\x01(\x08\x12\x14\n\x0cstring_value\x18\x03 
\x01(\t\x12\x14\n\x0cnumber_value\x18\x04 
\x01(\x12\x12\x13\n\x0b\x62ytes_value\x18\x05 
\x01(\x0c\x12\x14\n\x0c\x64ouble_value\x18\x06 
\x01(\x01\x12\x0c\n\x04null\x18\x07 \x01(\x08\x12 \n\x0b\x61rray_value\x18\x08 
\x03(\x0b\x32\x0b.TypedValue\x12\x1c\n\x0e\x63omponent_type\x18\t 
\x01(\x0e\x32\x04.Rep\x12\x17\n\x0fimplicitly_null\x18\n 

[4/9] phoenix git commit: PHOENIX-4636 Add the python PQS driver

2018-03-22 Thread pboado
http://git-wip-us.apache.org/repos/asf/phoenix/blob/43b437a5/python/phoenixdb/cursor.py
--
diff --git a/python/phoenixdb/cursor.py b/python/phoenixdb/cursor.py
new file mode 100644
index 000..8be7bed
--- /dev/null
+++ b/python/phoenixdb/cursor.py
@@ -0,0 +1,347 @@
+# 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.
+
+import logging
+import collections
+from phoenixdb.types import TypeHelper
+from phoenixdb.errors import ProgrammingError, InternalError
+from phoenixdb.avatica.proto import common_pb2
+
+__all__ = ['Cursor', 'ColumnDescription', 'DictCursor']
+
+logger = logging.getLogger(__name__)
+
+# TODO see note in Cursor.rowcount()
+MAX_INT = 2 ** 64 - 1
+
+ColumnDescription = collections.namedtuple('ColumnDescription', 'name 
type_code display_size internal_size precision scale null_ok')
+"""Named tuple for representing results from :attr:`Cursor.description`."""
+
+
+class Cursor(object):
+"""Database cursor for executing queries and iterating over results.
+
+You should not construct this object manually, use 
:meth:`Connection.cursor() ` instead.
+"""
+
+arraysize = 1
+"""
+Read/write attribute specifying the number of rows to fetch
+at a time with :meth:`fetchmany`. It defaults to 1 meaning to
+fetch a single row at a time.
+"""
+
+itersize = 2000
+"""
+Read/write attribute specifying the number of rows to fetch
+from the backend at each network roundtrip during iteration
+on the cursor. The default is 2000.
+"""
+
+def __init__(self, connection, id=None):
+self._connection = connection
+self._id = id
+self._signature = None
+self._column_data_types = []
+self._frame = None
+self._pos = None
+self._closed = False
+self.arraysize = self.__class__.arraysize
+self.itersize = self.__class__.itersize
+self._updatecount = -1
+
+def __del__(self):
+if not self._connection._closed and not self._closed:
+self.close()
+
+def __enter__(self):
+return self
+
+def __exit__(self, exc_type, exc_value, traceback):
+if not self._closed:
+self.close()
+
+def __iter__(self):
+return self
+
+def __next__(self):
+row = self.fetchone()
+if row is None:
+raise StopIteration
+return row
+
+next = __next__
+
+def close(self):
+"""Closes the cursor.
+No further operations are allowed once the cursor is closed.
+
+If the cursor is used in a ``with`` statement, this method will
+be automatically called at the end of the ``with`` block.
+"""
+if self._closed:
+raise ProgrammingError('the cursor is already closed')
+if self._id is not None:
+self._connection._client.close_statement(self._connection._id, 
self._id)
+self._id = None
+self._signature = None
+self._column_data_types = []
+self._frame = None
+self._pos = None
+self._closed = True
+
+@property
+def closed(self):
+"""Read-only attribute specifying if the cursor is closed or not."""
+return self._closed
+
+@property
+def description(self):
+if self._signature is None:
+return None
+description = []
+for column in self._signature.columns:
+description.append(ColumnDescription(
+column.column_name,
+column.type.name,
+column.display_size,
+None,
+column.precision,
+column.scale,
+None if column.nullable == 2 else bool(column.nullable),
+))
+return description
+
+def _set_id(self, id):
+if self._id is not None and self._id != id:
+self._connection._client.close_statement(self._connection._id, 
self._id)
+self._id = id
+
+def _set_signature(self, signature):
+self._signature = signature
+self._column_data_types = []
+self._parameter_data_types = []
+if signature is None:
+return
+
+for 

[2/9] phoenix git commit: PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - addendum(Rajeshbabu)

2018-03-22 Thread pboado
PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - 
addendum(Rajeshbabu)


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

Branch: refs/heads/4.x-cdh5.11.2
Commit: 71b528b280a551904a2807ce4597b7bcb9235733
Parents: 4debdd1
Author: Rajeshbabu Chintaguntla 
Authored: Tue Mar 20 14:08:03 2018 +
Committer: Pedro Boado 
Committed: Wed Mar 21 20:17:40 2018 +

--
 .../phoenix/end2end/LocalIndexSplitMergeIT.java | 59 
 .../IndexHalfStoreFileReaderGenerator.java  |  8 ++-
 2 files changed, 65 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/71b528b2/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
index 409e98f..dc3e5d3 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
@@ -263,4 +263,63 @@ public class LocalIndexSplitMergeIT extends BaseTest {
 }
 }
 
+@Test
+public void testLocalIndexScanWithMergeSpecialCase() throws Exception {
+String schemaName = generateUniqueName();
+String tableName = schemaName + "." + generateUniqueName();
+String indexName = "IDX_" + generateUniqueName();
+TableName physicalTableName = 
SchemaUtil.getPhysicalTableName(tableName.getBytes(), false);
+createBaseTable(tableName, "('a','b','def')");
+Connection conn1 = getConnectionForLocalIndexTest();
+try {
+String[] strings =
+{ "aa", "aaa", "", "bb", "cc", "dd", "dff", "g", "h", 
"i", "j", "k", "l",
+"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
"w", "x", "y", "z" };
+for (int i = 0; i < 26; i++) {
+conn1.createStatement()
+.execute("UPSERT INTO " + tableName + " values('" + 
strings[i] + "'," + i
++ "," + (i + 1) + "," + (i + 2) + ",'" + 
strings[25 - i] + "')");
+}
+conn1.commit();
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + " ON " + 
tableName + "(v1)");
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + "_2 ON " + tableName 
+ "(k3)");
+
+HBaseAdmin admin = 
conn1.unwrap(PhoenixConnection.class).getQueryServices().getAdmin();
+List regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
admin.mergeRegions(regionsOfUserTable.get(0).getEncodedNameAsBytes(),
+regionsOfUserTable.get(1).getEncodedNameAsBytes(), false);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
+while (regionsOfUserTable.size() != 3) {
+Thread.sleep(100);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+}
+String query = "SELECT t_id,k1,v1 FROM " + tableName;
+ResultSet rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[25-j], rs.getString("t_id"));
+assertEquals(25-j, rs.getInt("k1"));
+assertEquals(strings[j], rs.getString("V1"));
+}
+query = "SELECT t_id,k1,k3 FROM " + tableName;
+rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[j], rs.getString("t_id"));
+assertEquals(j, rs.getInt("k1"));
+assertEquals(j + 2, rs.getInt("k3"));
+}
+} finally {
+conn1.close();
+}
+}
 }


svn commit: r1827527 - in /phoenix/site: publish/phoenixcon-2018/feed.xml publish/phoenixcon-2018/index.html source/src/site/resources/phoenixcon-2018/feed.xml source/src/site/resources/phoenixcon-201

2018-03-22 Thread elserj
Author: elserj
Date: Thu Mar 22 19:58:23 2018
New Revision: 1827527

URL: http://svn.apache.org/viewvc?rev=1827527=rev
Log:
Publish the phoenix easychair site

Modified:
phoenix/site/publish/phoenixcon-2018/feed.xml
phoenix/site/publish/phoenixcon-2018/index.html
phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml
phoenix/site/source/src/site/resources/phoenixcon-2018/index.html

Modified: phoenix/site/publish/phoenixcon-2018/feed.xml
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/feed.xml?rev=1827527=1827526=1827527=diff
==
--- phoenix/site/publish/phoenixcon-2018/feed.xml (original)
+++ phoenix/site/publish/phoenixcon-2018/feed.xml Thu Mar 22 19:58:23 2018
@@ -4,7 +4,7 @@
   https://jekyllrb.com/; version="3.7.3">Jekyll
   https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/feed.xml; 
rel="self" type="application/atom+xml" />
   https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/; 
rel="alternate" type="text/html" />
-  2018-03-22T14:24:03-04:00
+  2018-03-22T15:55:34-04:00
   https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/
 
   

Modified: phoenix/site/publish/phoenixcon-2018/index.html
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/index.html?rev=1827527=1827526=1827527=diff
==
--- phoenix/site/publish/phoenixcon-2018/index.html (original)
+++ phoenix/site/publish/phoenixcon-2018/index.html Thu Mar 22 19:58:23 2018
@@ -138,10 +138,8 @@



- The event's call for proposals is not yet available. This page 
will be updated when
-   the CFP is available for submissions.
-   
+ The event's call for proposals is available on https://easychair.org/conferences/?conf=pc18;>EasyChair.
+ The CFP will be open until 2018/04/16. Please submit your talks 
as soon as possible!
  All submissions will be reviewed by a group of individuals 
from the Apache Phoenix PMC.



Modified: phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml?rev=1827527=1827526=1827527=diff
==
--- phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml (original)
+++ phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml Thu Mar 22 
19:58:23 2018
@@ -4,7 +4,7 @@
   https://jekyllrb.com/; version="3.7.3">Jekyll
   https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/feed.xml; 
rel="self" type="application/atom+xml" />
   https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/; 
rel="alternate" type="text/html" />
-  2018-03-22T14:24:03-04:00
+  2018-03-22T15:55:34-04:00
   https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/
 
   

Modified: phoenix/site/source/src/site/resources/phoenixcon-2018/index.html
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/index.html?rev=1827527=1827526=1827527=diff
==
--- phoenix/site/source/src/site/resources/phoenixcon-2018/index.html (original)
+++ phoenix/site/source/src/site/resources/phoenixcon-2018/index.html Thu Mar 
22 19:58:23 2018
@@ -138,10 +138,8 @@



- The event's call for proposals is not yet available. This page 
will be updated when
-   the CFP is available for submissions.
-   
+ The event's call for proposals is available on https://easychair.org/conferences/?conf=pc18;>EasyChair.
+ The CFP will be open until 2018/04/16. Please submit your talks 
as soon as possible!
  All submissions will be reviewed by a group of individuals 
from the Apache Phoenix PMC.






Build failed in Jenkins: Phoenix-4.x-HBase-1.3 #71

2018-03-22 Thread Apache Jenkins Server
See 


Changes:

[jtaylor] PHOENIX-4619 Process transactional updates to local index on 
server-side

[jtaylor] PHOENIX-4659 Use coprocessor API to write local transactional indexes

[jtaylor] PHOENIX-4660 Use TransactionProvider interface

--
[...truncated 171.44 KB...]
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$33.call(RegionCoprocessorHost.java:974)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1673)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1749)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1705)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preDelete(RegionCoprocessorHost.java:970)
at 
org.apache.hadoop.hbase.regionserver.HRegion.doPreMutationHook(HRegion.java:3043)
at 
org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:3007)
at 
org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2953)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.doBatchOp(RSRpcServices.java:843)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.doNonAtomicRegionMutation(RSRpcServices.java:805)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.multi(RSRpcServices.java:2299)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:35080)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2347)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:123)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.util.TransactionUtil.convertIfDelete(TransactionUtil.java:105)
at 
org.apache.phoenix.index.PhoenixTransactionalIndexer.preBatchMutate(PhoenixTransactionalIndexer.java:194)
... 29 more
: 1 time, servers with issues: asf926.gq1.ygridcore.net,3,1521741179357

[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 183.482 
s - in org.apache.phoenix.end2end.join.HashJoinNoIndexIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 322.421 
s - in org.apache.phoenix.end2end.join.HashJoinGlobalIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.882 s 
- in org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 539.342 
s - in org.apache.phoenix.end2end.index.MutableIndexIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 193.233 
s - in org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.341 s 
- in org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Running org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.276 s 
- in org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Running org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.107 s 
- in org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Running org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Running org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.957 s 
- in org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 230.912 
s - in org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 334.362 
s - in org.apache.phoenix.end2end.join.SortMergeJoinGlobalIndexIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.342 s 
- in org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Running org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.651 s 
- in org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Running 

svn commit: r1827521 [11/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-awes

2018-03-22 Thread elserj
Added: 
phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.min.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.min.js?rev=1827521=auto
==
--- phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.min.js 
(added)
+++ phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.min.js 
Thu Mar 22 18:33:21 2018
@@ -0,0 +1,6 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires 
jQuery");+function(a){"use strict";function b(){var 
a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd
 otransitionend",transition:"transitionend"};for(var c in b)if(void 
0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var
 c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var 
e=function(){c||a(d).trigger(a.support.transition.end)};return 
setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return
 a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 
0}})})}(jQuery),+function(a){"use strict";function b(b){return 
this.each(function(){var 
c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new 
d(this)),"string"==type
 of b&[b].call(c)})}var 
c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.2.0",d.prototype.close=function(b){function
 c(){f.detach().trigger("closed.bs.alert").remove()}var 
d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&(/.*(?=#[^\s]*$)/,""));var
 
f=a(e);b&(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&("fade")?f.one("bsTransitionEnd",c).emulateTransitionEnd(150):c())};var
 
e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return
 
a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use
 strict";function b(b){return this.each(function(){var 
d=a(this),e=d.data("bs.button"),f="object"==typeof 
b&e||d.data("bs.button",e=new 
c(this,f)),"toggle"==b?e.toggle():b&(b)})}var 
c=function(b,d){this.$element=a(b)
 
,this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.2.0",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var
 
c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&("resetText",d[e]()),d[e](null==f[b]?this.options[b]:f[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var
 a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var 
c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&("checked",!this.$element.hasClass("active")).trigger("change")}a&$element.toggleClass("active")};var
 
d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return
 a.fn.button=d,this},a(document).on("clic
 k.bs.button.data-api",'[data-toggle^="button"]',function(c){var 
d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()})}(jQuery),+function(a){"use
 strict";function b(b){return this.each(function(){var 
d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof
 b&),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new 
c(this,f)),"number"==typeof 
b?e.to(b):g?e[g]():f.interval&().cycle()})}var 
c=function(b,c){this.$element=a(b).on("keydown.bs.carousel",a.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.2.0",c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},c.prototype.keydown=function(a){switch(a.which){case
 37:this.prev();brea
 k;case 
39:this.next();break;default:return}a.preventDefault()},c.prototype.cycle=function(b){return
 
b||(this.paused=!1),this.interval&(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return
 

svn commit: r1827521 [9/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Propchange: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
--
svn:executable = *

Added: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf?rev=1827521=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
--
svn:executable = *

Propchange: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff?rev=1827521=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
--
svn:executable = *

Propchange: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
--
svn:mime-type = application/octet-stream

Added: phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml?rev=1827521=auto
==
--- phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml (added)
+++ phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml Thu Mar 22 
18:33:21 2018
@@ -0,0 +1,22 @@
+
+
+http://www.w3.org/2005/Atom; >
+  https://jekyllrb.com/; version="3.7.3">Jekyll
+  https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/feed.xml; 
rel="self" type="application/atom+xml" />
+  https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/; 
rel="alternate" type="text/html" />
+  2018-03-22T14:24:03-04:00
+  https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/
+
+  
+PhoenixCon
+  
+
+  
+PhoenixCon 2018
+  
+
+  
+
+  
+  
+

Added: phoenix/site/source/src/site/resources/phoenixcon-2018/img/hbase.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/img/hbase.png?rev=1827521=auto
==
Binary file - no diff available.

Propchange: phoenix/site/source/src/site/resources/phoenixcon-2018/img/hbase.png
--
svn:executable = *

Propchange: phoenix/site/source/src/site/resources/phoenixcon-2018/img/hbase.png
--
svn:mime-type = application/octet-stream

Added: phoenix/site/source/src/site/resources/phoenixcon-2018/img/phoenix.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/img/phoenix.png?rev=1827521=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/phoenixcon-2018/img/phoenix.png
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/asf.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/asf.png?rev=1827521=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/asf.png
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/hortonworks.svg
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/hortonworks.svg?rev=1827521=auto
==
--- 
phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/hortonworks.svg
 (added)
+++ 

svn commit: r1827521 [12/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-awes

2018-03-22 Thread elserj
Added: 
phoenix/site/source/src/site/resources/phoenixcon-2018/js/jquery-1.11.0.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/js/jquery-1.11.0.js?rev=1827521=auto
==
--- phoenix/site/source/src/site/resources/phoenixcon-2018/js/jquery-1.11.0.js 
(added)
+++ phoenix/site/source/src/site/resources/phoenixcon-2018/js/jquery-1.11.0.js 
Thu Mar 22 18:33:21 2018
@@ -0,0 +1,4 @@
+/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | 
jquery.org/license */
+!function(a,b){"object"==typeof module&&"object"==typeof 
module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw
 new Error("jQuery requires a window with a document");return 
b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var 
c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return
 new 
n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return
 
b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return
 d.call(this)},get:function(a){return 
null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var 
b=n.merge(this.constructor(),a);return 
b.prevObject=this,b.context=this.context,b},each:function(a,b){return 
n.each(this,a,b)},map:function(a){return 
this.pushStack(n.map(this,function(b,c){return 
a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(th
 is,arguments))},first:function(){return this.eq(0)},last:function(){return 
this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return 
this.pushStack(c>=0&>c?[this[c]]:[])},end:function(){return 
this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var
 
a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof
 g&&(j=g,g=arguments[h]||{},h++),"object"==typeof 
g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d
 in 
e)a=g[d],c=e[d],g!==c&&(j&&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&(a)?a:[]):f=a&(a)?a:{},g[d]=n.extend(j,f,c)):void
 0!==c&&(g[d]=c));return 
g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw
 new 
Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return
 n
 ull!=a&==a.window},isNumeric:function(a){return 
a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in 
a)return!1;return!0},isPlainObject:function(a){var 
b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(l.ownLast)for(b
 in a)return j.call(a,b);for(b in a);return void 
0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof 
a||"function"==typeof a?h[i.call(a)]||"object":typeof 
a},globalEval:function(b){b&(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return
 a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return 
a.nodeName&()===b.toLowerCase()},each:function(a,b,c){var
 
d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else
 for(e in a)if(d=b.apply(a[e],c),d===!1)break}else 
if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!
 1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return 
a},trim:k&&!k.call("\ufeff\xa0")?function(a){return 
null==a?"":k.call(a)}:function(a){return 
null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return 
null!=a&&(s(Object(a))?n.merge(c,"string"==typeof 
a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return 
g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in 
b&[c]===a)return c}return-1},merge:function(a,b){var 
c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 
0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var 
d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&(a[f]);return 
e},map:function(a,b,c){var 
d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&(d);else
 for(f in a)d=b(a[f],f,c),null!=d&(d);return 
e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof 
b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(argum
 ents,2),e=function(){return 
a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void
 0},now:function(){return+new Date},support:l}),n.each("Boolean Number String 
Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object 
"+b+"]"]=b.toLowerCase()});function s(a){var 
b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&?!0:"array"===c||0===b||"number"==typeof
 b&>0& in 

svn commit: r1827521 [10/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-awes

2018-03-22 Thread elserj
Added: phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.js?rev=1827521=auto
==
--- phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.js 
(added)
+++ phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.js Thu 
Mar 22 18:33:21 2018
@@ -0,0 +1,2114 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript 
requires jQuery') }
+
+/* 
+ * Bootstrap: transition.js v3.2.0
+ * http://getbootstrap.com/javascript/#transitions
+ * 
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *  */
+
+
++function ($) {
+  'use strict';
+
+  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
+  // 
+
+  function transitionEnd() {
+var el = document.createElement('bootstrap')
+
+var transEndEventNames = {
+  WebkitTransition : 'webkitTransitionEnd',
+  MozTransition: 'transitionend',
+  OTransition  : 'oTransitionEnd otransitionend',
+  transition   : 'transitionend'
+}
+
+for (var name in transEndEventNames) {
+  if (el.style[name] !== undefined) {
+return { end: transEndEventNames[name] }
+  }
+}
+
+return false // explicit for ie8 (  ._.)
+  }
+
+  // http://blog.alexmaccaw.com/css-transitions
+  $.fn.emulateTransitionEnd = function (duration) {
+var called = false
+var $el = this
+$(this).one('bsTransitionEnd', function () { called = true })
+var callback = function () { if (!called) 
$($el).trigger($.support.transition.end) }
+setTimeout(callback, duration)
+return this
+  }
+
+  $(function () {
+$.support.transition = transitionEnd()
+
+if (!$.support.transition) return
+
+$.event.special.bsTransitionEnd = {
+  bindType: $.support.transition.end,
+  delegateType: $.support.transition.end,
+  handle: function (e) {
+if ($(e.target).is(this)) return e.handleObj.handler.apply(this, 
arguments)
+  }
+}
+  })
+
+}(jQuery);
+
+/* 
+ * Bootstrap: alert.js v3.2.0
+ * http://getbootstrap.com/javascript/#alerts
+ * 
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *  */
+
+
++function ($) {
+  'use strict';
+
+  // ALERT CLASS DEFINITION
+  // ==
+
+  var dismiss = '[data-dismiss="alert"]'
+  var Alert   = function (el) {
+$(el).on('click', dismiss, this.close)
+  }
+
+  Alert.VERSION = '3.2.0'
+
+  Alert.prototype.close = function (e) {
+var $this= $(this)
+var selector = $this.attr('data-target')
+
+if (!selector) {
+  selector = $this.attr('href')
+  selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip 
for ie7
+}
+
+var $parent = $(selector)
+
+if (e) e.preventDefault()
+
+if (!$parent.length) {
+  $parent = $this.hasClass('alert') ? $this : $this.parent()
+}
+
+$parent.trigger(e = $.Event('close.bs.alert'))
+
+if (e.isDefaultPrevented()) return
+
+$parent.removeClass('in')
+
+function removeElement() {
+  // detach from parent, fire event then clean up data
+  $parent.detach().trigger('closed.bs.alert').remove()
+}
+
+$.support.transition && $parent.hasClass('fade') ?
+  $parent
+.one('bsTransitionEnd', removeElement)
+.emulateTransitionEnd(150) :
+  removeElement()
+  }
+
+
+  // ALERT PLUGIN DEFINITION
+  // ===
+
+  function Plugin(option) {
+return this.each(function () {
+  var $this = $(this)
+  var data  = $this.data('bs.alert')
+
+  if (!data) $this.data('bs.alert', (data = new Alert(this)))
+  if (typeof option == 'string') data[option].call($this)
+})
+  }
+
+  var old = $.fn.alert
+
+  $.fn.alert = Plugin
+  $.fn.alert.Constructor = Alert
+
+
+  // ALERT NO CONFLICT
+  // =
+
+  $.fn.alert.noConflict = function () {
+$.fn.alert = old
+return this
+  }
+
+
+  // ALERT DATA-API
+  // ==
+
+  $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
+
+}(jQuery);
+
+/* 

svn commit: r1827521 [3/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Added: 
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf?rev=1827521=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff?rev=1827521=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
--
svn:mime-type = application/octet-stream

Added: phoenix/site/publish/phoenixcon-2018/feed.xml
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/feed.xml?rev=1827521=auto
==
--- phoenix/site/publish/phoenixcon-2018/feed.xml (added)
+++ phoenix/site/publish/phoenixcon-2018/feed.xml Thu Mar 22 18:33:21 2018
@@ -0,0 +1,22 @@
+
+
+http://www.w3.org/2005/Atom; >
+  https://jekyllrb.com/; version="3.7.3">Jekyll
+  https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/feed.xml; 
rel="self" type="application/atom+xml" />
+  https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/; 
rel="alternate" type="text/html" />
+  2018-03-22T14:24:03-04:00
+  https://phoenix.apache.org/phoenixcon-2018//phoenixcon-2018/
+
+  
+PhoenixCon
+  
+
+  
+PhoenixCon 2018
+  
+
+  
+
+  
+  
+

Added: phoenix/site/publish/phoenixcon-2018/img/hbase.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/img/hbase.png?rev=1827521=auto
==
Binary file - no diff available.

Propchange: phoenix/site/publish/phoenixcon-2018/img/hbase.png
--
svn:mime-type = application/octet-stream

Added: phoenix/site/publish/phoenixcon-2018/img/phoenix.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/img/phoenix.png?rev=1827521=auto
==
Binary file - no diff available.

Propchange: phoenix/site/publish/phoenixcon-2018/img/phoenix.png
--
svn:mime-type = application/octet-stream

Added: phoenix/site/publish/phoenixcon-2018/img/sponsors/asf.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/img/sponsors/asf.png?rev=1827521=auto
==
Binary file - no diff available.

Propchange: phoenix/site/publish/phoenixcon-2018/img/sponsors/asf.png
--
svn:mime-type = application/octet-stream

Added: phoenix/site/publish/phoenixcon-2018/img/sponsors/hortonworks.svg
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/img/sponsors/hortonworks.svg?rev=1827521=auto
==
--- phoenix/site/publish/phoenixcon-2018/img/sponsors/hortonworks.svg (added)
+++ phoenix/site/publish/phoenixcon-2018/img/sponsors/hortonworks.svg Thu Mar 
22 18:33:21 2018
@@ -0,0 +1 @@
+http://www.w3.org/2000/svg; 
xmlns:xlink="http://www.w3.org/1999/xlink; viewBox="0 0 429.67 
149.28">ui_logo
\ No newline at end of file

Added: phoenix/site/publish/phoenixcon-2018/index.html
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/index.html?rev=1827521=auto
==
--- phoenix/site/publish/phoenixcon-2018/index.html (added)
+++ phoenix/site/publish/phoenixcon-2018/index.html Thu Mar 22 18:33:21 2018
@@ -0,0 +1,312 @@
+
+
+
+
+
+PhoenixCon
+
+
+
+
+https://phoenix.apache.org/phoenixcon-2018//;>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+   
+
+
+
+
+
+Toggle navigation
+
+
+
+
+PhoenixCon
+
+
+
+
+
+
+
+
+
+About
+

svn commit: r1827521 [6/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Added: phoenix/site/publish/phoenixcon-2018/js/jquery-1.11.0.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/js/jquery-1.11.0.js?rev=1827521=auto
==
--- phoenix/site/publish/phoenixcon-2018/js/jquery-1.11.0.js (added)
+++ phoenix/site/publish/phoenixcon-2018/js/jquery-1.11.0.js Thu Mar 22 
18:33:21 2018
@@ -0,0 +1,4 @@
+/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | 
jquery.org/license */
+!function(a,b){"object"==typeof module&&"object"==typeof 
module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw
 new Error("jQuery requires a window with a document");return 
b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var 
c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return
 new 
n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return
 
b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return
 d.call(this)},get:function(a){return 
null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var 
b=n.merge(this.constructor(),a);return 
b.prevObject=this,b.context=this.context,b},each:function(a,b){return 
n.each(this,a,b)},map:function(a){return 
this.pushStack(n.map(this,function(b,c){return 
a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(th
 is,arguments))},first:function(){return this.eq(0)},last:function(){return 
this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return 
this.pushStack(c>=0&>c?[this[c]]:[])},end:function(){return 
this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var
 
a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof
 g&&(j=g,g=arguments[h]||{},h++),"object"==typeof 
g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d
 in 
e)a=g[d],c=e[d],g!==c&&(j&&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&(a)?a:[]):f=a&(a)?a:{},g[d]=n.extend(j,f,c)):void
 0!==c&&(g[d]=c));return 
g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw
 new 
Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return
 n
 ull!=a&==a.window},isNumeric:function(a){return 
a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in 
a)return!1;return!0},isPlainObject:function(a){var 
b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(l.ownLast)for(b
 in a)return j.call(a,b);for(b in a);return void 
0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof 
a||"function"==typeof a?h[i.call(a)]||"object":typeof 
a},globalEval:function(b){b&(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return
 a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return 
a.nodeName&()===b.toLowerCase()},each:function(a,b,c){var
 
d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else
 for(e in a)if(d=b.apply(a[e],c),d===!1)break}else 
if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!
 1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return 
a},trim:k&&!k.call("\ufeff\xa0")?function(a){return 
null==a?"":k.call(a)}:function(a){return 
null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return 
null!=a&&(s(Object(a))?n.merge(c,"string"==typeof 
a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return 
g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in 
b&[c]===a)return c}return-1},merge:function(a,b){var 
c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 
0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var 
d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&(a[f]);return 
e},map:function(a,b,c){var 
d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&(d);else
 for(f in a)d=b(a[f],f,c),null!=d&(d);return 
e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof 
b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(argum
 ents,2),e=function(){return 
a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void
 0},now:function(){return+new Date},support:l}),n.each("Boolean Number String 
Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object 
"+b+"]"]=b.toLowerCase()});function s(a){var 
b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&?!0:"array"===c||0===b||"number"==typeof
 b&>0& in a}var t=function(a){var 
b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s="sizzle"+-new 

svn commit: r1827521 [4/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Added: phoenix/site/publish/phoenixcon-2018/js/bootstrap.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/js/bootstrap.js?rev=1827521=auto
==
--- phoenix/site/publish/phoenixcon-2018/js/bootstrap.js (added)
+++ phoenix/site/publish/phoenixcon-2018/js/bootstrap.js Thu Mar 22 18:33:21 
2018
@@ -0,0 +1,2114 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript 
requires jQuery') }
+
+/* 
+ * Bootstrap: transition.js v3.2.0
+ * http://getbootstrap.com/javascript/#transitions
+ * 
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *  */
+
+
++function ($) {
+  'use strict';
+
+  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
+  // 
+
+  function transitionEnd() {
+var el = document.createElement('bootstrap')
+
+var transEndEventNames = {
+  WebkitTransition : 'webkitTransitionEnd',
+  MozTransition: 'transitionend',
+  OTransition  : 'oTransitionEnd otransitionend',
+  transition   : 'transitionend'
+}
+
+for (var name in transEndEventNames) {
+  if (el.style[name] !== undefined) {
+return { end: transEndEventNames[name] }
+  }
+}
+
+return false // explicit for ie8 (  ._.)
+  }
+
+  // http://blog.alexmaccaw.com/css-transitions
+  $.fn.emulateTransitionEnd = function (duration) {
+var called = false
+var $el = this
+$(this).one('bsTransitionEnd', function () { called = true })
+var callback = function () { if (!called) 
$($el).trigger($.support.transition.end) }
+setTimeout(callback, duration)
+return this
+  }
+
+  $(function () {
+$.support.transition = transitionEnd()
+
+if (!$.support.transition) return
+
+$.event.special.bsTransitionEnd = {
+  bindType: $.support.transition.end,
+  delegateType: $.support.transition.end,
+  handle: function (e) {
+if ($(e.target).is(this)) return e.handleObj.handler.apply(this, 
arguments)
+  }
+}
+  })
+
+}(jQuery);
+
+/* 
+ * Bootstrap: alert.js v3.2.0
+ * http://getbootstrap.com/javascript/#alerts
+ * 
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *  */
+
+
++function ($) {
+  'use strict';
+
+  // ALERT CLASS DEFINITION
+  // ==
+
+  var dismiss = '[data-dismiss="alert"]'
+  var Alert   = function (el) {
+$(el).on('click', dismiss, this.close)
+  }
+
+  Alert.VERSION = '3.2.0'
+
+  Alert.prototype.close = function (e) {
+var $this= $(this)
+var selector = $this.attr('data-target')
+
+if (!selector) {
+  selector = $this.attr('href')
+  selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip 
for ie7
+}
+
+var $parent = $(selector)
+
+if (e) e.preventDefault()
+
+if (!$parent.length) {
+  $parent = $this.hasClass('alert') ? $this : $this.parent()
+}
+
+$parent.trigger(e = $.Event('close.bs.alert'))
+
+if (e.isDefaultPrevented()) return
+
+$parent.removeClass('in')
+
+function removeElement() {
+  // detach from parent, fire event then clean up data
+  $parent.detach().trigger('closed.bs.alert').remove()
+}
+
+$.support.transition && $parent.hasClass('fade') ?
+  $parent
+.one('bsTransitionEnd', removeElement)
+.emulateTransitionEnd(150) :
+  removeElement()
+  }
+
+
+  // ALERT PLUGIN DEFINITION
+  // ===
+
+  function Plugin(option) {
+return this.each(function () {
+  var $this = $(this)
+  var data  = $this.data('bs.alert')
+
+  if (!data) $this.data('bs.alert', (data = new Alert(this)))
+  if (typeof option == 'string') data[option].call($this)
+})
+  }
+
+  var old = $.fn.alert
+
+  $.fn.alert = Plugin
+  $.fn.alert.Constructor = Alert
+
+
+  // ALERT NO CONFLICT
+  // =
+
+  $.fn.alert.noConflict = function () {
+$.fn.alert = old
+return this
+  }
+
+
+  // ALERT DATA-API
+  // ==
+
+  $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
+
+}(jQuery);
+
+/* 
+ * Bootstrap: 

svn commit: r1827521 [1/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Author: elserj
Date: Thu Mar 22 18:33:21 2018
New Revision: 1827521

URL: http://svn.apache.org/viewvc?rev=1827521=rev
Log:
Commit some better separation of the two events

Added:
phoenix/site/publish/phoenixcon-2018/
phoenix/site/publish/phoenixcon-2018/LICENCE
phoenix/site/publish/phoenixcon-2018/README.md
phoenix/site/publish/phoenixcon-2018/css/
phoenix/site/publish/phoenixcon-2018/css/font-awesome/
phoenix/site/publish/phoenixcon-2018/css/font-awesome/css/
phoenix/site/publish/phoenixcon-2018/css/font-awesome/css/font-awesome.css

phoenix/site/publish/phoenixcon-2018/css/font-awesome/css/font-awesome.min.css
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/FontAwesome.otf 
  (with props)

phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.eot
   (with props)

phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg

phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
   (with props)

phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
   (with props)
phoenix/site/publish/phoenixcon-2018/feed.xml
phoenix/site/publish/phoenixcon-2018/img/
phoenix/site/publish/phoenixcon-2018/img/hbase.png   (with props)
phoenix/site/publish/phoenixcon-2018/img/phoenix.png   (with props)
phoenix/site/publish/phoenixcon-2018/img/sponsors/
phoenix/site/publish/phoenixcon-2018/img/sponsors/asf.png   (with props)
phoenix/site/publish/phoenixcon-2018/img/sponsors/hortonworks.svg
phoenix/site/publish/phoenixcon-2018/index.html
phoenix/site/publish/phoenixcon-2018/js/
phoenix/site/publish/phoenixcon-2018/js/bootstrap.js
phoenix/site/publish/phoenixcon-2018/js/bootstrap.min.js
phoenix/site/publish/phoenixcon-2018/js/cbpAnimatedHeader.js
phoenix/site/publish/phoenixcon-2018/js/cbpAnimatedHeader.min.js
phoenix/site/publish/phoenixcon-2018/js/classie.js
phoenix/site/publish/phoenixcon-2018/js/freelancer.js
phoenix/site/publish/phoenixcon-2018/js/jqBootstrapValidation.js
phoenix/site/publish/phoenixcon-2018/js/jquery-1.11.0.js
phoenix/site/publish/phoenixcon-2018/js/jquery.easing.min.js
phoenix/site/publish/phoenixcon-2018/style.css
phoenix/site/source/src/site/resources/phoenixcon-2018/
phoenix/site/source/src/site/resources/phoenixcon-2018/LICENCE
phoenix/site/source/src/site/resources/phoenixcon-2018/README.md
phoenix/site/source/src/site/resources/phoenixcon-2018/css/
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/css/

phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/css/font-awesome.css
   (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/css/font-awesome.min.css
   (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/

phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/FontAwesome.otf
   (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.eot
   (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
   (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
   (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
   (with props)
phoenix/site/source/src/site/resources/phoenixcon-2018/feed.xml
phoenix/site/source/src/site/resources/phoenixcon-2018/img/
phoenix/site/source/src/site/resources/phoenixcon-2018/img/hbase.png   
(with props)
phoenix/site/source/src/site/resources/phoenixcon-2018/img/phoenix.png   
(with props)
phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/
phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/asf.png 
  (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/img/sponsors/hortonworks.svg
phoenix/site/source/src/site/resources/phoenixcon-2018/index.html
phoenix/site/source/src/site/resources/phoenixcon-2018/js/
phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.js   
(with props)
phoenix/site/source/src/site/resources/phoenixcon-2018/js/bootstrap.min.js  
 (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/js/cbpAnimatedHeader.js  
 (with props)

phoenix/site/source/src/site/resources/phoenixcon-2018/js/cbpAnimatedHeader.min.js
   (with props)
phoenix/site/source/src/site/resources/phoenixcon-2018/js/classie.js   
(with props)
phoenix/site/source/src/site/resources/phoenixcon-2018/js/freelancer.js   
(with props)


svn commit: r1827521 [7/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Added: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/css/font-awesome.css
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/css/font-awesome.css?rev=1827521=auto
==
--- 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/css/font-awesome.css
 (added)
+++ 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/css/font-awesome.css
 Thu Mar 22 18:33:21 2018
@@ -0,0 +1,1566 @@
+/*!
+ *  Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome
+ *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT 
License)
+ */
+/* FONT PATH
+ * -- */
+@font-face {
+  font-family: 'FontAwesome';
+  src: url('../fonts/fontawesome-webfont.eot?v=4.1.0');
+  src: url('../fonts/fontawesome-webfont.eot?#iefix=4.1.0') 
format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.1.0') 
format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.1.0') 
format('truetype'), 
url('../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') 
format('svg');
+  font-weight: normal;
+  font-style: normal;
+}
+.fa {
+  display: inline-block;
+  font-family: FontAwesome;
+  font-style: normal;
+  font-weight: normal;
+  line-height: 1;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+/* makes the font 33% larger relative to the icon container */
+.fa-lg {
+  font-size: 1.em;
+  line-height: 0.75em;
+  vertical-align: -15%;
+}
+.fa-2x {
+  font-size: 2em;
+}
+.fa-3x {
+  font-size: 3em;
+}
+.fa-4x {
+  font-size: 4em;
+}
+.fa-5x {
+  font-size: 5em;
+}
+.fa-fw {
+  width: 1.28571429em;
+  text-align: center;
+}
+.fa-ul {
+  padding-left: 0;
+  margin-left: 2.14285714em;
+  list-style-type: none;
+}
+.fa-ul > li {
+  position: relative;
+}
+.fa-li {
+  position: absolute;
+  left: -2.14285714em;
+  width: 2.14285714em;
+  top: 0.14285714em;
+  text-align: center;
+}
+.fa-li.fa-lg {
+  left: -1.85714286em;
+}
+.fa-border {
+  padding: .2em .25em .15em;
+  border: solid 0.08em #ee;
+  border-radius: .1em;
+}
+.pull-right {
+  float: right;
+}
+.pull-left {
+  float: left;
+}
+.fa.pull-left {
+  margin-right: .3em;
+}
+.fa.pull-right {
+  margin-left: .3em;
+}
+.fa-spin {
+  -webkit-animation: spin 2s infinite linear;
+  -moz-animation: spin 2s infinite linear;
+  -o-animation: spin 2s infinite linear;
+  animation: spin 2s infinite linear;
+}
+@-moz-keyframes spin {
+  0% {
+-moz-transform: rotate(0deg);
+  }
+  100% {
+-moz-transform: rotate(359deg);
+  }
+}
+@-webkit-keyframes spin {
+  0% {
+-webkit-transform: rotate(0deg);
+  }
+  100% {
+-webkit-transform: rotate(359deg);
+  }
+}
+@-o-keyframes spin {
+  0% {
+-o-transform: rotate(0deg);
+  }
+  100% {
+-o-transform: rotate(359deg);
+  }
+}
+@keyframes spin {
+  0% {
+-webkit-transform: rotate(0deg);
+transform: rotate(0deg);
+  }
+  100% {
+-webkit-transform: rotate(359deg);
+transform: rotate(359deg);
+  }
+}
+.fa-rotate-90 {
+  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
+  -webkit-transform: rotate(90deg);
+  -moz-transform: rotate(90deg);
+  -ms-transform: rotate(90deg);
+  -o-transform: rotate(90deg);
+  transform: rotate(90deg);
+}
+.fa-rotate-180 {
+  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
+  -webkit-transform: rotate(180deg);
+  -moz-transform: rotate(180deg);
+  -ms-transform: rotate(180deg);
+  -o-transform: rotate(180deg);
+  transform: rotate(180deg);
+}
+.fa-rotate-270 {
+  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
+  -webkit-transform: rotate(270deg);
+  -moz-transform: rotate(270deg);
+  -ms-transform: rotate(270deg);
+  -o-transform: rotate(270deg);
+  transform: rotate(270deg);
+}
+.fa-flip-horizontal {
+  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
+  -webkit-transform: scale(-1, 1);
+  -moz-transform: scale(-1, 1);
+  -ms-transform: scale(-1, 1);
+  -o-transform: scale(-1, 1);
+  transform: scale(-1, 1);
+}
+.fa-flip-vertical {
+  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
+  -webkit-transform: scale(1, -1);
+  -moz-transform: scale(1, -1);
+  -ms-transform: scale(1, -1);
+  -o-transform: scale(1, -1);
+  transform: scale(1, -1);
+}
+.fa-stack {
+  position: relative;
+  display: inline-block;
+  width: 2em;
+  height: 2em;
+  line-height: 2em;
+  vertical-align: middle;
+}
+.fa-stack-1x,
+.fa-stack-2x {
+  position: absolute;
+  left: 0;
+  width: 100%;
+  text-align: center;
+}
+.fa-stack-1x {
+  line-height: inherit;
+}
+.fa-stack-2x {
+  font-size: 2em;
+}
+.fa-inverse {
+  color: #ff;
+}
+/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
+   readers do not read off random characters that represent icons */
+.fa-glass:before {
+  content: "\f000";
+}

svn commit: r1827521 [8/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Added: 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg?rev=1827521=auto
==
--- 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
 (added)
+++ 
phoenix/site/source/src/site/resources/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
 Thu Mar 22 18:33:21 2018
@@ -0,0 +1,504 @@
+
+http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; >
+http://www.w3.org/2000/svg;>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

[... 308 lines stripped ...]



svn commit: r1827521 [2/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Added: 
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg?rev=1827521=auto
==
--- 
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
 (added)
+++ 
phoenix/site/publish/phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
 Thu Mar 22 18:33:21 2018
@@ -0,0 +1,504 @@
+
+http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; >
+http://www.w3.org/2000/svg;>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

[... 308 lines stripped ...]



svn commit: r1827521 [5/12] - in /phoenix/site: publish/language/ publish/phoenixcon-2018/ publish/phoenixcon-2018/css/ publish/phoenixcon-2018/css/font-awesome/ publish/phoenixcon-2018/css/font-aweso

2018-03-22 Thread elserj
Added: phoenix/site/publish/phoenixcon-2018/js/bootstrap.min.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/phoenixcon-2018/js/bootstrap.min.js?rev=1827521=auto
==
--- phoenix/site/publish/phoenixcon-2018/js/bootstrap.min.js (added)
+++ phoenix/site/publish/phoenixcon-2018/js/bootstrap.min.js Thu Mar 22 
18:33:21 2018
@@ -0,0 +1,6 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires 
jQuery");+function(a){"use strict";function b(){var 
a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd
 otransitionend",transition:"transitionend"};for(var c in b)if(void 
0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var
 c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var 
e=function(){c||a(d).trigger(a.support.transition.end)};return 
setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return
 a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 
0}})})}(jQuery),+function(a){"use strict";function b(b){return 
this.each(function(){var 
c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new 
d(this)),"string"==type
 of b&[b].call(c)})}var 
c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.2.0",d.prototype.close=function(b){function
 c(){f.detach().trigger("closed.bs.alert").remove()}var 
d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&(/.*(?=#[^\s]*$)/,""));var
 
f=a(e);b&(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&("fade")?f.one("bsTransitionEnd",c).emulateTransitionEnd(150):c())};var
 
e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return
 
a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use
 strict";function b(b){return this.each(function(){var 
d=a(this),e=d.data("bs.button"),f="object"==typeof 
b&e||d.data("bs.button",e=new 
c(this,f)),"toggle"==b?e.toggle():b&(b)})}var 
c=function(b,d){this.$element=a(b)
 
,this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.2.0",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var
 
c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&("resetText",d[e]()),d[e](null==f[b]?this.options[b]:f[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var
 a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var 
c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&("checked",!this.$element.hasClass("active")).trigger("change")}a&$element.toggleClass("active")};var
 
d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return
 a.fn.button=d,this},a(document).on("clic
 k.bs.button.data-api",'[data-toggle^="button"]',function(c){var 
d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()})}(jQuery),+function(a){"use
 strict";function b(b){return this.each(function(){var 
d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof
 b&),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new 
c(this,f)),"number"==typeof 
b?e.to(b):g?e[g]():f.interval&().cycle()})}var 
c=function(b,c){this.$element=a(b).on("keydown.bs.carousel",a.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.2.0",c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},c.prototype.keydown=function(a){switch(a.which){case
 37:this.prev();brea
 k;case 
39:this.next();break;default:return}a.preventDefault()},c.prototype.cycle=function(b){return
 
b||(this.paused=!1),this.interval&(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return
 
this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.to=function(b){var
 

[3/4] phoenix git commit: PHOENIX-4619 Process transactional updates to local index on server-side

2018-03-22 Thread jamestaylor
http://git-wip-us.apache.org/repos/asf/phoenix/blob/5814fcbe/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/LocalTableState.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/LocalTableState.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/LocalTableState.java
index 9bd4db8..4f65416 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/LocalTableState.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/LocalTableState.java
@@ -21,7 +21,6 @@ import org.apache.hadoop.hbase.Cell;
 import org.apache.hadoop.hbase.KeyValue;
 import org.apache.hadoop.hbase.KeyValueUtil;
 import org.apache.hadoop.hbase.client.Mutation;
-import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
 import org.apache.hadoop.hbase.util.Pair;
 import org.apache.phoenix.hbase.index.ValueGetter;
 import org.apache.phoenix.hbase.index.covered.data.IndexMemStore;
@@ -44,7 +43,6 @@ import 
org.apache.phoenix.hbase.index.util.IndexManagementUtil;
 public class LocalTableState implements TableState {
 
 private long ts;
-private RegionCoprocessorEnvironment env;
 private KeyValueStore memstore;
 private LocalHBaseState table;
 private Mutation update;
@@ -54,8 +52,7 @@ public class LocalTableState implements TableState {
 private List hints;
 private CoveredColumns columnSet;
 
-public LocalTableState(RegionCoprocessorEnvironment environment, 
LocalHBaseState table, Mutation update) {
-this.env = environment;
+public LocalTableState(LocalHBaseState table, Mutation update) {
 this.table = table;
 this.update = update;
 this.memstore = new IndexMemStore();
@@ -104,11 +101,6 @@ public class LocalTableState implements TableState {
 }
 
 @Override
-public RegionCoprocessorEnvironment getEnvironment() {
-return this.env;
-}
-
-@Override
 public long getCurrentTimestamp() {
 return this.ts;
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/5814fcbe/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/NonTxIndexBuilder.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/NonTxIndexBuilder.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/NonTxIndexBuilder.java
index 8dd57c0..97ac30d 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/NonTxIndexBuilder.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/NonTxIndexBuilder.java
@@ -51,7 +51,7 @@ public class NonTxIndexBuilder extends BaseIndexBuilder {
 @Override
 public Collection> getIndexUpdate(Mutation 
mutation, IndexMetaData indexMetaData) throws IOException {
// create a state manager, so we can manage each batch
-LocalTableState state = new LocalTableState(env, localTable, mutation);
+LocalTableState state = new LocalTableState(localTable, mutation);
 // build the index updates for each group
 IndexUpdateManager manager = new IndexUpdateManager(indexMetaData);
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/5814fcbe/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/TableState.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/TableState.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/TableState.java
index 605cbe3..cb2b41f 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/TableState.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/TableState.java
@@ -23,7 +23,6 @@ import java.util.Collection;
 import java.util.List;
 
 import org.apache.hadoop.hbase.KeyValue;
-import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
 import org.apache.hadoop.hbase.util.Pair;
 import org.apache.phoenix.hbase.index.ValueGetter;
 import org.apache.phoenix.hbase.index.covered.update.ColumnReference;
@@ -36,13 +35,6 @@ import 
org.apache.phoenix.hbase.index.covered.update.IndexedColumnGroup;
  */
 public interface TableState {
 
-  // use this to get batch ids/ptable stuff
-  /**
-   * WARNING: messing with this can affect the indexing plumbing. Use with 
caution :)
-   * @return get the current environment in which this table lives.
-   */
-  public RegionCoprocessorEnvironment getEnvironment();
-
   /**
* @return the current timestamp up-to-which we are releasing table state.
*/

http://git-wip-us.apache.org/repos/asf/phoenix/blob/5814fcbe/phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java
--
diff --git 

[2/4] phoenix git commit: PHOENIX-4659 Use coprocessor API to write local transactional indexes

2018-03-22 Thread jamestaylor
PHOENIX-4659 Use coprocessor API to write local transactional indexes


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

Branch: refs/heads/4.x-HBase-1.3
Commit: b61e72f007e46199ef27bd3308bec4f4bf448c67
Parents: 5814fcb
Author: James Taylor 
Authored: Sat Mar 17 14:18:59 2018 -0700
Committer: James Taylor 
Committed: Thu Mar 22 09:45:35 2018 -0700

--
 .../end2end/index/MutableIndexFailureIT.java|  7 ++-
 .../end2end/index/txn/TxWriteFailureIT.java |  6 +--
 .../index/PhoenixTransactionalIndexer.java  | 29 +++-
 .../phoenix/transaction/TransactionFactory.java | 13 ++
 .../apache/phoenix/util/TransactionUtil.java| 47 
 5 files changed, 96 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b61e72f0/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java
index 38bde7f..dfbaf3f 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java
@@ -469,6 +469,7 @@ public class MutableIndexFailureIT extends BaseTest {
 // uncommitted data when the DELETE is executed.
 FailingRegionObserver.FAIL_WRITE = true;
 try {
+FailingRegionObserver.FAIL_NEXT_WRITE = localIndex && 
transactional;
 conn.commit();
 if (commitShouldFail && (!localIndex || transactional) && 
this.throwIndexWriteFailure) {
 fail();
@@ -504,13 +505,17 @@ public class MutableIndexFailureIT extends BaseTest {
 
 public static class FailingRegionObserver extends SimpleRegionObserver {
 public static volatile boolean FAIL_WRITE = false;
+public static volatile boolean FAIL_NEXT_WRITE = false;
 public static final String FAIL_INDEX_NAME = "FAIL_IDX";
 public static final String FAIL_TABLE_NAME = "FAIL_TABLE";
 
 @Override
 public void 
preBatchMutate(ObserverContext c, 
MiniBatchOperationInProgress miniBatchOp) throws IOException {
 boolean throwException = false;
-if 
(c.getEnvironment().getRegionInfo().getTable().getNameAsString().endsWith("A_" 
+ FAIL_INDEX_NAME)
+if (FAIL_NEXT_WRITE) {
+throwException = true;
+FAIL_NEXT_WRITE = false;
+} else if 
(c.getEnvironment().getRegionInfo().getTable().getNameAsString().endsWith("A_" 
+ FAIL_INDEX_NAME)
 && FAIL_WRITE) {
 throwException = true;
 } else {

http://git-wip-us.apache.org/repos/asf/phoenix/blob/b61e72f0/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/txn/TxWriteFailureIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/txn/TxWriteFailureIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/txn/TxWriteFailureIT.java
index ec60151..049611c 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/txn/TxWriteFailureIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/txn/TxWriteFailureIT.java
@@ -105,7 +105,9 @@ public class TxWriteFailureIT extends 
BaseUniqueNamesOwnClusterIT {

@Test
 public void testIndexTableWriteFailure() throws Exception {
-helpTestWriteFailure(true);
+   if (!localIndex) { // We cannot fail the index write for local 
indexes because of the way they're written
+   helpTestWriteFailure(true);
+   }
}

@Test
@@ -175,8 +177,6 @@ public class TxWriteFailureIT extends 
BaseUniqueNamesOwnClusterIT {
 assertEquals("k3", rs.getString(1));
 assertEquals("v3", rs.getString(2));
 assertFalse(rs.next());
-
-conn.createStatement().execute("DROP TABLE " + dataTableFullName);
}



http://git-wip-us.apache.org/repos/asf/phoenix/blob/b61e72f0/phoenix-core/src/main/java/org/apache/phoenix/index/PhoenixTransactionalIndexer.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/index/PhoenixTransactionalIndexer.java
 

[1/4] phoenix git commit: PHOENIX-4660 Use TransactionProvider interface

2018-03-22 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 d2d10ca2d -> 45e75de76


PHOENIX-4660 Use TransactionProvider interface


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

Branch: refs/heads/4.x-HBase-1.3
Commit: 45e75de7664e315219fe65c643f08c20b44a01aa
Parents: b61e72f
Author: James Taylor 
Authored: Sat Mar 17 15:16:24 2018 -0700
Committer: James Taylor 
Committed: Thu Mar 22 09:45:35 2018 -0700

--
 .../phoenix/tx/FlappingTransactionIT.java   |   8 +-
 .../PhoenixTransactionalProcessor.java  |   2 +-
 .../apache/phoenix/execute/MutationState.java   |   8 +-
 .../PhoenixTxIndexMutationGenerator.java|   2 +-
 .../apache/phoenix/index/IndexMaintainer.java   |   2 +-
 .../index/IndexMetaDataCacheFactory.java|   2 +-
 .../index/PhoenixIndexMetaDataBuilder.java  |   2 +-
 .../query/ConnectionQueryServicesImpl.java  |   2 +-
 .../query/ConnectionlessQueryServicesImpl.java  |   2 +-
 .../transaction/OmidTransactionProvider.java|  78 +++
 .../transaction/TephraTransactionProvider.java  |  76 +++
 .../phoenix/transaction/TransactionFactory.java | 129 +--
 .../transaction/TransactionProvider.java|  36 ++
 .../org/apache/phoenix/util/PhoenixRuntime.java |   2 +-
 .../apache/phoenix/util/TransactionUtil.java|   8 +-
 .../java/org/apache/phoenix/query/BaseTest.java |   6 +-
 16 files changed, 220 insertions(+), 145 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/45e75de7/phoenix-core/src/it/java/org/apache/phoenix/tx/FlappingTransactionIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/tx/FlappingTransactionIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/tx/FlappingTransactionIT.java
index 301768b..200cf1c 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/tx/FlappingTransactionIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/tx/FlappingTransactionIT.java
@@ -225,9 +225,9 @@ public class FlappingTransactionIT extends 
ParallelStatsDisabledIT {
 }
 
 PhoenixTransactionContext txContext =
-  
TransactionFactory.getTransactionFactory().getTransactionContext(pconn);
+  
TransactionFactory.getTransactionProvider().getTransactionContext(pconn);
 PhoenixTransactionalTable txTable =
-  
TransactionFactory.getTransactionFactory().getTransactionalTable(txContext, 
htable);
+  
TransactionFactory.getTransactionProvider().getTransactionalTable(txContext, 
htable);
 
 txContext.begin();
 
@@ -277,9 +277,9 @@ public class FlappingTransactionIT extends 
ParallelStatsDisabledIT {
 
 // Repeat the same as above, but this time abort the transaction
 txContext =
-  
TransactionFactory.getTransactionFactory().getTransactionContext(pconn);
+  
TransactionFactory.getTransactionProvider().getTransactionContext(pconn);
 txTable =
-  
TransactionFactory.getTransactionFactory().getTransactionalTable(txContext, 
htable);
+  
TransactionFactory.getTransactionProvider().getTransactionalTable(txContext, 
htable);
 
 txContext.begin();
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/45e75de7/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixTransactionalProcessor.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixTransactionalProcessor.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixTransactionalProcessor.java
index ca0c997..0c26ecc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixTransactionalProcessor.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixTransactionalProcessor.java
@@ -22,7 +22,7 @@ import org.apache.phoenix.transaction.TransactionFactory;
 public class PhoenixTransactionalProcessor extends DelegateRegionObserver {
 
 public PhoenixTransactionalProcessor() {
-
super(TransactionFactory.getTransactionFactory().getTransactionContext().getCoprocessor());
+
super(TransactionFactory.getTransactionProvider().getTransactionContext().getCoprocessor());
 }
 
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/45e75de7/phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java
--
diff --git 

[4/4] phoenix git commit: PHOENIX-4619 Process transactional updates to local index on server-side

2018-03-22 Thread jamestaylor
PHOENIX-4619 Process transactional updates to local index on server-side


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

Branch: refs/heads/4.x-HBase-1.3
Commit: 5814fcbe0529efb9e1d308c09870cefbf1872a95
Parents: d2d10ca
Author: James Taylor 
Authored: Sat Mar 17 12:52:38 2018 -0700
Committer: James Taylor 
Committed: Thu Mar 22 09:45:35 2018 -0700

--
 .../phoenix/end2end/index/BaseIndexIT.java  |  16 +-
 .../phoenix/end2end/index/ImmutableIndexIT.java |   3 +-
 .../end2end/index/MutableIndexFailureIT.java|   8 +-
 .../apache/phoenix/compile/DeleteCompiler.java  |  36 +-
 .../PhoenixTransactionalProcessor.java  |   2 +-
 .../apache/phoenix/execute/MutationState.java   | 103 +++-
 .../PhoenixTxIndexMutationGenerator.java| 449 
 .../PhoenixTxnIndexMutationGenerator.java   | 519 ---
 .../org/apache/phoenix/hbase/index/Indexer.java |   1 -
 .../hbase/index/builder/BaseIndexBuilder.java   |   4 +-
 .../hbase/index/builder/BaseIndexCodec.java |   7 -
 .../phoenix/hbase/index/covered/IndexCodec.java |  14 +-
 .../hbase/index/covered/LocalTableState.java|  10 +-
 .../hbase/index/covered/NonTxIndexBuilder.java  |   2 +-
 .../phoenix/hbase/index/covered/TableState.java |   8 -
 .../apache/phoenix/index/IndexMaintainer.java   |  23 +-
 .../phoenix/index/PhoenixIndexBuilder.java  |  21 +-
 .../apache/phoenix/index/PhoenixIndexCodec.java |  34 +-
 .../phoenix/index/PhoenixIndexMetaData.java |  78 +--
 .../index/PhoenixIndexMetaDataBuilder.java  | 106 
 .../index/PhoenixTransactionalIndexer.java  | 442 +---
 .../query/ConnectionQueryServicesImpl.java  |   8 +
 .../transaction/OmidTransactionContext.java |   2 +-
 .../transaction/PhoenixTransactionContext.java  |   2 +-
 .../transaction/TephraTransactionContext.java   |   2 +-
 .../index/covered/CoveredColumnIndexCodec.java  |   6 +-
 .../covered/CoveredIndexCodecForTesting.java|   5 +-
 .../index/covered/LocalTableStateTest.java  |  10 +-
 .../index/covered/NonTxIndexBuilderTest.java|   3 +
 .../covered/TestCoveredColumnIndexCodec.java|   6 +-
 30 files changed, 785 insertions(+), 1145 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/5814fcbe/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/BaseIndexIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/BaseIndexIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/BaseIndexIT.java
index 1483c58..f914256 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/BaseIndexIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/BaseIndexIT.java
@@ -239,15 +239,17 @@ public abstract class BaseIndexIT extends 
ParallelStatsDisabledIT {
 }
 
 private void assertNoClientSideIndexMutations(Connection conn) throws 
SQLException {
-if (mutable) {
-Iterator> iterator = 
PhoenixRuntime.getUncommittedDataIterator(conn);
-if (iterator.hasNext()) {
-byte[] tableName = iterator.next().getFirst(); // skip data 
table mutations
-PTable table = PhoenixRuntime.getTable(conn, 
Bytes.toString(tableName));
+Iterator> iterator = 
PhoenixRuntime.getUncommittedDataIterator(conn);
+if (iterator.hasNext()) {
+byte[] tableName = iterator.next().getFirst(); // skip data table 
mutations
+PTable table = PhoenixRuntime.getTable(conn, 
Bytes.toString(tableName));
+boolean clientSideUpdate = !localIndex && (!mutable || 
transactional);
+if (!clientSideUpdate) {
 assertTrue(table.getType() == PTableType.TABLE); // should be 
data table
-boolean hasIndexData = iterator.hasNext();
-assertFalse(hasIndexData && !transactional); // should have no 
index data
 }
+boolean hasIndexData = iterator.hasNext();
+// global immutable and global transactional tables are processed 
client side
+assertEquals(clientSideUpdate, hasIndexData); 
 }
 }
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/5814fcbe/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ImmutableIndexIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ImmutableIndexIT.java
 

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

2018-03-22 Thread Apache Jenkins Server
<<< text/html; charset=UTF-8: Unrecognized >>>


Jenkins build is back to normal : Phoenix-4.x-HBase-1.3 #70

2018-03-22 Thread Apache Jenkins Server
See 




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

2018-03-22 Thread Apache Jenkins Server
<<< text/html; charset=UTF-8: Unrecognized >>>


Build failed in Jenkins: Phoenix | Master #1967

2018-03-22 Thread Apache Jenkins Server
See 


Changes:

[rajeshbabu] PHOENIX-4655 Upgrade to latest version from version <4.8.0 may 
fail with

--
[...truncated 119.79 KB...]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.7 s - 
in org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.DropSchemaIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
174.214 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
174.623 s - in org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
174.7 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
177.527 s - in 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.952 s 
- in org.apache.phoenix.end2end.DropSchemaIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 116.132 
s - in org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.026 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.175 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.IndexToolIT
[INFO] Running org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Running org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 193.259 
s - in org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 193.482 
s - in org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 512.44 
s - in org.apache.phoenix.end2end.CostBasedDecisionIT
[INFO] Running org.apache.phoenix.end2end.PartialResultServerConfigurationIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 348.205 
s - in org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Running org.apache.phoenix.end2end.PhoenixDriverIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
173.51 s - in 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[WARNING] Tests run: 26, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
176.568 s - in 
org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.982 s 
- in org.apache.phoenix.end2end.PartialResultServerConfigurationIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 469.419 
s - in org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.24 s 
- in org.apache.phoenix.end2end.PhoenixDriverIT
[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: 9.308 s 
- in org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Running org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.623 s 
- in org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.674 s 
- in org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 439.883 
s - in org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Running org.apache.phoenix.end2end.SystemTablePermissionsIT
[INFO] Running org.apache.phoenix.end2end.TableDDLPermissionsIT
[INFO] Running org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Running org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.633 s 
- in 

Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-4.x-HBase-0.98/1840/

2018-03-22 Thread Apache Jenkins Server
[...truncated 50 lines...]

Build failed in Jenkins: Phoenix | 4.x-HBase-0.98 #1840

2018-03-22 Thread Apache Jenkins Server
See 


Changes:

[rajeshbabu] PHOENIX-4655 Upgrade to latest version from version <4.8.0 may 
fail with

--
[...truncated 113.29 KB...]
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$37.call(RegionCoprocessorHost.java:1040)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1656)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1733)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1688)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postBatchMutateIndispensably(RegionCoprocessorHost.java:1036)
at 
org.apache.hadoop.hbase.regionserver.HRegion.doMiniBatchMutation(HRegion.java:2767)
at 
org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2359)
at 
org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2314)
at 
org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2318)
at 
org.apache.hadoop.hbase.regionserver.HRegionServer.doBatchOp(HRegionServer.java:4678)
at 
org.apache.hadoop.hbase.regionserver.HRegionServer.doNonAtomicRegionMutation(HRegionServer.java:3835)
at 
org.apache.hadoop.hbase.regionserver.HRegionServer.multi(HRegionServer.java:3680)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32500)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2195)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:104)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: 
Failed 1 action: NotServingRegionException: 1 time, servers with issues: 
asf926.gq1.ygridcore.net,34215,1521719953890, 
at 
org.apache.hadoop.hbase.client.AsyncProcess$BatchErrors.makeException(AsyncProcess.java:211)
at 
org.apache.hadoop.hbase.client.AsyncProcess$BatchErrors.access$500(AsyncProcess.java:195)
at 
org.apache.hadoop.hbase.client.AsyncProcess.getErrors(AsyncProcess.java:1082)
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatchCallback(HConnectionManager.java:2479)
at org.apache.hadoop.hbase.client.HTable.batchCallback(HTable.java:898)
at org.apache.hadoop.hbase.client.HTable.batchCallback(HTable.java:913)
at org.apache.hadoop.hbase.client.HTable.batch(HTable.java:888)
at 
org.apache.phoenix.hbase.index.write.ParallelWriterIndexCommitter$1.call(ParallelWriterIndexCommitter.java:170)
at 
org.apache.phoenix.hbase.index.write.ParallelWriterIndexCommitter$1.call(ParallelWriterIndexCommitter.java:133)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
: 1 time, servers with issues: asf926.gq1.ygridcore.net,34215,1521719953890, 
at 
org.apache.phoenix.tx.ParameterizedTransactionIT.testNonTxToTxTable(ParameterizedTransactionIT.java:288)
Caused by: org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: 
Failed 1 action: org.apache.hadoop.hbase.DoNotRetryIOException: Failed 1 
action: NotServingRegionException: 1 time, servers with issues: 
asf926.gq1.ygridcore.net,34215,1521719953890, 
at 
org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:80)
at 
org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:62)
at 
org.apache.phoenix.index.PhoenixTransactionalIndexer.postBatchMutateIndispensably(PhoenixTransactionalIndexer.java:240)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$37.call(RegionCoprocessorHost.java:1040)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1656)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1733)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1688)
at 
org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postBatchMutateIndispensably(RegionCoprocessorHost.java:1036)
at 
org.apache.hadoop.hbase.regionserver.HRegion.doMiniBatchMutation(HRegion.java:2767)
at 
org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2359)
at 

phoenix git commit: PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with TableNotFoundException if we have local indexes but no multi-tenant tables.(Rajeshbabu)

2018-03-22 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 d88e4972e -> 421620138


PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with 
TableNotFoundException if we have local indexes but no multi-tenant 
tables.(Rajeshbabu)


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 421620138761ca1cbe08b7c79e608c6ed753bfca
Parents: d88e497
Author: Rajeshbabu Chintaguntla 
Authored: Thu Mar 22 16:32:10 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Thu Mar 22 16:32:10 2018 +0530

--
 .../src/main/java/org/apache/phoenix/util/UpgradeUtil.java | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/42162013/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java 
b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
index d239a56..8967fba 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
@@ -603,8 +603,10 @@ public class UpgradeUtil {
 String indexPhysicalTableName = 
MetaDataUtil.getViewIndexTableName(viewPTable.getPhysicalName().getString());
 if (physicalTables.add(indexPhysicalTableName)) {
 final TableName tableName = 
TableName.valueOf(indexPhysicalTableName);
-admin.disableTable(tableName);
-admin.truncateTable(tableName, false);
+if(admin.tableExists(tableName)) {
+admin.disableTable(tableName);
+admin.truncateTable(tableName, false);
+}
 }
 }
 }



phoenix git commit: PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with TableNotFoundException if we have local indexes but no multi-tenant tables.(Rajeshbabu)

2018-03-22 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 7fea8b64d -> c1f7bbe32


PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with 
TableNotFoundException if we have local indexes but no multi-tenant 
tables.(Rajeshbabu)


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

Branch: refs/heads/4.x-HBase-1.1
Commit: c1f7bbe326cfb7f523e574d2d8c8f34e4a37e7d9
Parents: 7fea8b6
Author: Rajeshbabu Chintaguntla 
Authored: Thu Mar 22 16:30:29 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Thu Mar 22 16:30:29 2018 +0530

--
 .../src/main/java/org/apache/phoenix/util/UpgradeUtil.java | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c1f7bbe3/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java 
b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
index f09590d..741bdff 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
@@ -603,8 +603,10 @@ public class UpgradeUtil {
 String indexPhysicalTableName = 
MetaDataUtil.getViewIndexTableName(viewPTable.getPhysicalName().getString());
 if (physicalTables.add(indexPhysicalTableName)) {
 final TableName tableName = 
TableName.valueOf(indexPhysicalTableName);
-admin.disableTable(tableName);
-admin.truncateTable(tableName, false);
+if(admin.tableExists(tableName)) {
+admin.disableTable(tableName);
+admin.truncateTable(tableName, false);
+}
 }
 }
 }



phoenix git commit: PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with TableNotFoundException if we have local indexes but no multi-tenant tables.(Rajeshbabu)

2018-03-22 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 b77960592 -> 0fef552f6


PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with 
TableNotFoundException if we have local indexes but no multi-tenant 
tables.(Rajeshbabu)


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

Branch: refs/heads/4.x-HBase-1.2
Commit: 0fef552f6cd7329ee71a507f8476d9b5631b01aa
Parents: b779605
Author: Rajeshbabu Chintaguntla 
Authored: Thu Mar 22 16:29:33 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Thu Mar 22 16:29:33 2018 +0530

--
 .../src/main/java/org/apache/phoenix/util/UpgradeUtil.java | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/0fef552f/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java 
b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
index f09590d..741bdff 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
@@ -603,8 +603,10 @@ public class UpgradeUtil {
 String indexPhysicalTableName = 
MetaDataUtil.getViewIndexTableName(viewPTable.getPhysicalName().getString());
 if (physicalTables.add(indexPhysicalTableName)) {
 final TableName tableName = 
TableName.valueOf(indexPhysicalTableName);
-admin.disableTable(tableName);
-admin.truncateTable(tableName, false);
+if(admin.tableExists(tableName)) {
+admin.disableTable(tableName);
+admin.truncateTable(tableName, false);
+}
 }
 }
 }



phoenix git commit: PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with TableNotFoundException if we have local indexes but no multi-tenant tables.(Rajeshbabu)

2018-03-22 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 1cce283d4 -> d2d10ca2d


PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with 
TableNotFoundException if we have local indexes but no multi-tenant 
tables.(Rajeshbabu)


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

Branch: refs/heads/4.x-HBase-1.3
Commit: d2d10ca2d532e2f8b02e87082cd7da130420be05
Parents: 1cce283
Author: Rajeshbabu Chintaguntla 
Authored: Thu Mar 22 16:28:52 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Thu Mar 22 16:28:52 2018 +0530

--
 .../src/main/java/org/apache/phoenix/util/UpgradeUtil.java | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/d2d10ca2/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java 
b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
index f09590d..741bdff 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
@@ -603,8 +603,10 @@ public class UpgradeUtil {
 String indexPhysicalTableName = 
MetaDataUtil.getViewIndexTableName(viewPTable.getPhysicalName().getString());
 if (physicalTables.add(indexPhysicalTableName)) {
 final TableName tableName = 
TableName.valueOf(indexPhysicalTableName);
-admin.disableTable(tableName);
-admin.truncateTable(tableName, false);
+if(admin.tableExists(tableName)) {
+admin.disableTable(tableName);
+admin.truncateTable(tableName, false);
+}
 }
 }
 }



phoenix git commit: PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with TableNotFoundException if we have local indexes but no multi-tenant tables.(Rajeshbabu)

2018-03-22 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/master ae2802644 -> 383d1a5ac


PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with 
TableNotFoundException if we have local indexes but no multi-tenant 
tables.(Rajeshbabu)


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

Branch: refs/heads/master
Commit: 383d1a5ac9c743c0ad479dfccab26b320c1b8aee
Parents: ae28026
Author: Rajeshbabu Chintaguntla 
Authored: Thu Mar 22 16:28:08 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Thu Mar 22 16:28:08 2018 +0530

--
 .../src/main/java/org/apache/phoenix/util/UpgradeUtil.java | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/383d1a5a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java 
b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
index f09590d..741bdff 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
@@ -603,8 +603,10 @@ public class UpgradeUtil {
 String indexPhysicalTableName = 
MetaDataUtil.getViewIndexTableName(viewPTable.getPhysicalName().getString());
 if (physicalTables.add(indexPhysicalTableName)) {
 final TableName tableName = 
TableName.valueOf(indexPhysicalTableName);
-admin.disableTable(tableName);
-admin.truncateTable(tableName, false);
+if(admin.tableExists(tableName)) {
+admin.disableTable(tableName);
+admin.truncateTable(tableName, false);
+}
 }
 }
 }



phoenix git commit: PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with TableNotFoundException if we have local indexes but no multi-tenant tables.(Rajeshbabu)

2018-03-22 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/5.x-HBase-2.0 31c674a82 -> 0bcf1227b


PHOENIX-4655 Upgrade to latest version from version <4.8.0 may fail with 
TableNotFoundException if we have local indexes but no multi-tenant 
tables.(Rajeshbabu)


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

Branch: refs/heads/5.x-HBase-2.0
Commit: 0bcf1227b28085c90625092728174f1f8a5427cc
Parents: 31c674a
Author: Rajeshbabu Chintaguntla 
Authored: Thu Mar 22 16:27:15 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Thu Mar 22 16:27:15 2018 +0530

--
 .../src/main/java/org/apache/phoenix/util/UpgradeUtil.java | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/0bcf1227/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java 
b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
index 06358e6..6fbe760 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java
@@ -607,8 +607,10 @@ public class UpgradeUtil {
 String indexPhysicalTableName = 
MetaDataUtil.getViewIndexTableName(viewPTable.getPhysicalName().getString());
 if (physicalTables.add(indexPhysicalTableName)) {
 final TableName tableName = 
TableName.valueOf(indexPhysicalTableName);
-admin.disableTable(tableName);
-admin.truncateTable(tableName, false);
+if(admin.tableExists(tableName)) {
+admin.disableTable(tableName);
+admin.truncateTable(tableName, false);
+}
 }
 }
 }



Jenkins build is back to normal : Phoenix-4.x-HBase-1.2 #299

2018-03-22 Thread Apache Jenkins Server
See 




Build failed in Jenkins: Phoenix Compile Compatibility with HBase #583

2018-03-22 Thread Apache Jenkins Server
See 


--
[...truncated 39.68 KB...]
[ERROR] 
:[364,5]
 method does not override or implement a method from a supertype
[ERROR] 
:[370,5]
 method does not override or implement a method from a supertype
[ERROR] 
:[376,5]
 method does not override or implement a method from a supertype
[ERROR] 
:[382,5]
 method does not override or implement a method from a supertype
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on 
project phoenix-core: Compilation failure: Compilation failure: 
[ERROR] 
:[34,39]
 cannot find symbol
[ERROR]   symbol:   class MetricRegistry
[ERROR]   location: package org.apache.hadoop.hbase.metrics
[ERROR] 
:[144,16]
 cannot find symbol
[ERROR]   symbol:   class MetricRegistry
[ERROR]   location: class 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.PhoenixMetaDataControllerEnvironment
[ERROR] 
:[24,35]
 cannot find symbol
[ERROR]   symbol:   class DelegatingHBaseRpcController
[ERROR]   location: package org.apache.hadoop.hbase.ipc
[ERROR] 
:[25,35]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: package org.apache.hadoop.hbase.ipc
[ERROR] 
:[37,37]
 cannot find symbol
[ERROR]   symbol: class DelegatingHBaseRpcController
[ERROR] 
:[56,38]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: class 
org.apache.hadoop.hbase.ipc.controller.MetadataRpcController
[ERROR] 
:[26,35]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: package org.apache.hadoop.hbase.ipc
[ERROR] 
:[40,12]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: class 
org.apache.hadoop.hbase.ipc.controller.InterRegionServerMetadataRpcControllerFactory
[ERROR] 
:[46,12]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: class 
org.apache.hadoop.hbase.ipc.controller.InterRegionServerMetadataRpcControllerFactory
[ERROR] 
:[52,12]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: class 
org.apache.hadoop.hbase.ipc.controller.InterRegionServerMetadataRpcControllerFactory
[ERROR] 
:[57,46]
 cannot 

Build failed in Jenkins: Phoenix | Master #1966

2018-03-22 Thread Apache Jenkins Server
See 


Changes:

[ankitsinghal59] PHOENIX-4661 Handled deleted PTables in the 
MetadataCache(Addendum)

--
[...truncated 112.06 KB...]
[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 189.31 
s - in org.apache.phoenix.end2end.join.HashJoinNoIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 193.181 
s - in org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 326.299 
s - in org.apache.phoenix.end2end.join.HashJoinGlobalIndexIT
[INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 537.872 
s - in org.apache.phoenix.end2end.index.MutableIndexIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.254 s 
- in org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Running org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.9 s - 
in org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Running org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.799 s 
- in org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Running org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s 
- in org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Running org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.147 s 
- in org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.286 s 
- in org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Running org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.52 s 
- in org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Running org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.505 s 
- in org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Running org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.745 s 
- in org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Running org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.58 s 
- in org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 216.659 
s - in org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 405.878 
s - in org.apache.phoenix.end2end.join.SortMergeJoinGlobalIndexIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.435 s 
- in org.apache.phoenix.tx.TransactionIT
[INFO] Running org.apache.phoenix.tx.TxCheckpointIT
[INFO] Running org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.769 s 
- in org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 625.553 
s - in org.apache.phoenix.end2end.join.HashJoinLocalIndexIT
[ERROR] Tests run: 24, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
535.083 s <<< FAILURE! - in org.apache.phoenix.end2end.join.SubqueryIT
[ERROR] testExistsSubquery[1](org.apache.phoenix.end2end.join.SubqueryIT)  Time 
elapsed: 302.235 s  <<< ERROR!
java.sql.SQLTimeoutException: Operation timed out.
at 
org.apache.phoenix.end2end.join.SubqueryIT.testExistsSubquery(SubqueryIT.java:493)

[WARNING] Tests run: 52, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
289.337 s - in org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 639.478 
s - in org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 288.905 
s - in org.apache.phoenix.tx.TxCheckpointIT
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   ConcurrentMutationsIT.testConcurrentDeletesAndUpsertValues:214 
Expected to find PK in data table: (0,0)
[ERROR]   

phoenix git commit: PHOENIX-4440 Local index split/merge IT tests are failing(Rajeshbabu)

2018-03-22 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/5.x-HBase-2.0 8ee15d9f8 -> 31c674a82


PHOENIX-4440 Local index split/merge IT tests are failing(Rajeshbabu)


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

Branch: refs/heads/5.x-HBase-2.0
Commit: 31c674a826b188c93713d6057ae9dc3238d564c3
Parents: 8ee15d9
Author: Rajeshbabu Chintaguntla 
Authored: Thu Mar 22 14:23:31 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Thu Mar 22 14:23:31 2018 +0530

--
 .../phoenix/end2end/LocalIndexSplitMergeIT.java | 60 +++-
 .../index/MutableIndexSplitForwardScanIT.java   |  3 +-
 .../index/MutableIndexSplitReverseScanIT.java   |  3 +-
 .../hadoop/hbase/client/RegionInfoUtil.java | 24 
 .../regionserver/IndexHalfStoreFileReader.java  | 45 ---
 .../IndexHalfStoreFileReaderGenerator.java  | 19 +--
 .../LocalIndexStoreFileScanner.java | 43 +++---
 .../coprocessor/BaseScannerRegionObserver.java  |  2 +-
 .../query/ConnectionQueryServicesImpl.java  | 12 ++--
 .../java/org/apache/phoenix/util/ScanUtil.java  |  7 +--
 .../phoenix/execute/CorrelatePlanTest.java  |  1 -
 .../index/write/TestWALRecoveryCaching.java |  9 ++-
 12 files changed, 174 insertions(+), 54 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/31c674a8/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
index c27acee..d6783ff 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
@@ -52,7 +52,6 @@ import org.junit.experimental.categories.Category;
 import com.google.common.collect.Maps;
 
 @Category(NeedsOwnMiniClusterTest.class)
-@Ignore
 public class LocalIndexSplitMergeIT extends BaseTest {
 
 @BeforeClass
@@ -265,4 +264,63 @@ public class LocalIndexSplitMergeIT extends BaseTest {
 }
 }
 
+@Test
+public void testLocalIndexScanWithMergeSpecialCase() throws Exception {
+String schemaName = generateUniqueName();
+String tableName = schemaName + "." + generateUniqueName();
+String indexName = "IDX_" + generateUniqueName();
+TableName physicalTableName = 
SchemaUtil.getPhysicalTableName(tableName.getBytes(), false);
+createBaseTable(tableName, "('a','b','def')");
+Connection conn1 = getConnectionForLocalIndexTest();
+try {
+String[] strings =
+{ "aa", "aaa", "", "bb", "cc", "dd", "dff", "g", "h", 
"i", "j", "k", "l",
+"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
"w", "x", "y", "z" };
+for (int i = 0; i < 26; i++) {
+conn1.createStatement()
+.execute("UPSERT INTO " + tableName + " values('" + 
strings[i] + "'," + i
++ "," + (i + 1) + "," + (i + 2) + ",'" + 
strings[25 - i] + "')");
+}
+conn1.commit();
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + " ON " + 
tableName + "(v1)");
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + "_2 ON " + tableName 
+ "(k3)");
+
+Admin admin = 
conn1.unwrap(PhoenixConnection.class).getQueryServices().getAdmin();
+List regionsOfUserTable =
+MetaTableAccessor.getTableRegions(admin.getConnection(), 
physicalTableName,
+false);
+
admin.mergeRegionsAsync(regionsOfUserTable.get(0).getEncodedNameAsBytes(),
+regionsOfUserTable.get(1).getEncodedNameAsBytes(), false);
+regionsOfUserTable =
+MetaTableAccessor.getTableRegions(admin.getConnection(), 
physicalTableName,
+false);
+
+while (regionsOfUserTable.size() != 3) {
+Thread.sleep(100);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(admin.getConnection(), physicalTableName,
+false);
+}
+String query = "SELECT t_id,k1,v1 FROM " + tableName;
+ResultSet rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+  

phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache(Addendum)

2018-03-22 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 35248893f -> b77960592


PHOENIX-4661 Handled deleted PTables in the MetadataCache(Addendum)


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

Branch: refs/heads/4.x-HBase-1.2
Commit: b779605928cc81085630bcf8911a0ea4e9244152
Parents: 3524889
Author: Ankit Singhal 
Authored: Thu Mar 22 13:05:03 2018 +0530
Committer: Ankit Singhal 
Committed: Thu Mar 22 13:05:03 2018 +0530

--
 .../java/org/apache/phoenix/end2end/ChangePermissionsIT.java | 8 
 .../org/apache/phoenix/end2end/SystemTablePermissionsIT.java | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b7796059/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
index a30f01f..3965f69 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
@@ -167,7 +167,7 @@ public class ChangePermissionsIT extends BasePermissionsIT {
 
 // Grant READ permissions to RegularUser2 on the table
 // Permissions should propagate automatically to relevant physical 
tables such as global index and view index.
-verifyAllowed(grantPermissions("R", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
+verifyAllowed(grantPermissions("RX", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
 // Granting permissions directly to index tables should fail
 verifyDenied(grantPermissions("W", regularUser2, SCHEMA_NAME + "." + 
IDX1_TABLE_NAME, false), AccessDeniedException.class, regularUser1);
 // Granting permissions directly to views should fail. We expect 
TableNotFoundException since VIEWS are not physical tables
@@ -209,12 +209,12 @@ public class ChangePermissionsIT extends 
BasePermissionsIT {
 grantSystemTableAccess(superUser1, regularUser1);
 
 // Grant Permissions to Groups (Should be automatically applicable to 
all users inside it)
-verifyAllowed(grantPermissions("AR", GROUP_SYSTEM_ACCESS, 
FULL_TABLE_NAME, false), superUser1);
+verifyAllowed(grantPermissions("ARX", GROUP_SYSTEM_ACCESS, 
FULL_TABLE_NAME, false), superUser1);
 verifyAllowed(readTable(FULL_TABLE_NAME), groupUser);
 
 // GroupUser is an admin and can grant perms to other users
 verifyDenied(readTable(FULL_TABLE_NAME), AccessDeniedException.class, 
regularUser1);
-verifyAllowed(grantPermissions("R", regularUser1, FULL_TABLE_NAME, 
false), groupUser);
+verifyAllowed(grantPermissions("RX", regularUser1, FULL_TABLE_NAME, 
false), groupUser);
 verifyAllowed(readTable(FULL_TABLE_NAME), regularUser1);
 
 // Revoke the perms and try accessing data again
@@ -247,7 +247,7 @@ public class ChangePermissionsIT extends BasePermissionsIT {
 verifyDenied(readMultiTenantTableWithoutIndex(FULL_TABLE_NAME), 
AccessDeniedException.class, regularUser2);
 
 // Grant perms to base table (Should propagate to View Index as well)
-verifyAllowed(grantPermissions("R", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
+verifyAllowed(grantPermissions("RX", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
 // Try reading full table
 verifyAllowed(readMultiTenantTableWithoutIndex(FULL_TABLE_NAME), 
regularUser2);
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/b7796059/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
index bbe7114..0788ed7 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
@@ -70,7 +70,7 @@ public class SystemTablePermissionsIT extends 
BasePermissionsIT {
 Action.EXEC, Action.READ);
 }
 grantPermissions(regularUser1.getShortName(),
-Collections.singleton(TABLE_NAME), Action.READ);
+   

phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache(Addendum)

2018-03-22 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/master 1b72808b9 -> ae2802644


PHOENIX-4661 Handled deleted PTables in the MetadataCache(Addendum)


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

Branch: refs/heads/master
Commit: ae2802644caca0f2a2fabe47651be73c223f304b
Parents: 1b72808
Author: Ankit Singhal 
Authored: Thu Mar 22 13:03:25 2018 +0530
Committer: Ankit Singhal 
Committed: Thu Mar 22 13:03:25 2018 +0530

--
 .../java/org/apache/phoenix/end2end/ChangePermissionsIT.java | 8 
 .../org/apache/phoenix/end2end/SystemTablePermissionsIT.java | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ae280264/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
index a30f01f..3965f69 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
@@ -167,7 +167,7 @@ public class ChangePermissionsIT extends BasePermissionsIT {
 
 // Grant READ permissions to RegularUser2 on the table
 // Permissions should propagate automatically to relevant physical 
tables such as global index and view index.
-verifyAllowed(grantPermissions("R", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
+verifyAllowed(grantPermissions("RX", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
 // Granting permissions directly to index tables should fail
 verifyDenied(grantPermissions("W", regularUser2, SCHEMA_NAME + "." + 
IDX1_TABLE_NAME, false), AccessDeniedException.class, regularUser1);
 // Granting permissions directly to views should fail. We expect 
TableNotFoundException since VIEWS are not physical tables
@@ -209,12 +209,12 @@ public class ChangePermissionsIT extends 
BasePermissionsIT {
 grantSystemTableAccess(superUser1, regularUser1);
 
 // Grant Permissions to Groups (Should be automatically applicable to 
all users inside it)
-verifyAllowed(grantPermissions("AR", GROUP_SYSTEM_ACCESS, 
FULL_TABLE_NAME, false), superUser1);
+verifyAllowed(grantPermissions("ARX", GROUP_SYSTEM_ACCESS, 
FULL_TABLE_NAME, false), superUser1);
 verifyAllowed(readTable(FULL_TABLE_NAME), groupUser);
 
 // GroupUser is an admin and can grant perms to other users
 verifyDenied(readTable(FULL_TABLE_NAME), AccessDeniedException.class, 
regularUser1);
-verifyAllowed(grantPermissions("R", regularUser1, FULL_TABLE_NAME, 
false), groupUser);
+verifyAllowed(grantPermissions("RX", regularUser1, FULL_TABLE_NAME, 
false), groupUser);
 verifyAllowed(readTable(FULL_TABLE_NAME), regularUser1);
 
 // Revoke the perms and try accessing data again
@@ -247,7 +247,7 @@ public class ChangePermissionsIT extends BasePermissionsIT {
 verifyDenied(readMultiTenantTableWithoutIndex(FULL_TABLE_NAME), 
AccessDeniedException.class, regularUser2);
 
 // Grant perms to base table (Should propagate to View Index as well)
-verifyAllowed(grantPermissions("R", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
+verifyAllowed(grantPermissions("RX", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
 // Try reading full table
 verifyAllowed(readMultiTenantTableWithoutIndex(FULL_TABLE_NAME), 
regularUser2);
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/ae280264/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
index bbe7114..0788ed7 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
@@ -70,7 +70,7 @@ public class SystemTablePermissionsIT extends 
BasePermissionsIT {
 Action.EXEC, Action.READ);
 }
 grantPermissions(regularUser1.getShortName(),
-Collections.singleton(TABLE_NAME), Action.READ);
+

phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache(Addendum)

2018-03-22 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 ba6abf7e3 -> 1cce283d4


PHOENIX-4661 Handled deleted PTables in the MetadataCache(Addendum)


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

Branch: refs/heads/4.x-HBase-1.3
Commit: 1cce283d47660ef3efbae3b4e408b40b6deb63ed
Parents: ba6abf7
Author: Ankit Singhal 
Authored: Thu Mar 22 12:54:01 2018 +0530
Committer: Ankit Singhal 
Committed: Thu Mar 22 12:54:01 2018 +0530

--
 .../java/org/apache/phoenix/end2end/ChangePermissionsIT.java | 8 
 .../org/apache/phoenix/end2end/SystemTablePermissionsIT.java | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/1cce283d/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
index a30f01f..3965f69 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ChangePermissionsIT.java
@@ -167,7 +167,7 @@ public class ChangePermissionsIT extends BasePermissionsIT {
 
 // Grant READ permissions to RegularUser2 on the table
 // Permissions should propagate automatically to relevant physical 
tables such as global index and view index.
-verifyAllowed(grantPermissions("R", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
+verifyAllowed(grantPermissions("RX", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
 // Granting permissions directly to index tables should fail
 verifyDenied(grantPermissions("W", regularUser2, SCHEMA_NAME + "." + 
IDX1_TABLE_NAME, false), AccessDeniedException.class, regularUser1);
 // Granting permissions directly to views should fail. We expect 
TableNotFoundException since VIEWS are not physical tables
@@ -209,12 +209,12 @@ public class ChangePermissionsIT extends 
BasePermissionsIT {
 grantSystemTableAccess(superUser1, regularUser1);
 
 // Grant Permissions to Groups (Should be automatically applicable to 
all users inside it)
-verifyAllowed(grantPermissions("AR", GROUP_SYSTEM_ACCESS, 
FULL_TABLE_NAME, false), superUser1);
+verifyAllowed(grantPermissions("ARX", GROUP_SYSTEM_ACCESS, 
FULL_TABLE_NAME, false), superUser1);
 verifyAllowed(readTable(FULL_TABLE_NAME), groupUser);
 
 // GroupUser is an admin and can grant perms to other users
 verifyDenied(readTable(FULL_TABLE_NAME), AccessDeniedException.class, 
regularUser1);
-verifyAllowed(grantPermissions("R", regularUser1, FULL_TABLE_NAME, 
false), groupUser);
+verifyAllowed(grantPermissions("RX", regularUser1, FULL_TABLE_NAME, 
false), groupUser);
 verifyAllowed(readTable(FULL_TABLE_NAME), regularUser1);
 
 // Revoke the perms and try accessing data again
@@ -247,7 +247,7 @@ public class ChangePermissionsIT extends BasePermissionsIT {
 verifyDenied(readMultiTenantTableWithoutIndex(FULL_TABLE_NAME), 
AccessDeniedException.class, regularUser2);
 
 // Grant perms to base table (Should propagate to View Index as well)
-verifyAllowed(grantPermissions("R", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
+verifyAllowed(grantPermissions("RX", regularUser2, FULL_TABLE_NAME, 
false), regularUser1);
 // Try reading full table
 verifyAllowed(readMultiTenantTableWithoutIndex(FULL_TABLE_NAME), 
regularUser2);
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/1cce283d/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
index bbe7114..0788ed7 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablePermissionsIT.java
@@ -70,7 +70,7 @@ public class SystemTablePermissionsIT extends 
BasePermissionsIT {
 Action.EXEC, Action.READ);
 }
 grantPermissions(regularUser1.getShortName(),
-Collections.singleton(TABLE_NAME), Action.READ);
+