You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by su...@apache.org on 2015/07/17 21:53:34 UTC

[42/48] hive git commit: HIVE-9152 - Dynamic Partition Pruning [Spark Branch] (Chao Sun, reviewed by Xuefu Zhang and Chengxiang Li)

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java
index 5d44585..18c55f1 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class AbortTxnRequest implements org.apache.thrift.TBase<AbortTxnRequest, AbortTxnRequest._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class AbortTxnRequest implements org.apache.thrift.TBase<AbortTxnRequest, AbortTxnRequest._Fields>, java.io.Serializable, Cloneable, Comparable<AbortTxnRequest> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AbortTxnRequest");
 
   private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1);
@@ -227,30 +231,30 @@ public class AbortTxnRequest implements org.apache.thrift.TBase<AbortTxnRequest,
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_txnid = true;
-    builder.append(present_txnid);
+    list.add(present_txnid);
     if (present_txnid)
-      builder.append(txnid);
+      list.add(txnid);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(AbortTxnRequest other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    AbortTxnRequest typedOther = (AbortTxnRequest)other;
 
-    lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid());
+    lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetTxnid()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid);
       if (lastComparison != 0) {
         return lastComparison;
       }

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
index afb2b79..6caf00e 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicPartitions, AddDynamicPartitions._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicPartitions, AddDynamicPartitions._Fields>, java.io.Serializable, Cloneable, Comparable<AddDynamicPartitions> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddDynamicPartitions");
 
   private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1);
@@ -166,10 +170,7 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
       this.tablename = other.tablename;
     }
     if (other.isSetPartitionnames()) {
-      List<String> __this__partitionnames = new ArrayList<String>();
-      for (String other_element : other.partitionnames) {
-        __this__partitionnames.add(other_element);
-      }
+      List<String> __this__partitionnames = new ArrayList<String>(other.partitionnames);
       this.partitionnames = __this__partitionnames;
     }
   }
@@ -421,75 +422,75 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_txnid = true;
-    builder.append(present_txnid);
+    list.add(present_txnid);
     if (present_txnid)
-      builder.append(txnid);
+      list.add(txnid);
 
     boolean present_dbname = true && (isSetDbname());
-    builder.append(present_dbname);
+    list.add(present_dbname);
     if (present_dbname)
-      builder.append(dbname);
+      list.add(dbname);
 
     boolean present_tablename = true && (isSetTablename());
-    builder.append(present_tablename);
+    list.add(present_tablename);
     if (present_tablename)
-      builder.append(tablename);
+      list.add(tablename);
 
     boolean present_partitionnames = true && (isSetPartitionnames());
-    builder.append(present_partitionnames);
+    list.add(present_partitionnames);
     if (present_partitionnames)
-      builder.append(partitionnames);
+      list.add(partitionnames);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(AddDynamicPartitions other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    AddDynamicPartitions typedOther = (AddDynamicPartitions)other;
 
-    lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid());
+    lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetTxnid()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname());
+    lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetDbname()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetTablename()).compareTo(typedOther.isSetTablename());
+    lastComparison = Boolean.valueOf(isSetTablename()).compareTo(other.isSetTablename());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetTablename()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, typedOther.tablename);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, other.tablename);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetPartitionnames()).compareTo(typedOther.isSetPartitionnames());
+    lastComparison = Boolean.valueOf(isSetPartitionnames()).compareTo(other.isSetPartitionnames());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetPartitionnames()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionnames, typedOther.partitionnames);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionnames, other.partitionnames);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -631,11 +632,11 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
               {
                 org.apache.thrift.protocol.TList _list492 = iprot.readListBegin();
                 struct.partitionnames = new ArrayList<String>(_list492.size);
-                for (int _i493 = 0; _i493 < _list492.size; ++_i493)
+                String _elem493;
+                for (int _i494 = 0; _i494 < _list492.size; ++_i494)
                 {
-                  String _elem494; // optional
-                  _elem494 = iprot.readString();
-                  struct.partitionnames.add(_elem494);
+                  _elem493 = iprot.readString();
+                  struct.partitionnames.add(_elem493);
                 }
                 iprot.readListEnd();
               }
@@ -723,11 +724,11 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
       {
         org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
         struct.partitionnames = new ArrayList<String>(_list497.size);
-        for (int _i498 = 0; _i498 < _list497.size; ++_i498)
+        String _elem498;
+        for (int _i499 = 0; _i499 < _list497.size; ++_i499)
         {
-          String _elem499; // optional
-          _elem499 = iprot.readString();
-          struct.partitionnames.add(_elem499);
+          _elem498 = iprot.readString();
+          struct.partitionnames.add(_elem498);
         }
       }
       struct.setPartitionnamesIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java
