Build failed in Jenkins: Phoenix | 3.0 | Hadoop1 #154

2014-07-25 Thread Apache Jenkins Server
See 

Changes:

[jtaylor] PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test 
flapping

--
[...truncated 113 lines...]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix-core 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
phoenix-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to META-INF/services
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ phoenix-core 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 641 source files to 

[WARNING] 
:
 Some input files use or override a deprecated API.
[WARNING] 
:
 Recompile with -Xlint:deprecation for details.
[WARNING] 
:
 

 uses unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
phoenix-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ 
phoenix-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 214 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ phoenix-core ---
[INFO] Surefire report directory: 


---
 T E S T S
---

---
 T E S T S
---
Running org.apache.phoenix.mapreduce.CsvBulkLoadToolTest
Running org.apache.phoenix.mapreduce.CsvToKeyValueMapperTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.334 sec - in 
org.apache.phoenix.mapreduce.CsvBulkLoadToolTest
Running org.apache.phoenix.mapreduce.CsvBulkImportUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.12 sec - in 
org.apache.phoenix.mapreduce.CsvBulkImportUtilTest
Running org.apache.phoenix.jdbc.PhoenixEmbeddedDriverTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec - in 
org.apache.phoenix.jdbc.PhoenixEmbeddedDriverTest
Running org.apache.phoenix.jdbc.PhoenixDriverTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.652 sec - in 
org.apache.phoenix.mapreduce.CsvToKeyValueMapperTest
Running org.apache.phoenix.util.ScanUtilTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec - in 
org.apache.phoenix.util.ScanUtilTest
Running org.apache.phoenix.util.PropertiesUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.util.PropertiesUtilTest
Running org.apache.phoenix.util.MetaDataUtilTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec - in 
org.apache.phoenix.util.MetaDataUtilTest
Running org.apache.phoenix.util.DateUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in 
org.apache.phoenix.util.DateUtilTest
Running org.apache.phoenix.util.ColumnInfoTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.util.ColumnInfoTest
Running org.apache.phoenix.util.SequenceUtilTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec - in 
org.apache.phoenix.util.SequenceUtilTest
Running org.apache.phoenix.util.PhoenixContextExecutorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.util.PhoenixContextExecutorTest
Running org.apache.phoenix.util.Base62EncoderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in 
org.apache.phoenix.util.Base62EncoderTest
Running org.apache.phoenix.util.PhoenixRuntimeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.838 sec - in 
org.apache.phoenix.jdb

git commit: PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/3.0 a411c7b23 -> c587ef6db


PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping


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

Branch: refs/heads/3.0
Commit: c587ef6db75953d1473c68030470987f60f86c81
Parents: a411c7b
Author: James Taylor 
Authored: Fri Jul 25 22:50:28 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 22:50:28 2014 -0700

--
 .../test/java/org/apache/phoenix/compile/ViewCompilerTest.java  | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c587ef6d/phoenix-core/src/test/java/org/apache/phoenix/compile/ViewCompilerTest.java
--
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/ViewCompilerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/ViewCompilerTest.java
index d2822a8..3ce2759 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/ViewCompilerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/ViewCompilerTest.java
@@ -62,15 +62,18 @@ public class ViewCompilerTest extends 
BaseConnectionlessQueryTest {
 conn.createStatement().execute(view);
 }
 
+StringBuilder buf = new StringBuilder();
 int count = 0;
 for (PTable table : conn.getMetaDataCache().getTables()) {
 if (table.getType() == PTableType.VIEW) {
 assertEquals(viewType, table.getViewType());
 conn.createStatement().execute("DROP VIEW " + 
table.getName().getString());
+buf.append(' ');
+buf.append(table.getName().getString());
 count++;
 }
 }
-assertEquals(views.length, count);
+assertEquals("Expected " + views.length + ", but got " + count + ":"+ 
buf.toString(), views.length, count);
 }
 
 @Test



Build failed in Jenkins: Phoenix | 3.0 | Hadoop1 #153

2014-07-25 Thread Apache Jenkins Server
See 

Changes:

[jtaylor] PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test 
flapping

--
[...truncated 114 lines...]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix-core 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
phoenix-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to META-INF/services
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ phoenix-core 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 641 source files to 

[WARNING] 
:
 Some input files use or override a deprecated API.
[WARNING] 
:
 Recompile with -Xlint:deprecation for details.
[WARNING] 
:
 

 uses unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
phoenix-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ 
phoenix-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 214 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ phoenix-core ---
[INFO] Surefire report directory: 


---
 T E S T S
---

---
 T E S T S
---
Running org.apache.phoenix.mapreduce.CsvBulkLoadToolTest
Running org.apache.phoenix.mapreduce.CsvToKeyValueMapperTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.325 sec - in 
org.apache.phoenix.mapreduce.CsvBulkLoadToolTest
Running org.apache.phoenix.mapreduce.CsvBulkImportUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec - in 
org.apache.phoenix.mapreduce.CsvBulkImportUtilTest
Running org.apache.phoenix.jdbc.PhoenixEmbeddedDriverTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec - in 
org.apache.phoenix.jdbc.PhoenixEmbeddedDriverTest
Running org.apache.phoenix.jdbc.PhoenixDriverTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.668 sec - in 
org.apache.phoenix.mapreduce.CsvToKeyValueMapperTest
Running org.apache.phoenix.util.ScanUtilTest
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec - in 
org.apache.phoenix.util.ScanUtilTest
Running org.apache.phoenix.util.PropertiesUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.util.PropertiesUtilTest
Running org.apache.phoenix.util.MetaDataUtilTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec - in 
org.apache.phoenix.util.MetaDataUtilTest
Running org.apache.phoenix.util.DateUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in 
org.apache.phoenix.util.DateUtilTest
Running org.apache.phoenix.util.ColumnInfoTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.util.ColumnInfoTest
Running org.apache.phoenix.util.SequenceUtilTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in 
org.apache.phoenix.util.SequenceUtilTest
Running org.apache.phoenix.util.PhoenixContextExecutorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.util.PhoenixContextExecutorTest
Running org.apache.phoenix.util.Base62EncoderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in 
org.apache.phoenix.util.Base62EncoderTest
Running org.apache.phoenix.util.PhoenixRuntimeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.862 sec - in 
org.apache.phoenix.jdbc.Phoen

[5/6] PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping

2014-07-25 Thread jamestaylor
http://git-wip-us.apache.org/repos/asf/phoenix/blob/a411c7b2/phoenix-core/src/it/java/org/apache/phoenix/end2end/DefaultParallelIteratorsRegionSplitterIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DefaultParallelIteratorsRegionSplitterIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DefaultParallelIteratorsRegionSplitterIT.java
index 3ebbc8b..cd8f1fb 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DefaultParallelIteratorsRegionSplitterIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DefaultParallelIteratorsRegionSplitterIT.java
@@ -43,6 +43,7 @@ import org.apache.phoenix.query.KeyRange;
 import org.apache.phoenix.schema.PDataType;
 import org.apache.phoenix.schema.TableRef;
 import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
@@ -85,7 +86,7 @@ public class DefaultParallelIteratorsRegionSplitterIT extends 
BaseParallelIterat
 long ts = nextTimestamp();
 initTableValues(ts);
 String url = getUrl() + ";" + PhoenixRuntime.CURRENT_SCN_ATTRIB + "=" 
+ ts;
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = DriverManager.getConnection(url, props);
 
 Scan scan = new Scan();
@@ -127,12 +128,12 @@ public class DefaultParallelIteratorsRegionSplitterIT 
extends BaseParallelIterat
 long ts = nextTimestamp();
 initTableValues(ts);
 String url = getUrl() + ";" + PhoenixRuntime.CURRENT_SCN_ATTRIB + "=" 
+ ts;
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = DriverManager.getConnection(url, props);
 
 Scan scan = new Scan();
 
-ConnectionQueryServices services = 
driver.getConnectionQueryServices(getUrl(), TEST_PROPERTIES);
+ConnectionQueryServices services = 
driver.getConnectionQueryServices(getUrl(), 
PropertiesUtil.deepCopy(TEST_PROPERTIES));
 TableRef table = getTableRef(conn,ts);
 services.getStatsManager().updateStats(table);
 scan.setStartRow(HConstants.EMPTY_START_ROW);

http://git-wip-us.apache.org/repos/asf/phoenix/blob/a411c7b2/phoenix-core/src/it/java/org/apache/phoenix/end2end/DerivedTableIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DerivedTableIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DerivedTableIT.java
index d2b0c8a..2e45313 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DerivedTableIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DerivedTableIT.java
@@ -47,6 +47,7 @@ import java.util.List;
 import java.util.Properties;
 
 import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
