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:29 UTC

[37/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/NotificationEventResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
index 0123e87..b988463 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.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 NotificationEventResponse implements org.apache.thrift.TBase<NotificationEventResponse, NotificationEventResponse._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 NotificationEventResponse implements org.apache.thrift.TBase<NotificationEventResponse, NotificationEventResponse._Fields>, java.io.Serializable, Cloneable, Comparable<NotificationEventResponse> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotificationEventResponse");
 
   private static final org.apache.thrift.protocol.TField EVENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("events", org.apache.thrift.protocol.TType.LIST, (short)1);
@@ -128,7 +132,7 @@ public class NotificationEventResponse implements org.apache.thrift.TBase<Notifi
    */
   public NotificationEventResponse(NotificationEventResponse other) {
     if (other.isSetEvents()) {
-      List<NotificationEvent> __this__events = new ArrayList<NotificationEvent>();
+      List<NotificationEvent> __this__events = new ArrayList<NotificationEvent>(other.events.size());
       for (NotificationEvent other_element : other.events) {
         __this__events.add(new NotificationEvent(other_element));
       }
@@ -245,30 +249,30 @@ public class NotificationEventResponse implements org.apache.thrift.TBase<Notifi
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_events = true && (isSetEvents());
-    builder.append(present_events);
+    list.add(present_events);
     if (present_events)
-      builder.append(events);
+      list.add(events);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(NotificationEventResponse other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    NotificationEventResponse typedOther = (NotificationEventResponse)other;
 
-    lastComparison = Boolean.valueOf(isSetEvents()).compareTo(typedOther.isSetEvents());
+    lastComparison = Boolean.valueOf(isSetEvents()).compareTo(other.isSetEvents());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetEvents()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.events, typedOther.events);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.events, other.events);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -352,12 +356,12 @@ public class NotificationEventResponse implements org.apache.thrift.TBase<Notifi
               {
                 org.apache.thrift.protocol.TList _list500 = iprot.readListBegin();
                 struct.events = new ArrayList<NotificationEvent>(_list500.size);
-                for (int _i501 = 0; _i501 < _list500.size; ++_i501)
+                NotificationEvent _elem501;
+                for (int _i502 = 0; _i502 < _list500.size; ++_i502)
                 {
-                  NotificationEvent _elem502; // optional
-                  _elem502 = new NotificationEvent();
-                  _elem502.read(iprot);
-                  struct.events.add(_elem502);
+                  _elem501 = new NotificationEvent();
+                  _elem501.read(iprot);
+                  struct.events.add(_elem501);
                 }
                 iprot.readListEnd();
               }
@@ -423,12 +427,12 @@ public class NotificationEventResponse implements org.apache.thrift.TBase<Notifi
       {
         org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
         struct.events = new ArrayList<NotificationEvent>(_list505.size);
-        for (int _i506 = 0; _i506 < _list505.size; ++_i506)
+        NotificationEvent _elem506;
+        for (int _i507 = 0; _i507 < _list505.size; ++_i507)
         {
-          NotificationEvent _elem507; // optional
-          _elem507 = new NotificationEvent();
-          _elem507.read(iprot);
-          struct.events.add(_elem507);
+          _elem506 = new NotificationEvent();
+          _elem506.read(iprot);
+          struct.events.add(_elem506);
         }
       }
       struct.setEventsIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java
index 0d05378..c7990a6 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.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 OpenTxnRequest implements org.apache.thrift.TBase<OpenTxnRequest, OpenTxnRequest._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 OpenTxnRequest implements org.apache.thrift.TBase<OpenTxnRequest, OpenTxnRequest._Fields>, java.io.Serializable, Cloneable, Comparable<OpenTxnRequest> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OpenTxnRequest");
 
   private static final org.apache.thrift.protocol.TField NUM_TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("num_txns", org.apache.thrift.protocol.TType.I32, (short)1);
@@ -343,60 +347,60 @@ public class OpenTxnRequest implements org.apache.thrift.TBase<OpenTxnRequest, O
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_num_txns = true;
-    builder.append(present_num_txns);
+    list.add(present_num_txns);
     if (present_num_txns)
-      builder.append(num_txns);
+      list.add(num_txns);
 
     boolean present_user = true && (isSetUser());
-    builder.append(present_user);
+    list.add(present_user);
     if (present_user)
-      builder.append(user);
+      list.add(user);
 
     boolean present_hostname = true && (isSetHostname());
-    builder.append(present_hostname);
+    list.add(present_hostname);
     if (present_hostname)
-      builder.append(hostname);
+      list.add(hostname);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(OpenTxnRequest other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    OpenTxnRequest typedOther = (OpenTxnRequest)other;
 
-    lastComparison = Boolean.valueOf(isSetNum_txns()).compareTo(typedOther.isSetNum_txns());
+    lastComparison = Boolean.valueOf(isSetNum_txns()).compareTo(other.isSetNum_txns());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetNum_txns()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_txns, typedOther.num_txns);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_txns, other.num_txns);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetUser()).compareTo(typedOther.isSetUser());
+    lastComparison = Boolean.valueOf(isSetUser()).compareTo(other.isSetUser());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetUser()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, typedOther.user);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, other.user);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetHostname()).compareTo(typedOther.isSetHostname());
+    lastComparison = Boolean.valueOf(isSetHostname()).compareTo(other.isSetHostname());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetHostname()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, typedOther.hostname);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, other.hostname);
       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/OpenTxnsResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