index 7bb72ba..00ab06f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitionsRequest, AddPartitionsRequest._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitionsRequest, AddPartitionsRequest._Fields>, java.io.Serializable, Cloneable, Comparable<AddPartitionsRequest> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddPartitionsRequest");
 
   private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1);
@@ -126,7 +130,7 @@ public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitio
   private static final int __IFNOTEXISTS_ISSET_ID = 0;
   private static final int __NEEDRESULT_ISSET_ID = 1;
   private byte __isset_bitfield = 0;
-  private _Fields optionals[] = {_Fields.NEED_RESULT};
+  private static final _Fields optionals[] = {_Fields.NEED_RESULT};
   public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
@@ -176,7 +180,7 @@ public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitio
       this.tblName = other.tblName;
     }
     if (other.isSetParts()) {
-      List<Partition> __this__parts = new ArrayList<Partition>();
+      List<Partition> __this__parts = new ArrayList<Partition>(other.parts.size());
       for (Partition other_element : other.parts) {
         __this__parts.add(new Partition(other_element));
       }
@@ -479,90 +483,90 @@ public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitio
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_dbName = true && (isSetDbName());
-    builder.append(present_dbName);
+    list.add(present_dbName);
     if (present_dbName)
-      builder.append(dbName);
+      list.add(dbName);
 
     boolean present_tblName = true && (isSetTblName());
-    builder.append(present_tblName);
+    list.add(present_tblName);
     if (present_tblName)
-      builder.append(tblName);
+      list.add(tblName);
 
     boolean present_parts = true && (isSetParts());
-    builder.append(present_parts);
+    list.add(present_parts);
     if (present_parts)
-      builder.append(parts);
+      list.add(parts);
 
     boolean present_ifNotExists = true;
-    builder.append(present_ifNotExists);
+    list.add(present_ifNotExists);
     if (present_ifNotExists)
-      builder.append(ifNotExists);
+      list.add(ifNotExists);
 
     boolean present_needResult = true && (isSetNeedResult());
-    builder.append(present_needResult);
+    list.add(present_needResult);
     if (present_needResult)
-      builder.append(needResult);
+      list.add(needResult);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(AddPartitionsRequest other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    AddPartitionsRequest typedOther = (AddPartitionsRequest)other;
 
-    lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName());
+    lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetDbName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetTblName()).compareTo(typedOther.isSetTblName());
+    lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetTblName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, typedOther.tblName);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetParts()).compareTo(typedOther.isSetParts());
+    lastComparison = Boolean.valueOf(isSetParts()).compareTo(other.isSetParts());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetParts()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parts, typedOther.parts);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parts, other.parts);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetIfNotExists()).compareTo(typedOther.isSetIfNotExists());
+    lastComparison = Boolean.valueOf(isSetIfNotExists()).compareTo(other.isSetIfNotExists());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetIfNotExists()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ifNotExists, typedOther.ifNotExists);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ifNotExists, other.ifNotExists);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetNeedResult()).compareTo(typedOther.isSetNeedResult());
+    lastComparison = Boolean.valueOf(isSetNeedResult()).compareTo(other.isSetNeedResult());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetNeedResult()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.needResult, typedOther.needResult);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.needResult, other.needResult);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -702,12 +706,12 @@ public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitio
               {
                 org.apache.thrift.protocol.TList _list388 = iprot.readListBegin();
                 struct.parts = new ArrayList<Partition>(_list388.size);
-                for (int _i389 = 0; _i389 < _list388.size; ++_i389)
+                Partition _elem389;
+                for (int _i390 = 0; _i390 < _list388.size; ++_i390)
                 {
-                  Partition _elem390; // optional
-                  _elem390 = new Partition();
-                  _elem390.read(iprot);
-                  struct.parts.add(_elem390);
+                  _elem389 = new Partition();
+                  _elem389.read(iprot);
+                  struct.parts.add(_elem389);
                 }
                 iprot.readListEnd();
               }
@@ -822,12 +826,12 @@ public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitio
       {
         org.apache.thrift.protocol.TList _list393 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
         struct.parts = new ArrayList<Partition>(_list393.size);
-        for (int _i394 = 0; _i394 < _list393.size; ++_i394)
+        Partition _elem394;
+        for (int _i395 = 0; _i395 < _list393.size; ++_i395)
         {
-          Partition _elem395; // optional
-          _elem395 = new Partition();
-          _elem395.read(iprot);
-          struct.parts.add(_elem395);
+          _elem394 = new Partition();
+          _elem394.read(iprot);
+          struct.parts.add(_elem394);
         }
       }
       struct.setPartsIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java
