Repository: phoenix
Updated Branches:
  refs/heads/4.0 9588b3241 -> 98b2fc3bf


Prepare for v4.2.0 release


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

Branch: refs/heads/4.0
Commit: 98b2fc3bf9d00026a8c89fb0866bea2ef64bd096
Parents: 9588b32
Author: Mujtaba <mujt...@apache.org>
Authored: Mon Oct 20 12:30:38 2014 -0700
Committer: Mujtaba <mujt...@apache.org>
Committed: Mon Oct 20 12:30:38 2014 -0700

----------------------------------------------------------------------
 CHANGES                                         | 96 +++++++++++++++++++-
 README                                          | 53 -----------
 dev/make_rc.sh                                  | 42 ++++-----
 phoenix-assembly/pom.xml                        |  2 +-
 phoenix-core/pom.xml                            |  2 +-
 .../phoenix/end2end/StatsCollectorIT.java       | 19 +++-
 .../phoenix/coprocessor/SuffixFilter.java       | 19 +++-
 phoenix-flume/pom.xml                           |  2 +-
 phoenix-hadoop-compat/pom.xml                   |  2 +-
 phoenix-hadoop2-compat/pom.xml                  |  2 +-
 phoenix-pig/pom.xml                             |  2 +-
 pom.xml                                         |  3 +-
 12 files changed, 157 insertions(+), 87 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 122d7d5..693eb4a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,99 @@
 
