Build failed in Jenkins: Phoenix | Master #1568

2017-02-27 Thread Apache Jenkins Server
See 


Changes:

[samarth] PHOENIX-3697 Tests failing on master and 4.x-HBase-1.1 branches 
because

--
[...truncated 76.81 KB...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.735 sec - in 
org.apache.phoenix.end2end.DisableLocalIndexIT
Running org.apache.phoenix.end2end.DistinctPrefixFilterIT
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.794 sec - 
in org.apache.phoenix.end2end.AutoPartitionViewsIT
Running org.apache.phoenix.end2end.DynamicColumnIT
Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.29 sec - in 
org.apache.phoenix.end2end.ArrayToStringFunctionIT
Running org.apache.phoenix.end2end.DynamicFamilyIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.786 sec - in 
org.apache.phoenix.end2end.DynamicFamilyIT
Running org.apache.phoenix.end2end.DynamicUpsertIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.01 sec - in 
org.apache.phoenix.end2end.DynamicUpsertIT
Running org.apache.phoenix.end2end.EncodeFunctionIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.612 sec - in 
org.apache.phoenix.end2end.EncodeFunctionIT
Running org.apache.phoenix.end2end.EvaluationOfORIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.305 sec - in 
org.apache.phoenix.end2end.EvaluationOfORIT
Running org.apache.phoenix.end2end.ExecuteStatementsIT
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.521 sec - 
in org.apache.phoenix.end2end.DefaultColumnValueIT
Running org.apache.phoenix.end2end.ExpFunctionEnd2EndIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.484 sec - in 
org.apache.phoenix.end2end.DynamicColumnIT
Running org.apache.phoenix.end2end.FirstValueFunctionIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.249 sec - in 
org.apache.phoenix.end2end.ExecuteStatementsIT
Running org.apache.phoenix.end2end.FlappingAlterTableIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11 sec - in 
org.apache.phoenix.end2end.ExpFunctionEnd2EndIT
Running org.apache.phoenix.end2end.GetSetByteBitFunctionEnd2EndIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.362 sec - in 
org.apache.phoenix.end2end.GetSetByteBitFunctionEnd2EndIT
Running org.apache.phoenix.end2end.GroupByCaseIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.17 sec - in 
org.apache.phoenix.end2end.FirstValueFunctionIT
Running org.apache.phoenix.end2end.HashJoinIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.503 sec - in 
org.apache.phoenix.end2end.FlappingAlterTableIT
Running org.apache.phoenix.end2end.HashJoinLocalIndexIT
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.758 sec - 
in org.apache.phoenix.end2end.DeleteIT
Running org.apache.phoenix.end2end.HashJoinMoreIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.049 sec - in 
org.apache.phoenix.end2end.HashJoinLocalIndexIT
Running org.apache.phoenix.end2end.ImmutableTablePropertiesIT
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.57 sec - in 
org.apache.phoenix.end2end.DistinctPrefixFilterIT
Running org.apache.phoenix.end2end.InListIT
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.561 sec - in 
org.apache.phoenix.end2end.ImmutableTablePropertiesIT
Running org.apache.phoenix.end2end.InstrFunctionIT
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.84 sec - in 
org.apache.phoenix.end2end.GroupByCaseIT
Running org.apache.phoenix.end2end.IsNullIT
Tests run: 49, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 126.962 sec - 
in org.apache.phoenix.end2end.DateTimeIT
Running org.apache.phoenix.end2end.LastValueFunctionIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.829 sec - in 
org.apache.phoenix.end2end.IsNullIT
Running org.apache.phoenix.end2end.LikeExpressionIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.205 sec - in 
org.apache.phoenix.end2end.InstrFunctionIT
Running org.apache.phoenix.end2end.LnLogFunctionEnd2EndIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.033 sec - in 
org.apache.phoenix.end2end.LnLogFunctionEnd2EndIT
Running org.apache.phoenix.end2end.MD5FunctionIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.911 sec - in 
org.apache.phoenix.end2end.MD5FunctionIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.021 sec - in 
org.apache.phoenix.end2end.HashJoinMoreIT
Running org.apache.phoenix.end2end.MapReduceIT
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.325 sec - 
in org.apache.phoenix.end2end.LastValueFunctionIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.759 sec - in 
org.apache.phoenix.end2end.LikeExpressionIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.501 s

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

2017-02-27 Thread Apache Jenkins Server
See 

--
[...truncated 74.94 KB...]
Results :

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

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

---
 T E S T S
---
Running org.apache.phoenix.end2end.ArrayIT
Running org.apache.phoenix.end2end.CastAndCoerceIT
Running org.apache.phoenix.end2end.ColumnProjectionOptimizationIT
Running org.apache.phoenix.end2end.CaseStatementIT
Running org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT
Running org.apache.phoenix.end2end.AggregateQueryIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.676 sec - in 
org.apache.phoenix.end2end.ColumnProjectionOptimizationIT
Running org.apache.phoenix.end2end.CreateSchemaIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.373 sec - in 
org.apache.phoenix.end2end.CreateSchemaIT
Running org.apache.phoenix.end2end.CreateTableIT
Tests run: 49, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.91 sec - in 
org.apache.phoenix.end2end.CastAndCoerceIT
Running org.apache.phoenix.end2end.CustomEntityDataIT
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.4 sec - in 
org.apache.phoenix.end2end.CaseStatementIT
Tests run: 80, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.244 sec - 
in org.apache.phoenix.end2end.ArrayIT
Running org.apache.phoenix.end2end.DerivedTableIT
Running org.apache.phoenix.end2end.DistinctCountIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.49 sec - in 
org.apache.phoenix.end2end.CustomEntityDataIT
Running org.apache.phoenix.end2end.DropSchemaIT
Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.834 sec - 
in org.apache.phoenix.end2end.AggregateQueryIT
Running org.apache.phoenix.end2end.ExtendedQueryExecIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.373 sec - in 
org.apache.phoenix.end2end.DropSchemaIT
Running org.apache.phoenix.end2end.FunkyNamesIT
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.644 sec - 
in org.apache.phoenix.end2end.DerivedTableIT
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.567 sec - 
in org.apache.phoenix.end2end.DistinctCountIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.555 sec - in 
org.apache.phoenix.end2end.ExtendedQueryExecIT
Running org.apache.phoenix.end2end.GroupByIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.191 sec - in 
org.apache.phoenix.end2end.FunkyNamesIT
Running org.apache.phoenix.end2end.MutableQueryIT
Running org.apache.phoenix.end2end.NotQueryIT
Running org.apache.phoenix.end2end.NativeHBaseTypesIT
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.467 sec - 
in org.apache.phoenix.end2end.CreateTableIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.852 sec - in 
org.apache.phoenix.end2end.NativeHBaseTypesIT
Running org.apache.phoenix.end2end.ProductMetricsIT
Running org.apache.phoenix.end2end.PointInTimeQueryIT
Tests run: 245, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 149.911 sec - 
in org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT
Tests run: 61, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.048 sec - 
in org.apache.phoenix.end2end.ProductMetricsIT
Running org.apache.phoenix.end2end.QueryIT
Tests run: 77, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.345 sec - 
in org.apache.phoenix.end2end.NotQueryIT
Running org.apache.phoenix.end2end.ReadIsolationLevelIT
Running org.apache.phoenix.end2end.QueryDatabaseMetaDataIT
Tests run: 91, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.735 sec - 
in org.apache.phoenix.end2end.GroupByIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.181 sec - in 
org.apache.phoenix.end2end.ReadIsolationLevelIT
Running org.apache.phoenix.end2end.RowValueConstructorIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.66 sec - in 
org.apache.phoenix.end2end.PointInTimeQueryIT
Running org.apache.phoenix.end2end.SequenceBulkAllocationIT
Running org.apache.phoenix.end2end.ScanQueryIT
Tests run: 112, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.127 sec - 
in org.apache.phoenix.end2end.QueryIT
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.911 sec - 
in org.apache.phoenix.end2end.SequenceBulkAllocationIT
Running org.apache.phoenix.end2end.ToNumberFunctionIT
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.855 sec - in 
org.apache.phoenix.end2end.ToNumberFunctionIT
Running org.apache.phoenix.end2end.TopNIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.383 sec - in 
org.apache.phoenix.end2end.TopNIT
Running org.apache.phoenix.end2end.TruncateFunctionIT
Running org.apache.phoenix.end2end.SequenceIT
Tests 

Build failed in Jenkins: Phoenix | Master #1567

2017-02-27 Thread Apache Jenkins Server
See 


Changes:

[samarth] PHOENIX-3695 Remove testUnfoundSingleColumnCaseStatement from

--
[...truncated 68.33 KB...]
Running org.apache.phoenix.end2end.ToCharFunctionIT
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 139.062 sec - 
in org.apache.phoenix.end2end.SubqueryUsingSortMergeJoinIT
Running org.apache.phoenix.end2end.ToDateFunctionIT
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.186 sec - in 
org.apache.phoenix.end2end.ToDateFunctionIT
Running org.apache.phoenix.end2end.UnionAllIT
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.657 sec - 
in org.apache.phoenix.end2end.TenantSpecificViewIndexIT
Running org.apache.phoenix.end2end.UpgradeIT
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.45 sec - in 
org.apache.phoenix.end2end.ToCharFunctionIT
Running org.apache.phoenix.end2end.UpperLowerFunctionIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec - in 
org.apache.phoenix.end2end.UpperLowerFunctionIT
Running org.apache.phoenix.end2end.UpsertBigValuesIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.489 sec - in 
org.apache.phoenix.end2end.UpsertBigValuesIT
Running org.apache.phoenix.end2end.UpsertSelectAutoCommitIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.783 sec - in 
org.apache.phoenix.end2end.UpsertSelectAutoCommitIT
Running org.apache.phoenix.end2end.UseSchemaIT
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.285 sec - in 
org.apache.phoenix.end2end.UseSchemaIT
Running org.apache.phoenix.end2end.index.AsyncIndexDisabledIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.536 sec - in 
org.apache.phoenix.end2end.index.AsyncIndexDisabledIT
Running org.apache.phoenix.end2end.index.ChildViewsUseParentViewIndexIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.914 sec - in 
org.apache.phoenix.end2end.index.ChildViewsUseParentViewIndexIT
Running org.apache.phoenix.end2end.index.DropMetadataIT
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.014 sec - 
in org.apache.phoenix.end2end.UnionAllIT
Running org.apache.phoenix.end2end.index.GlobalIndexOptimizationIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.483 sec - in 
org.apache.phoenix.end2end.index.GlobalIndexOptimizationIT
Running org.apache.phoenix.end2end.index.IndexExpressionIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.164 sec - in 
org.apache.phoenix.end2end.index.DropMetadataIT
Running org.apache.phoenix.end2end.index.IndexIT
Tests run: 99, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 891.523 sec - 
in org.apache.phoenix.end2end.HashJoinIT
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 180.579 sec - 
in org.apache.phoenix.end2end.UpgradeIT
Running org.apache.phoenix.end2end.index.MutableIndexIT
Running org.apache.phoenix.end2end.index.IndexMetadataIT
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.355 sec - 
in org.apache.phoenix.end2end.index.IndexMetadataIT
Running org.apache.phoenix.end2end.index.SaltedIndexIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.918 sec - in 
org.apache.phoenix.end2end.index.SaltedIndexIT
Running org.apache.phoenix.end2end.index.ViewIndexIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.378 sec - in 
org.apache.phoenix.end2end.index.ViewIndexIT
Running org.apache.phoenix.end2end.index.txn.MutableRollbackIT
Tests run: 102, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 907.352 sec - 
in org.apache.phoenix.end2end.SortMergeJoinIT
Tests run: 80, Failures: 0, Errors: 0, Skipped: 24, Time elapsed: 283.68 sec - 
in org.apache.phoenix.end2end.index.MutableIndexIT
Running org.apache.phoenix.end2end.index.txn.RollbackIT
Tests run: 26, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 344.459 sec 
<<< FAILURE! - in org.apache.phoenix.end2end.ArithmeticQueryIT
testDecimalUpsertSelect(org.apache.phoenix.end2end.ArithmeticQueryIT)  Time 
elapsed: 302.916 sec  <<< FAILURE!
java.lang.AssertionError: expected:<206> but was:<6000>
at 
org.apache.phoenix.end2end.ArithmeticQueryIT.testDecimalUpsertSelect(ArithmeticQueryIT.java:236)

Running org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.152 sec - in 
org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
Running org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
Tests run: 67, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 408.87 sec - 
in org.apache.phoenix.end2end.index.IndexExpressionIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.486 sec - in 
org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
Running org.apache.phoenix.iterate.RoundRobinResultIteratorIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0

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

2017-02-27 Thread Apache Jenkins Server
See 


Changes:

[samarth] PHOENIX-3697 Tests failing on master and 4.x-HBase-1.1 branches 
because

--
[...truncated 437.65 KB...]

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

---
 T E S T S
---
Running org.apache.phoenix.end2end.ArrayIT
Running org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT
Running org.apache.phoenix.end2end.ColumnProjectionOptimizationIT
Running org.apache.phoenix.end2end.CastAndCoerceIT
Running org.apache.phoenix.end2end.CaseStatementIT
Running org.apache.phoenix.end2end.AggregateQueryIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.417 sec - in 
org.apache.phoenix.end2end.ColumnProjectionOptimizationIT
Running org.apache.phoenix.end2end.CreateSchemaIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.28 sec - in 
org.apache.phoenix.end2end.CreateSchemaIT
Running org.apache.phoenix.end2end.CreateTableIT
Tests run: 80, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.184 sec - 
in org.apache.phoenix.end2end.ArrayIT
Running org.apache.phoenix.end2end.CustomEntityDataIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.429 sec - in 
org.apache.phoenix.end2end.CustomEntityDataIT
Running org.apache.phoenix.end2end.DerivedTableIT
Tests run: 49, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.028 sec - 
in org.apache.phoenix.end2end.CastAndCoerceIT
Running org.apache.phoenix.end2end.DistinctCountIT
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.811 sec - 
in org.apache.phoenix.end2end.CaseStatementIT
Running org.apache.phoenix.end2end.DropSchemaIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.221 sec - in 
org.apache.phoenix.end2end.DropSchemaIT
Running org.apache.phoenix.end2end.ExtendedQueryExecIT
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.582 sec - 
in org.apache.phoenix.end2end.DerivedTableIT
Running org.apache.phoenix.end2end.FunkyNamesIT
Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.618 sec - 
in org.apache.phoenix.end2end.AggregateQueryIT
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.299 sec - 
in org.apache.phoenix.end2end.DistinctCountIT
Running org.apache.phoenix.end2end.GroupByIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.512 sec - in 
org.apache.phoenix.end2end.ExtendedQueryExecIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.229 sec - in 
org.apache.phoenix.end2end.FunkyNamesIT
Running org.apache.phoenix.end2end.MutableQueryIT
Running org.apache.phoenix.end2end.NotQueryIT
Running org.apache.phoenix.end2end.NativeHBaseTypesIT
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 95.729 sec - 
in org.apache.phoenix.end2end.CreateTableIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.917 sec - in 
org.apache.phoenix.end2end.NativeHBaseTypesIT
Running org.apache.phoenix.end2end.PointInTimeQueryIT
Running org.apache.phoenix.end2end.ProductMetricsIT
Tests run: 245, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 150.633 sec - 
in org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT
Tests run: 61, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.512 sec - 
in org.apache.phoenix.end2end.ProductMetricsIT
Running org.apache.phoenix.end2end.QueryIT
Tests run: 91, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.235 sec - 
in org.apache.phoenix.end2end.GroupByIT
Running org.apache.phoenix.end2end.QueryDatabaseMetaDataIT
Running org.apache.phoenix.end2end.ReadIsolationLevelIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.079 sec - in 
org.apache.phoenix.end2end.ReadIsolationLevelIT
Running org.apache.phoenix.end2end.RowValueConstructorIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.076 sec - in 
org.apache.phoenix.end2end.PointInTimeQueryIT
Running org.apache.phoenix.end2end.ScanQueryIT
Tests run: 77, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.999 sec - 
in org.apache.phoenix.end2end.NotQueryIT
Tests run: 112, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.589 sec - 
in org.apache.phoenix.end2end.QueryIT
Running org.apache.phoenix.end2end.SequenceBulkAllocationIT
Running org.apache.phoenix.end2end.SequenceIT
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.993 sec - 
in org.apache.phoenix.end2end.SequenceBulkAllocationIT
Running org.apache.phoenix.end2end.ToNumberFunctionIT
Tests run: 112, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.206 sec - 
in org.apache.phoenix.end2end.ScanQueryIT
Running org.apache.phoenix.end2end.TopNIT
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.442 sec - in 
org.apache.phoenix.end2end.ToNumberFunctionIT
Run

phoenix git commit: PHOENIX-3697 Tests failing on master and 4.x-HBase-1.1 branches because of HBASE-17587

2017-02-27 Thread samarth
Repository: phoenix
Updated Branches:
  refs/heads/master 0ea5602f2 -> 877cac36d


PHOENIX-3697 Tests failing on master and 4.x-HBase-1.1 branches because of 
HBASE-17587


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

Branch: refs/heads/master
Commit: 877cac36d772e1ac7c3b9eebde11911c2994609f
Parents: 0ea5602
Author: Samarth 
Authored: Mon Feb 27 16:14:28 2017 -0800
Committer: Samarth 
Committed: Mon Feb 27 16:14:28 2017 -0800

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/877cac36/pom.xml
--
diff --git a/pom.xml b/pom.xml
index d61813a..10c76e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -65,7 +65,7 @@
 ${project.basedir}
 
 
-1.2.4
+1.2.3
 2.7.1
 
 



phoenix git commit: PHOENIX-3697 Tests failing on master and 4.x-HBase-1.1 branches because of HBASE-17587

2017-02-27 Thread samarth
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 ddae730a7 -> f8f9f9ba4


PHOENIX-3697 Tests failing on master and 4.x-HBase-1.1 branches because of 
HBASE-17587


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

Branch: refs/heads/4.x-HBase-1.1
Commit: f8f9f9ba43f6717a63adf860c6ee5b8e922eff72
Parents: ddae730
Author: Samarth 
Authored: Mon Feb 27 16:14:00 2017 -0800
Committer: Samarth 
Committed: Mon Feb 27 16:14:00 2017 -0800

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/f8f9f9ba/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 281fbe0..f73283b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -65,7 +65,7 @@
 ${project.basedir}
 
 
-1.1.8
+1.1.6
 2.7.1
 
 



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

2017-02-27 Thread Apache Jenkins Server
See 


Changes:

[samarth] PHOENIX-3695 Remove testUnfoundSingleColumnCaseStatement from

--
[...truncated 71.16 KB...]
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.043 sec - in 
org.apache.phoenix.end2end.index.txn.MutableRollbackIT
Running org.apache.phoenix.end2end.index.txn.RollbackIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.38 sec - in 
org.apache.phoenix.end2end.index.txn.RollbackIT
Running org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.813 sec - in 
org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
Running org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.364 sec - in 
org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
Running org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.119 sec - in 
org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
Running org.apache.phoenix.iterate.RoundRobinResultIteratorIT
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.903 sec - in 
org.apache.phoenix.iterate.RoundRobinResultIteratorIT
Running org.apache.phoenix.rpc.UpdateCacheIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.379 sec - in 
org.apache.phoenix.rpc.UpdateCacheIT
Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.921 sec - in 
org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
Running org.apache.phoenix.trace.PhoenixTraceReaderIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.815 sec - in 
org.apache.phoenix.trace.PhoenixTraceReaderIT
Running org.apache.phoenix.trace.PhoenixTracingEndToEndIT
Tests run: 80, Failures: 0, Errors: 0, Skipped: 24, Time elapsed: 241.512 sec - 
in org.apache.phoenix.end2end.index.MutableIndexIT
Running org.apache.phoenix.tx.FlappingTransactionIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.778 sec - in 
org.apache.phoenix.tx.FlappingTransactionIT
Running org.apache.phoenix.tx.ParameterizedTransactionIT
Tests run: 102, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 774.723 sec - 
in org.apache.phoenix.end2end.SortMergeJoinIT
Tests run: 67, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 336.107 sec - 
in org.apache.phoenix.end2end.index.IndexExpressionIT
Running org.apache.phoenix.tx.TransactionIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.128 sec - in 
org.apache.phoenix.trace.PhoenixTracingEndToEndIT
Running org.apache.phoenix.tx.TxCheckpointIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.941 sec - in 
org.apache.phoenix.tx.TransactionIT
Tests run: 52, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 141.906 sec - 
in org.apache.phoenix.tx.ParameterizedTransactionIT
Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 217.719 sec - 
in org.apache.phoenix.tx.TxCheckpointIT
Tests run: 304, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,481.806 sec 
- in org.apache.phoenix.end2end.index.IndexIT

Results :

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

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

---
 T E S T S
---
Running org.apache.phoenix.end2end.ArrayIT
Running org.apache.phoenix.end2end.CaseStatementIT
Running org.apache.phoenix.end2end.AggregateQueryIT
Running org.apache.phoenix.end2end.CastAndCoerceIT
Running org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT
Tests run: 80, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.999 sec - 
in org.apache.phoenix.end2end.ArrayIT
Running org.apache.phoenix.end2end.ColumnProjectionOptimizationIT
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.892 sec - 
in org.apache.phoenix.end2end.CaseStatementIT
Running org.apache.phoenix.end2end.CreateSchemaIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.32 sec - in 
org.apache.phoenix.end2end.CreateSchemaIT
Running org.apache.phoenix.end2end.CreateTableIT
Tests run: 49, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.133 sec - 
in org.apache.phoenix.end2end.CastAndCoerceIT
Running org.apache.phoenix.end2end.CustomEntityDataIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.847 sec - in 
org.apache.phoenix.end2end.CustomEntityDataIT
Running org.apache.phoenix.end2end.DerivedTableIT
Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.716 sec - 
in org.apache.phoenix.end2end.AggregateQueryIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.831 sec - in 
org.apache.phoenix.end2end.ColumnProj

phoenix git commit: PHOENIX-3695 Remove testUnfoundSingleColumnCaseStatement from CaseStatementIT

2017-02-27 Thread samarth
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 83edcf1d1 -> ddae730a7


PHOENIX-3695 Remove testUnfoundSingleColumnCaseStatement from CaseStatementIT


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

Branch: refs/heads/4.x-HBase-1.1
Commit: ddae730a71b073b036d057d0d27eec1ad9286d74
Parents: 83edcf1
Author: Samarth 
Authored: Mon Feb 27 14:09:47 2017 -0800
Committer: Samarth 
Committed: Mon Feb 27 14:09:47 2017 -0800

--
 .../org/apache/phoenix/end2end/BaseQueryIT.java | 25 +++---
 .../apache/phoenix/end2end/CaseStatementIT.java | 34 
 2 files changed, 12 insertions(+), 47 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ddae730a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
index e82daf9..9a58b5b 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
@@ -67,19 +67,18 @@ public abstract class BaseQueryIT extends 
BaseClientManagedTimeIT {
 protected static final long BATCH_SIZE = 3;
 protected static final String[] INDEX_DDLS = new String[] {
 "CREATE INDEX %s ON %s (a_integer DESC) INCLUDE ("
-+ "A_STRING, " + "B_STRING, " + "A_DATE)"};
-//,
-//"CREATE INDEX %s ON %s (a_integer, a_string) INCLUDE ("
-//+ "B_STRING, " + "A_DATE)",
-//"CREATE INDEX %s ON %s (a_integer) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer DESC) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer, a_string) INCLUDE (" + 
"B_STRING, "
-//+ "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)", 
-//"" };
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE INDEX %s ON %s (a_integer, a_string) INCLUDE ("
++ "B_STRING, " + "A_DATE)",
+"CREATE INDEX %s ON %s (a_integer) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer DESC) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer, a_string) INCLUDE (" + "  
  B_STRING, "
++ "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)", 
+"" };
 
 @BeforeClass
 @Shadower(classBeingShadowed = BaseClientManagedTimeIT.class)

http://git-wip-us.apache.org/repos/asf/phoenix/blob/ddae730a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
index d2b14a9..31b08db 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
@@ -178,40 +178,6 @@ public class CaseStatementIT extends BaseQueryIT {
 }
 
 @Test
-@Ignore // FIXME:PHOENIX-3695
-public void testUnfoundSingleColumnCaseStatement() throws Exception {
-String query = "SELECT entity_id, b_string FROM " + tableName + " 
WHERE organization_id=? and CASE WHEN a_integer = 0 or a_integer != 0 THEN 1 
ELSE 0 END = 0";
-String url = getUrl() + ";" + PhoenixRuntime.CURRENT_SCN_ATTRIB + "=" 
+ (ts + 5); // Run query at timestamp 5
-Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
-Connection conn = DriverManager.getConnection(url, props);
-// Set ROW5.A_INTEGER to null so that we have one row
-// where the else clause of the CASE statement will
-// fire.
-url = getUrl() + ";" + PhoenixRuntime.CURRENT_SCN_ATTRIB + "=" + (ts + 
1); // Run query at timestamp 5
-Connection upsertConn = DriverManager.getConnection(url, props);
-

phoenix git commit: PHOENIX-3695 Remove testUnfoundSingleColumnCaseStatement from CaseStatementIT

2017-02-27 Thread samarth
Repository: phoenix
Updated Branches:
  refs/heads/master 07b32b95e -> 0ea5602f2


PHOENIX-3695 Remove testUnfoundSingleColumnCaseStatement from CaseStatementIT


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

Branch: refs/heads/master
Commit: 0ea5602f203dc8980125ae75f12989bd793fdf98
Parents: 07b32b9
Author: Samarth 
Authored: Mon Feb 27 14:09:26 2017 -0800
Committer: Samarth 
Committed: Mon Feb 27 14:09:26 2017 -0800

--
 .../org/apache/phoenix/end2end/BaseQueryIT.java | 25 +++---
 .../apache/phoenix/end2end/CaseStatementIT.java | 34 
 2 files changed, 12 insertions(+), 47 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/0ea5602f/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
index e82daf9..9a58b5b 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
@@ -67,19 +67,18 @@ public abstract class BaseQueryIT extends 
BaseClientManagedTimeIT {
 protected static final long BATCH_SIZE = 3;
 protected static final String[] INDEX_DDLS = new String[] {
 "CREATE INDEX %s ON %s (a_integer DESC) INCLUDE ("
-+ "A_STRING, " + "B_STRING, " + "A_DATE)"};
-//,
-//"CREATE INDEX %s ON %s (a_integer, a_string) INCLUDE ("
-//+ "B_STRING, " + "A_DATE)",
-//"CREATE INDEX %s ON %s (a_integer) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer DESC) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer, a_string) INCLUDE (" + 
"B_STRING, "
-//+ "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)", 
-//"" };
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE INDEX %s ON %s (a_integer, a_string) INCLUDE ("
++ "B_STRING, " + "A_DATE)",
+"CREATE INDEX %s ON %s (a_integer) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer DESC) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer, a_string) INCLUDE (" + "  
  B_STRING, "
++ "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)", 
+"" };
 
 @BeforeClass
 @Shadower(classBeingShadowed = BaseClientManagedTimeIT.class)

http://git-wip-us.apache.org/repos/asf/phoenix/blob/0ea5602f/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
index d2b14a9..31b08db 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
@@ -178,40 +178,6 @@ public class CaseStatementIT extends BaseQueryIT {
 }
 
 @Test
-@Ignore // FIXME:PHOENIX-3695
-public void testUnfoundSingleColumnCaseStatement() throws Exception {
-String query = "SELECT entity_id, b_string FROM " + tableName + " 
WHERE organization_id=? and CASE WHEN a_integer = 0 or a_integer != 0 THEN 1 
ELSE 0 END = 0";
-String url = getUrl() + ";" + PhoenixRuntime.CURRENT_SCN_ATTRIB + "=" 
+ (ts + 5); // Run query at timestamp 5
-Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
-Connection conn = DriverManager.getConnection(url, props);
-// Set ROW5.A_INTEGER to null so that we have one row
-// where the else clause of the CASE statement will
-// fire.
-url = getUrl() + ";" + PhoenixRuntime.CURRENT_SCN_ATTRIB + "=" + (ts + 
1); // Run query at timestamp 5
-Connection upsertConn = DriverManager.getConnection(url, props);
-String ups

phoenix git commit: PHOENIX-3695 Remove testUnfoundSingleColumnCaseStatement from CaseStatementIT

2017-02-27 Thread samarth
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 2b2e711b3 -> ff509197c


PHOENIX-3695 Remove testUnfoundSingleColumnCaseStatement from CaseStatementIT


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

Branch: refs/heads/4.x-HBase-0.98
Commit: ff509197c1b00d585da9a7972acca383075328e7
Parents: 2b2e711
Author: Samarth 
Authored: Mon Feb 27 14:08:57 2017 -0800
Committer: Samarth 
Committed: Mon Feb 27 14:08:57 2017 -0800

--
 .../org/apache/phoenix/end2end/BaseQueryIT.java | 25 +++---
 .../apache/phoenix/end2end/CaseStatementIT.java | 34 
 2 files changed, 12 insertions(+), 47 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ff509197/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
index e82daf9..9a58b5b 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseQueryIT.java
@@ -67,19 +67,18 @@ public abstract class BaseQueryIT extends 
BaseClientManagedTimeIT {
 protected static final long BATCH_SIZE = 3;
 protected static final String[] INDEX_DDLS = new String[] {
 "CREATE INDEX %s ON %s (a_integer DESC) INCLUDE ("
-+ "A_STRING, " + "B_STRING, " + "A_DATE)"};
-//,
-//"CREATE INDEX %s ON %s (a_integer, a_string) INCLUDE ("
-//+ "B_STRING, " + "A_DATE)",
-//"CREATE INDEX %s ON %s (a_integer) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer DESC) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer, a_string) INCLUDE (" + 
"B_STRING, "
-//+ "A_DATE)",
-//"CREATE LOCAL INDEX %s ON %s (a_integer) INCLUDE ("
-//+ "A_STRING, " + "B_STRING, " + "A_DATE)", 
-//"" };
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE INDEX %s ON %s (a_integer, a_string) INCLUDE ("
++ "B_STRING, " + "A_DATE)",
+"CREATE INDEX %s ON %s (a_integer) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer DESC) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer, a_string) INCLUDE (" + "  
  B_STRING, "
++ "A_DATE)",
+"CREATE LOCAL INDEX %s ON %s (a_integer) INCLUDE ("
++ "A_STRING, " + "B_STRING, " + "A_DATE)", 
+"" };
 
 @BeforeClass
 @Shadower(classBeingShadowed = BaseClientManagedTimeIT.class)

http://git-wip-us.apache.org/repos/asf/phoenix/blob/ff509197/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
index d2b14a9..31b08db 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CaseStatementIT.java
@@ -178,40 +178,6 @@ public class CaseStatementIT extends BaseQueryIT {
 }
 
 @Test
-@Ignore // FIXME:PHOENIX-3695
-public void testUnfoundSingleColumnCaseStatement() throws Exception {
-String query = "SELECT entity_id, b_string FROM " + tableName + " 
WHERE organization_id=? and CASE WHEN a_integer = 0 or a_integer != 0 THEN 1 
ELSE 0 END = 0";
-String url = getUrl() + ";" + PhoenixRuntime.CURRENT_SCN_ATTRIB + "=" 
+ (ts + 5); // Run query at timestamp 5
-Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
-Connection conn = DriverManager.getConnection(url, props);
-// Set ROW5.A_INTEGER to null so that we have one row
-// where the else clause of the CASE statement will
-// fire.
-url = getUrl() + ";" + PhoenixRuntime.CURRENT_SCN_ATTRIB + "=" + (ts + 
1); // Run query at timestamp 5
-Connection upsertConn = DriverManager.getConnection(url, props);
-  

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

2017-02-27 Thread Apache Jenkins Server
4.x-HBase-0.98 branch build status Successful

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

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

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

Changes
[ankitsinghal59] PHOENIX-3694 Drop schema does not invalidate schema from the server



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


phoenix git commit: PHOENIX-3694 Drop schema does not invalidate schema from the server cache

2017-02-27 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 dc6a6fc75 -> 2b2e711b3


PHOENIX-3694 Drop schema does not invalidate schema from the server cache


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 2b2e711b3b676990a9b9efe3475b5a0058a3b00f
Parents: dc6a6fc
Author: Ankit Singhal 
Authored: Mon Feb 27 17:14:29 2017 +0530
Committer: Ankit Singhal 
Committed: Mon Feb 27 17:14:29 2017 +0530

--
 .../apache/phoenix/end2end/DropSchemaIT.java| 11 ++
 .../coprocessor/MetaDataEndpointImpl.java   | 36 ++--
 2 files changed, 36 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/2b2e711b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
index 9d59ec7..6a7bd52 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
@@ -132,6 +132,17 @@ public class DropSchemaIT extends BaseClientManagedTimeIT {
 
admin.createNamespace(NamespaceDescriptor.create(normalizeSchemaIdentifier).build());
 conn.createStatement().execute("DROP SCHEMA IF EXISTS " + schema);
 
assertNotNull(admin.getNamespaceDescriptor(normalizeSchemaIdentifier));
+conn.createStatement().execute("CREATE SCHEMA " + schema);
+}
+props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 80));
+try (Connection conn = DriverManager.getConnection(getUrl(), props);) {
+conn.createStatement().execute("DROP SCHEMA " + schema);
+}
+try (Connection conn = DriverManager.getConnection(getUrl(), props);) {
+conn.createStatement().execute("DROP SCHEMA " + schema);
+fail();
+} catch (SQLException e) {
+assertEquals(e.getErrorCode(), 
SQLExceptionCode.SCHEMA_NOT_FOUND.getErrorCode());
 }
 admin.close();
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/2b2e711b/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 c119ebb..1d418e9 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
@@ -1250,6 +1250,10 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 return table.getName() == null;
 }
 
+   private static boolean isSchemaDeleted(PSchema schema) {
+   return schema.getSchemaName() == null;
+   }
+
 private static boolean isFunctionDeleted(PFunction function) {
 return function.getFunctionName() == null;
 }
@@ -3636,11 +3640,19 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 PSchema schema = loadSchema(env, lockKey, cacheKey, 
clientTimeStamp, clientTimeStamp);
 if (schema != null) {
 if (schema.getTimeStamp() < clientTimeStamp) {
-
builder.setReturnCode(MetaDataProtos.MutationCode.SCHEMA_ALREADY_EXISTS);
-
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
-builder.setSchema(PSchema.toProto(schema));
-done.run(builder.build());
-return;
+if (!isSchemaDeleted(schema)) {
+
builder.setReturnCode(MetaDataProtos.MutationCode.SCHEMA_ALREADY_EXISTS);
+
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
+builder.setSchema(PSchema.toProto(schema));
+done.run(builder.build());
+return;
+} else {
+
builder.setReturnCode(MetaDataProtos.MutationCode.NEWER_SCHEMA_FOUND);
+
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
+builder.setSchema(PSchema.toProto(schema));
+done.run(builder.build());
+   

phoenix git commit: PHOENIX-3694 Drop schema does not invalidate schema from the server cache

2017-02-27 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 f6104965c -> 83edcf1d1


PHOENIX-3694 Drop schema does not invalidate schema from the server cache


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

Branch: refs/heads/4.x-HBase-1.1
Commit: 83edcf1d1e5457e1e13241af83b7589ae99b850c
Parents: f610496
Author: Ankit Singhal 
Authored: Mon Feb 27 17:09:40 2017 +0530
Committer: Ankit Singhal 
Committed: Mon Feb 27 17:09:40 2017 +0530

--
 .../apache/phoenix/end2end/DropSchemaIT.java| 11 ++
 .../coprocessor/MetaDataEndpointImpl.java   | 36 ++--
 2 files changed, 36 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/83edcf1d/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
index 9d59ec7..6a7bd52 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
@@ -132,6 +132,17 @@ public class DropSchemaIT extends BaseClientManagedTimeIT {
 
admin.createNamespace(NamespaceDescriptor.create(normalizeSchemaIdentifier).build());
 conn.createStatement().execute("DROP SCHEMA IF EXISTS " + schema);
 
assertNotNull(admin.getNamespaceDescriptor(normalizeSchemaIdentifier));
+conn.createStatement().execute("CREATE SCHEMA " + schema);
+}
+props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 80));
+try (Connection conn = DriverManager.getConnection(getUrl(), props);) {
+conn.createStatement().execute("DROP SCHEMA " + schema);
+}
+try (Connection conn = DriverManager.getConnection(getUrl(), props);) {
+conn.createStatement().execute("DROP SCHEMA " + schema);
+fail();
+} catch (SQLException e) {
+assertEquals(e.getErrorCode(), 
SQLExceptionCode.SCHEMA_NOT_FOUND.getErrorCode());
 }
 admin.close();
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/83edcf1d/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 2005c94..e939436 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
@@ -1249,6 +1249,10 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 return table.getName() == null;
 }
 
+   private static boolean isSchemaDeleted(PSchema schema) {
+   return schema.getSchemaName() == null;
+   }
+
 private static boolean isFunctionDeleted(PFunction function) {
 return function.getFunctionName() == null;
 }
@@ -3637,11 +3641,19 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 PSchema schema = loadSchema(env, lockKey, cacheKey, 
clientTimeStamp, clientTimeStamp);
 if (schema != null) {
 if (schema.getTimeStamp() < clientTimeStamp) {
-
builder.setReturnCode(MetaDataProtos.MutationCode.SCHEMA_ALREADY_EXISTS);
-
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
-builder.setSchema(PSchema.toProto(schema));
-done.run(builder.build());
-return;
+if (!isSchemaDeleted(schema)) {
+
builder.setReturnCode(MetaDataProtos.MutationCode.SCHEMA_ALREADY_EXISTS);
+
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
+builder.setSchema(PSchema.toProto(schema));
+done.run(builder.build());
+return;
+} else {
+
builder.setReturnCode(MetaDataProtos.MutationCode.NEWER_SCHEMA_FOUND);
+
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
+builder.setSchema(PSchema.toProto(schema));
+done.run(builder.build());
+r

phoenix git commit: PHOENIX-3694 Drop schema does not invalidate schema from the server cache

2017-02-27 Thread ankit
Repository: phoenix
Updated Branches:
  refs/heads/master 81e932558 -> 07b32b95e


PHOENIX-3694 Drop schema does not invalidate schema from the server cache


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

Branch: refs/heads/master
Commit: 07b32b95e4a92756d0acf9af1b801e2869ceb6bd
Parents: 81e9325
Author: Ankit Singhal 
Authored: Mon Feb 27 17:07:52 2017 +0530
Committer: Ankit Singhal 
Committed: Mon Feb 27 17:07:52 2017 +0530

--
 .../apache/phoenix/end2end/DropSchemaIT.java| 11 ++
 .../coprocessor/MetaDataEndpointImpl.java   | 36 ++--
 2 files changed, 36 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/07b32b95/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
index 9d59ec7..6a7bd52 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropSchemaIT.java
@@ -132,6 +132,17 @@ public class DropSchemaIT extends BaseClientManagedTimeIT {
 
admin.createNamespace(NamespaceDescriptor.create(normalizeSchemaIdentifier).build());
 conn.createStatement().execute("DROP SCHEMA IF EXISTS " + schema);
 
assertNotNull(admin.getNamespaceDescriptor(normalizeSchemaIdentifier));
+conn.createStatement().execute("CREATE SCHEMA " + schema);
+}
+props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 80));
+try (Connection conn = DriverManager.getConnection(getUrl(), props);) {
+conn.createStatement().execute("DROP SCHEMA " + schema);
+}
+try (Connection conn = DriverManager.getConnection(getUrl(), props);) {
+conn.createStatement().execute("DROP SCHEMA " + schema);
+fail();
+} catch (SQLException e) {
+assertEquals(e.getErrorCode(), 
SQLExceptionCode.SCHEMA_NOT_FOUND.getErrorCode());
 }
 admin.close();
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/07b32b95/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 1858d0d..e21ef04 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
@@ -1249,6 +1249,10 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 return table.getName() == null;
 }
 
+   private static boolean isSchemaDeleted(PSchema schema) {
+   return schema.getSchemaName() == null;
+   }
+
 private static boolean isFunctionDeleted(PFunction function) {
 return function.getFunctionName() == null;
 }
@@ -3637,11 +3641,19 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 PSchema schema = loadSchema(env, lockKey, cacheKey, 
clientTimeStamp, clientTimeStamp);
 if (schema != null) {
 if (schema.getTimeStamp() < clientTimeStamp) {
-
builder.setReturnCode(MetaDataProtos.MutationCode.SCHEMA_ALREADY_EXISTS);
-
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
-builder.setSchema(PSchema.toProto(schema));
-done.run(builder.build());
-return;
+if (!isSchemaDeleted(schema)) {
+
builder.setReturnCode(MetaDataProtos.MutationCode.SCHEMA_ALREADY_EXISTS);
+
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
+builder.setSchema(PSchema.toProto(schema));
+done.run(builder.build());
+return;
+} else {
+
builder.setReturnCode(MetaDataProtos.MutationCode.NEWER_SCHEMA_FOUND);
+
builder.setMutationTime(EnvironmentEdgeManager.currentTimeMillis());
+builder.setSchema(PSchema.toProto(schema));
+done.run(builder.build());
+return;
+  

Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-master/1564/

2017-02-27 Thread Apache Jenkins Server
[...truncated 25 lines...]
Looking at the log, list of test(s) that timed-out:

Build:
https://builds.apache.org/job/Phoenix-master/1564/


Affected test class(es):
Set(['org.apache.phoenix.trace.PhoenixTracingEndToEndIT'])


Build step 'Execute shell' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any


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

2017-02-27 Thread Apache Jenkins Server
See 


--
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H24 (ubuntu) in workspace 

[Phoenix_Compile_Compat_wHBase] $ /bin/bash /tmp/hudson8211847361024982652.sh
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386417
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
core id : 0
core id : 1
core id : 2
core id : 3
core id : 4
core id : 5
physical id : 0
physical id : 1
MemTotal:   98958120 kB
MemFree:29823072 kB
Filesystem  Size  Used Avail Use% Mounted on
udev 48G 0   48G   0% /dev
tmpfs   9.5G  978M  8.5G  11% /run
/dev/sda1   364G   93G  253G  27% /
tmpfs48G 0   48G   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs48G 0   48G   0% /sys/fs/cgroup
tmpfs   9.5G 0  9.5G   0% /run/user/10025
apache-maven-2.2.1
apache-maven-3.0.4
apache-maven-3.0.5
apache-maven-3.2.1
apache-maven-3.2.5
apache-maven-3.3.3
apache-maven-3.3.9
latest
latest2
latest3


===
Verifying compile level compatibility with HBase 0.98 with Phoenix 
4.x-HBase-0.98
===

Cloning into 'hbase'...
Switched to a new branch '0.98'
Branch 0.98 set up to track remote branch 0.98 from origin.

main:
 [exec] 
~/jenkins-slave/workspace/Phoenix_Compile_Compat_wHBase/hbase/hbase-common 
~/jenkins-slave/workspace/Phoenix_Compile_Compat_wHBase/hbase/hbase-common
 [exec] 
~/jenkins-slave/workspace/Phoenix_Compile_Compat_wHBase/hbase/hbase-common

main:
[mkdir] Created dir: 

 [exec] tar: hadoop-snappy-nativelibs.tar: Cannot open: No such file or 
directory
 [exec] tar: Error is not recoverable: exiting now
 [exec] Result: 2

main:
[mkdir] Created dir: 

 [copy] Copying 20 files to 

[mkdir] Created dir: 

[mkdir] Created dir: 


main:
[mkdir] Created dir: 

 [copy] Copying 17 files to 

[mkdir] Created dir: 


main:
[mkdir] Created dir: 

 [copy] Copying 1 file to 

[mkdir] Created dir: 


HBase pom.xml:

Got HBase version as 0.98.25-SNAPSHOT
Cloning into 'phoenix'...
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was 
non-properly terminated.
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header
Build step 'Execute shell' marked build as failure


phoenix git commit: PHOENIX-1598 Addendum - fix test failures because of mistake in rebase

2017-02-27 Thread samarth
Repository: phoenix
Updated Branches:
  refs/heads/master 3c7ff99bf -> 81e932558


PHOENIX-1598 Addendum - fix test failures because of mistake in rebase


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

Branch: refs/heads/master
Commit: 81e9325588c82c614403371c99a93b03925d4383
Parents: 3c7ff99
Author: Samarth 
Authored: Mon Feb 27 00:06:49 2017 -0800
Committer: Samarth 
Committed: Mon Feb 27 00:06:49 2017 -0800

--
 .../coprocessor/BaseScannerRegionObserver.java   | 15 +++
 1 file changed, 3 insertions(+), 12 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/81e93255/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 b4bda98..e042150 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
@@ -492,26 +492,17 @@ abstract public class BaseScannerRegionObserver extends 
BaseRegionObserver {
 if ((offset > 0 || ScanUtil.isLocalIndex(scan))  && 
!ScanUtil.isAnalyzeTable(scan)) {
 if(hasReferences && actualStartKey!=null) {
 next = scanTillScanStartRow(s, arrayKVRefs, 
arrayFuncRefs, result,
-scannerContext, arrayElementCell);
+scannerContext, arrayElementCell);
 if (result.isEmpty()) {
 return next;
 }
-IndexUtil.wrapResultUsingOffset(c, result, offset, 
dataColumns,
-tupleProjector, dataRegion, indexMaintainer, 
viewConstants, ptr);
-}
-if (projector != null) {
-Tuple toProject = useQualifierAsListIndex ? new 
PositionBasedMultiKeyValueTuple(result) : new 
ResultTuple(Result.create(result));
-Tuple tuple = projector.projectResults(toProject, 
useNewValueColumnQualifier);
-result.clear();
-result.add(tuple.getValue(0));
-if(arrayElementCell != null)
-result.add(arrayElementCell);
 }
 IndexUtil.wrapResultUsingOffset(c, result, offset, 
dataColumns,
 tupleProjector, dataRegion, indexMaintainer, 
viewConstants, ptr);
 }
 if (projector != null) {
-Tuple tuple = projector.projectResults(new 
ResultTuple(Result.create(result)));
+Tuple toProject = useQualifierAsListIndex ? new 
PositionBasedMultiKeyValueTuple(result) : new 
ResultTuple(Result.create(result));
+Tuple tuple = projector.projectResults(toProject, 
useNewValueColumnQualifier);
 result.clear();
 result.add(tuple.getValue(0));
 if(arrayElementCell != null)



phoenix git commit: PHOENIX-1598 Addendum - fix test failures because of mistake in rebase

2017-02-27 Thread samarth
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 d6a82e29f -> f6104965c


PHOENIX-1598 Addendum - fix test failures because of mistake in rebase


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

Branch: refs/heads/4.x-HBase-1.1
Commit: f6104965c2010c1512d3585f257941f693f945cf
Parents: d6a82e2
Author: Samarth 
Authored: Mon Feb 27 00:05:36 2017 -0800
Committer: Samarth 
Committed: Mon Feb 27 00:05:36 2017 -0800

--
 .../coprocessor/BaseScannerRegionObserver.java   | 15 +++
 1 file changed, 3 insertions(+), 12 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/f6104965/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 b4bda98..e042150 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
@@ -492,26 +492,17 @@ abstract public class BaseScannerRegionObserver extends 
BaseRegionObserver {
 if ((offset > 0 || ScanUtil.isLocalIndex(scan))  && 
!ScanUtil.isAnalyzeTable(scan)) {
 if(hasReferences && actualStartKey!=null) {
 next = scanTillScanStartRow(s, arrayKVRefs, 
arrayFuncRefs, result,
-scannerContext, arrayElementCell);
+scannerContext, arrayElementCell);
 if (result.isEmpty()) {
 return next;
 }
-IndexUtil.wrapResultUsingOffset(c, result, offset, 
dataColumns,
-tupleProjector, dataRegion, indexMaintainer, 
viewConstants, ptr);
-}
-if (projector != null) {
-Tuple toProject = useQualifierAsListIndex ? new 
PositionBasedMultiKeyValueTuple(result) : new 
ResultTuple(Result.create(result));
-Tuple tuple = projector.projectResults(toProject, 
useNewValueColumnQualifier);
-result.clear();
-result.add(tuple.getValue(0));
-if(arrayElementCell != null)
-result.add(arrayElementCell);
 }
 IndexUtil.wrapResultUsingOffset(c, result, offset, 
dataColumns,
 tupleProjector, dataRegion, indexMaintainer, 
viewConstants, ptr);
 }
 if (projector != null) {
-Tuple tuple = projector.projectResults(new 
ResultTuple(Result.create(result)));
+Tuple toProject = useQualifierAsListIndex ? new 
PositionBasedMultiKeyValueTuple(result) : new 
ResultTuple(Result.create(result));
+Tuple tuple = projector.projectResults(toProject, 
useNewValueColumnQualifier);
 result.clear();
 result.add(tuple.getValue(0));
 if(arrayElementCell != null)