index 875e04a..27276c2 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class AddPartitionsResult implements org.apache.thrift.TBase<AddPartitionsResult, AddPartitionsResult._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class AddPartitionsResult implements org.apache.thrift.TBase<AddPartitionsResult, AddPartitionsResult._Fields>, java.io.Serializable, Cloneable, Comparable<AddPartitionsResult> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddPartitionsResult");
 
   private static final org.apache.thrift.protocol.TField PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitions", org.apache.thrift.protocol.TType.LIST, (short)1);
@@ -103,7 +107,7 @@ public class AddPartitionsResult implements org.apache.thrift.TBase<AddPartition
   }
 
   // isset id assignments
-  private _Fields optionals[] = {_Fields.PARTITIONS};
+  private static final _Fields optionals[] = {_Fields.PARTITIONS};
   public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
@@ -122,7 +126,7 @@ public class AddPartitionsResult implements org.apache.thrift.TBase<AddPartition
    */
   public AddPartitionsResult(AddPartitionsResult other) {
     if (other.isSetPartitions()) {
-      List<Partition> __this__partitions = new ArrayList<Partition>();
+      List<Partition> __this__partitions = new ArrayList<Partition>(other.partitions.size());
       for (Partition other_element : other.partitions) {
         __this__partitions.add(new Partition(other_element));
       }
@@ -239,30 +243,30 @@ public class AddPartitionsResult implements org.apache.thrift.TBase<AddPartition
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_partitions = true && (isSetPartitions());
-    builder.append(present_partitions);
+    list.add(present_partitions);
     if (present_partitions)
-      builder.append(partitions);
+      list.add(partitions);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(AddPartitionsResult other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    AddPartitionsResult typedOther = (AddPartitionsResult)other;
 
-    lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(typedOther.isSetPartitions());
+    lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(other.isSetPartitions());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetPartitions()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, typedOther.partitions);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, other.partitions);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -344,12 +348,12 @@ public class AddPartitionsResult implements org.apache.thrift.TBase<AddPartition
               {
                 org.apache.thrift.protocol.TList _list380 = iprot.readListBegin();
                 struct.partitions = new ArrayList<Partition>(_list380.size);
-                for (int _i381 = 0; _i381 < _list380.size; ++_i381)
+                Partition _elem381;
+                for (int _i382 = 0; _i382 < _list380.size; ++_i382)
                 {
-                  Partition _elem382; // optional
-                  _elem382 = new Partition();
-                  _elem382.read(iprot);
-                  struct.partitions.add(_elem382);
+                  _elem381 = new Partition();
+                  _elem381.read(iprot);
+                  struct.partitions.add(_elem381);
                 }
                 iprot.readListEnd();
               }
@@ -426,12 +430,12 @@ public class AddPartitionsResult implements org.apache.thrift.TBase<AddPartition
         {
           org.apache.thrift.protocol.TList _list385 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
           struct.partitions = new ArrayList<Partition>(_list385.size);
-          for (int _i386 = 0; _i386 < _list385.size; ++_i386)
+          Partition _elem386;
+          for (int _i387 = 0; _i387 < _list385.size; ++_i387)
           {
-            Partition _elem387; // optional
-            _elem387 = new Partition();
-            _elem387.read(iprot);
-            struct.partitions.add(_elem387);
+            _elem386 = new Partition();
+            _elem386.read(iprot);
+            struct.partitions.add(_elem386);
           }
         }
         struct.setPartitionsIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
index 0e1dbcb..306755d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class AggrStats implements org.apache.thrift.TBase<AggrStats, AggrStats._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class AggrStats implements org.apache.thrift.TBase<AggrStats, AggrStats._Fields>, java.io.Serializable, Cloneable, Comparable<AggrStats> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AggrStats");
 
   private static final org.apache.thrift.protocol.TField COL_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("colStats", org.apache.thrift.protocol.TType.LIST, (short)1);
@@ -141,7 +145,7 @@ public class AggrStats implements org.apache.thrift.TBase<AggrStats, AggrStats._
   public AggrStats(AggrStats other) {
     __isset_bitfield = other.__isset_bitfield;
     if (other.isSetColStats()) {
-      List<ColumnStatisticsObj> __this__colStats = new ArrayList<ColumnStatisticsObj>();
+      List<ColumnStatisticsObj> __this__colStats = new ArrayList<ColumnStatisticsObj>(other.colStats.size());
       for (ColumnStatisticsObj other_element : other.colStats) {
         __this__colStats.add(new ColumnStatisticsObj(other_element));
       }
@@ -305,45 +309,45 @@ public class AggrStats implements org.apache.thrift.TBase<AggrStats, AggrStats._
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_colStats = true && (isSetColStats());
-    builder.append(present_colStats);
+    list.add(present_colStats);
     if (present_colStats)
-      builder.append(colStats);
+      list.add(colStats);
 
     boolean present_partsFound = true;
-    builder.append(present_partsFound);
+    list.add(present_partsFound);
     if (present_partsFound)
-      builder.append(partsFound);
+      list.add(partsFound);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(AggrStats other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    AggrStats typedOther = (AggrStats)other;
 
-    lastComparison = Boolean.valueOf(isSetColStats()).compareTo(typedOther.isSetColStats());
+    lastComparison = Boolean.valueOf(isSetColStats()).compareTo(other.isSetColStats());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetColStats()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colStats, typedOther.colStats);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colStats, other.colStats);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetPartsFound()).compareTo(typedOther.isSetPartsFound());
+    lastComparison = Boolean.valueOf(isSetPartsFound()).compareTo(other.isSetPartsFound());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetPartsFound()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partsFound, typedOther.partsFound);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partsFound, other.partsFound);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -437,12 +441,12 @@ public class AggrStats implements org.apache.thrift.TBase<AggrStats, AggrStats._
               {
                 org.apache.thrift.protocol.TList _list278 = iprot.readListBegin();
                 struct.colStats = new ArrayList<ColumnStatisticsObj>(_list278.size);
-                for (int _i279 = 0; _i279 < _list278.size; ++_i279)
+                ColumnStatisticsObj _elem279;
+                for (int _i280 = 0; _i280 < _list278.size; ++_i280)
                 {
-                  ColumnStatisticsObj _elem280; // optional
-                  _elem280 = new ColumnStatisticsObj();
-                  _elem280.read(iprot);
-                  struct.colStats.add(_elem280);
+                  _elem279 = new ColumnStatisticsObj();
+                  _elem279.read(iprot);
+                  struct.colStats.add(_elem279);
                 }
                 iprot.readListEnd();
               }