-Release Notes - Phoenix - Version 4.1
+Release Notes - Phoenix - Version 4.2
+
+** New Feature and Sub-task
+    * [PHOENIX-167] - Support semi/anti-joins
+    * [PHOENIX-180] - Use stats to guide query parallelization
+    * [PHOENIX-943] - Handle pushed down post-filters for subquery in joins 
with limit and non-groupby aggregation
+    * [PHOENIX-945] - Support correlated subqueries in comparison without 
ANY/SOME/ALL
+    * [PHOENIX-1249] - Support local immutable index 
+    * [PHOENIX-1259] - Perform partial scan for ANALYZE when table salted or 
local index
+    * [PHOENIX-1263] - Only cache guideposts on physical PTable
+    * [PHOENIX-1264] - Add StatisticsCollector to existing tables on first 
connection to cluster
+    * [PHOENIX-1296] - Scan entire region when tenant-specific table is 
analyzed
+    * [PHOENIX-1309] - Ensure Phoenix table is created for Local index and 
view index tables to store guideposts against them
+    * [PHOENIX-1320] - Update stats atomically
+    * [PHOENIX-1321] - Cleanup setting of timestamps when collecting and using 
stats
+    * [PHOENIX-1322] - Add documentation for UPDATE STATISTICS command
+    * [PHOENIX-1328] - Update ANALYZE syntax to collect stats on index tables 
and all tables
+    * [PHOENIX-1332] - Support correlated subqueries in comparison with 
ANY/SOME/ALL
+    * [PHOENIX-1333] - Store statistics guideposts as VARBINARY
+    * [PHOENIX-1254] - Add REGEXP_SPLIT function
+
+** Bug
+    * [PHOENIX-105] - Remove org.apache.commons.csv source once available in 
Maven repo
+    * [PHOENIX-973] - Lexer skips unexpected characters
+    * [PHOENIX-1044] - Phoenix-Pig: No results returned unless all used 
columns are selected
+    * [PHOENIX-1098] - Support CASCADE option on DROP TABLE that drops all 
VIEWs
+    * [PHOENIX-1107] - Support mutable indexes over replication
+    * [PHOENIX-1139] - Failed to disable local index when index update fails
+    * [PHOENIX-1203] - Uable to work for count (distinct col) queries via 
phoenix table with secondary indexes
+    * [PHOENIX-1206] - Decimal serialization broken for negative numbers with 
more than 19 digits of precision
+    * [PHOENIX-1208] - Check for existence of views doesn't take into account 
the fact that SYSTEM.CATALOG could be split across regions
+    * [PHOENIX-1211] - Use skip scan when row value constructor uses leading 
row key columns 
+    * [PHOENIX-1214] - SYSTEM.CATALOG cannot be created when first connection 
to cluster is tenant-specific
+    * [PHOENIX-1223] - arrays of byte[]s don't encode for null bytes
+    * [PHOENIX-1225] - Evaluation of OR between columns in PK and not in PK 
incorrect
+    * [PHOENIX-1228] - NPE in "select max(c1)" when c1 is a CHAR field
+    * [PHOENIX-1237] - COALESCE Function - type of second parameter
+    * [PHOENIX-1238] - Rollback index region split on any split failure
+    * [PHOENIX-1239] - IN clause (and some others) cannot get moved from 
HAVING clause to WHERE clause when qualified
+    * [PHOENIX-1242] - ArrayoutofBoundException Phoenix mapping to exisiting 
Hbase
+    * [PHOENIX-1248] - CsvBulkLoadTool is failing with IAE when local index 
specified for --index-table parameter
+    * [PHOENIX-1250] - guava dependency out-dated causing NoSuchMethod error
+    * [PHOENIX-1251] - Salted queries with range scan become full table scans
+    * [PHOENIX-1252] - Potential lock leak for ungrouped aggregation
+    * [PHOENIX-1253] - Invalid PreparedStatement.setXXX call should throw 
SQLException
+    * [PHOENIX-1257] - Upserted data seen by SELECT in UPSERT SELECT execution
+    * [PHOENIX-1258] - RegexpSubstrFunction is not useable with group by query 
+    * [PHOENIX-1266] - Disallow setting NOT NULL constraint on non PK columns
+    * [PHOENIX-1268] - Misleading exception when attempting to drop system 
table
+    * [PHOENIX-1271] - Column metadata doesn't hide tenant column on 
tenant-specific connections.
+    * [PHOENIX-1272] - Avoid pulling in unintended HBase dependencies in 
phoenix-core
+    * [PHOENIX-1273] - Phoenix should provide ILIKE keyword
+    * [PHOENIX-1275] - SYSTEM.STATS table is not created when SYSTEM.CATALOG 
is already present
+    * [PHOENIX-1280] - ColumnProjectionFilter creates too many 
ImmutableBytesPtrs
+    * [PHOENIX-1281] - Each MultiKeyValueTuple.setKeyValues creates a new 
immutable list object
+    * [PHOENIX-1284] - Override config properties for unit tests not making it 
to server
+    * [PHOENIX-1285] - Override default for histogram depth in 
QueryServicesTestImpl
+    * [PHOENIX-1288] - Selecting more than 2 array elements via index fails 
with ArrayIndexOutOfBoundsException
+    * [PHOENIX-1289] - Drop index during upsert may abort RS
+    * [PHOENIX-1298] - Queries on fixed width type columns that have an index 
declared on them don't use that index
+    * [PHOENIX-1305] - create index throws NPE when dataTable has specified 
default column family
+    * [PHOENIX-1313] - Investigate why 
LocalIndexIT.testLocalIndexScanAfterRegionSplit() is failing
+    * [PHOENIX-1315] - Optimize query for Pig loader
+    * [PHOENIX-1327] - Disallow creating arrays of fixed width base type 
without the max length being specified
+    * [PHOENIX-1330] - Flag VARBINARY VARBINARY ARRAY declaration in DDL as an 
error
+    * [PHOENIX-1337] - Unpadded fixed length tenant ID causes erroneous results
+    * [PHOENIX-1341] - PhoenixRuntime returns zero exit status on failure
+    * [PHOENIX-1344] - NTH_VALUE function skips duplicit values in order by
+    * [PHOENIX-1349] - VIEWs do not inherit indexes from their parent
+    * [PHOENIX-1353] - CsvBulkLoad doesn't work in secure env
+    * [PHOENIX-1355] - sqlline.py or psql.py may hang if they're not invoked 
from bin folder
+    * [PHOENIX-1356] - LocalIndexIT.testLocalIndexScanAfterRegionSplit() 
failed at distributed cluster when getting regions
+    * [PHOENIX-1357] - Salt sequence table to prevent same RS from getting all 
sequence calls
+    * [PHOENIX-1359] - Backward compatibility fails with 4.1 client and 
current 4.0 branch on server
+    * [PHOENIX-1360] - NPE in SpoolingResultIterator 
+    * [PHOENIX-1361] - Sequence value goes backwards if sequence validated 
before reserved
+    * [PHOENIX-1365] - Make sequence salt buckets configurable
+    * [PHOENIX-1368] - Persist link from VIEW back to its child VIEW
+
+** Improvement
+    * [PHOENIX-852] - Optimize child/parent foreign key joins
+    * [PHOENIX-1030] - Change Expression.isDeterministic() to return a enum of 
values ALWAYS, PER_STATEMENT, PER_ROW
+    * [PHOENIX-1216] - Making spooling directory location configurable
+    * [PHOENIX-1245] - Remove usage of empty KeyValue object BATCH_MARKER from 
Indexer
+    * [PHOENIX-1262] - Generate phoenix-server jar with and without antlr
+    * [PHOENIX-1300] - Allow sub-queries to choose different execution path 
other than hash-join
+
+** Task
+    * [PHOENIX-103] - Drop hadoop1.0 specifics from code
+    * [PHOENIX-761] - Implement getKeyPart for round/ceil/floor of a DECIMAL 
value
+    * [PHOENIX-1297] - Adding utility methods to get primary key information 
from the optimized query plan
+    * [PHOENIX-1310] - Spill files filling up /tmp on server
+
+
+Previous release - Phoenix version 4.1
 
 ** New Feature
     * [PHOENIX-71] - Support sub-joins

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/README
----------------------------------------------------------------------
diff --git a/README b/README
index 1e8fc54..c9661c1 100644
--- a/README
+++ b/README
@@ -18,56 +18,3 @@ The Phoenix mailing lists and archives are listed here [5]
 3. http://phoenix.apache.org/issues.html
 4. http://www.apache.org/licenses/
 5. http://phoenix.apache.org/mailing_list.html