index f5efbe3..d90fdec 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.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 OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsResponse, OpenTxnsResponse._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 OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsResponse, OpenTxnsResponse._Fields>, java.io.Serializable, Cloneable, Comparable<OpenTxnsResponse> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OpenTxnsResponse");
 
   private static final org.apache.thrift.protocol.TField TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("txn_ids", org.apache.thrift.protocol.TType.LIST, (short)1);
@@ -128,10 +132,7 @@ public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsRespons
    */
   public OpenTxnsResponse(OpenTxnsResponse other) {
     if (other.isSetTxn_ids()) {
-      List<Long> __this__txn_ids = new ArrayList<Long>();
-      for (Long other_element : other.txn_ids) {
-        __this__txn_ids.add(other_element);
-      }
+      List<Long> __this__txn_ids = new ArrayList<Long>(other.txn_ids);
       this.txn_ids = __this__txn_ids;
     }
   }
@@ -245,30 +246,30 @@ public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsRespons
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_txn_ids = true && (isSetTxn_ids());
-    builder.append(present_txn_ids);
+    list.add(present_txn_ids);
     if (present_txn_ids)
-      builder.append(txn_ids);
+      list.add(txn_ids);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(OpenTxnsResponse other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    OpenTxnsResponse typedOther = (OpenTxnsResponse)other;
 
-    lastComparison = Boolean.valueOf(isSetTxn_ids()).compareTo(typedOther.isSetTxn_ids());
+    lastComparison = Boolean.valueOf(isSetTxn_ids()).compareTo(other.isSetTxn_ids());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetTxn_ids()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_ids, typedOther.txn_ids);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_ids, other.txn_ids);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -352,11 +353,11 @@ public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsRespons
               {
                 org.apache.thrift.protocol.TList _list444 = iprot.readListBegin();
                 struct.txn_ids = new ArrayList<Long>(_list444.size);
-                for (int _i445 = 0; _i445 < _list444.size; ++_i445)
+                long _elem445;
+                for (int _i446 = 0; _i446 < _list444.size; ++_i446)
                 {
-                  long _elem446; // optional
-                  _elem446 = iprot.readI64();
-                  struct.txn_ids.add(_elem446);
+                  _elem445 = iprot.readI64();
+                  struct.txn_ids.add(_elem445);
                 }
                 iprot.readListEnd();
               }
@@ -422,11 +423,11 @@ public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsRespons
       {
         org.apache.thrift.protocol.TList _list449 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
         struct.txn_ids = new ArrayList<Long>(_list449.size);
-        for (int _i450 = 0; _i450 < _list449.size; ++_i450)
+        long _elem450;
+        for (int _i451 = 0; _i451 < _list449.size; ++_i451)
         {
-          long _elem451; // optional
-          _elem451 = iprot.readI64();
-          struct.txn_ids.add(_elem451);
+          _elem450 = iprot.readI64();
+          struct.txn_ids.add(_elem450);
         }
       }
       struct.setTxn_idsIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
index 55d5174..7e906ae 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.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 Order implements org.apache.thrift.TBase<Order, Order._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 Order implements org.apache.thrift.TBase<Order, Order._Fields>, java.io.Serializable, Cloneable, Comparable<Order> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Order");
 
   private static final org.apache.thrift.protocol.TField COL_FIELD_DESC = new org.apache.thrift.protocol.TField("col", org.apache.thrift.protocol.TType.STRING, (short)1);
@@ -285,45 +289,45 @@ public class Order implements org.apache.thrift.TBase<Order, Order._Fields>, jav
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_col = true && (isSetCol());
-    builder.append(present_col);
+    list.add(present_col);
     if (present_col)
-      builder.append(col);
+      list.add(col);
 
     boolean present_order = true;
-    builder.append(present_order);
+    list.add(present_order);
     if (present_order)