@@ -520,12 +524,12 @@ public class AggrStats implements org.apache.thrift.TBase<AggrStats, AggrStats._
       {
         org.apache.thrift.protocol.TList _list283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
         struct.colStats = new ArrayList<ColumnStatisticsObj>(_list283.size);
-        for (int _i284 = 0; _i284 < _list283.size; ++_i284)
+        ColumnStatisticsObj _elem284;
+        for (int _i285 = 0; _i285 < _list283.size; ++_i285)
         {
-          ColumnStatisticsObj _elem285; // optional
-          _elem285 = new ColumnStatisticsObj();
-          _elem285.read(iprot);
-          struct.colStats.add(_elem285);
+          _elem284 = new ColumnStatisticsObj();
+          _elem284.read(iprot);
+          struct.colStats.add(_elem284);
         }
       }
       struct.setColStatsIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
index 2a5e58f..6081564 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class AlreadyExistsException extends TException implements org.apache.thrift.TBase<AlreadyExistsException, AlreadyExistsException._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class AlreadyExistsException extends TException implements org.apache.thrift.TBase<AlreadyExistsException, AlreadyExistsException._Fields>, java.io.Serializable, Cloneable, Comparable<AlreadyExistsException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AlreadyExistsException");
 
   private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1);
@@ -225,30 +229,30 @@ public class AlreadyExistsException extends TException implements org.apache.thr
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_message = true && (isSetMessage());
-    builder.append(present_message);
+    list.add(present_message);
     if (present_message)
-      builder.append(message);
+      list.add(message);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(AlreadyExistsException other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    AlreadyExistsException typedOther = (AlreadyExistsException)other;
 
-    lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+    lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetMessage()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message);
       if (lastComparison != 0) {
         return lastComparison;
       }

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java
index 1516b25..3462576 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class BinaryColumnStatsData implements org.apache.thrift.TBase<BinaryColumnStatsData, BinaryColumnStatsData._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class BinaryColumnStatsData implements org.apache.thrift.TBase<BinaryColumnStatsData, BinaryColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<BinaryColumnStatsData> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BinaryColumnStatsData");
 
   private static final org.apache.thrift.protocol.TField MAX_COL_LEN_FIELD_DESC = new org.apache.thrift.protocol.TField("maxColLen", org.apache.thrift.protocol.TType.I64, (short)1);
