Build failed in Jenkins: Phoenix | 4.0 | Hadoop2 #91

2014-09-02 Thread Apache Jenkins Server
See 

Changes:

[rajeshbabu] PHOENIX-1139 Failed to disable local index when index update 
fails(Rajeshbabu)

--
[...truncated 1452 lines...]
  ScanQueryIT.testScan:86 null
  
QueryIT.testSimpleInListStatement:443->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  ScanQueryIT.testAllScan:229 null
  ScanQueryIT.testScan:86 null
  CastAndCoerceIT.testCastOperatorInSelect:69 null
  CastAndCoerceIT.testCoerceDateToBigInt:210 null
  CastAndCoerceIT.testCastOperatorInSelect:69 null
  CastAndCoerceIT.testCoerceDateToBigInt:210 null
  CastAndCoerceIT.testCastOperatorInSelect:69 null
  CastAndCoerceIT.testCoerceDateToBigInt:210 null
  
ClientTimeArithmeticQueryIT.testIntSubtractionExpression:186->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<4>
  
ClientTimeArithmeticQueryIT.testDecimalSubtraction1Expression:200->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testNegateExpression:431 null
  ClientTimeArithmeticQueryIT.testConstantSubtractionExpression:314 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalDivideExpression:382->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntAddExpression:530 null
  ClientTimeArithmeticQueryIT.testSelectWithDivideExpression:413 null
  
ClientTimeArithmeticQueryIT.testDateAdd:88->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testDateSubtract:593->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntMultiplyExpression:448 null
  ClientTimeArithmeticQueryIT.testConstantDivideExpression:397 null
  ClientTimeArithmeticQueryIT.testIntDivideExpression:331 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalMultiplyExpression:499->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testIntSubtractionExpression:186->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<4>
  
ClientTimeArithmeticQueryIT.testDecimalSubtraction1Expression:200->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testNegateExpression:431 null
  ClientTimeArithmeticQueryIT.testConstantSubtractionExpression:314 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalDivideExpression:382->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntAddExpression:530 null
  ClientTimeArithmeticQueryIT.testSelectWithDivideExpression:413 null
  
ClientTimeArithmeticQueryIT.testDateAdd:88->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testDateSubtract:593->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntMultiplyExpression:448 null
  ClientTimeArithmeticQueryIT.testConstantDivideExpression:397 null
  ClientTimeArithmeticQueryIT.testIntDivideExpression:331 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalMultiplyExpression:499->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testIntSubtractionExpression:186->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<4>
  
ClientTimeArithmeticQueryIT.testDecimalSubtraction1Expression:200->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testNegateExpression:431 null
  ClientTimeArithmeticQueryIT.testConstantSubtractionExpression:314 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalDivideExpression:382->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntAddExpression:530 null
  ClientTimeArithmeticQueryIT.testSelectWithDivideExpression:413 null
  
ClientTimeArithmeticQueryIT.testDateAdd:88->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testDateSubtract:593->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntMultiplyExpression:448 null
  ClientTimeArithmeticQueryIT.testConstantDivideExpression:397 null
  ClientTimeArithmeticQueryIT.testIntDivideExpression:331 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalMultiplyExpression:499->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assert

Build failed in Jenkins: Phoenix | 4.0 | Hadoop2 #90

2014-09-02 Thread Apache Jenkins Server
See 

Changes:

[rajeshbabu] PHOENIX-1139 Failed to disable local index when index update 
fails(Rajeshbabu)

--
[...truncated 18224 lines...]
159 KB   
163 KB   
167 KB   
171 KB   
175 KB   
179 KB   
181 KB   
185 KB   
187 KB   
191 KB   
192 KB   
196 KB   
200 KB   
204 KB   
207 KB   
211 KB   
215 KB   
219 KB   
223 KB   
227 KB   
229 KB   
233 KB   
236 KB   
239 KB   
243 KB   
246 KB   
250 KB   
254 KB   
258 KB   
262 KB   
266 KB   
270 KB   
270 KB   
 
Downloaded: http://repo1.maven.org/maven2/org/jsoup/jsoup/1.6.3/jsoup-1.6.3.jar 
(270 KB at 4570.6 KB/sec)
[INFO] 
[INFO] --- maven-assembly-plugin:2.4:single (core) @ phoenix-core ---
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.pom
3 KB 
   