-      builder.append(order);
+      list.add(order);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(Order other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    Order typedOther = (Order)other;
 
-    lastComparison = Boolean.valueOf(isSetCol()).compareTo(typedOther.isSetCol());
+    lastComparison = Boolean.valueOf(isSetCol()).compareTo(other.isSetCol());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetCol()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col, typedOther.col);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col, other.col);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetOrder()).compareTo(typedOther.isSetOrder());
+    lastComparison = Boolean.valueOf(isSetOrder()).compareTo(other.isSetOrder());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetOrder()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order, typedOther.order);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order, other.order);
       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/Partition.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
index 7d29d09..74a50ab 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.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 Partition implements org.apache.thrift.TBase<Partition, Partition._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 Partition implements org.apache.thrift.TBase<Partition, Partition._Fields>, java.io.Serializable, Cloneable, Comparable<Partition> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Partition");
 
   private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
@@ -141,7 +145,7 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
   private static final int __CREATETIME_ISSET_ID = 0;
   private static final int __LASTACCESSTIME_ISSET_ID = 1;
   private byte __isset_bitfield = 0;
-  private _Fields optionals[] = {_Fields.PRIVILEGES};
+  private static final _Fields optionals[] = {_Fields.PRIVILEGES};
   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);
@@ -182,14 +186,14 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
   {
     this();
     this.values = values;
-    this.dbName = dbName;
-    this.tableName = tableName;
+    this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(dbName);
+    this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(tableName);
     this.createTime = createTime;
     setCreateTimeIsSet(true);
     this.lastAccessTime = lastAccessTime;
     setLastAccessTimeIsSet(true);
     this.sd = sd;
-    this.parameters = parameters;
+    this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters);
   }
 
   /**
@@ -198,17 +202,14 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
   public Partition(Partition other) {
     __isset_bitfield = other.__isset_bitfield;
     if (other.isSetValues()) {
-      List<String> __this__values = new ArrayList<String>();
-      for (String other_element : other.values) {
-        __this__values.add(other_element);
-      }
+      List<String> __this__values = new ArrayList<String>(other.values);
       this.values = __this__values;
     }
     if (other.isSetDbName()) {
-      this.dbName = other.dbName;
+      this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(other.dbName);
     }
     if (other.isSetTableName()) {
-      this.tableName = other.tableName;
+      this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(other.tableName);
     }
     this.createTime = other.createTime;
     this.lastAccessTime = other.lastAccessTime;
@@ -216,18 +217,7 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
       this.sd = new StorageDescriptor(other.sd);
     }
     if (other.isSetParameters()) {
-      Map<String,String> __this__parameters = new HashMap<String,String>();
-      for (Map.Entry<String, String> other_element : other.parameters.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        String other_element_value = other_element.getValue();
-
-        String __this__parameters_copy_key = other_element_key;
-
-        String __this__parameters_copy_value = other_element_value;
-
-        __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value);
-      }
+      Map<String,String> __this__parameters = new HashMap<String,String>(other.parameters);
       this.parameters = __this__parameters;
     }
     if (other.isSetPrivileges()) {
@@ -296,7 +286,7 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
   }
 
   public void setDbName(String dbName) {
-    this.dbName = dbName;
+    this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(dbName);
   }
 
   public void unsetDbName() {
@@ -319,7 +309,7 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
   }
 
   public void setTableName(String tableName) {
-    this.tableName = tableName;
+    this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(tableName);
   }
 
   public void unsetTableName() {
@@ -420,7 +410,7 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
   }
 
   public void setParameters(Map<String,String> parameters) {
-    this.parameters = parameters;
+    this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters);
   }
 
   public void unsetParameters() {
@@ -677,135 +667,135 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_values = true && (isSetValues());
-    builder.append(present_values);
+    list.add(present_values);
     if (present_values)
-      builder.append(values);
+      list.add(values);
 
     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_createTime = true;
-    builder.append(present_createTime);
+    list.add(present_createTime);
     if (present_createTime)
-      builder.append(createTime);
+      list.add(createTime);
 
     boolean present_lastAccessTime = true;
-    builder.append(present_lastAccessTime);
+    list.add(present_lastAccessTime);
     if (present_lastAccessTime)
-      builder.append(lastAccessTime);
+      list.add(lastAccessTime);
 
     boolean present_sd = true && (isSetSd());
-    builder.append(present_sd);
+    list.add(present_sd);
     if (present_sd)
-      builder.append(sd);
+      list.add(sd);
 
     boolean present_parameters = true && (isSetParameters());
-    builder.append(present_parameters);
+    list.add(present_parameters);
     if (present_parameters)
-      builder.append(parameters);
+      list.add(parameters);
 
     boolean present_privileges = true && (isSetPrivileges());
-    builder.append(present_privileges);
+    list.add(present_privileges);
     if (present_privileges)
-      builder.append(privileges);
+      list.add(privileges);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(Partition other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    Partition typedOther = (Partition)other;
 
-    lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
+    lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetValues()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
       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(isSetCreateTime()).compareTo(typedOther.isSetCreateTime());
+    lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetCreateTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(typedOther.isSetLastAccessTime());
+    lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(other.isSetLastAccessTime());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetLastAccessTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, typedOther.lastAccessTime);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, other.lastAccessTime);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetSd()).compareTo(typedOther.isSetSd());
+    lastComparison = Boolean.valueOf(isSetSd()).compareTo(other.isSetSd());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetSd()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, typedOther.sd);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, other.sd);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters());
+    lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetParameters()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges());
+    lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetPrivileges()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -943,11 +933,11 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
               {
                 org.apache.thrift.protocol.TList _list208 = iprot.readListBegin();
                 struct.values = new ArrayList<String>(_list208.size);
-                for (int _i209 = 0; _i209 < _list208.size; ++_i209)
+                String _elem209;
+                for (int _i210 = 0; _i210 < _list208.size; ++_i210)
                 {
-                  String _elem210; // optional
-                  _elem210 = iprot.readString();
-                  struct.values.add(_elem210);
+                  _elem209 = iprot.readString();
+                  struct.values.add(_elem209);
                 }
                 iprot.readListEnd();
               }
@@ -1002,13 +992,13 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
               {
                 org.apache.thrift.protocol.TMap _map211 = iprot.readMapBegin();
                 struct.parameters = new HashMap<String,String>(2*_map211.size);
-                for (int _i212 = 0; _i212 < _map211.size; ++_i212)
+                String _key212;
+                String _val213;
+                for (int _i214 = 0; _i214 < _map211.size; ++_i214)
                 {
-                  String _key213; // required
-                  String _val214; // required
-                  _key213 = iprot.readString();
-                  _val214 = iprot.readString();
-                  struct.parameters.put(_key213, _val214);
+                  _key212 = iprot.readString();
+                  _val213 = iprot.readString();
+                  struct.parameters.put(_key212, _val213);
                 }
                 iprot.readMapEnd();
               }
@@ -1182,11 +1172,11 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
         {
           org.apache.thrift.protocol.TList _list219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
           struct.values = new ArrayList<String>(_list219.size);
-          for (int _i220 = 0; _i220 < _list219.size; ++_i220)
+          String _elem220;
+          for (int _i221 = 0; _i221 < _list219.size; ++_i221)
           {
-            String _elem221; // optional
-            _elem221 = iprot.readString();
-            struct.values.add(_elem221);
+            _elem220 = iprot.readString();
+            struct.values.add(_elem220);
           }
         }
         struct.setValuesIsSet(true);
@@ -1216,13 +1206,13 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
         {
           org.apache.thrift.protocol.TMap _map222 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
           struct.parameters = new HashMap<String,String>(2*_map222.size);
-          for (int _i223 = 0; _i223 < _map222.size; ++_i223)
+          String _key223;
+          String _val224;
+          for (int _i225 = 0; _i225 < _map222.size; ++_i225)
           {
-            String _key224; // required
-            String _val225; // required
-            _key224 = iprot.readString();
-            _val225 = iprot.readString();
-            struct.parameters.put(_key224, _val225);
+            _key223 = iprot.readString();
+            _val224 = iprot.readString();
+            struct.parameters.put(_key223, _val224);
           }
         }
         struct.setParametersIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java
index 6c75461..40bdb56 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java
@@ -1,5 +1,5 @@
 /**
- * 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

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
index bcd92b8..71d42f8 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.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 PartitionListComposingSpec implements org.apache.thrift.TBase<PartitionListComposingSpec, PartitionListComposingSpec._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 PartitionListComposingSpec implements org.apache.thrift.TBase<PartitionListComposingSpec, PartitionListComposingSpec._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionListComposingSpec> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionListComposingSpec");
 
   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);
@@ -128,7 +132,7 @@ public class PartitionListComposingSpec implements org.apache.thrift.TBase<Parti
    */
   public PartitionListComposingSpec(PartitionListComposingSpec 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));
       }