@@ -343,60 +347,60 @@ public class BinaryColumnStatsData implements org.apache.thrift.TBase<BinaryColu
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_maxColLen = true;
-    builder.append(present_maxColLen);
+    list.add(present_maxColLen);
     if (present_maxColLen)
-      builder.append(maxColLen);
+      list.add(maxColLen);
 
     boolean present_avgColLen = true;
-    builder.append(present_avgColLen);
+    list.add(present_avgColLen);
     if (present_avgColLen)
-      builder.append(avgColLen);
+      list.add(avgColLen);
 
     boolean present_numNulls = true;
-    builder.append(present_numNulls);
+    list.add(present_numNulls);
     if (present_numNulls)
-      builder.append(numNulls);
+      list.add(numNulls);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(BinaryColumnStatsData other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    BinaryColumnStatsData typedOther = (BinaryColumnStatsData)other;
 
-    lastComparison = Boolean.valueOf(isSetMaxColLen()).compareTo(typedOther.isSetMaxColLen());
+    lastComparison = Boolean.valueOf(isSetMaxColLen()).compareTo(other.isSetMaxColLen());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetMaxColLen()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxColLen, typedOther.maxColLen);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxColLen, other.maxColLen);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetAvgColLen()).compareTo(typedOther.isSetAvgColLen());
+    lastComparison = Boolean.valueOf(isSetAvgColLen()).compareTo(other.isSetAvgColLen());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetAvgColLen()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.avgColLen, typedOther.avgColLen);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.avgColLen, other.avgColLen);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls());
+    lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetNumNulls()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls);
       if (lastComparison != 0) {
         return lastComparison;
       }

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java
index 9ef9c0f..9b87007 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class BooleanColumnStatsData implements org.apache.thrift.TBase<BooleanColumnStatsData, BooleanColumnStatsData._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class BooleanColumnStatsData implements org.apache.thrift.TBase<BooleanColumnStatsData, BooleanColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<BooleanColumnStatsData> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BooleanColumnStatsData");
 
   private static final org.apache.thrift.protocol.TField NUM_TRUES_FIELD_DESC = new org.apache.thrift.protocol.TField("numTrues", org.apache.thrift.protocol.TType.I64, (short)1);
@@ -343,60 +347,60 @@ public class BooleanColumnStatsData implements org.apache.thrift.TBase<BooleanCo
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_numTrues = true;
-    builder.append(present_numTrues);
+    list.add(present_numTrues);
     if (present_numTrues)
-      builder.append(numTrues);
+      list.add(numTrues);
 
     boolean present_numFalses = true;
-    builder.append(present_numFalses);
+    list.add(present_numFalses);
     if (present_numFalses)
-      builder.append(numFalses);
+      list.add(numFalses);
 
     boolean present_numNulls = true;
-    builder.append(present_numNulls);
+    list.add(present_numNulls);
     if (present_numNulls)
-      builder.append(numNulls);
+      list.add(numNulls);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(BooleanColumnStatsData other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    BooleanColumnStatsData typedOther = (BooleanColumnStatsData)other;
 
-    lastComparison = Boolean.valueOf(isSetNumTrues()).compareTo(typedOther.isSetNumTrues());
+    lastComparison = Boolean.valueOf(isSetNumTrues()).compareTo(other.isSetNumTrues());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetNumTrues()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numTrues, typedOther.numTrues);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numTrues, other.numTrues);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetNumFalses()).compareTo(typedOther.isSetNumFalses());
+    lastComparison = Boolean.valueOf(isSetNumFalses()).compareTo(other.isSetNumFalses());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetNumFalses()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numFalses, typedOther.numFalses);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numFalses, other.numFalses);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls());
+    lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetNumNulls()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls);
       if (lastComparison != 0) {
         return lastComparison;
       }

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java
index ae34203..a229476 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class CheckLockRequest implements org.apache.thrift.TBase<CheckLockRequest, CheckLockRequest._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class CheckLockRequest implements org.apache.thrift.TBase<CheckLockRequest, CheckLockRequest._Fields>, java.io.Serializable, Cloneable, Comparable<CheckLockRequest> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CheckLockRequest");
 
   private static final org.apache.thrift.protocol.TField LOCKID_FIELD_DESC = new org.apache.thrift.protocol.TField("lockid", org.apache.thrift.protocol.TType.I64, (short)1);