-
-Upgrading from Phoenix 2.2.x to Apache Phoenix 3.0/4.0
-------------------------------------------------------
-By default, Phoenix 2.2.x tables are not automatically upgraded to
-Apache Phoenix 3.0/4.0 tables. Since pre-Apache 2.2.x code lines have
-a different package structure (com.salesforce.phoenix) than the 3.0/4.0
-code line(org.apache.phoenix), the two installations may actually
-coexist. An existing Phoenix table may either remain as a 2.2.x table
-or be upgraded to 3.0/4.0 table, but not both. In addition, a client
-JVM may either use the 3.0/4.0 driver or the 2.2.x driver, but not
-both. Upgrade, however, is a one way street: once a table is upgrade
-to 3.0/4.0, it stays that way.
-
-Note that upgrading a table will not affect its data - only the
-metadata of the table will change. In order to upgrade tables from
-2.2.x to 3.0/4.0, the following must be done *BEFORE* the first
-connection to a cluster which has 3.0/4.0 installed on it.
-
-* Add a new phoenix.client.autoUpgradeWhiteList config parameter to
-  your client-side hbase-sites.xml. Make sure the directory containing
-  the hbase-sites.xml is on the classpath of your client so that HBase
-  finds it. The value you use for the parameter depends on which
-  tables you want to upgrade:
-
-  * To upgrade all tables use a value of *. This will cause all Phoenix
-    2.2.x tables to be automatically converted to the new 3.0.0 structure
-    when the first connection occurs. For example:
-
-        <pre><configuration>
-          <property>
-            <name>phoenix.client.autoUpgradeWhiteList</name>
-            <value>*</value>
-          </property>
-        </configuration></pre>
-
-  * To upgrade only some tables use a comma separated list of full table
-    names. In that case, only those tables and their secondary indexes
-    will be upgraded on first connection to a cluster. Note that table
-    names are case sensitive. For example, the following would upgrade
-    my_schema.my_table and MY_OTHER_TABLE:
-
-        <pre><configuration>
-          <property>
-            <name>phoenix.client.autoUpgradeWhiteList</name>
-            <value>my_schema.my_table,MY_OTHER_TABLE</value>
-          </property>
-        </configuration></pre>
-
-* After the first connection has been made to a cluster with Phoenix
-  3.0/4.0 installed, no further upgrade will take place. However, you
-  may force it to take place again by removing the UpgradeTo30 attribute
-  from the SYSTEM.CATALOG HBase table metadata. Then, on the next
-  connection to the cluster, upgrade will again occur as describe above.

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/dev/make_rc.sh
----------------------------------------------------------------------
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index 3e087f6..9a9f276 100755
--- a/dev/make_rc.sh
+++ b/dev/make_rc.sh
@@ -36,15 +36,14 @@ DIR_REL_BIN_PATH=$DIR_REL_ROOT/$DIR_REL_BIN
 REL_SRC=phoenix-$PHOENIX-src
 DIR_REL_SRC_TAR_PATH=$DIR_REL_ROOT/src
 DIR_REL_BIN_TAR_PATH=$DIR_REL_ROOT/bin