@@ -245,30 +249,30 @@ public class PartitionListComposingSpec implements org.apache.thrift.TBase<Parti
 
   @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(PartitionListComposingSpec other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    PartitionListComposingSpec typedOther = (PartitionListComposingSpec)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;
       }
@@ -348,12 +352,12 @@ public class PartitionListComposingSpec implements org.apache.thrift.TBase<Parti
               {
                 org.apache.thrift.protocol.TList _list252 = iprot.readListBegin();
                 struct.partitions = new ArrayList<Partition>(_list252.size);
-                for (int _i253 = 0; _i253 < _list252.size; ++_i253)
+                Partition _elem253;
+                for (int _i254 = 0; _i254 < _list252.size; ++_i254)
                 {
-                  Partition _elem254; // optional
-                  _elem254 = new Partition();
-                  _elem254.read(iprot);
-                  struct.partitions.add(_elem254);
+                  _elem253 = new Partition();
+                  _elem253.read(iprot);
+                  struct.partitions.add(_elem253);
                 }
                 iprot.readListEnd();
               }
@@ -428,12 +432,12 @@ public class PartitionListComposingSpec implements org.apache.thrift.TBase<Parti
         {
           org.apache.thrift.protocol.TList _list257 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
           struct.partitions = new ArrayList<Partition>(_list257.size);
-          for (int _i258 = 0; _i258 < _list257.size; ++_i258)
+          Partition _elem258;
+          for (int _i259 = 0; _i259 < _list257.size; ++_i259)
           {
-            Partition _elem259; // optional
-            _elem259 = new Partition();
-            _elem259.read(iprot);
-            struct.partitions.add(_elem259);
+            _elem258 = new Partition();
+            _elem258.read(iprot);
+            struct.partitions.add(_elem258);
           }
         }
         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/PartitionSpec.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java
