Author: stack
Date: Wed Sep 7 22:44:45 2011
New Revision: 1166455
URL: http://svn.apache.org/viewvc?rev=1166455&view=rev
Log:
HBASE-4342 Update Thrift to 0.7.0
Modified:
hbase/trunk/CHANGES.txt
hbase/trunk/pom.xml
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/Hbase.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/IOError.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/IllegalArgument.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/Mutation.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/TCell.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRegionInfo.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRowResult.java
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/TScan.java
Modified: hbase/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1166455&r1=1166454&r2=1166455&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Wed Sep 7 22:44:45 2011
@@ -452,6 +452,7 @@ Release 0.91.0 - Unreleased
HBASE-4327 Compile HBase against hadoop 0.22 (Joep Rottinghuis)
HBASE-4339 Improve eclipse documentation and project file generation
(Eric Charles)
+ HBASE-4342 Update Thrift to 0.7.0 (Moaz Reyad)
TASKS
HBASE-3559 Move report of split to master OFF the heartbeat channel
Modified: hbase/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1166455&r1=1166454&r2=1166455&view=diff
==============================================================================
--- hbase/trunk/pom.xml (original)
+++ hbase/trunk/pom.xml Wed Sep 7 22:44:45 2011
@@ -663,7 +663,7 @@
<protobuf.version>2.4.0a</protobuf.version>
<slf4j.version>1.5.8</slf4j.version><!-- newer version available -->
<stax-api.version>1.0.1</stax-api.version>
- <thrift.version>0.6.1</thrift.version>
+ <thrift.version>0.7.0</thrift.version>
<zookeeper.version>3.3.3</zookeeper.version>
<hadoop-snappy.version>0.0.1-SNAPSHOT</hadoop-snappy.version>
Modified:
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java
URL:
http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java?rev=1166455&r1=1166454&r2=1166455&view=diff
==============================================================================
---
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java
(original)
+++
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java
Wed Sep 7 22:44:45 2011
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
@@ -29,7 +29,7 @@ public class AlreadyExists extends Excep
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);
- public String message;
+ public String message; // required
/** The set of fields this struct contains, along with convenience methods
for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
Modified:
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java
URL:
http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java?rev=1166455&r1=1166454&r2=1166455&view=diff
==============================================================================
---
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java
(original)
+++
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java
Wed Sep 7 22:44:45 2011
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
@@ -29,8 +29,8 @@ public class BatchMutation implements or
private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new
org.apache.thrift.protocol.TField("row",
org.apache.thrift.protocol.TType.STRING, (short)1);
private static final org.apache.thrift.protocol.TField MUTATIONS_FIELD_DESC
= new org.apache.thrift.protocol.TField("mutations",
org.apache.thrift.protocol.TType.LIST, (short)2);
- public ByteBuffer row;
- public List<Mutation> mutations;
+ public ByteBuffer row; // required
+ public List<Mutation> mutations; // required
/** The set of fields this struct contains, along with convenience methods
for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -364,7 +364,7 @@ public class BatchMutation implements or
this.mutations = new ArrayList<Mutation>(_list0.size);
for (int _i1 = 0; _i1 < _list0.size; ++_i1)
{
- Mutation _elem2;
+ Mutation _elem2; // required
_elem2 = new Mutation();
_elem2.read(iprot);
this.mutations.add(_elem2);
Modified:
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java
URL:
http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java?rev=1166455&r1=1166454&r2=1166455&view=diff
==============================================================================
---
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java
(original)
+++
hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java
Wed Sep 7 22:44:45 2011
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
@@ -38,15 +38,15 @@ public class ColumnDescriptor implements
private static final org.apache.thrift.protocol.TField
BLOCK_CACHE_ENABLED_FIELD_DESC = new
org.apache.thrift.protocol.TField("blockCacheEnabled",
org.apache.thrift.protocol.TType.BOOL, (short)8);
private static final org.apache.thrift.protocol.TField
TIME_TO_LIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeToLive",
org.apache.thrift.protocol.TType.I32, (short)9);
- public ByteBuffer name;
- public int maxVersions;
- public String compression;
- public boolean inMemory;
- public String bloomFilterType;
- public int bloomFilterVectorSize;
- public int bloomFilterNbHashes;
- public boolean blockCacheEnabled;
- public int timeToLive;
+ public ByteBuffer name; // required
+ public int maxVersions; // required
+ public String compression; // required
+ public boolean inMemory; // required
+ public String bloomFilterType; // required
+ public int bloomFilterVectorSize; // required
+ public int bloomFilterNbHashes; // required
+ public boolean blockCacheEnabled; // required
+ public int timeToLive; // required
/** The set of fields this struct contains, along with convenience methods
for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -563,28 +563,28 @@ public class ColumnDescriptor implements
return getName();
case MAX_VERSIONS:
- return new Integer(getMaxVersions());
+ return Integer.valueOf(getMaxVersions());
case COMPRESSION:
return getCompression();
case IN_MEMORY:
- return new Boolean(isInMemory());
+ return Boolean.valueOf(isInMemory());
case BLOOM_FILTER_TYPE:
return getBloomFilterType();
case BLOOM_FILTER_VECTOR_SIZE:
- return new Integer(getBloomFilterVectorSize());
+ return Integer.valueOf(getBloomFilterVectorSize());
case BLOOM_FILTER_NB_HASHES:
- return new Integer(getBloomFilterNbHashes());
+ return Integer.valueOf(getBloomFilterNbHashes());
case BLOCK_CACHE_ENABLED:
- return new Boolean(isBlockCacheEnabled());
+ return Boolean.valueOf(isBlockCacheEnabled());
case TIME_TO_LIVE:
- return new Integer(getTimeToLive());
+ return Integer.valueOf(getTimeToLive());
}
throw new IllegalStateException();