-DIR_BIN=bin
+DIR_BIN=$DIR_REL_BIN_PATH/bin
 DIR_EXAMPLES=$DIR_REL_BIN_PATH/examples
-DIR_COMMON=$DIR_REL_BIN_PATH/common
-DIR_HADOOP=$DIR_REL_BIN_PATH/hadoop
 DIR_DOCS=dev/release_files
 
 # Verify no target exists
 mvn clean; mvn clean -Dhadoop.profile=2; rm -rf $DIR_REL_BASE;
 RESULT=$(find -iname target)
+
 if [ -z "$RESULT" ]
 then
   echo "Verified target directory does not exist.";
@@ -63,7 +62,7 @@ mkdir $DIR_REL_BIN_PATH;
 mkdir $DIR_REL_BIN_TAR_PATH;
 mkdir $DIR_REL_SRC_TAR_PATH;
 mkdir $DIR_EXAMPLES;
-mkdir $DIR_COMMON;
+mkdir $DIR_BIN;
 
 # Move src tar
 mv $REL_SRC.tar.gz $DIR_REL_SRC_TAR_PATH;
@@ -71,9 +70,21 @@ mv $REL_SRC.tar.gz $DIR_REL_SRC_TAR_PATH;
 # Copy common jars
 mvn clean apache-rat:check package -DskipTests;
 rm -rf $(find . -type d -name archive-tmp);