index 06cc8fb..c5e2c34 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.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 PartitionSpec implements org.apache.thrift.TBase<PartitionSpec, PartitionSpec._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 PartitionSpec implements org.apache.thrift.TBase<PartitionSpec, PartitionSpec._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionSpec> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionSpec");
 
   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);
@@ -123,7 +127,7 @@ public class PartitionSpec implements org.apache.thrift.TBase<PartitionSpec, Par
   }
 
   // isset id assignments
-  private _Fields optionals[] = {_Fields.SHARED_SDPARTITION_SPEC,_Fields.PARTITION_LIST};
+  private static final _Fields optionals[] = {_Fields.SHARED_SDPARTITION_SPEC,_Fields.PARTITION_LIST};
   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);
@@ -454,90 +458,90 @@ public class PartitionSpec implements org.apache.thrift.TBase<PartitionSpec, Par
 
   @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_tableName = true && (isSetTableName());
-    builder.append(present_tableName);
+    list.add(present_tableName);
     if (present_tableName)
-      builder.append(tableName);
+      list.add(tableName);
 
     boolean present_rootPath = true && (isSetRootPath());
-    builder.append(present_rootPath);
+    list.add(present_rootPath);
     if (present_rootPath)
-      builder.append(rootPath);
+      list.add(rootPath);
 
     boolean present_sharedSDPartitionSpec = true && (isSetSharedSDPartitionSpec());
-    builder.append(present_sharedSDPartitionSpec);
+    list.add(present_sharedSDPartitionSpec);
     if (present_sharedSDPartitionSpec)
-      builder.append(sharedSDPartitionSpec);
+      list.add(sharedSDPartitionSpec);
 
     boolean present_partitionList = true && (isSetPartitionList());
-    builder.append(present_partitionList);
+    list.add(present_partitionList);
     if (present_partitionList)
-      builder.append(partitionList);
+      list.add(partitionList);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(PartitionSpec other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    PartitionSpec typedOther = (PartitionSpec)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(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(isSetRootPath()).compareTo(typedOther.isSetRootPath());
+    lastComparison = Boolean.valueOf(isSetRootPath()).compareTo(other.isSetRootPath());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetRootPath()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rootPath, typedOther.rootPath);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rootPath, other.rootPath);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetSharedSDPartitionSpec()).compareTo(typedOther.isSetSharedSDPartitionSpec());
+    lastComparison = Boolean.valueOf(isSetSharedSDPartitionSpec()).compareTo(other.isSetSharedSDPartitionSpec());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetSharedSDPartitionSpec()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sharedSDPartitionSpec, typedOther.sharedSDPartitionSpec);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sharedSDPartitionSpec, other.sharedSDPartitionSpec);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetPartitionList()).compareTo(typedOther.isSetPartitionList());
+    lastComparison = Boolean.valueOf(isSetPartitionList()).compareTo(other.isSetPartitionList());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetPartitionList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionList, typedOther.partitionList);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionList, other.partitionList);
       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/PartitionSpecWithSharedSD.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
index 18ab134..eebdd1d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.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 PartitionSpecWithSharedSD implements org.apache.thrift.TBase<PartitionSpecWithSharedSD, PartitionSpecWithSharedSD._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 PartitionSpecWithSharedSD implements org.apache.thrift.TBase<PartitionSpecWithSharedSD, PartitionSpecWithSharedSD._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionSpecWithSharedSD> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionSpecWithSharedSD");
 
   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);