@@ -227,30 +231,30 @@ public class CheckLockRequest implements org.apache.thrift.TBase<CheckLockReques
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_lockid = true;
-    builder.append(present_lockid);
+    list.add(present_lockid);
     if (present_lockid)
-      builder.append(lockid);
+      list.add(lockid);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(CheckLockRequest other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    CheckLockRequest typedOther = (CheckLockRequest)other;
 
-    lastComparison = Boolean.valueOf(isSetLockid()).compareTo(typedOther.isSetLockid());
+    lastComparison = Boolean.valueOf(isSetLockid()).compareTo(other.isSetLockid());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetLockid()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, typedOther.lockid);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, other.lockid);
       if (lastComparison != 0) {
         return lastComparison;
       }

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
index b34619f..fdd96ec 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class ColumnStatistics implements org.apache.thrift.TBase<ColumnStatistics, ColumnStatistics._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class ColumnStatistics implements org.apache.thrift.TBase<ColumnStatistics, ColumnStatistics._Fields>, java.io.Serializable, Cloneable, Comparable<ColumnStatistics> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatistics");
 
   private static final org.apache.thrift.protocol.TField STATS_DESC_FIELD_DESC = new org.apache.thrift.protocol.TField("statsDesc", org.apache.thrift.protocol.TType.STRUCT, (short)1);
@@ -140,7 +144,7 @@ public class ColumnStatistics implements org.apache.thrift.TBase<ColumnStatistic
       this.statsDesc = new ColumnStatisticsDesc(other.statsDesc);
     }
     if (other.isSetStatsObj()) {
-      List<ColumnStatisticsObj> __this__statsObj = new ArrayList<ColumnStatisticsObj>();
+      List<ColumnStatisticsObj> __this__statsObj = new ArrayList<ColumnStatisticsObj>(other.statsObj.size());
       for (ColumnStatisticsObj other_element : other.statsObj) {
         __this__statsObj.add(new ColumnStatisticsObj(other_element));
       }
@@ -303,45 +307,45 @@ public class ColumnStatistics implements org.apache.thrift.TBase<ColumnStatistic
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_statsDesc = true && (isSetStatsDesc());
-    builder.append(present_statsDesc);
+    list.add(present_statsDesc);
     if (present_statsDesc)
-      builder.append(statsDesc);
+      list.add(statsDesc);
 
     boolean present_statsObj = true && (isSetStatsObj());
-    builder.append(present_statsObj);
+    list.add(present_statsObj);
     if (present_statsObj)
-      builder.append(statsObj);
+      list.add(statsObj);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(ColumnStatistics other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    ColumnStatistics typedOther = (ColumnStatistics)other;
 
-    lastComparison = Boolean.valueOf(isSetStatsDesc()).compareTo(typedOther.isSetStatsDesc());
+    lastComparison = Boolean.valueOf(isSetStatsDesc()).compareTo(other.isSetStatsDesc());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetStatsDesc()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsDesc, typedOther.statsDesc);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsDesc, other.statsDesc);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetStatsObj()).compareTo(typedOther.isSetStatsObj());
+    lastComparison = Boolean.valueOf(isSetStatsObj()).compareTo(other.isSetStatsObj());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetStatsObj()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsObj, typedOther.statsObj);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsObj, other.statsObj);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -449,12 +453,12 @@ public class ColumnStatistics implements org.apache.thrift.TBase<ColumnStatistic
               {
                 org.apache.thrift.protocol.TList _list270 = iprot.readListBegin();
                 struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list270.size);
-                for (int _i271 = 0; _i271 < _list270.size; ++_i271)
+                ColumnStatisticsObj _elem271;
+                for (int _i272 = 0; _i272 < _list270.size; ++_i272)
                 {
-                  ColumnStatisticsObj _elem272; // optional
-                  _elem272 = new ColumnStatisticsObj();
-                  _elem272.read(iprot);
-                  struct.statsObj.add(_elem272);
+                  _elem271 = new ColumnStatisticsObj();
+                  _elem271.read(iprot);
+                  struct.statsObj.add(_elem271);
                 }
                 iprot.readListEnd();
               }
@@ -529,12 +533,12 @@ public class ColumnStatistics implements org.apache.thrift.TBase<ColumnStatistic
       {
         org.apache.thrift.protocol.TList _list275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
         struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list275.size);