-cp $(find -iname phoenix-$PHOENIX-client-minimal.jar) $DIR_COMMON;
-cp $(find -iname phoenix-$PHOENIX-client-without-hbase.jar) $DIR_COMMON;
-cp $(find -iname phoenix-core-$PHOENIX.jar) $DIR_COMMON;
+
+cp $(find -iname phoenix-$PHOENIX-client-minimal.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-$PHOENIX-client-without-hbase.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-core-$PHOENIX.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-$PHOENIX-client.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-$PHOENIX-server.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-$PHOENIX-server-without-antlr.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-core-$PHOENIX-tests.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-flume-$PHOENIX.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-flume-$PHOENIX-tests.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-pig-$PHOENIX.jar) $DIR_REL_BIN_PATH;
+cp $(find -iname phoenix-pig-$PHOENIX-tests.jar) $DIR_REL_BIN_PATH;
+
+# Copy bin
+cp bin/* $DIR_BIN;
 
 # Copy release docs
 cp CHANGES $DIR_REL_BIN_PATH;
@@ -83,23 +94,6 @@ cp $DIR_DOCS/* $DIR_REL_BIN_PATH;
 # Copy examples
 cp -r examples/* $DIR_EXAMPLES
 
-# Copy hadoop specific jars
-function_copy_hadoop_specific_jars() {
-  mkdir $DIR_HADOOP$1;
-  mkdir $DIR_HADOOP$1/$DIR_BIN;
-  cp $DIR_BIN/* $DIR_HADOOP$1/$DIR_BIN;
-  cp $(find -iname phoenix-$PHOENIX-client.jar) 
$DIR_HADOOP$1/phoenix-$PHOENIX-client-hadoop$1.jar;
-  cp $(find -iname phoenix-$PHOENIX-server.jar) 
$DIR_HADOOP$1/phoenix-$PHOENIX-server-hadoop$1.jar;
-  cp $(find -iname phoenix-core-$PHOENIX-tests.jar) 
$DIR_HADOOP$1/phoenix-core-$PHOENIX-tests-hadoop$1.jar;
-  cp $(find -iname phoenix-flume-$PHOENIX.jar) 
$DIR_HADOOP$1/phoenix-flume-$PHOENIX-hadoop$1.jar;
-  cp $(find -iname phoenix-flume-$PHOENIX-tests.jar) 
$DIR_HADOOP$1/phoenix-flume-$PHOENIX-tests-hadoop$1.jar;
-  cp $(find -iname phoenix-pig-$PHOENIX.jar) 
$DIR_HADOOP$1/phoenix-pig-$PHOENIX-hadoop$1.jar;
-  cp $(find -iname phoenix-pig-$PHOENIX-tests.jar) 
$DIR_HADOOP$1/phoenix-pig-$PHOENIX-tests-hadoop$1.jar;
-}
-function_copy_hadoop_specific_jars 1;
-mvn clean package -Dhadoop.profile=2 -DskipTests;
-function_copy_hadoop_specific_jars 2;
-
 # Generate bin tar
 tar cvzf $DIR_REL_BIN_TAR_PATH/$DIR_REL_BIN.tar.gz -C $DIR_REL_ROOT 
phoenix-$PHOENIX-bin;
 rm -rf $DIR_REL_BIN_PATH;

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/phoenix-assembly/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-assembly/pom.xml b/phoenix-assembly/pom.xml
index 7440e21..fe02636 100644
--- a/phoenix-assembly/pom.xml
+++ b/phoenix-assembly/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.2.0-SNAPSHOT</version>
+    <version>4.2.0</version>
   </parent>
   <artifactId>phoenix-assembly</artifactId>
   <name>Phoenix Assembly</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/phoenix-core/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index 5b7d63d..539c38b 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.2.0-SNAPSHOT</version>
+    <version>4.2.0</version>
   </parent>
   <artifactId>phoenix-core</artifactId>
   <name>Phoenix Core</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/phoenix-core/src/it/java/org/apache/phoenix/end2end/StatsCollectorIT.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/StatsCollectorIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/StatsCollectorIT.java
index b48e260..51ad543 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/StatsCollectorIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/StatsCollectorIT.java
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.phoenix.end2end;
 
 import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
@@ -205,4 +222,4 @@ public class StatsCollectorIT extends 
BaseOwnClusterHBaseManagedTimeIT {
         return stmt;
     }
 
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/SuffixFilter.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/SuffixFilter.java 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/SuffixFilter.java
index e6bf9ac..b89ba9e 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/SuffixFilter.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/SuffixFilter.java
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.phoenix.coprocessor;
 
 import java.io.IOException;
@@ -47,4 +64,4 @@ public class SuffixFilter extends FilterBase {
     public static SuffixFilter parseFrom(final byte [] pbBytes) throws 
DeserializationException {
         return new SuffixFilter(pbBytes);
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/phoenix-flume/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-flume/pom.xml b/phoenix-flume/pom.xml
index d76a9fe..453cb32 100644
--- a/phoenix-flume/pom.xml
+++ b/phoenix-flume/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.2.0-SNAPSHOT</version>
+    <version>4.2.0</version>
   </parent>
   <artifactId>phoenix-flume</artifactId>
   <name>Phoenix - Flume</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/phoenix-hadoop-compat/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-hadoop-compat/pom.xml b/phoenix-hadoop-compat/pom.xml
index 8f5a283..fef5ca4 100644
--- a/phoenix-hadoop-compat/pom.xml
+++ b/phoenix-hadoop-compat/pom.xml
@@ -25,7 +25,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.2.0-SNAPSHOT</version>
+    <version>4.2.0</version>
   </parent>
   <artifactId>phoenix-hadoop-compat</artifactId>
   <name>Phoenix Hadoop Compatibility</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/phoenix-hadoop2-compat/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-hadoop2-compat/pom.xml b/phoenix-hadoop2-compat/pom.xml
index a5fc33d..e762678 100644
--- a/phoenix-hadoop2-compat/pom.xml
+++ b/phoenix-hadoop2-compat/pom.xml
@@ -25,7 +25,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.2.0-SNAPSHOT</version>
+    <version>4.2.0</version>
   </parent>
   <artifactId>phoenix-hadoop2-compat</artifactId>
   <name>Phoenix Hadoop2 Compatibility</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/phoenix-pig/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-pig/pom.xml b/phoenix-pig/pom.xml
index 825c8da..42c7608 100644
--- a/phoenix-pig/pom.xml
+++ b/phoenix-pig/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.2.0-SNAPSHOT</version>
+    <version>4.2.0</version>
   </parent>
   <artifactId>phoenix-pig</artifactId>
   <name>Phoenix - Pig</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6c13e30..ab8dc33 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.phoenix</groupId>
   <artifactId>phoenix</artifactId>
-  <version>4.2.0-SNAPSHOT</version>
+  <version>4.2.0</version>
   <packaging>pom</packaging>
   <name>Apache Phoenix</name>
   <description>A SQL layer over HBase</description>
@@ -198,6 +198,7 @@
               <exclude>.project</exclude>
               <exclude>.classpath</exclude>
               <exclude>.settings/**</exclude>
+              <exclude>**/*Protos.java</exclude>
             </excludes>
           </configuration>
         </plugin>

Reply via email to