@@ -137,7 +141,7 @@ public class PartitionSpecWithSharedSD implements org.apache.thrift.TBase<Partit
    */
   public PartitionSpecWithSharedSD(PartitionSpecWithSharedSD other) {
     if (other.isSetPartitions()) {
-      List<PartitionWithoutSD> __this__partitions = new ArrayList<PartitionWithoutSD>();
+      List<PartitionWithoutSD> __this__partitions = new ArrayList<PartitionWithoutSD>(other.partitions.size());
       for (PartitionWithoutSD other_element : other.partitions) {
         __this__partitions.add(new PartitionWithoutSD(other_element));
       }
@@ -303,45 +307,45 @@ public class PartitionSpecWithSharedSD implements org.apache.thrift.TBase<Partit
 
   @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);
 
     boolean present_sd = true && (isSetSd());
-    builder.append(present_sd);
+    list.add(present_sd);
     if (present_sd)
-      builder.append(sd);
+      list.add(sd);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(PartitionSpecWithSharedSD other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    PartitionSpecWithSharedSD typedOther = (PartitionSpecWithSharedSD)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;
       }
     }
-    lastComparison = Boolean.valueOf(isSetSd()).compareTo(typedOther.isSetSd());
+    lastComparison = Boolean.valueOf(isSetSd()).compareTo(other.isSetSd());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetSd()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, typedOther.sd);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, other.sd);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -432,12 +436,12 @@ public class PartitionSpecWithSharedSD implements org.apache.thrift.TBase<Partit
               {
                 org.apache.thrift.protocol.TList _list244 = iprot.readListBegin();
                 struct.partitions = new ArrayList<PartitionWithoutSD>(_list244.size);
-                for (int _i245 = 0; _i245 < _list244.size; ++_i245)
+                PartitionWithoutSD _elem245;
+                for (int _i246 = 0; _i246 < _list244.size; ++_i246)
                 {
-                  PartitionWithoutSD _elem246; // optional
-                  _elem246 = new PartitionWithoutSD();
-                  _elem246.read(iprot);
-                  struct.partitions.add(_elem246);
+                  _elem245 = new PartitionWithoutSD();
+                  _elem245.read(iprot);
+                  struct.partitions.add(_elem245);
                 }
                 iprot.readListEnd();
               }
@@ -532,12 +536,12 @@ public class PartitionSpecWithSharedSD implements org.apache.thrift.TBase<Partit
         {
           org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
           struct.partitions = new ArrayList<PartitionWithoutSD>(_list249.size);
-          for (int _i250 = 0; _i250 < _list249.size; ++_i250)
+          PartitionWithoutSD _elem250;
+          for (int _i251 = 0; _i251 < _list249.size; ++_i251)
           {
-            PartitionWithoutSD _elem251; // optional
-            _elem251 = new PartitionWithoutSD();
-            _elem251.read(iprot);
-            struct.partitions.add(_elem251);
+            _elem250 = new PartitionWithoutSD();
+            _elem250.read(iprot);
+            struct.partitions.add(_elem250);
           }
         }
         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/PartitionWithoutSD.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
index 193d9e9..d69547d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.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 PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWithoutSD, PartitionWithoutSD._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 PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWithoutSD, PartitionWithoutSD._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionWithoutSD> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionWithoutSD");
 
   private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1);
@@ -131,7 +135,7 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
   private static final int __CREATETIME_ISSET_ID = 0;
   private static final int __LASTACCESSTIME_ISSET_ID = 1;
   private byte __isset_bitfield = 0;
-  private _Fields optionals[] = {_Fields.PRIVILEGES};
+  private static final _Fields optionals[] = {_Fields.PRIVILEGES};
   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);