Downloaded: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.pom
 (3 KB at 134.9 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.2/plexus-components-1.2.pom
3 KB   
   
Downloaded: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.2/plexus-components-1.2.pom
 (3 KB at 213.3 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.jar
4 KB   
8 KB   
12 KB   
16 KB   
20 KB   
24 KB   
28 KB   
32 KB   
36 KB   
40 KB   
44 KB   
48 KB   
52 KB   
55 KB   
57 KB   

Downloaded: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.jar
 (57 KB at 2815.9 KB/sec)
[INFO] Reading assembly descriptor: src/build/phoenix-core.xml
[WARNING] Artifact: org.apache.phoenix:phoenix-core:jar:4.1.0 references the 
same file as the assembly destination file. Moving it to a temporary location 
for inclusion.
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-failsafe-plugin:2.17:integration-test (ClientManagedTimeTests) 
@ phoenix-core ---
[INFO] Failsafe report directory: 

[INFO] parallel='none', perCoreThreadCount=true, threadCount=0, 
useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, 
threadCountMethods=0, parallelOptimized=true
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit47/2.17/surefire-junit47-2.17.pom
4 KB
5 KB   
   
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit47/2.17/surefire-junit47-2.17.pom
 (5 KB at 272.9 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.17/surefire-providers-2.17.pom
3 KB   
   
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.17/surefire-providers-2.17.pom
 (3 KB at 154.8 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit48/2.17/common-junit48-2.17.pom
4 KB   
   
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit48/2.17/common-junit48-2.17.pom
 (4 KB at 234.7 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit4/2.17/common-junit4-2.17.pom
2 KB   
   
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit4/2.17/common-junit4-2.17.pom
 (2 KB at 142.6 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit3/2.17/common-junit3-2.17.pom
2 KB   
   
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit3/2.17/common-junit3-2.17.pom
 (2 KB at 109.1 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-java5/2.17/common-java5-2.17.pom
2 KB   
   
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-java5/2.17/common-java5-2.17.pom
 (2 KB at 112.3 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-grouper/2.17/surefire-grouper-2.17.pom
3 KB   
   
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-grouper/2.17/surefire-grouper-2.17.pom
 (3 KB at 175.9 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit47/2.17/surefire-junit47-2.17.jar
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-java5/2.17/common-java5-2.17.jar
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit3/2.17/common-junit3-2.17.jar
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit48/2.17/common-junit48-2.17.jar
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/surefire/common-junit4/2.17/common-junit4-2.17.jar
4 KB   
8 KB   
12 KB   
16 KB   
20 KB   
24 KB   
28 KB   
32 KB   
36 KB   
40 KB   
44 KB   
48 KB   
52 KB   
56 

Build failed in Jenkins: Phoenix | 4.0 | Hadoop1 #302

2014-09-02 Thread Apache Jenkins Server
See 

Changes:

[rajeshbabu] PHOENIX-1139 Failed to disable local index when index update 
fails(Rajeshbabu)

--
[...truncated 1407 lines...]
  QueryIT.testDateInList:363 null
  
QueryIT.testPartiallyQualifiedRVCInList:458->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  CastAndCoerceIT.testCoerceDateToBigInt:210 null
  QueryIT.testValidStringConcatExpression:652 null
  
QueryIT.testIntFilter:113->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  CastAndCoerceIT.testCastOperatorInSelect:69 null
  
ClientTimeArithmeticQueryIT.testDateSubtract:593->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntMultiplyExpression:448 null
  ClientTimeArithmeticQueryIT.testConstantDivideExpression:397 null
  ClientTimeArithmeticQueryIT.testIntDivideExpression:331 null
  CastAndCoerceIT.testCoerceDateToBigInt:210 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalMultiplyExpression:499->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testIntSubtractionExpression:186->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<4>
  
ClientTimeArithmeticQueryIT.testDecimalSubtraction1Expression:200->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testNegateExpression:431 null
  QueryIT.testSumOverNullIntegerColumn:810 expected:<42> but was:<0>
  
QueryIT.testFullyQualifiedRVCInList:476->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  ClientTimeArithmeticQueryIT.testConstantSubtractionExpression:314 null
  QueryIT.testToDateOnString:173 null
  
QueryIT.testSimpleInListStatement:443->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  
ClientTimeArithmeticQueryIT.testIntToDecimalDivideExpression:382->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntAddExpression:530 null
  QueryIT.testGroupByPlusOne:153 null
  QueryIT.testPointInTimeScan:280 null
  ClientTimeArithmeticQueryIT.testSelectWithDivideExpression:413 null
  QueryIT.testPointInTimeSequence:307 null
  
ClientTimeArithmeticQueryIT.testDateAdd:88->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  QueryIT.testColumnAliasMapping:787 null
  QueryIT.testDateInList:363 null
  
QueryIT.testPartiallyQualifiedRVCInList:458->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  QueryIT.testValidStringConcatExpression:652 null
  
QueryIT.testIntFilter:113->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testDateSubtract:593->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntMultiplyExpression:448 null
  ClientTimeArithmeticQueryIT.testConstantDivideExpression:397 null
  ClientTimeArithmeticQueryIT.testIntDivideExpression:331 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalMultiplyExpression:499->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  QueryIT.testSumOverNullIntegerColumn:810 expected:<42> but was:<0>
  
QueryIT.testFullyQualifiedRVCInList:476->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  QueryIT.testToDateOnString:173 null
  
QueryIT.testSimpleInListStatement:443->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  
CaseStatementIT.testSimpleCaseStatement:87->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<5>
  
CaseStatementIT.testSimpleCaseStatement:87->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<5>
  
CaseStatementIT.testSimpleCaseStatement:87->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<5>
  NotQueryIT.testNotEquals2:295 null
  NotQueryIT.testNotEquals:162 null
  NotQueryIT.testNotEquals2:295 null
  NotQueryIT.testNotEquals:162 null
  NotQueryIT.testNotEquals2:295 null
  NotQueryIT.testNotEquals:162 null

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

[INFO] 
[INFO] --- maven-failsafe-plugin:2.17:integration-test (HBaseManagedTimeTests) 
@ phoenix-core ---
[INFO] Failsafe report directory: 

[INFO] parallel='none', perCoreThreadCount=true, threadCount=

Build failed in Jenkins: Phoenix | Master | Hadoop1 #354

2014-09-02 Thread Apache Jenkins Server
See 

Changes:

[rajeshbabu] PHOENIX-1139 Failed to disable local index when index update 
fails(Rajeshbabu)

--
[...truncated 1411 lines...]
  
QueryIT.testPartiallyQualifiedRVCInList:458->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  QueryIT.testValidStringConcatExpression:652 null
  CastAndCoerceIT.testCoerceDateToBigInt:210 null
  
QueryIT.testIntFilter:113->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  CastAndCoerceIT.testCastOperatorInSelect:69 null
  
ClientTimeArithmeticQueryIT.testDateSubtract:593->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  CastAndCoerceIT.testCoerceDateToBigInt:210 null
  ClientTimeArithmeticQueryIT.testIntMultiplyExpression:448 null
  ClientTimeArithmeticQueryIT.testConstantDivideExpression:397 null
  ClientTimeArithmeticQueryIT.testIntDivideExpression:331 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalMultiplyExpression:499->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testIntSubtractionExpression:186->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<4>
  QueryIT.testSumOverNullIntegerColumn:810 expected:<42> but was:<0>
  
ClientTimeArithmeticQueryIT.testDecimalSubtraction1Expression:200->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
QueryIT.testFullyQualifiedRVCInList:476->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  ClientTimeArithmeticQueryIT.testNegateExpression:431 null
  QueryIT.testToDateOnString:173 null
  
QueryIT.testSimpleInListStatement:443->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  ClientTimeArithmeticQueryIT.testConstantSubtractionExpression:314 null
  QueryIT.testGroupByPlusOne:153 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalDivideExpression:382->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntAddExpression:530 null
  QueryIT.testPointInTimeScan:280 null
  QueryIT.testPointInTimeSequence:307 null
  QueryIT.testColumnAliasMapping:787 null
  QueryIT.testDateInList:363 null
  
QueryIT.testPartiallyQualifiedRVCInList:458->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  ClientTimeArithmeticQueryIT.testSelectWithDivideExpression:413 null
  QueryIT.testValidStringConcatExpression:652 null
  
ClientTimeArithmeticQueryIT.testDateAdd:88->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
QueryIT.testIntFilter:113->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  
ClientTimeArithmeticQueryIT.testDateSubtract:593->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  ClientTimeArithmeticQueryIT.testIntMultiplyExpression:448 null
  ClientTimeArithmeticQueryIT.testConstantDivideExpression:397 null
  ClientTimeArithmeticQueryIT.testIntDivideExpression:331 null
  
ClientTimeArithmeticQueryIT.testIntToDecimalMultiplyExpression:499->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<3>
  QueryIT.testSumOverNullIntegerColumn:810 expected:<42> but was:<0>
  
QueryIT.testFullyQualifiedRVCInList:476->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  QueryIT.testToDateOnString:173 null
  
QueryIT.testSimpleInListStatement:443->BaseQueryIT.assertValueEqualsResultSet:131->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<2>
  
CaseStatementIT.testSimpleCaseStatement:87->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<5>
  
CaseStatementIT.testSimpleCaseStatement:87->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<5>
  
CaseStatementIT.testSimpleCaseStatement:87->BaseTest.assertValuesEqualsResultSet:1287
 expected:<0> but was:<5>
  NotQueryIT.testNotEquals2:295 null
  NotQueryIT.testNotEquals:162 null
  NotQueryIT.testNotEquals2:295 null
  NotQueryIT.testNotEquals:162 null
  NotQueryIT.testNotEquals2:295 null
  NotQueryIT.testNotEquals:162 null

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

[INFO] 
[INFO] --- maven-failsafe-plugin:2.17:integration-test (HBaseManagedTimeTests) 
@ phoenix-core ---
[INFO] Failsafe report directory: 

[INFO] parallel='none', perCoreThreadCount=true, threadCount=0, 
useUnlimitedThreads=fals

git commit: PHOENIX-1139 Failed to disable local index when index update fails(Rajeshbabu)

2014-09-02 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.0 c39a05e28 -> 8325029cd


PHOENIX-1139 Failed to disable local index when index update fails(Rajeshbabu)


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

Branch: refs/heads/4.0
Commit: 8325029cd55e689983a24dcdddcdc9842c637655
Parents: c39a05e
Author: Rajeshbabu Chintaguntla 
Authored: Wed Sep 3 04:45:09 2014 +
Committer: Rajeshbabu Chintaguntla 
Committed: Wed Sep 3 04:45:09 2014 +

--
 .../end2end/index/MutableIndexFailureIT.java|  71 +++-
 .../hbase/index/balancer/IndexLoadBalancer.java |   2 +-
 .../index/PhoenixIndexFailurePolicy.java| 112 +++
 .../apache/phoenix/schema/MetaDataClient.java   |   7 ++
 4 files changed, 141 insertions(+), 51 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8325029c/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 e499c3b..6137e06 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
@@ -27,13 +27,10 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
-import java.io.IOException;
 import java.sql.Connection;
-import java.sql.DriverManager;
 import java.sql.PreparedStatement;
 import java.sql.ResultSet;
 import java.sql.SQLException;
-import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
 import java.util.Properties;
@@ -44,52 +41,36 @@ import java.util.concurrent.atomic.AtomicInteger;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.hbase.Cell;
 import org.apache.hadoop.hbase.HBaseCluster;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HBaseTestingUtility;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.HRegionInfo;
 import org.apache.hadoop.hbase.HTableDescriptor;
-import org.apache.hadoop.hbase.MiniHBaseCluster;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.TableNotFoundException;
 import org.apache.hadoop.hbase.Waiter;
 import org.apache.hadoop.hbase.client.HBaseAdmin;
-import org.apache.hadoop.hbase.client.Result;
-import org.apache.hadoop.hbase.client.Scan;
-import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
-import org.apache.hadoop.hbase.filter.CompareFilter;
-import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;
-import org.apache.hadoop.hbase.regionserver.HRegionServer;
-import org.apache.hadoop.hbase.regionserver.RegionScanner;
+import org.apache.hadoop.hbase.coprocessor.CoprocessorHost;
+import org.apache.hadoop.hbase.master.LoadBalancer;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.phoenix.end2end.NeedsOwnMiniClusterTest;
-import org.apache.phoenix.index.PhoenixIndexFailurePolicy;
-import org.apache.phoenix.jdbc.PhoenixConnection;
-import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
+import org.apache.phoenix.hbase.index.balancer.IndexLoadBalancer;
+import org.apache.phoenix.hbase.index.master.IndexMasterObserver;
 import org.apache.phoenix.jdbc.PhoenixTestDriver;
 import org.apache.phoenix.query.BaseTest;
 import org.apache.phoenix.query.QueryServices;
-import org.apache.phoenix.query.QueryServicesOptions;
-import org.apache.phoenix.schema.MetaDataClient;
-import org.apache.phoenix.schema.PDataType;
 import org.apache.phoenix.schema.PIndexState;
-import org.apache.phoenix.schema.PTable;
 import org.apache.phoenix.schema.PTableType;
-import org.apache.phoenix.schema.TableRef;
 import org.apache.phoenix.util.MetaDataUtil;
-import org.apache.phoenix.util.PhoenixRuntime;
 import org.apache.phoenix.util.PropertiesUtil;
 import org.apache.phoenix.util.QueryUtil;
 import org.apache.phoenix.util.ReadOnlyProps;
 import org.apache.phoenix.util.SchemaUtil;
 import org.apache.phoenix.util.StringUtil;
 import org.junit.After;
-import org.junit.AfterClass;
 import org.junit.Before;
-import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 /**
@@ -122,6 +103,9 @@ public class MutableIndexFailureIT extends BaseTest {
 

git commit: PHOENIX-1139 Failed to disable local index when index update fails(Rajeshbabu)

2014-09-02 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/master 27a6ccef3 -> 845888bcb


PHOENIX-1139 Failed to disable local index when index update fails(Rajeshbabu)


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

Branch: refs/heads/master
Commit: 845888bcb58a6fe5975de4cfabbe9266407de9dc
Parents: 27a6cce
Author: Rajeshbabu Chintaguntla 
Authored: Wed Sep 3 04:37:36 2014 +
Committer: Rajeshbabu Chintaguntla 
Committed: Wed Sep 3 04:37:36 2014 +

--
 .../end2end/index/MutableIndexFailureIT.java|  71 +++-
 .../hbase/index/balancer/IndexLoadBalancer.java |   2 +-
 .../index/PhoenixIndexFailurePolicy.java| 112 +++
 .../apache/phoenix/schema/MetaDataClient.java   |   7 ++
 4 files changed, 141 insertions(+), 51 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/845888bc/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 e499c3b..6137e06 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
@@ -27,13 +27,10 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
-import java.io.IOException;
 import java.sql.Connection;
-import java.sql.DriverManager;
 import java.sql.PreparedStatement;
 import java.sql.ResultSet;
 import java.sql.SQLException;
-import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
 import java.util.Properties;
@@ -44,52 +41,36 @@ import java.util.concurrent.atomic.AtomicInteger;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.hbase.Cell;
 import org.apache.hadoop.hbase.HBaseCluster;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HBaseTestingUtility;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.HRegionInfo;
 import org.apache.hadoop.hbase.HTableDescriptor;
-import org.apache.hadoop.hbase.MiniHBaseCluster;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.TableNotFoundException;
 import org.apache.hadoop.hbase.Waiter;
 import org.apache.hadoop.hbase.client.HBaseAdmin;
-import org.apache.hadoop.hbase.client.Result;
-import org.apache.hadoop.hbase.client.Scan;
-import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
-import org.apache.hadoop.hbase.filter.CompareFilter;
-import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;
-import org.apache.hadoop.hbase.regionserver.HRegionServer;
-import org.apache.hadoop.hbase.regionserver.RegionScanner;
+import org.apache.hadoop.hbase.coprocessor.CoprocessorHost;
+import org.apache.hadoop.hbase.master.LoadBalancer;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.phoenix.end2end.NeedsOwnMiniClusterTest;
-import org.apache.phoenix.index.PhoenixIndexFailurePolicy;
-import org.apache.phoenix.jdbc.PhoenixConnection;
-import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
+import org.apache.phoenix.hbase.index.balancer.IndexLoadBalancer;
+import org.apache.phoenix.hbase.index.master.IndexMasterObserver;
 import org.apache.phoenix.jdbc.PhoenixTestDriver;
 import org.apache.phoenix.query.BaseTest;
 import org.apache.phoenix.query.QueryServices;
-import org.apache.phoenix.query.QueryServicesOptions;
-import org.apache.phoenix.schema.MetaDataClient;
-import org.apache.phoenix.schema.PDataType;
 import org.apache.phoenix.schema.PIndexState;
-import org.apache.phoenix.schema.PTable;
 import org.apache.phoenix.schema.PTableType;
-import org.apache.phoenix.schema.TableRef;
 import org.apache.phoenix.util.MetaDataUtil;
-import org.apache.phoenix.util.PhoenixRuntime;
 import org.apache.phoenix.util.PropertiesUtil;
 import org.apache.phoenix.util.QueryUtil;
 import org.apache.phoenix.util.ReadOnlyProps;
 import org.apache.phoenix.util.SchemaUtil;
 import org.apache.phoenix.util.StringUtil;
 import org.junit.After;
-import org.junit.AfterClass;
 import org.junit.Before;
-import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 /**
@@ -122,6 +103,9 @@ public class MutableIndexFailureIT extends BaseTest {

svn commit: r1622105 - in /phoenix/site: publish/download.html source/pom.xml source/src/site/markdown/download.md

2014-09-02 Thread mujtaba
Author: mujtaba
Date: Tue Sep  2 19:20:21 2014
New Revision: 1622105

URL: http://svn.apache.org/r1622105
Log:
Update download page

Modified:
phoenix/site/publish/download.html
phoenix/site/source/pom.xml
phoenix/site/source/src/site/markdown/download.md

Modified: phoenix/site/publish/download.html
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/download.html?rev=1622105&r1=1622104&r2=1622105&view=diff
==
--- phoenix/site/publish/download.html (original)
+++ phoenix/site/publish/download.html Tue Sep  2 19:20:21 2014
@@ -1,7 +1,7 @@
 
 
 
 
@@ -126,7 +126,7 @@
   Phoenix Downloads
   
   
-  http://www.apache.org/dyn/closer.cgi/phoenix/";>Download Latest Phoenix 
Binary and Source Releases 
+  http://www.apache.org/dyn/closer.cgi/phoenix/";>Download Latest Phoenix 
Binary and Source Releases 
   List of New Features 
   http://www.apache.org/dyn/closer.cgi/incubator/phoenix/";>Download 
Previous Releases 


Modified: phoenix/site/source/pom.xml
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/pom.xml?rev=1622105&r1=1622104&r2=1622105&view=diff
==
--- phoenix/site/source/pom.xml (original)
+++ phoenix/site/source/pom.xml Tue Sep  2 19:20:21 2014
@@ -4,7 +4,7 @@
   
 org.apache.phoenix
 phoenix
-3.0.0-incubating
+4.1.0
   
   phoenix-site
   Phoenix

Modified: phoenix/site/source/src/site/markdown/download.md
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/download.md?rev=1622105&r1=1622104&r2=1622105&view=diff
==
--- phoenix/site/source/src/site/markdown/download.md (original)
+++ phoenix/site/source/src/site/markdown/download.md Tue Sep  2 19:20:21 2014
@@ -1,6 +1,6 @@
 ## Phoenix Downloads
 
-### [Download Latest Phoenix Binary and Source 
Releases](http://www.apache.org/dyn/closer.cgi/phoenix/)
+### [Download Latest Phoenix Binary and Source 
Releases](http://www.apache.org/dyn/closer.cgi/phoenix/)
 
 [List of New Features](recent.html)
 




Jenkins build is back to normal : Phoenix | 4.0 | Hadoop2 #88

2014-09-02 Thread Apache Jenkins Server
See 



Apache-Phoenix | 3.0 | Hadoop1 | Build Successful

2014-09-02 Thread Apache Jenkins Server
3.0 branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastCompletedBuild/testReport/

Changes
[maryannxue] PHOENIX-852 Optimize child/parent foreign key joins



Apache-Phoenix | Master | Hadoop1 | Build Successful

2014-09-02 Thread Apache Jenkins Server
Master branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-master-hadoop1/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-master-hadoop1/lastCompletedBuild/testReport/

Changes
[maryannxue] PHOENIX-852 Optimize child/parent foreign key joins



Apache-Phoenix | 4.0 | Hadoop1 | Build Successful

2014-09-02 Thread Apache Jenkins Server
4.0 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.0-hadoop1/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.0-hadoop1/lastCompletedBuild/testReport/

Changes
[maryannxue] PHOENIX-852 Optimize child/parent foreign key joins



git commit: PHOENIX-852 Optimize child/parent foreign key joins

2014-09-02 Thread maryannxue
Repository: phoenix
Updated Branches:
  refs/heads/3.0 8e19e68bb -> be6465a89


PHOENIX-852 Optimize child/parent foreign key joins


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

Branch: refs/heads/3.0
Commit: be6465a89578fbb96c3324bdf88b44218acf5e80
Parents: 8e19e68
Author: maryannxue 
Authored: Tue Sep 2 11:28:07 2014 -0400
Committer: maryannxue 
Committed: Tue Sep 2 11:28:07 2014 -0400

--
 .../org/apache/phoenix/end2end/HashJoinIT.java  | 209 ++-
 .../apache/phoenix/compile/JoinCompiler.java|  19 ++
 .../apache/phoenix/compile/QueryCompiler.java   |  43 +++-
 .../org/apache/phoenix/compile/ScanRanges.java  |   6 +-
 .../apache/phoenix/compile/WhereCompiler.java   |  33 ++-
 .../apache/phoenix/compile/WhereOptimizer.java  |  75 +-
 .../apache/phoenix/execute/HashJoinPlan.java| 103 +++-
 .../apache/phoenix/join/HashCacheClient.java|  14 +-
 .../java/org/apache/phoenix/parse/HintNode.java |   8 +
 .../apache/phoenix/schema/PArrayDataType.java   |  13 +
 .../org/apache/phoenix/schema/PDataType.java| 252 ++-
 .../apache/phoenix/schema/PDataTypeTest.java|  21 +-
 12 files changed, 771 insertions(+), 25 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/be6465a8/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
index d5f1297..b6372fd 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
@@ -228,7 +228,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ORDER_TABLE_DISPLAY_NAME + "\n" +
 "SERVER FILTER BY QUANTITY < 5000\n" +
 "BUILD HASH TABLE 1\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_SUPPLIER_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_SUPPLIER_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id IN (O.item_id)",
 /*
  * testSelfJoin()
  * SELECT i2.item_id, i1.name FROM joinItemTable i1 
@@ -239,7 +240,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME + "\n" +
-"SERVER FILTER BY FIRST KEY ONLY",
+"SERVER FILTER BY FIRST KEY ONLY\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(I2.item_id)",
 /*
  * testSelfJoin()
  * SELECT i1.name, i2.name FROM joinItemTable i1 
@@ -251,7 +253,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT MERGE SORT\n" +
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(I2.supplier_id)",
 /*
  * testStarJoin()
  * SELECT order_id, c.name, i.name iname, quantity, o.date 
@@ -282,7 +285,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ORDER_TABLE_DISPLAY_NAME + "\n" +
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_CUSTOMER_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_CUSTOMER_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(O.item_id)",
 /*
  * testSubJoin()
  * SELECT * FROM joinCustomerTable c 
@@ -309,7 +313,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "SERVER FILTER BY NAME != 'T3'\n" +
 "  

git commit: PHOENIX-852 Optimize child/parent foreign key joins

2014-09-02 Thread maryannxue
Repository: phoenix
Updated Branches:
  refs/heads/master c36973263 -> 27a6ccef3


PHOENIX-852 Optimize child/parent foreign key joins


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

Branch: refs/heads/master
Commit: 27a6ccef31b3fa7fd4ca4a4e9cb9bc01ae498238
Parents: c369732
Author: maryannxue 
Authored: Tue Sep 2 11:04:31 2014 -0400
Committer: maryannxue 
Committed: Tue Sep 2 11:04:31 2014 -0400

--
 .../org/apache/phoenix/end2end/HashJoinIT.java  | 263 ++-
 .../apache/phoenix/compile/JoinCompiler.java|  20 +-
 .../apache/phoenix/compile/QueryCompiler.java   |  43 ++-
 .../org/apache/phoenix/compile/ScanRanges.java  |   6 +-
 .../apache/phoenix/compile/WhereCompiler.java   |  33 ++-
 .../apache/phoenix/compile/WhereOptimizer.java  |  75 +-
 .../apache/phoenix/execute/HashJoinPlan.java| 103 +++-
 .../apache/phoenix/join/HashCacheClient.java|  14 +-
 .../java/org/apache/phoenix/parse/HintNode.java |   8 +
 .../apache/phoenix/schema/PArrayDataType.java   |  13 +
 .../org/apache/phoenix/schema/PDataType.java| 252 +-
 .../apache/phoenix/schema/PDataTypeTest.java|  21 +-
 12 files changed, 820 insertions(+), 31 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/27a6ccef/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
index 65ebaa6..05f2837 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
@@ -229,7 +229,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ORDER_TABLE_DISPLAY_NAME + "\n" +
 "SERVER FILTER BY QUANTITY < 5000\n" +
 "BUILD HASH TABLE 1\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_SUPPLIER_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_SUPPLIER_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id IN (O.item_id)",
 /*
  * testSelfJoin()
  * SELECT i2.item_id, i1.name FROM joinItemTable i1 
@@ -240,7 +241,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME + "\n" +
-"SERVER FILTER BY FIRST KEY ONLY",
+"SERVER FILTER BY FIRST KEY ONLY\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(I2.item_id)",
 /*
  * testSelfJoin()
  * SELECT i1.name, i2.name FROM joinItemTable i1 
@@ -252,7 +254,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT MERGE SORT\n" +
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(I2.supplier_id)",
 /*
  * testStarJoin()
  * SELECT order_id, c.name, i.name iname, quantity, o.date 
@@ -283,7 +286,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ORDER_TABLE_DISPLAY_NAME + "\n" +
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_CUSTOMER_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_CUSTOMER_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(O.item_id)",
 /*
  * testSubJoin()
  * SELECT * FROM joinCustomerTable c 
@@ -310,7 +314,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "SERVER FILTER BY NAME != 'T3'\n" +

git commit: PHOENIX-852 Optimize child/parent foreign key joins

2014-09-02 Thread maryannxue
Repository: phoenix
Updated Branches:
  refs/heads/4.0 ab49a16b3 -> c39a05e28


PHOENIX-852 Optimize child/parent foreign key joins


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

Branch: refs/heads/4.0
Commit: c39a05e289f915725d2b439e819ccd3a07dec56b
Parents: ab49a16
Author: maryannxue 
Authored: Tue Sep 2 11:04:43 2014 -0400
Committer: maryannxue 
Committed: Tue Sep 2 11:04:43 2014 -0400

--
 .../org/apache/phoenix/end2end/HashJoinIT.java  | 263 ++-
 .../apache/phoenix/compile/JoinCompiler.java|  20 +-
 .../apache/phoenix/compile/QueryCompiler.java   |  43 ++-
 .../org/apache/phoenix/compile/ScanRanges.java  |   6 +-
 .../apache/phoenix/compile/WhereCompiler.java   |  33 ++-
 .../apache/phoenix/compile/WhereOptimizer.java  |  75 +-
 .../apache/phoenix/execute/HashJoinPlan.java| 103 +++-
 .../apache/phoenix/join/HashCacheClient.java|  14 +-
 .../java/org/apache/phoenix/parse/HintNode.java |   8 +
 .../apache/phoenix/schema/PArrayDataType.java   |  13 +
 .../org/apache/phoenix/schema/PDataType.java| 252 +-
 .../apache/phoenix/schema/PDataTypeTest.java|  21 +-
 12 files changed, 820 insertions(+), 31 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c39a05e2/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
index 65ebaa6..05f2837 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
@@ -229,7 +229,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ORDER_TABLE_DISPLAY_NAME + "\n" +
 "SERVER FILTER BY QUANTITY < 5000\n" +
 "BUILD HASH TABLE 1\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_SUPPLIER_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_SUPPLIER_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id IN (O.item_id)",
 /*
  * testSelfJoin()
  * SELECT i2.item_id, i1.name FROM joinItemTable i1 
@@ -240,7 +241,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME + "\n" +
-"SERVER FILTER BY FIRST KEY ONLY",
+"SERVER FILTER BY FIRST KEY ONLY\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(I2.item_id)",
 /*
  * testSelfJoin()
  * SELECT i1.name, i2.name FROM joinItemTable i1 
@@ -252,7 +254,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT MERGE SORT\n" +
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ITEM_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(I2.supplier_id)",
 /*
  * testStarJoin()
  * SELECT order_id, c.name, i.name iname, quantity, o.date 
@@ -283,7 +286,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_ORDER_TABLE_DISPLAY_NAME + "\n" +
 "PARALLEL EQUI-JOIN 1 HASH TABLES:\n" +
 "BUILD HASH TABLE 0\n" +
-"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_CUSTOMER_TABLE_DISPLAY_NAME,
+"CLIENT PARALLEL 1-WAY FULL SCAN OVER " + 
JOIN_CUSTOMER_TABLE_DISPLAY_NAME + "\n" +
+"DYNAMIC SERVER FILTER BY item_id BETWEEN MIN/MAX OF 
(O.item_id)",
 /*
  * testSubJoin()
  * SELECT * FROM joinCustomerTable c 
@@ -310,7 +314,8 @@ public class HashJoinIT extends BaseHBaseManagedTimeIT {
 "SERVER FILTER BY NAME != 'T3'\n" +
 "

Build failed in Jenkins: Phoenix | 4.0 | Hadoop2 #87

2014-09-02 Thread Apache Jenkins Server
See 

--
[...truncated 480 lines...]
Running org.apache.phoenix.end2end.QueryIT
Tests run: 48, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.86 sec - in 
org.apache.phoenix.end2end.ArrayIT
Tests run: 49, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.747 sec - 
in org.apache.phoenix.end2end.SequenceIT
Running org.apache.phoenix.end2end.IsNullIT
Running org.apache.phoenix.end2end.ToCharFunctionIT
Tests run: 33, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 42.716 sec <<< 
FAILURE! - in org.apache.phoenix.end2end.RowValueConstructorIT
testRVCWithColumnValuesEqualToLengthInSchema(org.apache.phoenix.end2end.RowValueConstructorIT)
  Time elapsed: 1.706 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected: but was:
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at 
org.apache.phoenix.end2end.RowValueConstructorIT.testRVCWithComparisonOps(RowValueConstructorIT.java:1188)
at 
org.apache.phoenix.end2end.RowValueConstructorIT.testRVCWithColumnValuesEqualToLengthInSchema(RowValueConstructorIT.java:1137)

Running org.apache.phoenix.end2end.FunkyNamesIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.3 sec - in 
org.apache.phoenix.end2end.IsNullIT
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.833 sec - in 
org.apache.phoenix.end2end.ToCharFunctionIT
Running org.apache.phoenix.end2end.salted.SaltedTableIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.379 sec - in 
org.apache.phoenix.end2end.FunkyNamesIT
Running org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
Running org.apache.phoenix.end2end.NativeHBaseTypesIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.113 sec - in 
org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
Running org.apache.phoenix.end2end.CompareDecimalToLongIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.384 sec - in 
org.apache.phoenix.end2end.NativeHBaseTypesIT
Running org.apache.phoenix.end2end.TruncateFunctionIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.411 sec - in 
org.apache.phoenix.end2end.salted.SaltedTableIT
Running org.apache.phoenix.end2end.StatsManagerIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.107 sec - in 
org.apache.phoenix.end2end.TruncateFunctionIT
Running org.apache.phoenix.end2end.QueryDatabaseMetaDataIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.017 sec - in 
org.apache.phoenix.end2end.CompareDecimalToLongIT
Running org.apache.phoenix.end2end.SkipRangeParallelIteratorRegionSplitterIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.43 sec - in 
org.apache.phoenix.end2end.SkipRangeParallelIteratorRegionSplitterIT
Running org.apache.phoenix.end2end.PercentileIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.915 sec - in 
org.apache.phoenix.end2end.StatsManagerIT
Running org.apache.phoenix.end2end.ToNumberFunctionIT
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.566 sec - in 
org.apache.phoenix.end2end.ToNumberFunctionIT
Running org.apache.phoenix.end2end.OrderByIT
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.872 sec - 
in org.apache.phoenix.end2end.PercentileIT
Running org.apache.phoenix.end2end.GroupByCaseIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.533 sec - in 
org.apache.phoenix.end2end.OrderByIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.766 sec - in 
org.apache.phoenix.end2end.GroupByCaseIT
Tests run: 119, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 169.518 sec - 
in org.apache.phoenix.end2end.ScanQueryIT
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.242 sec - 
in org.apache.phoenix.end2end.QueryDatabaseMetaDataIT
Tests run: 91, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 161.933 sec - 
in org.apache.phoenix.end2end.GroupByIT
Tests run: 203, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 274.508 sec - 
in org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT
Tests run: 182, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 299.935 sec - 
in org.apache.phoenix.end2end.QueryIT

Results :

Failed tests: 
  
RowValueConstructorIT.testRVCWithColumnValuesEqualToLengthInSchema:1137->testRVCWithComparisonOps:1188
 expected: but was:

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

[INFO] 
[INFO] --- maven-failsafe-plugin:2.17:integration-test (HBaseManagedTimeTests) 
@ phoenix-core ---
[INFO] Failsafe report directory: 

[INFO] parallel='none', perCoreThreadCount=true, threadCount=0, 
useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, 
threadCountMethods=0, parallelOptimized=true

---

Apache-Phoenix | 3.0 | Hadoop1 | Build Successful

2014-09-02 Thread Apache Jenkins Server
3.0 branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastCompletedBuild/testReport/

Changes
[gabrielr] PHOENIX-105 Remove commons-csv source



Apache-Phoenix | Master | Hadoop1 | Build Successful

2014-09-02 Thread Apache Jenkins Server
Master branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-master-hadoop1/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-master-hadoop1/lastCompletedBuild/testReport/

Changes
[gabrielr] PHOENIX-105 Remove commons-csv source



Apache-Phoenix | 4.0 | Hadoop1 | Build Successful

2014-09-02 Thread Apache Jenkins Server
4.0 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.0-hadoop1/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.0-hadoop1/lastCompletedBuild/testReport/

Changes
[gabrielr] PHOENIX-105 Remove commons-csv source



[1/2] PHOENIX-105 Remove commons-csv source

2014-09-02 Thread greid
Repository: phoenix
Updated Branches:
  refs/heads/4.0 214a4ccf8 -> ab49a16b3


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ab49a16b/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
--
diff --git a/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java 
b/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
deleted file mode 100644
index 95cf13d..000
--- a/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
+++ /dev/null
@@ -1,431 +0,0 @@
-/*
- * 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.commons.csv;
-
-import static org.apache.commons.csv.Constants.BACKSPACE;
-import static org.apache.commons.csv.Constants.CR;
-import static org.apache.commons.csv.Constants.END_OF_STREAM;
-import static org.apache.commons.csv.Constants.FF;
-import static org.apache.commons.csv.Constants.LF;
-import static org.apache.commons.csv.Constants.TAB;
-import static org.apache.commons.csv.Constants.UNDEFINED;
-import static org.apache.commons.csv.Token.Type.COMMENT;
-import static org.apache.commons.csv.Token.Type.EOF;
-import static org.apache.commons.csv.Token.Type.EORECORD;
-import static org.apache.commons.csv.Token.Type.INVALID;
-import static org.apache.commons.csv.Token.Type.TOKEN;
-
-import java.io.IOException;
-
-/**
- *
- *
- * @version $Id: Lexer.java 1512650 2013-08-10 11:46:28Z britter $
- */
-final class Lexer {
-
-/**
- * Constant char to use for disabling comments, escapes and encapsulation. 
The value -2 is used because it
- * won't be confused with an EOF signal (-1), and because the Unicode 
value {@code FFFE} would be encoded as two
- * chars (using surrogates) and thus there should never be a collision 
with a real text char.
- */
-private static final char DISABLED = '\ufffe';
-
-private final char delimiter;
-private final char escape;
-private final char quoteChar;
-private final char commentStart;
-
-private final boolean ignoreSurroundingSpaces;
-private final boolean ignoreEmptyLines;
-
-/** The input stream */
-private final ExtendedBufferedReader in;
-
-/** INTERNAL API. but ctor needs to be called dynamically by 
PerformanceTest class */
-Lexer(final CSVFormat format, final ExtendedBufferedReader in) {
-this.in = in;
-this.delimiter = format.getDelimiter();
-this.escape = mapNullToDisabled(format.getEscape());
-this.quoteChar = mapNullToDisabled(format.getQuoteChar());
-this.commentStart = mapNullToDisabled(format.getCommentStart());
-this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();
-this.ignoreEmptyLines = format.getIgnoreEmptyLines();
-}
-
-/**
- * Returns the next token.
- * 
- * A token corresponds to a term, a record change or an end-of-file 
indicator.
- *
- * @param token
- *an existing Token object to reuse. The caller is responsible 
to initialize the Token.
- * @return the next token found
- * @throws java.io.IOException
- * on stream access error
- */
-Token nextToken(final Token token) throws IOException {
-
-// get the last read char (required for empty line detection)
-int lastChar = in.getLastChar();
-
-// read the next char and set eol
-int c = in.read();
-/*
- * Note: The following call will swallow LF if c == CR. But we don't 
need to know if the last char was CR or LF
- * - they are equivalent here.
- */
-boolean eol = readEndOfLine(c);
-
-// empty line detection: eol AND (last char was EOL or beginning)
-if (ignoreEmptyLines) {
-while (eol && isStartOfLine(lastChar)) {
-// go on char ahead ...
-lastChar = c;
-c = in.read();
-eol = readEndOfLine(c);
-// reached end of file without any content (empty line at the 
end)
-if (isEndOfFile(c)) {
-token.type = EOF;
-// don't set token.isReady here because no content
-return token;
-   

[1/2] PHOENIX-105 Remove commons-csv source

2014-09-02 Thread greid
Repository: phoenix
Updated Branches:
  refs/heads/3.0 b5cbb79b6 -> 8e19e68bb


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8e19e68b/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
--
diff --git a/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java 
b/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
deleted file mode 100644
index 95cf13d..000
--- a/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
+++ /dev/null
@@ -1,431 +0,0 @@
-/*
- * 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.commons.csv;
-
-import static org.apache.commons.csv.Constants.BACKSPACE;
-import static org.apache.commons.csv.Constants.CR;
-import static org.apache.commons.csv.Constants.END_OF_STREAM;
-import static org.apache.commons.csv.Constants.FF;
-import static org.apache.commons.csv.Constants.LF;
-import static org.apache.commons.csv.Constants.TAB;
-import static org.apache.commons.csv.Constants.UNDEFINED;
-import static org.apache.commons.csv.Token.Type.COMMENT;
-import static org.apache.commons.csv.Token.Type.EOF;
-import static org.apache.commons.csv.Token.Type.EORECORD;
-import static org.apache.commons.csv.Token.Type.INVALID;
-import static org.apache.commons.csv.Token.Type.TOKEN;
-
-import java.io.IOException;
-
-/**
- *
- *
- * @version $Id: Lexer.java 1512650 2013-08-10 11:46:28Z britter $
- */
-final class Lexer {
-
-/**
- * Constant char to use for disabling comments, escapes and encapsulation. 
The value -2 is used because it
- * won't be confused with an EOF signal (-1), and because the Unicode 
value {@code FFFE} would be encoded as two
- * chars (using surrogates) and thus there should never be a collision 
with a real text char.
- */
-private static final char DISABLED = '\ufffe';
-
-private final char delimiter;
-private final char escape;
-private final char quoteChar;
-private final char commentStart;
-
-private final boolean ignoreSurroundingSpaces;
-private final boolean ignoreEmptyLines;
-
-/** The input stream */
-private final ExtendedBufferedReader in;
-
-/** INTERNAL API. but ctor needs to be called dynamically by 
PerformanceTest class */
-Lexer(final CSVFormat format, final ExtendedBufferedReader in) {
-this.in = in;
-this.delimiter = format.getDelimiter();
-this.escape = mapNullToDisabled(format.getEscape());
-this.quoteChar = mapNullToDisabled(format.getQuoteChar());
-this.commentStart = mapNullToDisabled(format.getCommentStart());
-this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();
-this.ignoreEmptyLines = format.getIgnoreEmptyLines();
-}
-
-/**
- * Returns the next token.
- * 
- * A token corresponds to a term, a record change or an end-of-file 
indicator.
- *
- * @param token
- *an existing Token object to reuse. The caller is responsible 
to initialize the Token.
- * @return the next token found
- * @throws java.io.IOException
- * on stream access error
- */
-Token nextToken(final Token token) throws IOException {
-
-// get the last read char (required for empty line detection)
-int lastChar = in.getLastChar();
-
-// read the next char and set eol
-int c = in.read();
-/*
- * Note: The following call will swallow LF if c == CR. But we don't 
need to know if the last char was CR or LF
- * - they are equivalent here.
- */
-boolean eol = readEndOfLine(c);
-
-// empty line detection: eol AND (last char was EOL or beginning)
-if (ignoreEmptyLines) {
-while (eol && isStartOfLine(lastChar)) {
-// go on char ahead ...
-lastChar = c;
-c = in.read();
-eol = readEndOfLine(c);
-// reached end of file without any content (empty line at the 
end)
-if (isEndOfFile(c)) {
-token.type = EOF;
-// don't set token.isReady here because no content
-return token;
-   

[2/2] git commit: PHOENIX-105 Remove commons-csv source

2014-09-02 Thread greid
PHOENIX-105 Remove commons-csv source

Remove the fork of the commons-csv source code and use the
released commons-csv artifact.


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

Branch: refs/heads/4.0
Commit: ab49a16b34905bac1a9b0b9d5f0c8f1006a84e58
Parents: 214a4cc
Author: Gabriel Reid 
Authored: Tue Sep 2 10:03:13 2014 +0200
Committer: Gabriel Reid 
Committed: Tue Sep 2 12:58:45 2014 +0200

--
 .../src/build/components-major-client.xml   |   1 +
 .../components/all-common-dependencies.xml  |   3 +-
 phoenix-core/pom.xml|   4 +
 .../java/org/apache/commons/csv/Assertions.java |  36 -
 .../java/org/apache/commons/csv/CSVFormat.java  | 884 ---
 .../java/org/apache/commons/csv/CSVParser.java  | 470 --
 .../java/org/apache/commons/csv/CSVPrinter.java | 429 -
 .../java/org/apache/commons/csv/CSVRecord.java  | 225 -
 .../java/org/apache/commons/csv/Constants.java  |  68 --
 .../commons/csv/ExtendedBufferedReader.java | 178 
 .../main/java/org/apache/commons/csv/Lexer.java | 431 -
 .../main/java/org/apache/commons/csv/Quote.java |  48 -
 .../main/java/org/apache/commons/csv/Token.java |  75 --
 .../org/apache/commons/csv/package-info.java|  82 --
 .../apache/phoenix/util/CSVCommonsLoader.java   |   6 +-
 pom.xml |   7 +-
 16 files changed, 16 insertions(+), 2931 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ab49a16b/phoenix-assembly/src/build/components-major-client.xml
--
diff --git a/phoenix-assembly/src/build/components-major-client.xml 
b/phoenix-assembly/src/build/components-major-client.xml
index 08083da..f1f37c2 100644
--- a/phoenix-assembly/src/build/components-major-client.xml
+++ b/phoenix-assembly/src/build/components-major-client.xml
@@ -45,6 +45,7 @@
 commons-logging:commons-logging
 commons-lang:commons-lang
 commons-cli:commons-cli
+org.apache.commons:commons-csv
 org.codehaus.jackson:jackson-mapper-asl
 org.codehaus.jackson:jackson-core-asl
 org.xerial.snappy:snappy-java

http://git-wip-us.apache.org/repos/asf/phoenix/blob/ab49a16b/phoenix-assembly/src/build/components/all-common-dependencies.xml
--
diff --git a/phoenix-assembly/src/build/components/all-common-dependencies.xml 
b/phoenix-assembly/src/build/components/all-common-dependencies.xml
index 7d943f6..df4a32f 100644
--- a/phoenix-assembly/src/build/components/all-common-dependencies.xml
+++ b/phoenix-assembly/src/build/components/all-common-dependencies.xml
@@ -32,6 +32,7 @@
 commons-io:commons-io
 commons-lang:commons-lang
 commons-logging:commons-logging
+org.apache.commons:commons-csv
 com.google.guava:guava
 org.apache.hadoop:hadoop*
 com.google.protobuf:protobuf-java
@@ -59,4 +60,4 @@
   
 
   
-
\ No newline at end of file
+

http://git-wip-us.apache.org/repos/asf/phoenix/blob/ab49a16b/phoenix-core/pom.xml
--
diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index a74abcd..5e25056 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -321,6 +321,10 @@
   commons-collections
   commons-collections
 
+
+  org.apache.commons
+  commons-csv
+
   
 
   

http://git-wip-us.apache.org/repos/asf/phoenix/blob/ab49a16b/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
--
diff --git a/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java 
b/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
deleted file mode 100644
index 63c330a..000
--- a/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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 WA

[2/2] git commit: PHOENIX-105 Remove commons-csv source

2014-09-02 Thread greid
PHOENIX-105 Remove commons-csv source

Remove the fork of the commons-csv source code and use the
released commons-csv artifact.


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

Branch: refs/heads/3.0
Commit: 8e19e68bb14000f8f55f2381e3a141c09348d49f
Parents: b5cbb79
Author: Gabriel Reid 
Authored: Tue Sep 2 11:53:29 2014 +0200
Committer: Gabriel Reid 
Committed: Tue Sep 2 12:54:19 2014 +0200

--
 phoenix-assembly/src/build/all.xml  |   1 +
 .../src/build/components-major-client.xml   |   1 +
 phoenix-core/pom.xml|   4 +
 .../java/org/apache/commons/csv/Assertions.java |  36 -
 .../java/org/apache/commons/csv/CSVFormat.java  | 884 ---
 .../java/org/apache/commons/csv/CSVParser.java  | 470 --
 .../java/org/apache/commons/csv/CSVPrinter.java | 429 -
 .../java/org/apache/commons/csv/CSVRecord.java  | 225 -
 .../java/org/apache/commons/csv/Constants.java  |  68 --
 .../commons/csv/ExtendedBufferedReader.java | 178 
 .../main/java/org/apache/commons/csv/Lexer.java | 431 -
 .../main/java/org/apache/commons/csv/Quote.java |  48 -
 .../main/java/org/apache/commons/csv/Token.java |  75 --
 .../org/apache/commons/csv/package-info.java|  82 --
 .../apache/phoenix/util/CSVCommonsLoader.java   |   6 +-
 pom.xml |   6 +
 16 files changed, 15 insertions(+), 2929 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8e19e68b/phoenix-assembly/src/build/all.xml
--
diff --git a/phoenix-assembly/src/build/all.xml 
b/phoenix-assembly/src/build/all.xml
index c4f7f61..0d24ab3 100644
--- a/phoenix-assembly/src/build/all.xml
+++ b/phoenix-assembly/src/build/all.xml
@@ -134,6 +134,7 @@
 commons-io:commons-io
 commons-lang:commons-lang
 commons-logging:commons-logging
+org.apache.commons:commons-csv
 com.google.guava:guava
 org.apache.hadoop:hadoop*
 com.google.protobuf:protobuf-java

http://git-wip-us.apache.org/repos/asf/phoenix/blob/8e19e68b/phoenix-assembly/src/build/components-major-client.xml
--
diff --git a/phoenix-assembly/src/build/components-major-client.xml 
b/phoenix-assembly/src/build/components-major-client.xml
index 3106f02..c3980cd 100644
--- a/phoenix-assembly/src/build/components-major-client.xml
+++ b/phoenix-assembly/src/build/components-major-client.xml
@@ -45,6 +45,7 @@
 commons-logging:commons-logging
 commons-lang:commons-lang
 commons-cli:commons-cli
+org.apache.commons:commons-csv
 org.codehaus.jackson:jackson-mapper-asl
 org.codehaus.jackson:jackson-core-asl
 org.xerial.snappy:snappy-java

http://git-wip-us.apache.org/repos/asf/phoenix/blob/8e19e68b/phoenix-core/pom.xml
--
diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index 1a245e2..fdf268d 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -242,6 +242,10 @@
   net.sourceforge.findbugs
   annotations
 
+
+  org.apache.commons
+  commons-csv
+
 
 
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/8e19e68b/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
--
diff --git a/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java 
b/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
deleted file mode 100644
index 63c330a..000
--- a/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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.commons.csv;
-
-/**
- * U

[2/2] git commit: PHOENIX-105 Remove commons-csv source

2014-09-02 Thread greid
PHOENIX-105 Remove commons-csv source

Remove the fork of the commons-csv source code and use the
released commons-csv artifact.


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

Branch: refs/heads/master
Commit: c36973263296d3eb4b6ffdbf1a43e9f3e4fe5930
Parents: 4774c63
Author: Gabriel Reid 
Authored: Tue Sep 2 10:03:13 2014 +0200
Committer: Gabriel Reid 
Committed: Tue Sep 2 13:00:42 2014 +0200

--
 .../src/build/components-major-client.xml   |   1 +
 .../components/all-common-dependencies.xml  |   3 +-
 phoenix-core/pom.xml|   4 +
 .../java/org/apache/commons/csv/Assertions.java |  36 -
 .../java/org/apache/commons/csv/CSVFormat.java  | 884 ---
 .../java/org/apache/commons/csv/CSVParser.java  | 470 --
 .../java/org/apache/commons/csv/CSVPrinter.java | 429 -
 .../java/org/apache/commons/csv/CSVRecord.java  | 225 -
 .../java/org/apache/commons/csv/Constants.java  |  68 --
 .../commons/csv/ExtendedBufferedReader.java | 178 
 .../main/java/org/apache/commons/csv/Lexer.java | 431 -
 .../main/java/org/apache/commons/csv/Quote.java |  48 -
 .../main/java/org/apache/commons/csv/Token.java |  75 --
 .../org/apache/commons/csv/package-info.java|  82 --
 .../apache/phoenix/util/CSVCommonsLoader.java   |   6 +-
 pom.xml |   7 +-
 16 files changed, 16 insertions(+), 2931 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c3697326/phoenix-assembly/src/build/components-major-client.xml
--
diff --git a/phoenix-assembly/src/build/components-major-client.xml 
b/phoenix-assembly/src/build/components-major-client.xml
index 08083da..f1f37c2 100644
--- a/phoenix-assembly/src/build/components-major-client.xml
+++ b/phoenix-assembly/src/build/components-major-client.xml
@@ -45,6 +45,7 @@
 commons-logging:commons-logging
 commons-lang:commons-lang
 commons-cli:commons-cli
+org.apache.commons:commons-csv
 org.codehaus.jackson:jackson-mapper-asl
 org.codehaus.jackson:jackson-core-asl
 org.xerial.snappy:snappy-java

http://git-wip-us.apache.org/repos/asf/phoenix/blob/c3697326/phoenix-assembly/src/build/components/all-common-dependencies.xml
--
diff --git a/phoenix-assembly/src/build/components/all-common-dependencies.xml 
b/phoenix-assembly/src/build/components/all-common-dependencies.xml
index 7d943f6..df4a32f 100644
--- a/phoenix-assembly/src/build/components/all-common-dependencies.xml
+++ b/phoenix-assembly/src/build/components/all-common-dependencies.xml
@@ -32,6 +32,7 @@
 commons-io:commons-io
 commons-lang:commons-lang
 commons-logging:commons-logging
+org.apache.commons:commons-csv
 com.google.guava:guava
 org.apache.hadoop:hadoop*
 com.google.protobuf:protobuf-java
@@ -59,4 +60,4 @@
   
 
   
-
\ No newline at end of file
+

http://git-wip-us.apache.org/repos/asf/phoenix/blob/c3697326/phoenix-core/pom.xml
--
diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index 73b27bf..d5774ea 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -321,6 +321,10 @@
   commons-collections
   commons-collections
 
+
+  org.apache.commons
+  commons-csv
+
   
 
   

http://git-wip-us.apache.org/repos/asf/phoenix/blob/c3697326/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
--
diff --git a/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java 
b/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
deleted file mode 100644
index 63c330a..000
--- a/phoenix-core/src/main/java/org/apache/commons/csv/Assertions.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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

[1/2] PHOENIX-105 Remove commons-csv source

2014-09-02 Thread greid
Repository: phoenix
Updated Branches:
  refs/heads/master 4774c6332 -> c36973263


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c3697326/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
--
diff --git a/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java 
b/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
deleted file mode 100644
index 95cf13d..000
--- a/phoenix-core/src/main/java/org/apache/commons/csv/Lexer.java
+++ /dev/null
@@ -1,431 +0,0 @@
-/*
- * 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.commons.csv;
-
-import static org.apache.commons.csv.Constants.BACKSPACE;
-import static org.apache.commons.csv.Constants.CR;
-import static org.apache.commons.csv.Constants.END_OF_STREAM;
-import static org.apache.commons.csv.Constants.FF;
-import static org.apache.commons.csv.Constants.LF;
-import static org.apache.commons.csv.Constants.TAB;
-import static org.apache.commons.csv.Constants.UNDEFINED;
-import static org.apache.commons.csv.Token.Type.COMMENT;
-import static org.apache.commons.csv.Token.Type.EOF;
-import static org.apache.commons.csv.Token.Type.EORECORD;
-import static org.apache.commons.csv.Token.Type.INVALID;
-import static org.apache.commons.csv.Token.Type.TOKEN;
-
-import java.io.IOException;
-
-/**
- *
- *
- * @version $Id: Lexer.java 1512650 2013-08-10 11:46:28Z britter $
- */
-final class Lexer {
-
-/**
- * Constant char to use for disabling comments, escapes and encapsulation. 
The value -2 is used because it
- * won't be confused with an EOF signal (-1), and because the Unicode 
value {@code FFFE} would be encoded as two
- * chars (using surrogates) and thus there should never be a collision 
with a real text char.
- */
-private static final char DISABLED = '\ufffe';
-
-private final char delimiter;
-private final char escape;
-private final char quoteChar;
-private final char commentStart;
-
-private final boolean ignoreSurroundingSpaces;
-private final boolean ignoreEmptyLines;
-
-/** The input stream */
-private final ExtendedBufferedReader in;
-
-/** INTERNAL API. but ctor needs to be called dynamically by 
PerformanceTest class */
-Lexer(final CSVFormat format, final ExtendedBufferedReader in) {
-this.in = in;
-this.delimiter = format.getDelimiter();
-this.escape = mapNullToDisabled(format.getEscape());
-this.quoteChar = mapNullToDisabled(format.getQuoteChar());
-this.commentStart = mapNullToDisabled(format.getCommentStart());
-this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();
-this.ignoreEmptyLines = format.getIgnoreEmptyLines();
-}
-
-/**
- * Returns the next token.
- * 
- * A token corresponds to a term, a record change or an end-of-file 
indicator.
- *
- * @param token
- *an existing Token object to reuse. The caller is responsible 
to initialize the Token.
- * @return the next token found
- * @throws java.io.IOException
- * on stream access error
- */
-Token nextToken(final Token token) throws IOException {
-
-// get the last read char (required for empty line detection)
-int lastChar = in.getLastChar();
-
-// read the next char and set eol
-int c = in.read();
-/*
- * Note: The following call will swallow LF if c == CR. But we don't 
need to know if the last char was CR or LF
- * - they are equivalent here.
- */
-boolean eol = readEndOfLine(c);
-
-// empty line detection: eol AND (last char was EOL or beginning)
-if (ignoreEmptyLines) {
-while (eol && isStartOfLine(lastChar)) {
-// go on char ahead ...
-lastChar = c;
-c = in.read();
-eol = readEndOfLine(c);
-// reached end of file without any content (empty line at the 
end)
-if (isEndOfFile(c)) {
-token.type = EOF;
-// don't set token.isReady here because no content
-return token;
-