-        for (int _i276 = 0; _i276 < _list275.size; ++_i276)
+        ColumnStatisticsObj _elem276;
+        for (int _i277 = 0; _i277 < _list275.size; ++_i277)
         {
-          ColumnStatisticsObj _elem277; // optional
-          _elem277 = new ColumnStatisticsObj();
-          _elem277.read(iprot);
-          struct.statsObj.add(_elem277);
+          _elem276 = new ColumnStatisticsObj();
+          _elem276.read(iprot);
+          struct.statsObj.add(_elem276);
         }
       }
       struct.setStatsObjIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java
index 58177e5..6558add 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,9 +29,11 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
 public class ColumnStatisticsData extends org.apache.thrift.TUnion<ColumnStatisticsData, ColumnStatisticsData._Fields> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatisticsData");
   private static final org.apache.thrift.protocol.TField BOOLEAN_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("booleanStats", org.apache.thrift.protocol.TType.STRUCT, (short)1);
@@ -318,6 +321,7 @@ public class ColumnStatisticsData extends org.apache.thrift.TUnion<ColumnStatist
           throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
       }
     } else {
+      org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
       return null;
     }
   }
@@ -636,19 +640,19 @@ public class ColumnStatisticsData extends org.apache.thrift.TUnion<ColumnStatist
 
   @Override
   public int hashCode() {
-    HashCodeBuilder hcb = new HashCodeBuilder();
-    hcb.append(this.getClass().getName());
+    List<Object> list = new ArrayList<Object>();
+    list.add(this.getClass().getName());
     org.apache.thrift.TFieldIdEnum setField = getSetField();
     if (setField != null) {
-      hcb.append(setField.getThriftFieldId());
+      list.add(setField.getThriftFieldId());
       Object value = getFieldValue();
       if (value instanceof org.apache.thrift.TEnum) {
-        hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue());
+        list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue());
       } else {
-        hcb.append(value);
+        list.add(value);
       }
     }
-    return hcb.toHashCode();
+    return list.hashCode();
   }
   private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
     try {

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java
index e951d04..f667bc5 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class ColumnStatisticsDesc implements org.apache.thrift.TBase<ColumnStatisticsDesc, ColumnStatisticsDesc._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class ColumnStatisticsDesc implements org.apache.thrift.TBase<ColumnStatisticsDesc, ColumnStatisticsDesc._Fields>, java.io.Serializable, Cloneable, Comparable<ColumnStatisticsDesc> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatisticsDesc");
 
   private static final org.apache.thrift.protocol.TField IS_TBL_LEVEL_FIELD_DESC = new org.apache.thrift.protocol.TField("isTblLevel", org.apache.thrift.protocol.TType.BOOL, (short)1);
@@ -126,7 +130,7 @@ public class ColumnStatisticsDesc implements org.apache.thrift.TBase<ColumnStati
   private static final int __ISTBLLEVEL_ISSET_ID = 0;
   private static final int __LASTANALYZED_ISSET_ID = 1;
   private byte __isset_bitfield = 0;
-  private _Fields optionals[] = {_Fields.PART_NAME,_Fields.LAST_ANALYZED};
+  private static final _Fields optionals[] = {_Fields.PART_NAME,_Fields.LAST_ANALYZED};
   public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
@@ -455,90 +459,90 @@ public class ColumnStatisticsDesc implements org.apache.thrift.TBase<ColumnStati
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_isTblLevel = true;
-    builder.append(present_isTblLevel);
+    list.add(present_isTblLevel);
     if (present_isTblLevel)
-      builder.append(isTblLevel);
+      list.add(isTblLevel);
 
     boolean present_dbName = true && (isSetDbName());
-    builder.append(present_dbName);
+    list.add(present_dbName);
     if (present_dbName)
-      builder.append(dbName);
+      list.add(dbName);
 
     boolean present_tableName = true && (isSetTableName());
-    builder.append(present_tableName);
+    list.add(present_tableName);
     if (present_tableName)
-      builder.append(tableName);
+      list.add(tableName);
 
     boolean present_partName = true && (isSetPartName());
-    builder.append(present_partName);
+    list.add(present_partName);
     if (present_partName)
-      builder.append(partName);
+      list.add(partName);
 
     boolean present_lastAnalyzed = true && (isSetLastAnalyzed());
-    builder.append(present_lastAnalyzed);
+    list.add(present_lastAnalyzed);
     if (present_lastAnalyzed)
-      builder.append(lastAnalyzed);
+      list.add(lastAnalyzed);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(ColumnStatisticsDesc other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    ColumnStatisticsDesc typedOther = (ColumnStatisticsDesc)other;
 
-    lastComparison = Boolean.valueOf(isSetIsTblLevel()).compareTo(typedOther.isSetIsTblLevel());
+    lastComparison = Boolean.valueOf(isSetIsTblLevel()).compareTo(other.isSetIsTblLevel());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetIsTblLevel()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isTblLevel, typedOther.isTblLevel);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isTblLevel, other.isTblLevel);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName());
+    lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetDbName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
+    lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetTableName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetPartName()).compareTo(typedOther.isSetPartName());
+    lastComparison = Boolean.valueOf(isSetPartName()).compareTo(other.isSetPartName());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetPartName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partName, typedOther.partName);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partName, other.partName);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetLastAnalyzed()).compareTo(typedOther.isSetLastAnalyzed());
+    lastComparison = Boolean.valueOf(isSetLastAnalyzed()).compareTo(other.isSetLastAnalyzed());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetLastAnalyzed()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAnalyzed, typedOther.lastAnalyzed);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAnalyzed, other.lastAnalyzed);
       if (lastComparison != 0) {
         return lastComparison;
       }

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java
index f1257fd..8554ad1 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class ColumnStatisticsObj implements org.apache.thrift.TBase<ColumnStatisticsObj, ColumnStatisticsObj._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class ColumnStatisticsObj implements org.apache.thrift.TBase<ColumnStatisticsObj, ColumnStatisticsObj._Fields>, java.io.Serializable, Cloneable, Comparable<ColumnStatisticsObj> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatisticsObj");
 
   private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("colName", org.apache.thrift.protocol.TType.STRING, (short)1);