@@ -180,10 +184,7 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
   public PartitionWithoutSD(PartitionWithoutSD other) {
     __isset_bitfield = other.__isset_bitfield;
     if (other.isSetValues()) {
-      List<String> __this__values = new ArrayList<String>();
-      for (String other_element : other.values) {
-        __this__values.add(other_element);
-      }
+      List<String> __this__values = new ArrayList<String>(other.values);
       this.values = __this__values;
     }
     this.createTime = other.createTime;
@@ -192,18 +193,7 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
       this.relativePath = other.relativePath;
     }
     if (other.isSetParameters()) {
-      Map<String,String> __this__parameters = new HashMap<String,String>();
-      for (Map.Entry<String, String> other_element : other.parameters.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        String other_element_value = other_element.getValue();
-
-        String __this__parameters_copy_key = other_element_key;
-
-        String __this__parameters_copy_value = other_element_value;
-
-        __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value);
-      }
+      Map<String,String> __this__parameters = new HashMap<String,String>(other.parameters);
       this.parameters = __this__parameters;
     }
     if (other.isSetPrivileges()) {
@@ -561,105 +551,105 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
 
   @Override
   public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
+    List<Object> list = new ArrayList<Object>();
 
     boolean present_values = true && (isSetValues());
-    builder.append(present_values);
+    list.add(present_values);
     if (present_values)
-      builder.append(values);
+      list.add(values);
 
     boolean present_createTime = true;
-    builder.append(present_createTime);
+    list.add(present_createTime);
     if (present_createTime)
-      builder.append(createTime);
+      list.add(createTime);
 
     boolean present_lastAccessTime = true;
-    builder.append(present_lastAccessTime);
+    list.add(present_lastAccessTime);
     if (present_lastAccessTime)
-      builder.append(lastAccessTime);
+      list.add(lastAccessTime);
 
     boolean present_relativePath = true && (isSetRelativePath());
-    builder.append(present_relativePath);
+    list.add(present_relativePath);
     if (present_relativePath)
-      builder.append(relativePath);
+      list.add(relativePath);
 
     boolean present_parameters = true && (isSetParameters());
-    builder.append(present_parameters);
+    list.add(present_parameters);
     if (present_parameters)
-      builder.append(parameters);
+      list.add(parameters);
 
     boolean present_privileges = true && (isSetPrivileges());
-    builder.append(present_privileges);
+    list.add(present_privileges);
     if (present_privileges)
-      builder.append(privileges);
+      list.add(privileges);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(PartitionWithoutSD other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    PartitionWithoutSD typedOther = (PartitionWithoutSD)other;
 
-    lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
+    lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetValues()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime());
+    lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetCreateTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(typedOther.isSetLastAccessTime());
+    lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(other.isSetLastAccessTime());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetLastAccessTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, typedOther.lastAccessTime);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, other.lastAccessTime);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetRelativePath()).compareTo(typedOther.isSetRelativePath());
+    lastComparison = Boolean.valueOf(isSetRelativePath()).compareTo(other.isSetRelativePath());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetRelativePath()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.relativePath, typedOther.relativePath);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.relativePath, other.relativePath);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters());
+    lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetParameters()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges());
+    lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetPrivileges()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -778,11 +768,11 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
               {
                 org.apache.thrift.protocol.TList _list226 = iprot.readListBegin();
                 struct.values = new ArrayList<String>(_list226.size);
-                for (int _i227 = 0; _i227 < _list226.size; ++_i227)
+                String _elem227;
+                for (int _i228 = 0; _i228 < _list226.size; ++_i228)
                 {
-                  String _elem228; // optional
-                  _elem228 = iprot.readString();
-                  struct.values.add(_elem228);
+                  _elem227 = iprot.readString();
+                  struct.values.add(_elem227);
                 }
                 iprot.readListEnd();
               }
@@ -820,13 +810,13 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
               {
                 org.apache.thrift.protocol.TMap _map229 = iprot.readMapBegin();
                 struct.parameters = new HashMap<String,String>(2*_map229.size);
-                for (int _i230 = 0; _i230 < _map229.size; ++_i230)
+                String _key230;
+                String _val231;
+                for (int _i232 = 0; _i232 < _map229.size; ++_i232)
                 {
-                  String _key231; // required
-                  String _val232; // required
-                  _key231 = iprot.readString();
-                  _val232 = iprot.readString();
-                  struct.parameters.put(_key231, _val232);
+                  _key230 = iprot.readString();
+                  _val231 = iprot.readString();
+                  struct.parameters.put(_key230, _val231);
                 }
                 iprot.readMapEnd();
               }
@@ -978,11 +968,11 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
         {
           org.apache.thrift.protocol.TList _list237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
           struct.values = new ArrayList<String>(_list237.size);
-          for (int _i238 = 0; _i238 < _list237.size; ++_i238)
+          String _elem238;
+          for (int _i239 = 0; _i239 < _list237.size; ++_i239)
           {
-            String _elem239; // optional
-            _elem239 = iprot.readString();
-            struct.values.add(_elem239);
+            _elem238 = iprot.readString();
+            struct.values.add(_elem238);
           }
         }
         struct.setValuesIsSet(true);
@@ -1003,13 +993,13 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
         {
           org.apache.thrift.protocol.TMap _map240 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
           struct.parameters = new HashMap<String,String>(2*_map240.size);
-          for (int _i241 = 0; _i241 < _map240.size; ++_i241)
+          String _key241;
+          String _val242;
+          for (int _i243 = 0; _i243 < _map240.size; ++_i243)
           {
-            String _key242; // required
-            String _val243; // required
-            _key242 = iprot.readString();
-            _val243 = iprot.readString();
-            struct.parameters.put(_key242, _val243);
+            _key241 = iprot.readString();
+            _val242 = iprot.readString();
+            struct.parameters.put(_key241, _val242);
           }
         }
         struct.setParametersIsSet(true);