@@ -74,7 +75,7 @@ public class DerivedTableIT extends BaseClientManagedTimeIT {
  ts = nextTimestamp();
 initATableValues(tenantId, getDefaultSplits(tenantId), null, ts);
 if (indexDDL != null && indexDDL.length() > 0) {
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, 
Long.toString(ts));
 Connection conn = DriverManager.getConnection(getUrl(), props);
 conn.createStatement().execute(indexDDL);
@@ -93,7 +94,7 @@ public class DerivedTableIT extends BaseClientManagedTimeIT {
 @Test
 public void testDerivedTableWithWhere() throws Exception {
 long ts = nextTimestamp();
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 1));
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -205,7 +206,7 @@ public class DerivedTableIT extends BaseClientManagedTimeIT 
{
 @Test
 public void testDerivedTableWithGroupBy() throws Exception {
 long ts = nextTimestamp();
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 1));
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -240,7 +241,7 @@ public class DerivedTableIT extends BaseClientManagedTimeIT 
{
 @Test
 public void testDerivedTableWithOrderBy() throws Exception {
 long ts = nex

[2/6] PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping

2014-07-25 Thread jamestaylor
http://git-wip-us.apache.org/repos/asf/phoenix/blob/a411c7b2/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ImmutableIndexIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ImmutableIndexIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ImmutableIndexIT.java
index 9128595..1d7ac92 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ImmutableIndexIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/ImmutableIndexIT.java
@@ -39,6 +39,7 @@ import org.apache.phoenix.exception.SQLExceptionCode;
 import org.apache.phoenix.jdbc.PhoenixConnection;
 import org.apache.phoenix.query.QueryConstants;
 import org.apache.phoenix.schema.PTableKey;
+import org.apache.phoenix.util.PropertiesUtil;
 import org.apache.phoenix.util.QueryUtil;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
@@ -47,7 +48,7 @@ import org.junit.experimental.categories.Category;
 public class ImmutableIndexIT extends BaseHBaseManagedTimeIT {
 // Populate the test table with data.
 private static void populateTestTable() throws SQLException {
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
 String upsert = "UPSERT INTO " + INDEX_DATA_SCHEMA + 
QueryConstants.NAME_SEPARATOR + INDEX_DATA_TABLE
@@ -112,7 +113,7 @@ public class ImmutableIndexIT extends 
BaseHBaseManagedTimeIT {
 
 @Test
 public void testIndexWithNullableFixedWithCols() throws Exception {
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = DriverManager.getConnection(getUrl(), props);
 conn.setAutoCommit(false);
 ensureTableCreated(getUrl(), INDEX_DATA_TABLE);
@@ -168,7 +169,7 @@ public class ImmutableIndexIT extends 
BaseHBaseManagedTimeIT {
 ResultSet rs;
 String fullTableName = "T";
 
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = DriverManager.getConnection(getUrl(), props);
 conn.setAutoCommit(false);
 
@@ -190,7 +191,7 @@ public class ImmutableIndexIT extends 
BaseHBaseManagedTimeIT {
 
 @Test
 public void testDeleteFromAllPKColumnIndex() throws Exception {
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = DriverManager.getConnection(getUrl(), props);
 conn.setAutoCommit(false);
 ensureTableCreated(getUrl(), INDEX_DATA_TABLE);
@@ -245,7 +246,7 @@ public class ImmutableIndexIT extends 
BaseHBaseManagedTimeIT {
 
 @Test
 public void testDropIfImmutableKeyValueColumn() throws Exception {
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = DriverManager.getConnection(getUrl(), props);
 conn.setAutoCommit(false);
 ensureTableCreated(getUrl(), INDEX_DATA_TABLE);
@@ -279,7 +280,7 @@ public class ImmutableIndexIT extends 
BaseHBaseManagedTimeIT {
 
 @Test
 public void testGroupByCount() throws Exception {
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = DriverManager.getConnection(getUrl(), props);
 conn.setAutoCommit(false);
 ensureTableCreated(getUrl(), INDEX_DATA_TABLE);
@@ -298,7 +299,7 @@ public class ImmutableIndexIT extends 
BaseHBaseManagedTimeIT {
 
 @Test   
 public void testSelectDistinctOnTableWithSecondaryImmutableIndex() throws 
Exception {
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 ensureTableCreated(getUrl(), INDEX_DATA_TABLE);
 populateTestTable();
 String ddl = "CREATE INDEX IDX ON " + INDEX_DATA_SCHEMA + 
QueryConstants.NAME_SEPARATOR + INDEX_DATA_TABLE
@@ -334,7 +335,7 @@ public class ImmutableIndexIT extends 
BaseHBaseManagedTimeIT {
 
 @Test
 public void testInClauseWithIndexOnColumnOfUsignedIntType() throws 
Exception {
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 Connection conn = null;
 PreparedStatement stmt = null;
 ensureTableCreated(getUrl(), INDEX_DATA_TABLE);

http://git-wip-us.apache.org/repos/asf/phoenix/blob/a411c7b2/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexMetadataIT.java
--
diff

[4/6] PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping

2014-07-25 Thread jamestaylor
http://git-wip-us.apache.org/repos/asf/phoenix/blob/a411c7b2/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryIT.java
index e7ced92..0e6562c 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryIT.java
@@ -41,6 +41,7 @@ import java.util.Collection;
 import java.util.Properties;
 
 import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 import org.junit.runner.RunWith;
@@ -66,7 +67,7 @@ public class NotQueryIT extends QueryIT {
 @Test
 public void testNotInList() throws Exception {
 String query = "SELECT entity_id FROM aTable WHERE organization_id=? 
and entity_id NOT IN (?,?,?,?,?,?)";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -94,7 +95,7 @@ public class NotQueryIT extends QueryIT {
 @Test
 public void testNotInListOfFloat() throws Exception {
 String query = "SELECT a_float FROM aTable WHERE organization_id=? and 
a_float NOT IN (?,?,?,?,?,?)";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -122,7 +123,7 @@ public class NotQueryIT extends QueryIT {
 @Test
 public void testNotInListOfDouble() throws Exception {
 String query = "SELECT a_double FROM aTable WHERE organization_id=? 
and a_double NOT IN (?,?,?,?,?,?)";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -151,7 +152,7 @@ public class NotQueryIT extends QueryIT {
 public void testNotEquals() throws Exception {
 String query = "SELECT entity_id -- and here comment\n" + 
 "FROM aTable WHERE organization_id=? and a_integer != 1 and a_integer 
<= 2";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -170,7 +171,7 @@ public class NotQueryIT extends QueryIT {
 public void testNotEqualsByTinyInt() throws Exception {
 String query = "SELECT a_byte -- and here comment\n" + 
 "FROM aTable WHERE organization_id=? and a_byte != 1 and a_byte <= 2";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -189,7 +190,7 @@ public class NotQueryIT extends QueryIT {
 public void testNotEqualsBySmallInt() throws Exception {
 String query = "SELECT a_short -- and here comment\n" + 
 "FROM aTable WHERE organization_id=? and a_short != 128 and a_short 
!=0 and a_short <= 129";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -208,7 +209,7 @@ public class NotQueryIT extends QueryIT {
 public void testNotEqualsByFloat() throws Exception {
 String query = "SELECT a_float -- and here comment\n" + 
 "FROM aTable WHERE organization_id=? and a_float != 0.01d and a_float 
<= 0.02d";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -227,7 +228,7 @@ pub

[6/6] git commit: PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping

2014-07-25 Thread jamestaylor
PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping


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

Branch: refs/heads/3.0
Commit: a411c7b238e735037b63e67561e3d23ab0b35c4f
Parents: 41d7afc
Author: James Taylor 
Authored: Fri Jul 25 22:32:21 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 22:32:21 2014 -0700

--
 .../apache/phoenix/end2end/AlterTableIT.java|  29 ++--
 .../phoenix/end2end/ArithmeticQueryIT.java  |  17 +--
 .../org/apache/phoenix/end2end/ArrayIT.java | 107 +++
 .../apache/phoenix/end2end/AutoCommitIT.java|   3 +-
 .../BaseParallelIteratorsRegionSplitterIT.java  |   3 +-
 .../apache/phoenix/end2end/BinaryRowKeyIT.java  |   9 +-
 .../apache/phoenix/end2end/CaseStatementIT.java |  19 +--
 .../apache/phoenix/end2end/CastAndCoerceIT.java |  13 +-
 .../end2end/ClientTimeArithmeticQueryIT.java|  57 
 .../end2end/ColumnProjectionOptimizationIT.java |   5 +-
 .../phoenix/end2end/CustomEntityDataIT.java |   7 +-
 ...efaultParallelIteratorsRegionSplitterIT.java |   7 +-
 .../apache/phoenix/end2end/DerivedTableIT.java  |  19 +--
 .../apache/phoenix/end2end/DistinctCountIT.java |  19 +--
 .../apache/phoenix/end2end/DynamicColumnIT.java |  15 ++-
 .../apache/phoenix/end2end/DynamicFamilyIT.java |  19 +--
 .../apache/phoenix/end2end/DynamicUpsertIT.java |  17 +--
 .../phoenix/end2end/ExtendedQueryExecIT.java|   9 +-
 .../apache/phoenix/end2end/FunkyNamesIT.java|   9 +-
 .../apache/phoenix/end2end/GroupByCaseIT.java   |  11 +-
 .../org/apache/phoenix/end2end/GroupByIT.java   |  27 ++--
 .../org/apache/phoenix/end2end/HashJoinIT.java  |  67 +-
 .../org/apache/phoenix/end2end/InListIT.java|   5 +-
 .../org/apache/phoenix/end2end/KeyOnlyIT.java   |   3 +-
 .../phoenix/end2end/MultiCfQueryExecIT.java |  15 ++-
 .../phoenix/end2end/NativeHBaseTypesIT.java |  26 ++--
 .../org/apache/phoenix/end2end/NotQueryIT.java  |  23 ++--
 .../org/apache/phoenix/end2end/OrderByIT.java   |   7 +-
 .../apache/phoenix/end2end/PercentileIT.java|  31 ++---
 .../phoenix/end2end/ProductMetricsIT.java   | 131 ++-
 .../end2end/QueryDatabaseMetaDataIT.java|   5 +-
 .../org/apache/phoenix/end2end/QueryIT.java |  49 +++
 .../phoenix/end2end/ReadIsolationLevelIT.java   |   3 +-
 .../phoenix/end2end/RowValueConstructorIT.java  |  49 +++
 .../org/apache/phoenix/end2end/ScanQueryIT.java |  35 ++---
 .../org/apache/phoenix/end2end/SequenceIT.java  |   5 +-
 .../phoenix/end2end/ServerExceptionIT.java  |   3 +-
 ...ipRangeParallelIteratorRegionSplitterIT.java |   7 +-
 .../apache/phoenix/end2end/SortOrderFIT.java|   3 +-
 .../phoenix/end2end/SpillableGroupByIT.java |   5 +-
 .../phoenix/end2end/StatementHintsIT.java   |   7 +-
 .../apache/phoenix/end2end/StatsManagerIT.java  |   7 +-
 .../org/apache/phoenix/end2end/StddevIT.java|   9 +-
 .../end2end/TenantSpecificTablesDDLIT.java  |   3 +-
 .../end2end/TenantSpecificTablesDMLIT.java  |   5 +-
 .../phoenix/end2end/ToCharFunctionIT.java   |   3 +-
 .../phoenix/end2end/ToNumberFunctionIT.java |   3 +-
 .../java/org/apache/phoenix/end2end/TopNIT.java |   7 +-
 .../end2end/UpsertSelectAutoCommitIT.java   |   3 +-
 .../apache/phoenix/end2end/UpsertSelectIT.java  |   4 +-
 .../phoenix/end2end/VariableLengthPKIT.java | 103 +++
 .../end2end/index/BaseMutableIndexIT.java   |   5 +-
 .../phoenix/end2end/index/DropViewIT.java   |   5 +-
 .../phoenix/end2end/index/ImmutableIndexIT.java |  17 +--
 .../phoenix/end2end/index/IndexMetadataIT.java  |   9 +-
 .../end2end/index/MutableIndexFailureIT.java|   5 +-
 .../phoenix/end2end/index/MutableIndexIT.java   |  29 ++--
 .../phoenix/end2end/index/SaltedIndexIT.java|   5 +-
 .../phoenix/end2end/salted/SaltedTableIT.java   |  17 +--
 .../salted/SaltedTableUpsertSelectIT.java   |  11 +-
 .../salted/SaltedTableVarLengthRowKeyIT.java|   5 +-
 .../phoenix/compile/HavingCompilerTest.java |   3 +-
 .../phoenix/compile/JoinQueryCompilerTest.java  |   3 +-
 .../phoenix/compile/LimitCompilerTest.java  |   3 +-
 .../phoenix/compile/QueryCompilerTest.java  |  50 +++
 .../phoenix/compile/QueryMetaDataTest.java  |  70 +-
 .../compile/SelectStatementRewriterTest.java|   3 +-
 .../compile/StatementHintsCompilationTest.java  |   3 +-
 .../phoenix/compile/ViewCompilerTest.java   |   9 +-
 .../phoenix/compile/WhereCompilerTest.java  |  75 +--
 .../phoenix/compile/WhereOptimizerTest.java |   3 +-
 .../iterate/AggregateResultScannerTest.java |   3 +-
 .../query/BaseConnectionlessQueryTest.java  |   4 +-
 .../java/org/

[3/6] PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping

2014-07-25 Thread jamestaylor
http://git-wip-us.apache.org/repos/asf/phoenix/blob/a411c7b2/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowValueConstructorIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowValueConstructorIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowValueConstructorIT.java
index dec44c2..bdae151 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowValueConstructorIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowValueConstructorIT.java
@@ -52,6 +52,7 @@ import java.util.Properties;
 
 import org.apache.phoenix.util.DateUtil;
 import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
 import org.apache.phoenix.util.TestUtil;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
@@ -65,7 +66,7 @@ public class RowValueConstructorIT extends 
BaseClientManagedTimeIT {
 String tenantId = getOrganizationId();
 initATableValues(tenantId, getDefaultSplits(tenantId), null, ts);
 String query = "SELECT a_integer, x_integer FROM aTable WHERE 
?=organization_id  AND (a_integer, x_integer) = (7, 5)";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -90,7 +91,7 @@ public class RowValueConstructorIT extends 
BaseClientManagedTimeIT {
 String tenantId = getOrganizationId();
 initATableValues(tenantId, getDefaultSplits(tenantId), null, ts);
 String query = "SELECT a_integer, x_integer FROM aTable WHERE 
?=organization_id  AND (a_integer, x_integer) >= (4, 4)";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -116,7 +117,7 @@ public class RowValueConstructorIT extends 
BaseClientManagedTimeIT {
 String tenantId = getOrganizationId();
 initATableValues(tenantId, getDefaultSplits(tenantId), null, ts);
 String query = "SELECT a_integer, x_integer FROM aTable WHERE 
?=organization_id  AND (a_integer, x_integer, y_integer) >= (7, 5)";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -142,7 +143,7 @@ public class RowValueConstructorIT extends 
BaseClientManagedTimeIT {
 String tenantId = getOrganizationId();
 initATableValues(tenantId, getDefaultSplits(tenantId), null, ts);
 String query = "SELECT a_integer, x_integer FROM aTable WHERE 
?=organization_id  AND (a_integer, x_integer) = (?, ?)";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -169,7 +170,7 @@ public class RowValueConstructorIT extends 
BaseClientManagedTimeIT {
 String tenantId = getOrganizationId();
 initATableValues(tenantId, getDefaultSplits(tenantId), null, ts);
 String query = "SELECT a_integer, x_integer FROM aTable WHERE 
?=organization_id  AND (a_integer, x_integer) >= 7";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -193,7 +194,7 @@ public class RowValueConstructorIT extends 
BaseClientManagedTimeIT {
 String tenantId = getOrganizationId();
 initATableValues(tenantId, getDefaultSplits(tenantId), null, ts);
 String query = "SELECT a_integer, x_integer FROM aTable WHERE 
?=organization_id  AND 7 <= (a_integer, x_integer)";
-Properties props = new Properties(TEST_PROPERTIES);
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
 props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts 
+ 2)); // Execute at timestamp 2
 Connection conn = DriverManager.getConnection(getUrl(), props);
 try {
@@ -217,7 +218,7 @@ public class RowValueConstructorIT exten

[1/6] PHOENIX-1122 Ensure TEST_PROPERTIES is not updated to prevent test flapping

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/3.0 41d7afcb8 -> a411c7b23


http://git-wip-us.apache.org/repos/asf/phoenix/blob/a411c7b2/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereCompilerTest.java
--
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereCompilerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereCompilerTest.java
index 5122963..b3b8ac0 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereCompilerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereCompilerTest.java
@@ -65,6 +65,7 @@ import org.apache.phoenix.schema.SaltingUtil;
 import org.apache.phoenix.util.ByteUtil;
 import org.apache.phoenix.util.DateUtil;
 import org.apache.phoenix.util.NumberUtil;
+import org.apache.phoenix.util.PropertiesUtil;
 import org.apache.phoenix.util.SchemaUtil;
 import org.apache.phoenix.util.StringUtil;
 import org.junit.Ignore;
@@ -79,7 +80,7 @@ public class WhereCompilerTest extends 
BaseConnectionlessQueryTest {
 public void testSingleEqualFilter() throws SQLException {
 String tenantId = "001";
 String query = "select * from atable where organization_id='" + 
tenantId + "' and a_integer=0";
-PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
TEST_PROPERTIES).unwrap(PhoenixConnection.class);
+PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
PropertiesUtil.deepCopy(TEST_PROPERTIES)).unwrap(PhoenixConnection.class);
 PhoenixPreparedStatement pstmt = new PhoenixPreparedStatement(pconn, 
query);
 QueryPlan plan = pstmt.optimizeQuery();
 Scan scan = plan.getContext().getScan();
@@ -94,7 +95,7 @@ public class WhereCompilerTest extends 
BaseConnectionlessQueryTest {
 
 @Test
 public void testSingleFixedFullPkSalted() throws SQLException {
-PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
TEST_PROPERTIES).unwrap(PhoenixConnection.class);
+PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
PropertiesUtil.deepCopy(TEST_PROPERTIES)).unwrap(PhoenixConnection.class);
 pconn.createStatement().execute("CREATE TABLE t (k bigint not null 
primary key, v varchar) SALT_BUCKETS=20");
 String query = "select * from t where k=" + 1;
 PhoenixPreparedStatement pstmt = new PhoenixPreparedStatement(pconn, 
query);
@@ -115,7 +116,7 @@ public class WhereCompilerTest extends 
BaseConnectionlessQueryTest {
 
 @Test
 public void testSingleVariableFullPkSalted() throws SQLException {
-PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
TEST_PROPERTIES).unwrap(PhoenixConnection.class);
+PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
PropertiesUtil.deepCopy(TEST_PROPERTIES)).unwrap(PhoenixConnection.class);
 pconn.createStatement().execute("CREATE TABLE t (k varchar primary 
key, v varchar) SALT_BUCKETS=20");
 String query = "select * from t where k='a'";
 PhoenixPreparedStatement pstmt = new PhoenixPreparedStatement(pconn, 
query);
@@ -136,7 +137,7 @@ public class WhereCompilerTest extends 
BaseConnectionlessQueryTest {
 
 @Test
 public void testMultiFixedFullPkSalted() throws SQLException {
-PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
TEST_PROPERTIES).unwrap(PhoenixConnection.class);
+PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
PropertiesUtil.deepCopy(TEST_PROPERTIES)).unwrap(PhoenixConnection.class);
 pconn.createStatement().execute("CREATE TABLE t (k bigint not null 
primary key, v varchar) SALT_BUCKETS=20");
 String query = "select * from t where k in (1,3)";
 PhoenixPreparedStatement pstmt = new PhoenixPreparedStatement(pconn, 
query);
@@ -185,7 +186,7 @@ public class WhereCompilerTest extends 
BaseConnectionlessQueryTest {
 public void testMultiColumnEqualFilter() throws SQLException {
 String tenantId = "001";
 String query = "select * from atable where organization_id='" + 
tenantId + "' and a_string=b_string";
-PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
TEST_PROPERTIES).unwrap(PhoenixConnection.class);
+PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
PropertiesUtil.deepCopy(TEST_PROPERTIES)).unwrap(PhoenixConnection.class);
 PhoenixPreparedStatement pstmt = new PhoenixPreparedStatement(pconn, 
query);
 QueryPlan plan = pstmt.optimizeQuery();
 Scan scan = plan.getContext().getScan();
@@ -202,7 +203,7 @@ public class WhereCompilerTest extends 
BaseConnectionlessQueryTest {
 public void testCollapseFunctionToNull() throws SQLException {
 String tenantId = "001";
 String query = "select * from atable where organization_id='" + 
tenantId + "' and substr(entity_id,null) = 'foo'";
- 

Apache-Phoenix | Master | Hadoop1 | Build Successful

2014-07-25 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
[jamestaylor] PHOENIX- Fix flapping unit tests by removing inappropriate usage of TestUtil.TEST_PROPERTIES



Apache-Phoenix | 4.0 | Hadoop1 | Build Successful

2014-07-25 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
[jamestaylor] PHOENIX- Fix flapping unit tests by removing inappropriate usage of TestUtil.TEST_PROPERTIES



Build failed in Jenkins: Phoenix | 3.0 | Hadoop1 #152

2014-07-25 Thread Apache Jenkins Server
See 

Changes:

[jamestaylor] PHOENIX- Fix flapping unit tests by removing inappropriate 
usage of TestUtil.TEST_PROPERTIES

--
[...truncated 2433 lines...]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ phoenix-core ---
[INFO] Surefire report directory: 

Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.17/surefire-junit4-2.17.pom
3/3 KB  
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.17/surefire-junit4-2.17.pom
 (3 KB at 21.7 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.17/surefire-junit4-2.17.jar
4/63 KB   
8/63 KB   
12/63 KB   
14/63 KB   
18/63 KB   
22/63 KB   
26/63 KB   
30/63 KB   
34/63 KB   
38/63 KB   
42/63 KB   
46/63 KB   
50/63 KB   
51/63 KB   
55/63 KB   
59/63 KB   
63/63 KB   
63/63 KB   
   
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.17/surefire-junit4-2.17.jar
 (63 KB at 350.9 KB/sec)

---
 T E S T S
---

---
 T E S T S
---
Running org.apache.phoenix.query.ConnectionlessUpsertTest
Running org.apache.phoenix.query.HBaseFactoryProviderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec - in 
org.apache.phoenix.query.HBaseFactoryProviderTest
Running org.apache.phoenix.client.TestClientKeyValueLocal
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 sec - in 
org.apache.phoenix.client.TestClientKeyValueLocal
Running org.apache.phoenix.arithmetic.ArithmeticOperationTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 sec - in 
org.apache.phoenix.arithmetic.ArithmeticOperationTest
Running org.apache.phoenix.expression.SortOrderExpressionTest
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec - in 
org.apache.phoenix.expression.SortOrderExpressionTest
Running org.apache.phoenix.expression.ColumnExpressionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in 
org.apache.phoenix.expression.ColumnExpressionTest
Running org.apache.phoenix.expression.LikeExpressionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in 
org.apache.phoenix.expression.LikeExpressionTest
Running org.apache.phoenix.expression.function.ExternalSqlTypeIdFunctionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.expression.function.ExternalSqlTypeIdFunctionTest
Running org.apache.phoenix.expression.CoerceExpressionTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in 
org.apache.phoenix.expression.CoerceExpressionTest
Running org.apache.phoenix.parse.QueryParserTest
Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.252 sec - in 
org.apache.phoenix.parse.QueryParserTest
Running org.apache.phoenix.mapreduce.CsvToKeyValueMapperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.948 sec - in 
org.apache.phoenix.query.ConnectionlessUpsertTest
Running org.apache.phoenix.mapreduce.CsvBulkImportUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec - in 
org.apache.phoenix.mapreduce.CsvBulkImportUtilTest
Running org.apache.phoenix.mapreduce.CsvBulkLoadToolTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in 
org.apache.phoenix.mapreduce.CsvBulkLoadToolTest
Running org.apache.phoenix.hbase.index.covered.data.TestIndexMemStore
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in 
org.apache.phoenix.hbase.index.covered.data.TestIndexMemStore
Running org.apache.phoenix.hbase.index.covered.example.TestColumnTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestColumnTracker
Running 
org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder
Running 
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec - in 
org.apache.phoenix.mapreduce.CsvToKeyValueMapperTest
Running org.apache.phoenix.hbase.index.covered.TestLocalTableState
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.177 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Running org.apache

git commit: PHOENIX-1111 Fix flapping unit tests by removing inappropriate usage of TestUtil.TEST_PROPERTIES

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/master ba7da1963 -> 14aa52c95


PHOENIX- Fix flapping unit tests by removing inappropriate usage of 
TestUtil.TEST_PROPERTIES


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

Branch: refs/heads/master
Commit: 14aa52c95ae92814680c94de697c2ecca339d442
Parents: ba7da19
Author: James Taylor 
Authored: Fri Jul 25 13:21:00 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 13:23:15 2014 -0700

--
 .../java/org/apache/phoenix/compile/WhereOptimizerTest.java| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/14aa52c9/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
--
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
index c5ec72f..4ee428c 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
@@ -77,7 +77,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 }
 
 private static StatementContext compileStatement(String query, 
List binds, Integer limit) throws SQLException {
-PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
TEST_PROPERTIES).unwrap(PhoenixConnection.class);
+PhoenixConnection pconn = DriverManager.getConnection(getUrl(), new 
Properties(TEST_PROPERTIES)).unwrap(PhoenixConnection.class);
 PhoenixPreparedStatement pstmt = new PhoenixPreparedStatement(pconn, 
query);
 TestUtil.bindParams(pstmt, binds);
 QueryPlan plan = pstmt.compileQuery();
@@ -1587,7 +1587,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 
 String tenantId = "tenantId";
 String tenantViewDDL = "CREATE VIEW TENANT_VIEW AS SELECT * FROM 
BASE_MULTI_TENANT_TABLE";
-Properties tenantProps = TEST_PROPERTIES;
+Properties tenantProps = new Properties();
 tenantProps.put(PhoenixRuntime.TENANT_ID_ATTRIB, tenantId);
 conn = DriverManager.getConnection(getUrl(), tenantProps);
 conn.createStatement().execute(tenantViewDDL);
@@ -1634,7 +1634,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 }
 
 private static Connection getTenantSpecificConnection(String tenantId) 
throws Exception {
-   Properties tenantProps = TEST_PROPERTIES;
+   Properties tenantProps = new Properties();
 tenantProps.put(PhoenixRuntime.TENANT_ID_ATTRIB, tenantId);
 Connection conn = DriverManager.getConnection(getUrl(), tenantProps);
 return conn;



git commit: PHOENIX-1111 Fix flapping unit tests by removing inappropriate usage of TestUtil.TEST_PROPERTIES

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.0 ef16bbc78 -> ba75ea131


PHOENIX- Fix flapping unit tests by removing inappropriate usage of 
TestUtil.TEST_PROPERTIES


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

Branch: refs/heads/4.0
Commit: ba75ea13178fd9395634ca2242b13fd9cb3fa97b
Parents: ef16bbc
Author: James Taylor 
Authored: Fri Jul 25 13:21:00 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 13:22:32 2014 -0700

--
 .../java/org/apache/phoenix/compile/WhereOptimizerTest.java| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ba75ea13/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
--
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
index c5ec72f..4ee428c 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
@@ -77,7 +77,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 }
 
 private static StatementContext compileStatement(String query, 
List binds, Integer limit) throws SQLException {
-PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
TEST_PROPERTIES).unwrap(PhoenixConnection.class);
+PhoenixConnection pconn = DriverManager.getConnection(getUrl(), new 
Properties(TEST_PROPERTIES)).unwrap(PhoenixConnection.class);
 PhoenixPreparedStatement pstmt = new PhoenixPreparedStatement(pconn, 
query);
 TestUtil.bindParams(pstmt, binds);
 QueryPlan plan = pstmt.compileQuery();
@@ -1587,7 +1587,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 
 String tenantId = "tenantId";
 String tenantViewDDL = "CREATE VIEW TENANT_VIEW AS SELECT * FROM 
BASE_MULTI_TENANT_TABLE";
-Properties tenantProps = TEST_PROPERTIES;
+Properties tenantProps = new Properties();
 tenantProps.put(PhoenixRuntime.TENANT_ID_ATTRIB, tenantId);
 conn = DriverManager.getConnection(getUrl(), tenantProps);
 conn.createStatement().execute(tenantViewDDL);
@@ -1634,7 +1634,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 }
 
 private static Connection getTenantSpecificConnection(String tenantId) 
throws Exception {
-   Properties tenantProps = TEST_PROPERTIES;
+   Properties tenantProps = new Properties();
 tenantProps.put(PhoenixRuntime.TENANT_ID_ATTRIB, tenantId);
 Connection conn = DriverManager.getConnection(getUrl(), tenantProps);
 return conn;



git commit: PHOENIX-1111 Fix flapping unit tests by removing inappropriate usage of TestUtil.TEST_PROPERTIES

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/3.0 ae74afa48 -> 41d7afcb8


PHOENIX- Fix flapping unit tests by removing inappropriate usage of 
TestUtil.TEST_PROPERTIES


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

Branch: refs/heads/3.0
Commit: 41d7afcb8b06578cb247f5c6e389bc2839eabcd3
Parents: ae74afa
Author: James Taylor 
Authored: Fri Jul 25 13:21:00 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 13:21:00 2014 -0700

--
 .../java/org/apache/phoenix/compile/WhereOptimizerTest.java| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/41d7afcb/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
--
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
index c5ec72f..4ee428c 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimizerTest.java
@@ -77,7 +77,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 }
 
 private static StatementContext compileStatement(String query, 
List binds, Integer limit) throws SQLException {
-PhoenixConnection pconn = DriverManager.getConnection(getUrl(), 
TEST_PROPERTIES).unwrap(PhoenixConnection.class);
+PhoenixConnection pconn = DriverManager.getConnection(getUrl(), new 
Properties(TEST_PROPERTIES)).unwrap(PhoenixConnection.class);
 PhoenixPreparedStatement pstmt = new PhoenixPreparedStatement(pconn, 
query);
 TestUtil.bindParams(pstmt, binds);
 QueryPlan plan = pstmt.compileQuery();
@@ -1587,7 +1587,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 
 String tenantId = "tenantId";
 String tenantViewDDL = "CREATE VIEW TENANT_VIEW AS SELECT * FROM 
BASE_MULTI_TENANT_TABLE";
-Properties tenantProps = TEST_PROPERTIES;
+Properties tenantProps = new Properties();
 tenantProps.put(PhoenixRuntime.TENANT_ID_ATTRIB, tenantId);
 conn = DriverManager.getConnection(getUrl(), tenantProps);
 conn.createStatement().execute(tenantViewDDL);
@@ -1634,7 +1634,7 @@ public class WhereOptimizerTest extends 
BaseConnectionlessQueryTest {
 }
 
 private static Connection getTenantSpecificConnection(String tenantId) 
throws Exception {
-   Properties tenantProps = TEST_PROPERTIES;
+   Properties tenantProps = new Properties();
 tenantProps.put(PhoenixRuntime.TENANT_ID_ATTRIB, tenantId);
 Connection conn = DriverManager.getConnection(getUrl(), tenantProps);
 return conn;



svn commit: r1613496 - in /phoenix: phoenix-docs/src/main/org/h2/ phoenix-docs/src/main/org/h2/jdbc/ phoenix-docs/src/main/org/h2/jdbcx/ phoenix-docs/src/main/org/h2/tools/ site/publish/

2014-07-25 Thread jyates
Author: jyates
Date: Fri Jul 25 19:03:23 2014
New Revision: 1613496

URL: http://svn.apache.org/r1613496
Log:
Actually building the site for index updates

Modified:
phoenix/phoenix-docs/src/main/org/h2/Driver.java
phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java
phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcConnection.java
phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcDatabaseMetaData.java
phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcResultSet.java
phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcStatement.java
phoenix/phoenix-docs/src/main/org/h2/jdbcx/JdbcConnectionPool.java
phoenix/phoenix-docs/src/main/org/h2/jdbcx/JdbcDataSource.java
phoenix/phoenix-docs/src/main/org/h2/tools/SimpleResultSet.java
phoenix/site/publish/secondary_indexing.html

Modified: phoenix/phoenix-docs/src/main/org/h2/Driver.java
URL: 
http://svn.apache.org/viewvc/phoenix/phoenix-docs/src/main/org/h2/Driver.java?rev=1613496&r1=1613495&r2=1613496&view=diff
==
--- phoenix/phoenix-docs/src/main/org/h2/Driver.java (original)
+++ phoenix/phoenix-docs/src/main/org/h2/Driver.java Fri Jul 25 19:03:23 2014
@@ -17,7 +17,7 @@ import org.h2.message.DbException;
 import org.h2.message.TraceSystem;
 import org.h2.upgrade.DbUpgrade;
 
-/*## Java 1.7 ##
+//## Java 1.7 ##
 import java.util.logging.Logger;
 //*/
 
@@ -138,7 +138,7 @@ public class Driver implements java.sql.
 /**
  * [Not supported]
  */
-/*## Java 1.7 ##
+//## Java 1.7 ##
 public Logger getParentLogger() {
 return null;
 }

Modified: phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java
URL: 
http://svn.apache.org/viewvc/phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java?rev=1613496&r1=1613495&r2=1613496&view=diff
==
--- phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java 
(original)
+++ phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java Fri 
Jul 25 19:03:23 2014
@@ -1440,7 +1440,7 @@ public class JdbcCallableStatement exten
  * @param parameterIndex the parameter index (1, 2, ...)
  * @param type the class of the returned value
  */
-/*## Java 1.7 ##
+//## Java 1.7 ##
 public  T getObject(int parameterIndex, Class type) {
 return null;
 }
@@ -1452,7 +1452,7 @@ public class JdbcCallableStatement exten
  * @param parameterName the parameter name
  * @param type the class of the returned value
  */
-/*## Java 1.7 ##
+//## Java 1.7 ##
 public  T getObject(String parameterName, Class type) {
 return null;
 }

Modified: phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcConnection.java
URL: 
http://svn.apache.org/viewvc/phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcConnection.java?rev=1613496&r1=1613495&r2=1613496&view=diff
==
--- phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcConnection.java (original)
+++ phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcConnection.java Fri Jul 25 
19:03:23 2014
@@ -49,7 +49,7 @@ import java.sql.SQLXML;
 import java.sql.SQLClientInfoException;
 //*/
 
-/*## Java 1.7 ##
+//## Java 1.7 ##
 import java.util.concurrent.Executor;
 //*/
 
@@ -1678,7 +1678,7 @@ public class JdbcConnection extends Trac
  *
  * @param schema the schema
  */
-/*## Java 1.7 ##
+//## Java 1.7 ##
 public void setSchema(String schema) {
 // not supported
 }
@@ -1687,7 +1687,7 @@ public class JdbcConnection extends Trac
 /**
  * [Not supported]
  */
-/*## Java 1.7 ##
+//## Java 1.7 ##
 public String getSchema() {
 return null;
 }
@@ -1698,7 +1698,7 @@ public class JdbcConnection extends Trac
  *
  * @param executor the executor used by this method
  */
-/*## Java 1.7 ##
+//## Java 1.7 ##
 public void abort(Executor executor) {
 // not supported
 }
@@ -1710,7 +1710,7 @@ public class JdbcConnection extends Trac
  * @param executor the executor used by this method
  * @param milliseconds the TCP connection timeout
  */
-/*## Java 1.7 ##
+//## Java 1.7 ##
 public void setNetworkTimeout(Executor executor, int milliseconds) {
 // not supported
 }
@@ -1719,7 +1719,7 @@ public class JdbcConnection extends Trac
 /**
  * [Not supported]
  */
-/*## Java 1.7 ##
+//## Java 1.7 ##
 public int getNetworkTimeout() {
 return 0;
 }

Modified: phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcDatabaseMetaData.java
URL: 
http://svn.apache.org/viewvc/phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcDatabaseMetaData.java?rev=1613496&r1=1613495&r2=1613496&view=diff
==
--- phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcDatabaseMetaData.java 
(original)
+++ phoenix/phoenix-docs/src/m

svn commit: r1613476 - /phoenix/site/source/src/site/markdown/secondary_indexing.md

2014-07-25 Thread jyates
Author: jyates
Date: Fri Jul 25 17:02:13 2014
New Revision: 1613476

URL: http://svn.apache.org/r1613476
Log:
Adding docs for removal of mutable secondary index deadlock for 0.98.4+

Modified:
phoenix/site/source/src/site/markdown/secondary_indexing.md

Modified: phoenix/site/source/src/site/markdown/secondary_indexing.md
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/secondary_indexing.md?rev=1613476&r1=1613475&r2=1613476&view=diff
==
--- phoenix/site/source/src/site/markdown/secondary_indexing.md (original)
+++ phoenix/site/source/src/site/markdown/secondary_indexing.md Fri Jul 25 
17:02:13 2014
@@ -94,6 +94,7 @@ If the index tables are not setup correc
 Only mutable indexing requires special configuration options in the region 
server to run - phoenix ensures that they are setup correctly when you enable 
mutable indexing on the table; if the correct properties are not set, you will 
not be able to turn it on.
 
 You will need to add the following parameters to `hbase-site.xml`:
+
 ```
 
   hbase.regionserver.wal.codec
@@ -103,6 +104,65 @@ You will need to add the following param
 
 This enables custom WAL edits to be written, ensuring proper writing/replay of 
the index updates. This codec supports the usual host of WALEdit options, most 
notably WALEdit compression.
 
+### Advanced Setup - Removing Index Deadlocks (0.98.4+)
+
+Phoenix releases that include these changes (4.1+, 5.0.0+) are still backwards 
compatible with older versions of phoenix (to the extent that they are 
semantically compatible) as well as with older versions of HBase 
(0.98.1-0.98.3).
+
+As of HBase 0.98.4 we can finally remove the change of index deadlocks. In 
HBase you can tune the number of RPC threads to match client writes + index 
writes, but there is still a chance you could have a deadlock in an unlucky 
scenario (i.e. Client A -> Server A, Client B -> Server B, each taking the last 
RPC thread. Then each server attempts to make an index update to the other, 
Server A -> Server B, and vice versa, but they can't as there are no more 
available RPC threads).
+
+As of [PHOENIX-938](https://issues.apache.org/jira/browse/PHOENIX-938) and 
[HBASE-11513](https://issues.apache.org/jira/browse/HBASE-11513) we can remove 
these deadlocks by providing a different set of RPC handlers for index updates 
by giving index updates their own 'rpc priority' and handling the priorities 
via a custom Phoenix RPC Handler.
+
+The properties you need to set to enable this are
+
+ Server Side
+
+```
+
+  hbase.region.server.rpc.scheduler.factory.class
+  
org.apache.phoenix.hbase.index.ipc.PhoenixIndexRpcSchedulerFactory
+  Factory to create the Phoenix RPC Scheduler that knows to put 
index updates into index queues
+
+```
+
+After adding these settings to your hbase-site.xml, you just need to do a 
rolling restart of your cluster.
+
+
+Note that having the configs on both client and server side will not impact 
correctness or performance.
+
+ Tuning
+
+By default, index priority range is between (1000, 1050]. Higher priorites 
within the index range, at this time, do not means updates are processed 
sooner. However, we reserve this range to provide that possibility in the 
future.
+
+You can specifiy this range however to suit your individual cluster 
requirements by adjusting the follwing parameters
+
+```
+
+   org.apache.phoenix.regionserver.index.priority.min
+   1050
+   Value to specify to bottom (inclusive) of the range in 
which index priority may lie
+
+
+   org.apache.phoenix.regionserver.index.priority.max
+   1050
+   Value to specify to top (exclusive) of the range in which 
index priority may lie
+
+```
+
+The number of RPC Handler Threads can be specified via:
+
+```
+
+   org.apache.phoenix.regionserver.index.handler.count
+   30
+   Number of threads to use when serving index write 
requests
+
+```
+
+Though the actual number of threads is dictated by the Max(number of call 
queues, handler count), where the number of call queues is determined by 
standard HBase configuration (see below).
+
+
+To further tune the queues, you can adjust the standard rpc queue length 
parameters (currently, there are no special knobs for the index queues), 
specifically "ipc.server.max.callqueue.length" and 
"ipc.server.callqueue.handler.factor". See the [HBase Reference 
Guide](http://hbase.apache.org/book.html) for more details.
+ 
 ## Tuning
 Out the box, indexing is pretty fast. However, to optimize for your particular 
environment and workload, there are several properties you can tune.
 




Build failed in Jenkins: Phoenix | 3.0 | Hadoop1 #151

2014-07-25 Thread Apache Jenkins Server
See 

Changes:

[gabrielr] PHOENIX-908 Remove "Release unknown lockId" warning

--
[...truncated 218 lines...]
Running org.apache.phoenix.iterate.SpoolingResultIteratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec - in 
org.apache.phoenix.iterate.SpoolingResultIteratorTest
Running org.apache.phoenix.hbase.index.util.TestIndexManagementUtil
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in 
org.apache.phoenix.hbase.index.util.TestIndexManagementUtil
Running org.apache.phoenix.hbase.index.parallel.TestThreadPoolBuilder
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in 
org.apache.phoenix.hbase.index.parallel.TestThreadPoolBuilder
Running org.apache.phoenix.hbase.index.parallel.TestThreadPoolManager
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in 
org.apache.phoenix.hbase.index.parallel.TestThreadPoolManager
Running 
org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec - in 
org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache
Running org.apache.phoenix.hbase.index.write.TestCachingHTableFactory
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - in 
org.apache.phoenix.hbase.index.write.TestCachingHTableFactory
Running org.apache.phoenix.hbase.index.write.TestParalleIndexWriter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.279 sec - in 
org.apache.phoenix.hbase.index.write.TestParalleIndexWriter
Running org.apache.phoenix.hbase.index.write.TestWALRecoveryCaching
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.011 sec - in 
org.apache.phoenix.hbase.index.write.TestWALRecoveryCaching
Running org.apache.phoenix.hbase.index.write.TestParalleWriterIndexCommitter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in 
org.apache.phoenix.hbase.index.write.TestParalleWriterIndexCommitter
Running org.apache.phoenix.hbase.index.write.TestIndexWriter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec - in 
org.apache.phoenix.hbase.index.write.TestIndexWriter
Running org.apache.phoenix.hbase.index.covered.TestLocalTableState
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 sec - in 
org.apache.phoenix.hbase.index.covered.TestLocalTableState
Running 
org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder
Running 
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Running org.apache.phoenix.hbase.index.covered.example.TestColumnTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestColumnTracker
Running org.apache.phoenix.hbase.index.covered.update.TestIndexUpdateManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec - in 
org.apache.phoenix.hbase.index.covered.update.TestIndexUpdateManager
Running org.apache.phoenix.hbase.index.covered.TestCoveredColumns
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.phoenix.hbase.index.covered.TestCoveredColumns
Running org.apache.phoenix.hbase.index.covered.filter.TestNewerTimestampFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestNewerTimestampFilter
Running 
org.apache.phoenix.hbase.index.covered.filter.TestApplyAndFilterDeletesFilter
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestApplyAndFilterDeletesFilter
Running org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
Running org.apache.phoenix.hbase.index.covered.data.TestIndexMemStore
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.hbase.index.covered.data.TestIndexMemStore
Running org.apache.phoenix.filter.SkipScanFilterTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec - in 
org.apache.phoenix.filter.SkipScanFilterTest
Running org.apache.phoenix.filter.SkipScanFilterIntersectTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in 
org.apache.phoenix.filter.SkipScanFilterIntersectTest
Running org.apache.phoenix.query.Connectionl

git commit: PHOENIX-908 Remove "Release unknown lockId" warning

2014-07-25 Thread greid
Repository: phoenix
Updated Branches:
  refs/heads/3.0 c4af62375 -> ae74afa48


PHOENIX-908 Remove "Release unknown lockId" warning

Apply remaining portion of patch to avoid the "Release unknown
lockId: 5" warning that is regularly logged.


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

Branch: refs/heads/3.0
Commit: ae74afa48b51fcbdfdac01c114258c76ca702e4f
Parents: c4af623
Author: Gabriel Reid 
Authored: Fri Jul 25 11:39:29 2014 +0200
Committer: Gabriel Reid 
Committed: Fri Jul 25 11:39:29 2014 +0200

--
 .../java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ae74afa4/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 499b188..b28fd2d 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
@@ -513,7 +513,7 @@ public class MetaDataEndpointImpl extends 
BaseEndpointCoprocessor implements Met
 if (result != null) {
 return result; 
 }
-List lids = Lists.newArrayList(5);
+List lids = Lists.newArrayList();
 long clientTimeStamp = 
MetaDataUtil.getClientTimeStamp(tableMetadata);
 try {
 acquireLock(region, lockKey, lids);



Apache-Phoenix | Master | Hadoop1 | Build Successful

2014-07-25 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
[jtaylor] Remove 2.2.x->3.0/4.0 upgrade code

[jtaylor] Change InListIT annotation to HBaseManagedTimeTest



Apache-Phoenix | 4.0 | Hadoop1 | Build Successful

2014-07-25 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
[jtaylor] Remove 2.2.x->3.0/4.0 upgrade code

[jtaylor] Change InListIT annotation to HBaseManagedTimeTest



Build failed in Jenkins: Phoenix | 3.0 | Hadoop1 #150

2014-07-25 Thread Apache Jenkins Server
See 

Changes:

[jtaylor] Change InListIT annotation to HBaseManagedTimeTest

--
[...truncated 217 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec - in 
org.apache.phoenix.iterate.AggregateResultScannerTest
Running org.apache.phoenix.iterate.SpoolingResultIteratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec - in 
org.apache.phoenix.iterate.SpoolingResultIteratorTest
Running org.apache.phoenix.hbase.index.util.TestIndexManagementUtil
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in 
org.apache.phoenix.hbase.index.util.TestIndexManagementUtil
Running org.apache.phoenix.hbase.index.parallel.TestThreadPoolBuilder
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in 
org.apache.phoenix.hbase.index.parallel.TestThreadPoolBuilder
Running org.apache.phoenix.hbase.index.parallel.TestThreadPoolManager
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in 
org.apache.phoenix.hbase.index.parallel.TestThreadPoolManager
Running 
org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec - in 
org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache
Running org.apache.phoenix.hbase.index.write.TestCachingHTableFactory
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec - in 
org.apache.phoenix.hbase.index.write.TestCachingHTableFactory
Running org.apache.phoenix.hbase.index.write.TestParalleIndexWriter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.268 sec - in 
org.apache.phoenix.hbase.index.write.TestParalleIndexWriter
Running org.apache.phoenix.hbase.index.write.TestWALRecoveryCaching
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.013 sec - in 
org.apache.phoenix.hbase.index.write.TestWALRecoveryCaching
Running org.apache.phoenix.hbase.index.write.TestParalleWriterIndexCommitter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in 
org.apache.phoenix.hbase.index.write.TestParalleWriterIndexCommitter
Running org.apache.phoenix.hbase.index.write.TestIndexWriter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec - in 
org.apache.phoenix.hbase.index.write.TestIndexWriter
Running org.apache.phoenix.hbase.index.covered.TestLocalTableState
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec - in 
org.apache.phoenix.hbase.index.covered.TestLocalTableState
Running 
org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder
Running 
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Running org.apache.phoenix.hbase.index.covered.example.TestColumnTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestColumnTracker
Running org.apache.phoenix.hbase.index.covered.update.TestIndexUpdateManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec - in 
org.apache.phoenix.hbase.index.covered.update.TestIndexUpdateManager
Running org.apache.phoenix.hbase.index.covered.TestCoveredColumns
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.phoenix.hbase.index.covered.TestCoveredColumns
Running org.apache.phoenix.hbase.index.covered.filter.TestNewerTimestampFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestNewerTimestampFilter
Running 
org.apache.phoenix.hbase.index.covered.filter.TestApplyAndFilterDeletesFilter
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestApplyAndFilterDeletesFilter
Running org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
Running org.apache.phoenix.hbase.index.covered.data.TestIndexMemStore
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in 
org.apache.phoenix.hbase.index.covered.data.TestIndexMemStore
Running org.apache.phoenix.filter.SkipScanFilterTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec - in 
org.apache.phoenix.filter.SkipScanFilterTest
Running org.apache.phoenix.filter.SkipScanFilterIntersectTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 

git commit: Change InListIT annotation to HBaseManagedTimeTest

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/master fb01cd5a7 -> ba7da1963


Change InListIT annotation to HBaseManagedTimeTest


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

Branch: refs/heads/master
Commit: ba7da19638253ce95131eed992e68b6c844a3c5c
Parents: fb01cd5
Author: James Taylor 
Authored: Fri Jul 25 00:39:24 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 00:40:45 2014 -0700

--
 phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ba7da196/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
--
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
index 9ac2452..2205159 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
@@ -24,7 +24,7 @@ import com.google.common.base.Function;
 import com.google.common.base.Joiner;
 import com.google.common.collect.Lists;
 
-@Category(ClientManagedTimeTest.class)
+@Category(HBaseManagedTimeTest.class)
 public class InListIT extends BaseHBaseManagedTimeIT {
 
 @Test



git commit: Change InListIT annotation to HBaseManagedTimeTest

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.0 cadb258fc -> ef16bbc78


Change InListIT annotation to HBaseManagedTimeTest


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

Branch: refs/heads/4.0
Commit: ef16bbc78a643d1dc481afb3c600fe91d5e502cf
Parents: cadb258
Author: James Taylor 
Authored: Fri Jul 25 00:39:24 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 00:40:28 2014 -0700

--
 phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/ef16bbc7/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
--
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
index 9ac2452..2205159 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
@@ -24,7 +24,7 @@ import com.google.common.base.Function;
 import com.google.common.base.Joiner;
 import com.google.common.collect.Lists;
 
-@Category(ClientManagedTimeTest.class)
+@Category(HBaseManagedTimeTest.class)
 public class InListIT extends BaseHBaseManagedTimeIT {
 
 @Test



git commit: Change InListIT annotation to HBaseManagedTimeTest

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/3.0 f13db3fc8 -> c4af62375


Change InListIT annotation to HBaseManagedTimeTest


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

Branch: refs/heads/3.0
Commit: c4af623758be34f96d1100b6ca1a0b1feac95be6
Parents: f13db3f
Author: James Taylor 
Authored: Fri Jul 25 00:39:24 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 00:39:24 2014 -0700

--
 phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c4af6237/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
--
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
index 9ac2452..2205159 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
@@ -24,7 +24,7 @@ import com.google.common.base.Function;
 import com.google.common.base.Joiner;
 import com.google.common.collect.Lists;
 
-@Category(ClientManagedTimeTest.class)
+@Category(HBaseManagedTimeTest.class)
 public class InListIT extends BaseHBaseManagedTimeIT {
 
 @Test



git commit: Remove 2.2.x->3.0/4.0 upgrade code

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/master 3d3bbe219 -> fb01cd5a7


Remove 2.2.x->3.0/4.0 upgrade code


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

Branch: refs/heads/master
Commit: fb01cd5a7a6d5798f872493439551b1496bd7764
Parents: 3d3bbe2
Author: James Taylor 
Authored: Fri Jul 25 00:17:07 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 00:37:27 2014 -0700

--
 .../org/apache/phoenix/end2end/InListIT.java|   3 +-
 .../query/ConnectionQueryServicesImpl.java  | 507 ---
 2 files changed, 2 insertions(+), 508 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/fb01cd5a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
--
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
index 19e5037..9ac2452 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
@@ -11,6 +11,7 @@ import java.sql.DriverManager;
 import java.sql.ResultSet;
 import java.sql.SQLException;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.List;
 import java.util.Properties;
 
@@ -22,7 +23,6 @@ import org.junit.experimental.categories.Category;
 import com.google.common.base.Function;
 import com.google.common.base.Joiner;
 import com.google.common.collect.Lists;
-import java.util.Collections;
 
 @Category(ClientManagedTimeTest.class)
 public class InListIT extends BaseHBaseManagedTimeIT {
@@ -196,6 +196,7 @@ public class InListIT extends BaseHBaseManagedTimeIT {
 }
 }
 
+@SuppressWarnings("unchecked")
 List> DEFAULT_UPSERTS = 
Arrays.asList(Arrays.asList(1, 2, 4, 5, 6, "row1"),

Arrays.asList(2, 3, 4, 5, 6, "row2"),

Arrays.asList(2, 3, 6, 4, 5, "row3"),

http://git-wip-us.apache.org/repos/asf/phoenix/blob/fb01cd5a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index 80e1e6b..ae34f69 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -18,58 +18,26 @@
 package org.apache.phoenix.query;
 
 import static com.google.common.io.Closeables.closeQuietly;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_COUNT;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_FAMILY;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_SIZE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.CYCLE_FLAG;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TABLE_NAME;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TABLE_NAME_BYTES;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TYPE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DECIMAL_DIGITS;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DEFAULT_COLUMN_FAMILY_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.IMMUTABLE_ROWS;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.INDEX_STATE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.KEY_SEQ;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.LINK_TYPE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MAX_VALUE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MIN_VALUE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.NULLABLE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.ORDINAL_POSITION;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PK_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SALT_BUCKETS;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SORT_ORDER;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME;
 import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME_BYTES;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMeta

git commit: Remove 2.2.x->3.0/4.0 upgrade code

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.0 9fad9b529 -> cadb258fc


Remove 2.2.x->3.0/4.0 upgrade code


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

Branch: refs/heads/4.0
Commit: cadb258fcbff9723c024ed44dd37aab591105ff4
Parents: 9fad9b5
Author: James Taylor 
Authored: Fri Jul 25 00:17:07 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 00:36:40 2014 -0700

--
 .../org/apache/phoenix/end2end/InListIT.java|   3 +-
 .../query/ConnectionQueryServicesImpl.java  | 507 ---
 2 files changed, 2 insertions(+), 508 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/cadb258f/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
--
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
index 19e5037..9ac2452 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
@@ -11,6 +11,7 @@ import java.sql.DriverManager;
 import java.sql.ResultSet;
 import java.sql.SQLException;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.List;
 import java.util.Properties;
 
@@ -22,7 +23,6 @@ import org.junit.experimental.categories.Category;
 import com.google.common.base.Function;
 import com.google.common.base.Joiner;
 import com.google.common.collect.Lists;
-import java.util.Collections;
 
 @Category(ClientManagedTimeTest.class)
 public class InListIT extends BaseHBaseManagedTimeIT {
@@ -196,6 +196,7 @@ public class InListIT extends BaseHBaseManagedTimeIT {
 }
 }
 
+@SuppressWarnings("unchecked")
 List> DEFAULT_UPSERTS = 
Arrays.asList(Arrays.asList(1, 2, 4, 5, 6, "row1"),

Arrays.asList(2, 3, 4, 5, 6, "row2"),

Arrays.asList(2, 3, 6, 4, 5, "row3"),

http://git-wip-us.apache.org/repos/asf/phoenix/blob/cadb258f/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index b20e144..d08108c 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -18,58 +18,26 @@
 package org.apache.phoenix.query;
 
 import static com.google.common.io.Closeables.closeQuietly;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_COUNT;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_FAMILY;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_SIZE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.CYCLE_FLAG;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TABLE_NAME;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TABLE_NAME_BYTES;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TYPE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DECIMAL_DIGITS;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DEFAULT_COLUMN_FAMILY_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.IMMUTABLE_ROWS;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.INDEX_STATE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.KEY_SEQ;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.LINK_TYPE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MAX_VALUE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MIN_VALUE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.NULLABLE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.ORDINAL_POSITION;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PK_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SALT_BUCKETS;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SORT_ORDER;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME;
 import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME_BYTES;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.T

Build failed in Jenkins: Phoenix | 3.0 | Hadoop1 #149

2014-07-25 Thread Apache Jenkins Server
See 

Changes:

[jtaylor] Remove 2.2.x->3.0/4.0 upgrade code

--
[...truncated 217 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec - in 
org.apache.phoenix.iterate.AggregateResultScannerTest
Running org.apache.phoenix.iterate.SpoolingResultIteratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 sec - in 
org.apache.phoenix.iterate.SpoolingResultIteratorTest
Running org.apache.phoenix.hbase.index.util.TestIndexManagementUtil
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in 
org.apache.phoenix.hbase.index.util.TestIndexManagementUtil
Running org.apache.phoenix.hbase.index.parallel.TestThreadPoolBuilder
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in 
org.apache.phoenix.hbase.index.parallel.TestThreadPoolBuilder
Running org.apache.phoenix.hbase.index.parallel.TestThreadPoolManager
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in 
org.apache.phoenix.hbase.index.parallel.TestThreadPoolManager
Running 
org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec - in 
org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache
Running org.apache.phoenix.hbase.index.write.TestCachingHTableFactory
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - in 
org.apache.phoenix.hbase.index.write.TestCachingHTableFactory
Running org.apache.phoenix.hbase.index.write.TestParalleIndexWriter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.254 sec - in 
org.apache.phoenix.hbase.index.write.TestParalleIndexWriter
Running org.apache.phoenix.hbase.index.write.TestWALRecoveryCaching
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.015 sec - in 
org.apache.phoenix.hbase.index.write.TestWALRecoveryCaching
Running org.apache.phoenix.hbase.index.write.TestParalleWriterIndexCommitter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in 
org.apache.phoenix.hbase.index.write.TestParalleWriterIndexCommitter
Running org.apache.phoenix.hbase.index.write.TestIndexWriter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec - in 
org.apache.phoenix.hbase.index.write.TestIndexWriter
Running org.apache.phoenix.hbase.index.covered.TestLocalTableState
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec - in 
org.apache.phoenix.hbase.index.covered.TestLocalTableState
Running 
org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder
Running 
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Running org.apache.phoenix.hbase.index.covered.example.TestColumnTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.phoenix.hbase.index.covered.example.TestColumnTracker
Running org.apache.phoenix.hbase.index.covered.update.TestIndexUpdateManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec - in 
org.apache.phoenix.hbase.index.covered.update.TestIndexUpdateManager
Running org.apache.phoenix.hbase.index.covered.TestCoveredColumns
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.phoenix.hbase.index.covered.TestCoveredColumns
Running org.apache.phoenix.hbase.index.covered.filter.TestNewerTimestampFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestNewerTimestampFilter
Running 
org.apache.phoenix.hbase.index.covered.filter.TestApplyAndFilterDeletesFilter
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestApplyAndFilterDeletesFilter
Running org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
Running org.apache.phoenix.hbase.index.covered.data.TestIndexMemStore
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
org.apache.phoenix.hbase.index.covered.data.TestIndexMemStore
Running org.apache.phoenix.filter.SkipScanFilterTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec - in 
org.apache.phoenix.filter.SkipScanFilterTest
Running org.apache.phoenix.filter.SkipScanFilterIntersectTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed

git commit: Remove 2.2.x->3.0/4.0 upgrade code

2014-07-25 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/3.0 0d9c398fe -> f13db3fc8


Remove 2.2.x->3.0/4.0 upgrade code


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

Branch: refs/heads/3.0
Commit: f13db3fc8295bee1eafd0879d1d9cc434db0e1e6
Parents: 0d9c398
Author: James Taylor 
Authored: Fri Jul 25 00:17:07 2014 -0700
Committer: James Taylor 
Committed: Fri Jul 25 00:17:07 2014 -0700

--
 .../org/apache/phoenix/end2end/InListIT.java|   3 +-
 .../query/ConnectionQueryServicesImpl.java  | 506 ---
 2 files changed, 2 insertions(+), 507 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/f13db3fc/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
--
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
index 19e5037..9ac2452 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/InListIT.java
@@ -11,6 +11,7 @@ import java.sql.DriverManager;
 import java.sql.ResultSet;
 import java.sql.SQLException;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.List;
 import java.util.Properties;
 
@@ -22,7 +23,6 @@ import org.junit.experimental.categories.Category;
 import com.google.common.base.Function;
 import com.google.common.base.Joiner;
 import com.google.common.collect.Lists;
-import java.util.Collections;
 
 @Category(ClientManagedTimeTest.class)
 public class InListIT extends BaseHBaseManagedTimeIT {
@@ -196,6 +196,7 @@ public class InListIT extends BaseHBaseManagedTimeIT {
 }
 }
 
+@SuppressWarnings("unchecked")
 List> DEFAULT_UPSERTS = 
Arrays.asList(Arrays.asList(1, 2, 4, 5, 6, "row1"),

Arrays.asList(2, 3, 4, 5, 6, "row2"),

Arrays.asList(2, 3, 6, 4, 5, "row3"),

http://git-wip-us.apache.org/repos/asf/phoenix/blob/f13db3fc/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index 4d21bdd..3ad7ecc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -18,51 +18,20 @@
 package org.apache.phoenix.query;
 
 import static com.google.common.io.Closeables.closeQuietly;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_COUNT;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_FAMILY;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.COLUMN_SIZE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.CYCLE_FLAG;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TABLE_NAME;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TABLE_NAME_BYTES;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DATA_TYPE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DECIMAL_DIGITS;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DEFAULT_COLUMN_FAMILY_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.IMMUTABLE_ROWS;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.INDEX_STATE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.KEY_SEQ;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.LINK_TYPE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MAX_VALUE;
 import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MIN_VALUE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.NULLABLE;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.ORDINAL_POSITION;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PK_NAME;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SALT_BUCKETS;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SORT_ORDER;
-import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME;
 import static 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME_BYTES;
-import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.T