@@ -341,60 +345,60 @@ public class ColumnStatisticsObj implements org.apache.thrift.TBase<ColumnStatis
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_colName = true && (isSetColName());
-    builder.append(present_colName);
+    list.add(present_colName);
     if (present_colName)
-      builder.append(colName);
+      list.add(colName);
 
     boolean present_colType = true && (isSetColType());
-    builder.append(present_colType);
+    list.add(present_colType);
     if (present_colType)
-      builder.append(colType);
+      list.add(colType);
 
     boolean present_statsData = true && (isSetStatsData());
-    builder.append(present_statsData);
+    list.add(present_statsData);
     if (present_statsData)
-      builder.append(statsData);
+      list.add(statsData);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(ColumnStatisticsObj other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    ColumnStatisticsObj typedOther = (ColumnStatisticsObj)other;
 
-    lastComparison = Boolean.valueOf(isSetColName()).compareTo(typedOther.isSetColName());
+    lastComparison = Boolean.valueOf(isSetColName()).compareTo(other.isSetColName());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetColName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colName, typedOther.colName);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colName, other.colName);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetColType()).compareTo(typedOther.isSetColType());
+    lastComparison = Boolean.valueOf(isSetColType()).compareTo(other.isSetColType());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetColType()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colType, typedOther.colType);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colType, other.colType);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetStatsData()).compareTo(typedOther.isSetStatsData());
+    lastComparison = Boolean.valueOf(isSetStatsData()).compareTo(other.isSetStatsData());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetStatsData()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsData, typedOther.statsData);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsData, other.statsData);
       if (lastComparison != 0) {
         return lastComparison;
       }

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java
index aeb2421..48c912a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java
@@ -1,12 +1,11 @@
 /**
- * Autogenerated by Thrift Compiler (0.9.0)
+ * Autogenerated by Thrift Compiler (0.9.2)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
  */
 package org.apache.hadoop.hive.metastore.api;
 
-import org.apache.commons.lang.builder.HashCodeBuilder;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
@@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol;
 import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -28,10 +29,13 @@ import java.util.Collections;
 import java.util.BitSet;
 import java.nio.ByteBuffer;
 import java.util.Arrays;
+import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class CommitTxnRequest implements org.apache.thrift.TBase<CommitTxnRequest, CommitTxnRequest._Fields>, java.io.Serializable, Cloneable {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-14")
+public class CommitTxnRequest implements org.apache.thrift.TBase<CommitTxnRequest, CommitTxnRequest._Fields>, java.io.Serializable, Cloneable, Comparable<CommitTxnRequest> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CommitTxnRequest");
 
   private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1);
@@ -227,30 +231,30 @@ public class CommitTxnRequest implements org.apache.thrift.TBase<CommitTxnReques
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_txnid = true;
-    builder.append(present_txnid);
+    list.add(present_txnid);
     if (present_txnid)
-      builder.append(txnid);
+      list.add(txnid);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(CommitTxnRequest other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    CommitTxnRequest typedOther = (CommitTxnRequest)other;
 
-    lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid());
+    lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetTxnid()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid);
       if (lastComparison != 0) {
         return lastComparison;
       }