http://git-wip-us.apache.org/repos/asf/hive/blob/42216997/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java
index c6fa8a2..7fd485e 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.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 PartitionsByExprRequest implements org.apache.thrift.TBase<PartitionsByExprRequest, PartitionsByExprRequest._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 PartitionsByExprRequest implements org.apache.thrift.TBase<PartitionsByExprRequest, PartitionsByExprRequest._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionsByExprRequest> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsByExprRequest");
 
   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);
@@ -125,7 +129,7 @@ public class PartitionsByExprRequest implements org.apache.thrift.TBase<Partitio
   // isset id assignments
   private static final int __MAXPARTS_ISSET_ID = 0;
   private byte __isset_bitfield = 0;
-  private _Fields optionals[] = {_Fields.DEFAULT_PARTITION_NAME,_Fields.MAX_PARTS};
+  private static final _Fields optionals[] = {_Fields.DEFAULT_PARTITION_NAME,_Fields.MAX_PARTS};
   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);
@@ -156,7 +160,7 @@ public class PartitionsByExprRequest implements org.apache.thrift.TBase<Partitio
     this();
     this.dbName = dbName;
     this.tblName = tblName;
-    this.expr = expr;
+    this.expr = org.apache.thrift.TBaseHelper.copyBinary(expr);
   }
 
   /**
@@ -172,7 +176,6 @@ public class PartitionsByExprRequest implements org.apache.thrift.TBase<Partitio
     }
     if (other.isSetExpr()) {
       this.expr = org.apache.thrift.TBaseHelper.copyBinary(other.expr);
-;
     }
     if (other.isSetDefaultPartitionName()) {
       this.defaultPartitionName = other.defaultPartitionName;
@@ -246,15 +249,15 @@ public class PartitionsByExprRequest implements org.apache.thrift.TBase<Partitio
   }
 
   public ByteBuffer bufferForExpr() {
-    return expr;
+    return org.apache.thrift.TBaseHelper.copyBinary(expr);
   }
 
   public void setExpr(byte[] expr) {
-    setExpr(expr == null ? (ByteBuffer)null : ByteBuffer.wrap(expr));
+    this.expr = expr == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(expr, expr.length));
   }
 
   public void setExpr(ByteBuffer expr) {
-    this.expr = expr;
+    this.expr = org.apache.thrift.TBaseHelper.copyBinary(expr);
   }
 
   public void unsetExpr() {
@@ -467,90 +470,90 @@ public class PartitionsByExprRequest implements org.apache.thrift.TBase<Partitio
 
   @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_expr = true && (isSetExpr());
-    builder.append(present_expr);
+    list.add(present_expr);
     if (present_expr)
-      builder.append(expr);
+      list.add(expr);
 
     boolean present_defaultPartitionName = true && (isSetDefaultPartitionName());
-    builder.append(present_defaultPartitionName);
+    list.add(present_defaultPartitionName);
     if (present_defaultPartitionName)
-      builder.append(defaultPartitionName);
+      list.add(defaultPartitionName);
 
     boolean present_maxParts = true && (isSetMaxParts());
-    builder.append(present_maxParts);
+    list.add(present_maxParts);
     if (present_maxParts)
-      builder.append(maxParts);
+      list.add(maxParts);
 
-    return builder.toHashCode();
+    return list.hashCode();
   }
 
+  @Override
   public int compareTo(PartitionsByExprRequest other) {
     if (!getClass().equals(other.getClass())) {
       return getClass().getName().compareTo(other.getClass().getName());
     }
 
     int lastComparison = 0;
-    PartitionsByExprRequest typedOther = (PartitionsByExprRequest)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(isSetExpr()).compareTo(typedOther.isSetExpr());
+    lastComparison = Boolean.valueOf(isSetExpr()).compareTo(other.isSetExpr());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetExpr()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expr, typedOther.expr);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expr, other.expr);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetDefaultPartitionName()).compareTo(typedOther.isSetDefaultPartitionName());
+    lastComparison = Boolean.valueOf(isSetDefaultPartitionName()).compareTo(other.isSetDefaultPartitionName());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetDefaultPartitionName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultPartitionName, typedOther.defaultPartitionName);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultPartitionName, other.defaultPartitionName);
       if (lastComparison != 0) {
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetMaxParts()).compareTo(typedOther.isSetMaxParts());
+    lastComparison = Boolean.valueOf(isSetMaxParts()).compareTo(other.isSetMaxParts());
     if (lastComparison != 0) {
       return lastComparison;
     }
     if (isSetMaxParts()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxParts, typedOther.maxParts);
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxParts, other.maxParts);
       if (lastComparison != 0) {
         return lastComparison;
       }