incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [18/19] git commit: Thrift re-package, sorry for the huge commit.
Date Thu, 23 May 2013 19:39:57 GMT
Thrift re-package, sorry for the huge commit.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/9f63daff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/9f63daff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/9f63daff

Branch: refs/heads/0.1.5
Commit: 9f63dafffeb8762f909f04a4bb4d59209797a25c
Parents: 8526ce5
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu May 23 15:38:34 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu May 23 15:38:34 2013 -0400

----------------------------------------------------------------------
 .../clusterstatus/ZookeeperClusterStatus.java      |    8 +-
 .../org/apache/blur/server/ShardServerContext.java |    2 +-
 .../blur/server/ShardServerEventHandler.java       |    8 +-
 .../apache/blur/thrift/BlurControllerServer.java   |    2 +-
 .../org/apache/blur/thrift/BlurShardServer.java    |    2 +-
 .../java/org/apache/blur/thrift/TableAdmin.java    |    2 +-
 .../apache/blur/thrift/ThriftBlurShardServer.java  |    4 +-
 .../java/org/apache/blur/thrift/ThriftServer.java  |   12 +-
 .../main/java/org/apache/blur/utils/BlurUtil.java  |    8 +-
 .../src/test/java/org/apache/blur/MiniCluster.java |    4 +-
 .../org/apache/blur/thrift/BlurClusterTest.java    |    2 +-
 .../java/org/apache/blur/mapreduce/BlurTask.java   |    6 +-
 .../blur/mapreduce/lib/BlurOutputFormat.java       |    6 +-
 .../apache/blur/mapreduce/lib/CsvBlurDriver.java   |    2 +-
 .../mapreduce/lib/CsvBlurDriverFamilyPerInput.java |    2 +-
 .../org/apache/blur/analysis/BlurAnalyzer.java     |    8 +-
 .../main/java/org/apache/blur/shell/Command.java   |    2 +-
 .../org/apache/blur/shell/CreateTableCommand.java  |    2 +-
 .../apache/blur/shell/DescribeTableCommand.java    |    2 +-
 .../blur/shell/EnableDisableTableCommand.java      |    2 +-
 .../java/org/apache/blur/shell/GetRowCommand.java  |    2 +-
 .../apache/blur/shell/IndexAccessLogCommand.java   |    2 +-
 .../org/apache/blur/shell/ListTablesCommand.java   |    2 +-
 .../src/main/java/org/apache/blur/shell/Main.java  |   12 +-
 .../org/apache/blur/shell/MutateRowCommand.java    |    2 +-
 .../java/org/apache/blur/shell/QueryCommand.java   |    2 +-
 .../org/apache/blur/shell/RemoveTableCommand.java  |    2 +-
 .../org/apache/blur/shell/SchemaTableCommand.java  |    2 +-
 .../apache/blur/shell/ShardClusterListCommand.java |    2 +-
 .../blur/shell/ShardServerLayoutCommand.java       |    2 +-
 .../org/apache/blur/shell/TableStatsCommand.java   |    2 +-
 .../blur/testsuite/CreateInsertQueryRepeating.java |    2 +-
 .../org/apache/blur/testsuite/CreateTable.java     |    2 +-
 .../org/apache/blur/testsuite/DisableTable.java    |    2 +-
 .../org/apache/blur/testsuite/EnableTable.java     |    2 +-
 .../java/org/apache/blur/testsuite/ListTables.java |    2 +-
 .../java/org/apache/blur/testsuite/LoadData.java   |    2 +-
 .../org/apache/blur/testsuite/LoadDataAsync.java   |    4 +-
 .../blur/testsuite/LoadDataAsyncContinuously.java  |    4 +-
 .../blur/testsuite/LoadDataContinuously.java       |    2 +-
 .../org/apache/blur/testsuite/OptimizeTable.java   |    2 +-
 .../apache/blur/testsuite/RandomSearchTable.java   |    2 +-
 .../testsuite/RandomSearchTableContinuously.java   |    2 +-
 .../testsuite/RapidlyCreateAndDeleteTables.java    |    2 +-
 .../org/apache/blur/testsuite/RemoveTable.java     |    2 +-
 .../testsuite/ShardServerLayoutStateTables.java    |    2 +-
 .../apache/blur/testsuite/SimpleQueryExample.java  |    2 +-
 .../java/org/apache/blur/testsuite/StatsTable.java |    2 +-
 src/blur-thrift/pom.xml                            |   40 +-
 .../thirdparty/thrift_0_9_0/EncodingUtils.java     |  148 +
 .../thirdparty/thrift_0_9_0/ProcessFunction.java   |   68 +
 .../blur/thirdparty/thrift_0_9_0/ShortStack.java   |   82 +
 .../thrift_0_9_0/TApplicationException.java        |  124 +
 .../apache/blur/thirdparty/thrift_0_9_0/TBase.java |   81 +
 .../blur/thirdparty/thrift_0_9_0/TBaseHelper.java  |  306 +
 .../thirdparty/thrift_0_9_0/TBaseProcessor.java    |   42 +
 .../thrift_0_9_0/TByteArrayOutputStream.java       |   45 +
 .../thirdparty/thrift_0_9_0/TDeserializer.java     |  346 ++
 .../apache/blur/thirdparty/thrift_0_9_0/TEnum.java |   24 +
 .../blur/thirdparty/thrift_0_9_0/TEnumHelper.java  |   57 +
 .../blur/thirdparty/thrift_0_9_0/TException.java   |   45 +
 .../blur/thirdparty/thrift_0_9_0/TFieldIdEnum.java |   34 +
 .../thrift_0_9_0/TFieldRequirementType.java        |   30 +
 .../blur/thirdparty/thrift_0_9_0/TProcessor.java   |   32 +
 .../thirdparty/thrift_0_9_0/TProcessorFactory.java |   39 +
 .../blur/thirdparty/thrift_0_9_0/TSerializer.java  |  110 +
 .../thirdparty/thrift_0_9_0/TServiceClient.java    |   81 +
 .../thrift_0_9_0/TServiceClientFactory.java        |   45 +
 .../blur/thirdparty/thrift_0_9_0/TUnion.java       |  279 +
 .../thrift_0_9_0/async/AsyncMethodCallback.java    |   39 +
 .../thrift_0_9_0/async/TAsyncClient.java           |  102 +
 .../thrift_0_9_0/async/TAsyncClientFactory.java    |   25 +
 .../thrift_0_9_0/async/TAsyncClientManager.java    |  194 +
 .../thrift_0_9_0/async/TAsyncMethodCall.java       |  270 +
 .../thrift_0_9_0/meta_data/EnumMetaData.java       |   31 +
 .../thrift_0_9_0/meta_data/FieldMetaData.java      |   71 +
 .../thrift_0_9_0/meta_data/FieldValueMetaData.java |   72 +
 .../thrift_0_9_0/meta_data/ListMetaData.java       |   29 +
 .../thrift_0_9_0/meta_data/MapMetaData.java        |   31 +
 .../thrift_0_9_0/meta_data/SetMetaData.java        |   29 +
 .../thrift_0_9_0/meta_data/StructMetaData.java     |   31 +
 .../thrift_0_9_0/protocol/TBase64Utils.java        |  127 +
 .../thrift_0_9_0/protocol/TBinaryProtocol.java     |  398 ++
 .../thrift_0_9_0/protocol/TCompactProtocol.java    |  854 +++
 .../thirdparty/thrift_0_9_0/protocol/TField.java   |   48 +
 .../thrift_0_9_0/protocol/TJSONProtocol.java       |  936 ++++
 .../thirdparty/thrift_0_9_0/protocol/TList.java    |   38 +
 .../thirdparty/thrift_0_9_0/protocol/TMap.java     |   40 +
 .../thirdparty/thrift_0_9_0/protocol/TMessage.java |   57 +
 .../thrift_0_9_0/protocol/TMessageType.java        |   31 +
 .../thrift_0_9_0/protocol/TProtocol.java           |  162 +
 .../thrift_0_9_0/protocol/TProtocolException.java  |   81 +
 .../thrift_0_9_0/protocol/TProtocolFactory.java    |   31 +
 .../thrift_0_9_0/protocol/TProtocolUtil.java       |  220 +
 .../thirdparty/thrift_0_9_0/protocol/TSet.java     |   42 +
 .../thrift_0_9_0/protocol/TSimpleJSONProtocol.java |  385 ++
 .../thirdparty/thrift_0_9_0/protocol/TStruct.java  |   36 +
 .../thrift_0_9_0/protocol/TTupleProtocol.java      |   98 +
 .../thirdparty/thrift_0_9_0/protocol/TType.java    |   40 +
 .../thirdparty/thrift_0_9_0/scheme/IScheme.java    |   29 +
 .../thrift_0_9_0/scheme/SchemeFactory.java         |   25 +
 .../thrift_0_9_0/scheme/StandardScheme.java        |   25 +
 .../thrift_0_9_0/scheme/TupleScheme.java           |   25 +
 .../server/AbstractNonblockingServer.java          |  562 ++
 .../thirdparty/thrift_0_9_0/server/Invocation.java |   20 +
 .../thrift_0_9_0/server/ServerContext.java         |   26 +
 .../thrift_0_9_0/server/TExtensibleServlet.java    |  171 +
 .../thrift_0_9_0/server/THsHaServer.java           |  168 +
 .../thrift_0_9_0/server/TNonblockingServer.java    |  235 +
 .../thirdparty/thrift_0_9_0/server/TServer.java    |  165 +
 .../thrift_0_9_0/server/TServerEventHandler.java   |   59 +
 .../thirdparty/thrift_0_9_0/server/TServlet.java   |  119 +
 .../thrift_0_9_0/server/TSimpleServer.java         |  120 +
 .../thrift_0_9_0/server/TThreadPoolServer.java     |  231 +
 .../server/TThreadedSelectorServer.java            |  649 +++
 .../transport/AutoExpandingBuffer.java             |   52 +
 .../AutoExpandingBufferReadTransport.java          |   86 +
 .../AutoExpandingBufferWriteTransport.java         |   68 +
 .../transport/TFastFramedTransport.java            |  188 +
 .../thrift_0_9_0/transport/TFileProcessor.java     |  130 +
 .../thrift_0_9_0/transport/TFileTransport.java     |  628 +++
 .../thrift_0_9_0/transport/TFramedTransport.java   |  175 +
 .../thrift_0_9_0/transport/THttpClient.java        |  343 ++
 .../thrift_0_9_0/transport/TIOStreamTransport.java |  164 +
 .../thrift_0_9_0/transport/TMemoryBuffer.java      |  103 +
 .../transport/TMemoryInputTransport.java           |   96 +
 .../transport/TNonblockingServerSocket.java        |  150 +
 .../transport/TNonblockingServerTransport.java     |   31 +
 .../thrift_0_9_0/transport/TNonblockingSocket.java |  210 +
 .../transport/TNonblockingTransport.java           |   47 +
 .../transport/TSSLTransportFactory.java            |  332 ++
 .../transport/TSaslClientTransport.java            |  107 +
 .../transport/TSaslServerTransport.java            |  229 +
 .../thrift_0_9_0/transport/TSaslTransport.java     |  548 ++
 .../thrift_0_9_0/transport/TSeekableFile.java      |   33 +
 .../thrift_0_9_0/transport/TServerSocket.java      |  142 +
 .../thrift_0_9_0/transport/TServerTransport.java   |   51 +
 .../thirdparty/thrift_0_9_0/transport/TSocket.java |  207 +
 .../thrift_0_9_0/transport/TStandardFile.java      |   60 +
 .../thrift_0_9_0/transport/TTransport.java         |  161 +
 .../transport/TTransportException.java             |   80 +
 .../thrift_0_9_0/transport/TTransportFactory.java  |   41 +
 .../org/apache/blur/thrift/AbstractCommand.java    |    2 +-
 .../org/apache/blur/thrift/AsyncClientPool.java    |   14 +-
 .../java/org/apache/blur/thrift/BlurClient.java    |    2 +-
 .../org/apache/blur/thrift/BlurClientManager.java  |   12 +-
 .../generated/AlternateColumnDefinition.java       |   70 +-
 .../blur/thrift/generated/AnalyzerDefinition.java  |  104 +-
 .../org/apache/blur/thrift/generated/Blur.java     | 4360 +++++++-------
 .../blur/thrift/generated/BlurException.java       |   82 +-
 .../apache/blur/thrift/generated/BlurQuery.java    |  248 +-
 .../blur/thrift/generated/BlurQueryStatus.java     |  140 +-
 .../apache/blur/thrift/generated/BlurResult.java   |   94 +-
 .../apache/blur/thrift/generated/BlurResults.java  |  164 +-
 .../org/apache/blur/thrift/generated/Column.java   |   82 +-
 .../blur/thrift/generated/ColumnDefinition.java    |  104 +-
 .../thrift/generated/ColumnFamilyDefinition.java   |   92 +-
 .../blur/thrift/generated/ColumnPreCache.java      |   78 +-
 .../org/apache/blur/thrift/generated/CpuTime.java  |   82 +-
 .../apache/blur/thrift/generated/ExpertQuery.java  |   94 +-
 .../org/apache/blur/thrift/generated/Facet.java    |   82 +-
 .../blur/thrift/generated/FetchRecordResult.java   |   82 +-
 .../apache/blur/thrift/generated/FetchResult.java  |  118 +-
 .../blur/thrift/generated/FetchRowResult.java      |   70 +-
 .../apache/blur/thrift/generated/QueryState.java   |    5 +-
 .../org/apache/blur/thrift/generated/Record.java   |  102 +-
 .../blur/thrift/generated/RecordMutation.java      |   82 +-
 .../blur/thrift/generated/RecordMutationType.java  |    5 +-
 .../java/org/apache/blur/thrift/generated/Row.java |  102 +-
 .../apache/blur/thrift/generated/RowMutation.java  |  138 +-
 .../blur/thrift/generated/RowMutationType.java     |    5 +-
 .../org/apache/blur/thrift/generated/Schema.java   |  100 +-
 .../apache/blur/thrift/generated/ScoreType.java    |    5 +-
 .../org/apache/blur/thrift/generated/Selector.java |  194 +-
 .../apache/blur/thrift/generated/ShardState.java   |    5 +-
 .../apache/blur/thrift/generated/SimpleQuery.java  |  118 +-
 .../blur/thrift/generated/TableDescriptor.java     |  246 +-
 .../apache/blur/thrift/generated/TableStats.java   |  118 +-
 .../thrift/server/AbstractNonblockingServer.java   |   26 +-
 .../thrift/server/TThreadedSelectorServer.java     |    6 +-
 src/pom.xml                                        |    2 +-
 181 files changed, 17471 insertions(+), 3817 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java b/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
index 16176b0..eb4b89d 100644
--- a/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
+++ b/src/blur-core/src/main/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatus.java
@@ -35,6 +35,10 @@ import org.apache.blur.analysis.BlurAnalyzer;
 import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
 import org.apache.blur.lucene.search.FairSimilarity;
+import org.apache.blur.thirdparty.thrift_0_9_0.TBase;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TJSONProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TMemoryInputTransport;
 import org.apache.blur.thrift.generated.AnalyzerDefinition;
 import org.apache.blur.thrift.generated.ColumnPreCache;
 import org.apache.blur.thrift.generated.TableDescriptor;
@@ -47,10 +51,6 @@ import org.apache.blur.zookeeper.ZkUtils;
 import org.apache.hadoop.io.compress.CompressionCodec;
 import org.apache.hadoop.io.compress.DefaultCodec;
 import org.apache.lucene.search.similarities.Similarity;
-import org.apache.thrift.TBase;
-import org.apache.thrift.TException;
-import org.apache.thrift.protocol.TJSONProtocol;
-import org.apache.thrift.transport.TMemoryInputTransport;
 import org.apache.zookeeper.CreateMode;
 import org.apache.zookeeper.KeeperException;
 import org.apache.zookeeper.WatchedEvent;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/server/ShardServerContext.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/server/ShardServerContext.java b/src/blur-core/src/main/java/org/apache/blur/server/ShardServerContext.java
index b6af900..44a1413 100644
--- a/src/blur-core/src/main/java/org/apache/blur/server/ShardServerContext.java
+++ b/src/blur-core/src/main/java/org/apache/blur/server/ShardServerContext.java
@@ -24,8 +24,8 @@ import java.util.concurrent.ConcurrentHashMap;
 
 import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
+import org.apache.blur.thirdparty.thrift_0_9_0.server.ServerContext;
 import org.apache.hadoop.io.IOUtils;
-import org.apache.thrift.server.ServerContext;
 
 /**
  * The thrift session that will hold index reader references to maintain across

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/server/ShardServerEventHandler.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/server/ShardServerEventHandler.java b/src/blur-core/src/main/java/org/apache/blur/server/ShardServerEventHandler.java
index df2b47a..fd0018d 100644
--- a/src/blur-core/src/main/java/org/apache/blur/server/ShardServerEventHandler.java
+++ b/src/blur-core/src/main/java/org/apache/blur/server/ShardServerEventHandler.java
@@ -18,10 +18,10 @@ package org.apache.blur.server;
  */
 import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
-import org.apache.thrift.protocol.TProtocol;
-import org.apache.thrift.server.ServerContext;
-import org.apache.thrift.server.TServerEventHandler;
-import org.apache.thrift.transport.TTransport;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.server.ServerContext;
+import org.apache.blur.thirdparty.thrift_0_9_0.server.TServerEventHandler;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TTransport;
 
 /**
  * {@link ShardServerContext} is the session manager for the shard servers. It

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/thrift/BlurControllerServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/thrift/BlurControllerServer.java b/src/blur-core/src/main/java/org/apache/blur/thrift/BlurControllerServer.java
index 6e1d6e1..f7ff594 100644
--- a/src/blur-core/src/main/java/org/apache/blur/thrift/BlurControllerServer.java
+++ b/src/blur-core/src/main/java/org/apache/blur/thrift/BlurControllerServer.java
@@ -50,6 +50,7 @@ import org.apache.blur.manager.results.MergerBlurResultIterable;
 import org.apache.blur.manager.stats.MergerTableStats;
 import org.apache.blur.manager.status.MergerQueryStatus;
 import org.apache.blur.manager.status.MergerQueryStatusSingle;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.commands.BlurCommand;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.Blur.Iface;
@@ -74,7 +75,6 @@ import org.apache.blur.zookeeper.WatchChildren;
 import org.apache.blur.zookeeper.WatchChildren.OnChange;
 import org.apache.blur.zookeeper.WatchNodeExistance;
 import org.apache.hadoop.io.BytesWritable;
-import org.apache.thrift.TException;
 import org.apache.zookeeper.CreateMode;
 import org.apache.zookeeper.KeeperException;
 import org.apache.zookeeper.ZooDefs.Ids;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java b/src/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
index b9dbfaa..609b7d0 100644
--- a/src/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
+++ b/src/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
@@ -40,6 +40,7 @@ import org.apache.blur.manager.IndexServer;
 import org.apache.blur.manager.results.BlurResultIterable;
 import org.apache.blur.manager.writer.BlurIndex;
 import org.apache.blur.server.ShardServerContext;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.BlurQuery;
@@ -56,7 +57,6 @@ import org.apache.blur.utils.BlurUtil;
 import org.apache.blur.utils.QueryCache;
 import org.apache.blur.utils.QueryCacheEntry;
 import org.apache.blur.utils.QueryCacheKey;
-import org.apache.thrift.TException;
 
 public class BlurShardServer extends TableAdmin implements Iface {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/thrift/TableAdmin.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/thrift/TableAdmin.java b/src/blur-core/src/main/java/org/apache/blur/thrift/TableAdmin.java
index fe344de..c946276 100644
--- a/src/blur-core/src/main/java/org/apache/blur/thrift/TableAdmin.java
+++ b/src/blur-core/src/main/java/org/apache/blur/thrift/TableAdmin.java
@@ -25,12 +25,12 @@ import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
 import org.apache.blur.manager.clusterstatus.ClusterStatus;
 import org.apache.blur.server.TableContext;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.ShardState;
 import org.apache.blur.thrift.generated.TableDescriptor;
 import org.apache.blur.thrift.generated.TableStats;
-import org.apache.thrift.TException;
 import org.apache.zookeeper.ZooKeeper;
 
 public abstract class TableAdmin implements Iface {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java b/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java
index d4c5fa0..c0e9706 100644
--- a/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java
+++ b/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftBlurShardServer.java
@@ -65,13 +65,13 @@ import org.apache.blur.store.blockcache.BlockDirectory;
 import org.apache.blur.store.blockcache.BlockDirectoryCache;
 import org.apache.blur.store.blockcache.Cache;
 import org.apache.blur.store.buffer.BufferStore;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TJSONProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.server.TServlet;
 import org.apache.blur.thrift.generated.Blur;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.utils.BlurUtil;
 import org.apache.blur.zookeeper.ZkUtils;
 import org.apache.hadoop.conf.Configuration;
-import org.apache.thrift.protocol.TJSONProtocol;
-import org.apache.thrift.server.TServlet;
 import org.apache.zookeeper.ZooKeeper;
 import org.mortbay.jetty.servlet.ServletHolder;
 import org.mortbay.jetty.webapp.WebAppContext;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java b/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java
index e2b0fe9..8bcad81 100644
--- a/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java
+++ b/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java
@@ -30,15 +30,15 @@ import org.apache.blur.concurrent.Executors;
 import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
 import org.apache.blur.manager.indexserver.BlurServerShutDown.BlurShutdown;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TBinaryProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.server.TServer;
+import org.apache.blur.thirdparty.thrift_0_9_0.server.TServerEventHandler;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TFramedTransport;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TNonblockingServerSocket;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TTransportException;
 import org.apache.blur.thrift.generated.Blur;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.server.TThreadedSelectorServer;
-import org.apache.thrift.protocol.TBinaryProtocol;
-import org.apache.thrift.server.TServer;
-import org.apache.thrift.server.TServerEventHandler;
-import org.apache.thrift.transport.TFramedTransport;
-import org.apache.thrift.transport.TNonblockingServerSocket;
-import org.apache.thrift.transport.TTransportException;
 
 public class ThriftServer {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/main/java/org/apache/blur/utils/BlurUtil.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/utils/BlurUtil.java b/src/blur-core/src/main/java/org/apache/blur/utils/BlurUtil.java
index e977b37..afea788 100644
--- a/src/blur-core/src/main/java/org/apache/blur/utils/BlurUtil.java
+++ b/src/blur-core/src/main/java/org/apache/blur/utils/BlurUtil.java
@@ -51,6 +51,10 @@ import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
 import org.apache.blur.manager.clusterstatus.ZookeeperPathConstants;
 import org.apache.blur.manager.results.BlurResultIterable;
+import org.apache.blur.thirdparty.thrift_0_9_0.TBase;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TJSONProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TMemoryBuffer;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.BlurQuery;
 import org.apache.blur.thrift.generated.BlurResult;
@@ -79,10 +83,6 @@ import org.apache.lucene.search.IndexSearcher;
 import org.apache.lucene.search.TermQuery;
 import org.apache.lucene.search.TopDocs;
 import org.apache.lucene.util.RamUsageEstimator;
-import org.apache.thrift.TBase;
-import org.apache.thrift.TException;
-import org.apache.thrift.protocol.TJSONProtocol;
-import org.apache.thrift.transport.TMemoryBuffer;
 import org.apache.zookeeper.CreateMode;
 import org.apache.zookeeper.KeeperException;
 import org.apache.zookeeper.KeeperException.Code;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java b/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java
index f827e2f..da118b3 100644
--- a/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java
+++ b/src/blur-core/src/test/java/org/apache/blur/MiniCluster.java
@@ -45,6 +45,8 @@ import org.apache.blur.log.Log;
 import org.apache.blur.log.LogFactory;
 import org.apache.blur.manager.clusterstatus.ZookeeperPathConstants;
 import org.apache.blur.store.buffer.BufferStore;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TTransportException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.BlurClientManager;
 import org.apache.blur.thrift.Connection;
@@ -67,8 +69,6 @@ import org.apache.blur.zookeeper.ZooKeeperClient;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.hdfs.MiniDFSCluster;
-import org.apache.thrift.TException;
-import org.apache.thrift.transport.TTransportException;
 import org.apache.zookeeper.KeeperException;
 import org.apache.zookeeper.WatchedEvent;
 import org.apache.zookeeper.Watcher;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java b/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java
index 504f26a..2a02489 100644
--- a/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java
+++ b/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java
@@ -29,6 +29,7 @@ import java.util.UUID;
 import java.util.concurrent.TimeUnit;
 
 import org.apache.blur.MiniCluster;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.BlurException;
@@ -45,7 +46,6 @@ import org.apache.hadoop.fs.LocalFileSystem;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.fs.permission.FsAction;
 import org.apache.hadoop.fs.permission.FsPermission;
-import org.apache.thrift.TException;
 import org.apache.zookeeper.KeeperException;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurTask.java
----------------------------------------------------------------------
diff --git a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurTask.java b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurTask.java
index 0d65a59..8542a43 100644
--- a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurTask.java
+++ b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurTask.java
@@ -30,6 +30,9 @@ import org.apache.blur.log.LogFactory;
 import org.apache.blur.manager.clusterstatus.ZookeeperClusterStatus;
 import org.apache.blur.manager.clusterstatus.ZookeeperPathConstants;
 import org.apache.blur.mapreduce.lib.BlurMutate;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TBinaryProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TIOStreamTransport;
 import org.apache.blur.thrift.generated.TableDescriptor;
 import org.apache.blur.utils.BlurConstants;
 import org.apache.blur.utils.BlurUtil;
@@ -43,9 +46,6 @@ import org.apache.hadoop.io.Writable;
 import org.apache.hadoop.mapreduce.Job;
 import org.apache.hadoop.mapreduce.TaskAttemptContext;
 import org.apache.hadoop.mapreduce.TaskAttemptID;
-import org.apache.thrift.TException;
-import org.apache.thrift.protocol.TBinaryProtocol;
-import org.apache.thrift.transport.TIOStreamTransport;
 import org.apache.zookeeper.KeeperException;
 import org.apache.zookeeper.ZooKeeper;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/BlurOutputFormat.java
----------------------------------------------------------------------
diff --git a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/BlurOutputFormat.java b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/BlurOutputFormat.java
index 053d41e..d759eed 100644
--- a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/BlurOutputFormat.java
+++ b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/BlurOutputFormat.java
@@ -30,6 +30,9 @@ import org.apache.blur.log.LogFactory;
 import org.apache.blur.lucene.LuceneVersionConstant;
 import org.apache.blur.manager.writer.TransactionRecorder;
 import org.apache.blur.store.hdfs.HdfsDirectory;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TJSONProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TIOStreamTransport;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.Column;
@@ -61,9 +64,6 @@ import org.apache.lucene.store.Directory;
 import org.apache.lucene.store.FSDirectory;
 import org.apache.lucene.store.IOContext;
 import org.apache.lucene.store.NoLockFactory;
-import org.apache.thrift.TException;
-import org.apache.thrift.protocol.TJSONProtocol;
-import org.apache.thrift.transport.TIOStreamTransport;
 
 /**
  * {@link BlurOutputFormat} is used to index data and delivery the indexes to

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java
----------------------------------------------------------------------
diff --git a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java
index c92360e..6ae329b 100644
--- a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java
+++ b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriver.java
@@ -18,6 +18,7 @@ package org.apache.blur.mapreduce.lib;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.BlurException;
@@ -28,7 +29,6 @@ import org.apache.hadoop.mapreduce.Job;
 import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
 import org.apache.hadoop.mapreduce.lib.input.TextInputFormat;
 import org.apache.hadoop.util.GenericOptionsParser;
-import org.apache.thrift.TException;
 
 public class CsvBlurDriver {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriverFamilyPerInput.java
----------------------------------------------------------------------
diff --git a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriverFamilyPerInput.java b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriverFamilyPerInput.java
index 0493139..fbe4253 100644
--- a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriverFamilyPerInput.java
+++ b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/lib/CsvBlurDriverFamilyPerInput.java
@@ -18,6 +18,7 @@ package org.apache.blur.mapreduce.lib;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.BlurException;
@@ -28,7 +29,6 @@ import org.apache.hadoop.mapreduce.Job;
 import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
 import org.apache.hadoop.mapreduce.lib.input.TextInputFormat;
 import org.apache.hadoop.util.GenericOptionsParser;
-import org.apache.thrift.TException;
 
 public class CsvBlurDriverFamilyPerInput {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java
----------------------------------------------------------------------
diff --git a/src/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java b/src/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java
index 5b81291..02be999 100644
--- a/src/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java
+++ b/src/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java
@@ -35,6 +35,10 @@ import java.util.Map;
 import java.util.Set;
 import java.util.TreeSet;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TJSONProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TMemoryBuffer;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TMemoryInputTransport;
 import org.apache.blur.thrift.generated.AlternateColumnDefinition;
 import org.apache.blur.thrift.generated.AnalyzerDefinition;
 import org.apache.blur.thrift.generated.ColumnDefinition;
@@ -52,10 +56,6 @@ import org.apache.lucene.document.Field.Store;
 import org.apache.lucene.search.NumericRangeQuery;
 import org.apache.lucene.search.Query;
 import org.apache.lucene.util.Version;
-import org.apache.thrift.TException;
-import org.apache.thrift.protocol.TJSONProtocol;
-import org.apache.thrift.transport.TMemoryBuffer;
-import org.apache.thrift.transport.TMemoryInputTransport;
 
 public final class BlurAnalyzer extends AnalyzerWrapper {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/Command.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/Command.java b/src/blur-shell/src/main/java/org/apache/blur/shell/Command.java
index 0e11f8c..36da1ec 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/Command.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/Command.java
@@ -20,8 +20,8 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
-import org.apache.thrift.TException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Client;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/CreateTableCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/CreateTableCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/CreateTableCommand.java
index b52b4ad..a22b427 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/CreateTableCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/CreateTableCommand.java
@@ -20,11 +20,11 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.AnalyzerDefinition;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.TableDescriptor;
-import org.apache.thrift.TException;
 
 public class CreateTableCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/DescribeTableCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/DescribeTableCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/DescribeTableCommand.java
index ecf86c2..15e9a5b 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/DescribeTableCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/DescribeTableCommand.java
@@ -20,9 +20,9 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
 
 public class DescribeTableCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
index 4b26a7d..d3ab60e 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
@@ -20,9 +20,9 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
 
 public class EnableDisableTableCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/GetRowCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/GetRowCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/GetRowCommand.java
index 0b10ee3..287fe4e 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/GetRowCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/GetRowCommand.java
@@ -20,13 +20,13 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.FetchResult;
 import org.apache.blur.thrift.generated.FetchRowResult;
 import org.apache.blur.thrift.generated.Row;
 import org.apache.blur.thrift.generated.Selector;
-import org.apache.thrift.TException;
 
 public class GetRowCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/IndexAccessLogCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/IndexAccessLogCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/IndexAccessLogCommand.java
index 6351e9a..10c434b 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/IndexAccessLogCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/IndexAccessLogCommand.java
@@ -29,6 +29,7 @@ import java.util.UUID;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Column;
@@ -37,7 +38,6 @@ import org.apache.blur.thrift.generated.RecordMutation;
 import org.apache.blur.thrift.generated.RecordMutationType;
 import org.apache.blur.thrift.generated.RowMutation;
 import org.apache.blur.thrift.generated.RowMutationType;
-import org.apache.thrift.TException;
 
 import com.google.common.collect.Lists;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java
index d2a1e66..06de2dd 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/ListTablesCommand.java
@@ -20,9 +20,9 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
 
 public class ListTablesCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/Main.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/Main.java b/src/blur-shell/src/main/java/org/apache/blur/shell/Main.java
index 86809ce..614f60d 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/Main.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/Main.java
@@ -32,14 +32,14 @@ import jline.console.completer.StringsCompleter;
 
 import org.apache.blur.shell.Command.CommandException;
 import org.apache.blur.shell.Main.QuitCommand.QuitCommandException;
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TBinaryProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TFramedTransport;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TSocket;
+import org.apache.blur.thirdparty.thrift_0_9_0.transport.TTransport;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
-import org.apache.thrift.protocol.TBinaryProtocol;
-import org.apache.thrift.protocol.TProtocol;
-import org.apache.thrift.transport.TFramedTransport;
-import org.apache.thrift.transport.TSocket;
-import org.apache.thrift.transport.TTransport;
 
 import com.google.common.collect.ImmutableMap;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/MutateRowCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/MutateRowCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/MutateRowCommand.java
index dc4164f..86dcf05 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/MutateRowCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/MutateRowCommand.java
@@ -22,6 +22,7 @@ import java.io.PrintWriter;
 import java.util.ArrayList;
 import java.util.List;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Column;
@@ -30,7 +31,6 @@ import org.apache.blur.thrift.generated.RecordMutation;
 import org.apache.blur.thrift.generated.RecordMutationType;
 import org.apache.blur.thrift.generated.RowMutation;
 import org.apache.blur.thrift.generated.RowMutationType;
-import org.apache.thrift.TException;
 
 public class MutateRowCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/QueryCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/QueryCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/QueryCommand.java
index 9791741..5599e0b 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/QueryCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/QueryCommand.java
@@ -20,6 +20,7 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.BlurQuery;
@@ -27,7 +28,6 @@ import org.apache.blur.thrift.generated.BlurResult;
 import org.apache.blur.thrift.generated.BlurResults;
 import org.apache.blur.thrift.generated.Selector;
 import org.apache.blur.thrift.generated.SimpleQuery;
-import org.apache.thrift.TException;
 
 public class QueryCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/RemoveTableCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/RemoveTableCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/RemoveTableCommand.java
index 0d160b8..7690686 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/RemoveTableCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/RemoveTableCommand.java
@@ -20,9 +20,9 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
 
 public class RemoveTableCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/SchemaTableCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/SchemaTableCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/SchemaTableCommand.java
index 5e42835..a2609c2 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/SchemaTableCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/SchemaTableCommand.java
@@ -20,9 +20,9 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
 
 public class SchemaTableCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/ShardClusterListCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/ShardClusterListCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/ShardClusterListCommand.java
index b8781ec..3ccc6f3 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/ShardClusterListCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/ShardClusterListCommand.java
@@ -20,9 +20,9 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
 
 public class ShardClusterListCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/ShardServerLayoutCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/ShardServerLayoutCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/ShardServerLayoutCommand.java
index 3107539..21e75ef 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/ShardServerLayoutCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/ShardServerLayoutCommand.java
@@ -20,9 +20,9 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
 
 public class ShardServerLayoutCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-shell/src/main/java/org/apache/blur/shell/TableStatsCommand.java
----------------------------------------------------------------------
diff --git a/src/blur-shell/src/main/java/org/apache/blur/shell/TableStatsCommand.java b/src/blur-shell/src/main/java/org/apache/blur/shell/TableStatsCommand.java
index 317f453..f8d7d18 100644
--- a/src/blur-shell/src/main/java/org/apache/blur/shell/TableStatsCommand.java
+++ b/src/blur-shell/src/main/java/org/apache/blur/shell/TableStatsCommand.java
@@ -20,9 +20,9 @@ package org.apache.blur.shell;
 
 import java.io.PrintWriter;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Client;
 import org.apache.blur.thrift.generated.BlurException;
-import org.apache.thrift.TException;
 
 public class TableStatsCommand extends Command {
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateInsertQueryRepeating.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateInsertQueryRepeating.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateInsertQueryRepeating.java
index 053506f..1acedfa 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateInsertQueryRepeating.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateInsertQueryRepeating.java
@@ -23,6 +23,7 @@ import java.util.List;
 import java.util.Random;
 import java.util.UUID;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.AnalyzerDefinition;
 import org.apache.blur.thrift.generated.BlurException;
@@ -33,7 +34,6 @@ import org.apache.blur.thrift.generated.RowMutationType;
 import org.apache.blur.thrift.generated.SimpleQuery;
 import org.apache.blur.thrift.generated.TableDescriptor;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 import static org.apache.blur.utils.BlurUtil.*;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateTable.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateTable.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateTable.java
index 2b4e697..7c1a070 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateTable.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/CreateTable.java
@@ -18,12 +18,12 @@ package org.apache.blur.testsuite;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.AnalyzerDefinition;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.TableDescriptor;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class CreateTable {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/DisableTable.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/DisableTable.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/DisableTable.java
index c86689a..41d1e08 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/DisableTable.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/DisableTable.java
@@ -18,10 +18,10 @@ package org.apache.blur.testsuite;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class DisableTable {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/EnableTable.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/EnableTable.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/EnableTable.java
index b4186a6..1ad4ab6 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/EnableTable.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/EnableTable.java
@@ -18,10 +18,10 @@ package org.apache.blur.testsuite;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class EnableTable {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ListTables.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ListTables.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ListTables.java
index 3405d42..fc57646 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ListTables.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ListTables.java
@@ -18,10 +18,10 @@ package org.apache.blur.testsuite;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class ListTables {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadData.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadData.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadData.java
index df0bdb3..ec8e24a 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadData.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadData.java
@@ -24,6 +24,7 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.Random;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Column;
@@ -33,7 +34,6 @@ import org.apache.blur.thrift.generated.RecordMutationType;
 import org.apache.blur.thrift.generated.RowMutation;
 import org.apache.blur.thrift.generated.RowMutationType;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class LoadData {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsync.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsync.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsync.java
index 9962747..65517ba 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsync.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsync.java
@@ -24,6 +24,8 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.Random;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback;
 import org.apache.blur.thrift.AsyncClientPool;
 import org.apache.blur.thrift.generated.Blur;
 import org.apache.blur.thrift.generated.BlurException;
@@ -35,8 +37,6 @@ import org.apache.blur.thrift.generated.RowMutation;
 import org.apache.blur.thrift.generated.RowMutationType;
 import org.apache.blur.thrift.generated.Blur.AsyncIface;
 import org.apache.blur.thrift.generated.Blur.AsyncClient.mutate_call;
-import org.apache.thrift.TException;
-import org.apache.thrift.async.AsyncMethodCallback;
 
 
 public class LoadDataAsync {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsyncContinuously.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsyncContinuously.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsyncContinuously.java
index b7caaec..ac68a58 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsyncContinuously.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataAsyncContinuously.java
@@ -24,6 +24,8 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.Random;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
+import org.apache.blur.thirdparty.thrift_0_9_0.async.AsyncMethodCallback;
 import org.apache.blur.thrift.AsyncClientPool;
 import org.apache.blur.thrift.generated.Blur;
 import org.apache.blur.thrift.generated.BlurException;
@@ -35,8 +37,6 @@ import org.apache.blur.thrift.generated.RowMutation;
 import org.apache.blur.thrift.generated.RowMutationType;
 import org.apache.blur.thrift.generated.Blur.AsyncIface;
 import org.apache.blur.thrift.generated.Blur.AsyncClient.mutate_call;
-import org.apache.thrift.TException;
-import org.apache.thrift.async.AsyncMethodCallback;
 
 
 public class LoadDataAsyncContinuously {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataContinuously.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataContinuously.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataContinuously.java
index 9902bc9..5415ace 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataContinuously.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/LoadDataContinuously.java
@@ -26,6 +26,7 @@ import java.util.List;
 import java.util.Random;
 import java.util.concurrent.TimeUnit;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Column;
@@ -35,7 +36,6 @@ import org.apache.blur.thrift.generated.RecordMutationType;
 import org.apache.blur.thrift.generated.RowMutation;
 import org.apache.blur.thrift.generated.RowMutationType;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class LoadDataContinuously {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/OptimizeTable.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/OptimizeTable.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/OptimizeTable.java
index 1515ed9..20812a0 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/OptimizeTable.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/OptimizeTable.java
@@ -18,10 +18,10 @@ package org.apache.blur.testsuite;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class OptimizeTable {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTable.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTable.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTable.java
index 860a44a..1bfc3e2 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTable.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTable.java
@@ -24,6 +24,7 @@ import java.util.List;
 import java.util.Random;
 import java.util.Set;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.BlurQuery;
@@ -31,7 +32,6 @@ import org.apache.blur.thrift.generated.BlurResults;
 import org.apache.blur.thrift.generated.Schema;
 import org.apache.blur.thrift.generated.SimpleQuery;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class RandomSearchTable {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTableContinuously.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTableContinuously.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTableContinuously.java
index 8d2d72e..9afd8ce 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTableContinuously.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RandomSearchTableContinuously.java
@@ -25,6 +25,7 @@ import java.util.Random;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.BlurQuery;
@@ -33,7 +34,6 @@ import org.apache.blur.thrift.generated.Schema;
 import org.apache.blur.thrift.generated.Selector;
 import org.apache.blur.thrift.generated.SimpleQuery;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class RandomSearchTableContinuously {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RapidlyCreateAndDeleteTables.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RapidlyCreateAndDeleteTables.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RapidlyCreateAndDeleteTables.java
index 96713f4..e1dd54d 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RapidlyCreateAndDeleteTables.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RapidlyCreateAndDeleteTables.java
@@ -22,6 +22,7 @@ import static org.apache.blur.utils.BlurUtil.newRecordMutation;
 import java.util.Random;
 import java.util.UUID;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.AnalyzerDefinition;
 import org.apache.blur.thrift.generated.BlurException;
@@ -29,7 +30,6 @@ import org.apache.blur.thrift.generated.RowMutation;
 import org.apache.blur.thrift.generated.RowMutationType;
 import org.apache.blur.thrift.generated.TableDescriptor;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class RapidlyCreateAndDeleteTables {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RemoveTable.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RemoveTable.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RemoveTable.java
index 4089eb7..bd5eff7 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RemoveTable.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/RemoveTable.java
@@ -18,10 +18,10 @@ package org.apache.blur.testsuite;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
-import org.apache.thrift.TException;
 
 
 public class RemoveTable {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ShardServerLayoutStateTables.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ShardServerLayoutStateTables.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ShardServerLayoutStateTables.java
index 00b719d..a7efd58 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ShardServerLayoutStateTables.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/ShardServerLayoutStateTables.java
@@ -20,11 +20,11 @@ import java.io.IOException;
 import java.util.Map;
 import java.util.Map.Entry;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.ShardState;
-import org.apache.thrift.TException;
 
 public class ShardServerLayoutStateTables {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
index 890c180..09271ae 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
@@ -18,6 +18,7 @@ package org.apache.blur.testsuite;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.BlurException;
@@ -25,7 +26,6 @@ import org.apache.blur.thrift.generated.BlurQuery;
 import org.apache.blur.thrift.generated.BlurResult;
 import org.apache.blur.thrift.generated.BlurResults;
 import org.apache.blur.thrift.generated.SimpleQuery;
-import org.apache.thrift.TException;
 
 public class SimpleQueryExample {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/StatsTable.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/StatsTable.java b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/StatsTable.java
index 0f824c8..5313245 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/StatsTable.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/StatsTable.java
@@ -18,11 +18,11 @@ package org.apache.blur.testsuite;
  */
 import java.io.IOException;
 
+import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.BlurClient;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.TableStats;
-import org.apache.thrift.TException;
 
 
 public class StatsTable {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-thrift/pom.xml
----------------------------------------------------------------------
diff --git a/src/blur-thrift/pom.xml b/src/blur-thrift/pom.xml
index 37bcb3b..58c7a96 100644
--- a/src/blur-thrift/pom.xml
+++ b/src/blur-thrift/pom.xml
@@ -1,22 +1,14 @@
 <?xml version="1.0" encoding="UTF-8" ?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+	license agreements. See the NOTICE file distributed with this work for additional 
+	information regarding copyright ownership. The ASF licenses this file to 
+	you under the Apache License, Version 2.0 (the "License"); you may not use 
+	this file except in compliance with the License. You may obtain a copy of 
+	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+	by applicable law or agreed to in writing, software distributed under the 
+	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+	OF ANY KIND, either express or implied. See the License for the specific 
+	language governing permissions and limitations under the License. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 	<modelVersion>4.0.0</modelVersion>
@@ -24,7 +16,7 @@ under the License.
 		<groupId>org.apache.blur</groupId>
 		<artifactId>blur</artifactId>
 		<version>0.1.5</version>
-        <relativePath>../pom.xml</relativePath>
+		<relativePath>../pom.xml</relativePath>
 	</parent>
 	<groupId>org.apache.blur</groupId>
 	<artifactId>blur-thrift</artifactId>
@@ -38,11 +30,6 @@ under the License.
 			<version>${project.version}</version>
 		</dependency>
 		<dependency>
-			<groupId>org.apache.thrift</groupId>
-			<artifactId>libthrift</artifactId>
-			<version>${thrift.version}</version>
-		</dependency>
-		<dependency>
 			<groupId>log4j</groupId>
 			<artifactId>log4j</artifactId>
 			<version>${log4j.version}</version>
@@ -66,6 +53,11 @@ under the License.
 				</exclusion>
 			</exclusions>
 		</dependency>
+		<dependency>
+			<groupId>org.apache.httpcomponents</groupId>
+			<artifactId>httpclient</artifactId>
+			<version>${httpclient.version}</version>
+		</dependency>
 	</dependencies>
 
 	<repositories>

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/EncodingUtils.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/EncodingUtils.java b/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/EncodingUtils.java
new file mode 100644
index 0000000..9f17528
--- /dev/null
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/EncodingUtils.java
@@ -0,0 +1,148 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.blur.thirdparty.thrift_0_9_0;
+
+/**
+ * Utility methods for use when encoding/decoding raw data as byte arrays.
+ */
+public class EncodingUtils {
+
+  /**
+   * Encode <code>integer</code> as a series of 4 bytes into <code>buf</code>
+   * starting at position 0 within that buffer.
+   * 
+   * @param integer
+   *          The integer to encode.
+   * @param buf
+   *          The buffer to write to.
+   */
+  public static final void encodeBigEndian(final int integer, final byte[] buf) {
+    encodeBigEndian(integer, buf, 0);
+  }
+
+  /**
+   * Encode <code>integer</code> as a series of 4 bytes into <code>buf</code>
+   * starting at position <code>offset</code>.
+   * 
+   * @param integer
+   *          The integer to encode.
+   * @param buf
+   *          The buffer to write to.
+   * @param offset
+   *          The offset within <code>buf</code> to start the encoding.
+   */
+  public static final void encodeBigEndian(final int integer, final byte[] buf, int offset) {
+    buf[offset] = (byte) (0xff & (integer >> 24));
+    buf[offset + 1] = (byte) (0xff & (integer >> 16));
+    buf[offset + 2] = (byte) (0xff & (integer >> 8));
+    buf[offset + 3] = (byte) (0xff & (integer));
+  }
+
+  /**
+   * Decode a series of 4 bytes from <code>buf</code>, starting at position 0,
+   * and interpret them as an integer.
+   * 
+   * @param buf
+   *          The buffer to read from.
+   * @return An integer, as read from the buffer.
+   */
+  public static final int decodeBigEndian(final byte[] buf) {
+    return decodeBigEndian(buf, 0);
+  }
+
+  /**
+   * Decode a series of 4 bytes from <code>buf</code>, start at
+   * <code>offset</code>, and interpret them as an integer.
+   * 
+   * @param buf
+   *          The buffer to read from.
+   * @param offset
+   *          The offset with <code>buf</code> to start the decoding.
+   * @return An integer, as read from the buffer.
+   */
+  public static final int decodeBigEndian(final byte[] buf, int offset) {
+    return ((buf[offset] & 0xff) << 24) | ((buf[offset + 1] & 0xff) << 16)
+        | ((buf[offset + 2] & 0xff) << 8) | ((buf[offset + 3] & 0xff));
+  }
+
+  /**
+   * Bitfield utilities.
+   * Returns true if the bit at position is set in v.
+   */
+  public static final boolean testBit(byte v, int position) {
+    return testBit((int)v, position);
+  }
+
+  public static final boolean testBit(short v, int position) {
+    return testBit((int)v, position);
+  }
+
+  public static final boolean testBit(int v, int position) {
+    return (v & (1 << position)) != 0;
+  }
+
+  public static final boolean testBit(long v, int position) {
+    return (v & (1L << position)) != 0L;
+  }
+
+  /**
+   * Returns v, with the bit at position set to zero.
+   */
+  public static final byte clearBit(byte v, int position) {
+    return (byte)clearBit((int)v, position);
+  }
+
+  public static final short clearBit(short v, int position) {
+    return (short)clearBit((int)v, position);
+  }
+
+  public static final int clearBit(int v, int position) {
+    return v & ~(1 << position);
+  }
+
+  public static final long clearBit(long v, int position) {
+    return v & ~(1L << position);
+  }
+
+  /**
+   * Returns v, with the bit at position set to 1 or 0 depending on value.
+   */
+  public static final byte setBit(byte v, int position, boolean value) {
+    return (byte)setBit((int)v, position, value);
+  }
+
+  public static final short setBit(short v, int position, boolean value) {
+    return (short)setBit((int)v, position, value);
+  }
+
+  public static final int setBit(int v, int position, boolean value) {
+    if(value)
+      return v | (1 << position);
+    else
+      return clearBit(v, position);
+  }
+
+  public static final long setBit(long v, int position, boolean value) {
+    if(value)
+      return v | (1L << position);
+    else
+      return clearBit(v, position);
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java b/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java
new file mode 100644
index 0000000..fe0670b
--- /dev/null
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java
@@ -0,0 +1,68 @@
+/**
+ * 
+ */
+package org.apache.blur.thirdparty.thrift_0_9_0;
+
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessage;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMessageType;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public abstract class ProcessFunction<I, T extends TBase> {
+  private final String methodName;
+
+  private static final Logger LOGGER = LoggerFactory.getLogger(ProcessFunction.class.getName());
+
+  public ProcessFunction(String methodName) {
+    this.methodName = methodName;
+  }
+
+  public final void process(int seqid, TProtocol iprot, TProtocol oprot, I iface) throws TException {
+    T args = getEmptyArgsInstance();
+    try {
+      args.read(iprot);
+    } catch (TProtocolException e) {
+      iprot.readMessageEnd();
+      TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
+      oprot.writeMessageBegin(new TMessage(getMethodName(), TMessageType.EXCEPTION, seqid));
+      x.write(oprot);
+      oprot.writeMessageEnd();
+      oprot.getTransport().flush();
+      return;
+    }
+    iprot.readMessageEnd();
+    TBase result = null;
+
+    try {
+      result = getResult(iface, args);
+    } catch(Throwable th) {
+      LOGGER.error("Internal error processing " + getMethodName(), th);
+      TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, 
+        "Internal error processing " + getMethodName());
+      oprot.writeMessageBegin(new TMessage(getMethodName(), TMessageType.EXCEPTION, seqid));
+      x.write(oprot);
+      oprot.writeMessageEnd();
+      oprot.getTransport().flush();
+      return;
+    }
+
+    if(!isOneway()) {
+      oprot.writeMessageBegin(new TMessage(getMethodName(), TMessageType.REPLY, seqid));
+      result.write(oprot);
+      oprot.writeMessageEnd();
+      oprot.getTransport().flush();
+    }
+  }
+
+  protected abstract boolean isOneway();
+
+  public abstract TBase getResult(I iface, T args) throws TException;
+
+  public abstract T getEmptyArgsInstance();
+
+  public String getMethodName() {
+    return methodName;
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ShortStack.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ShortStack.java b/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ShortStack.java
new file mode 100644
index 0000000..d7a01f5
--- /dev/null
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ShortStack.java
@@ -0,0 +1,82 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.blur.thirdparty.thrift_0_9_0;
+
+/**
+ * ShortStack is a short-specific Stack implementation written for the express
+ * purpose of very fast operations on TCompactProtocol's field id stack. This
+ * implementation performs at least 10x faster than java.util.Stack.
+ */
+public class ShortStack {
+
+  private short[] vector;
+  private int top = -1;
+
+  public ShortStack(int initialCapacity) {
+    vector = new short[initialCapacity];
+  }
+
+  public short pop() {
+    return vector[top--];
+  }
+
+  public void push(short pushed) {
+    if (vector.length == top + 1) {
+      grow();
+    }
+    vector[++top] = pushed;
+  }
+
+  private void grow() {
+    short[] newVector = new short[vector.length * 2];
+    System.arraycopy(vector, 0, newVector, 0, vector.length);
+    vector = newVector;
+  }
+
+  public short peek() {
+    return vector[top];
+  }
+
+  public void clear() {
+    top = -1;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder();
+    sb.append("<ShortStack vector:[");
+    for (int i = 0; i < vector.length; i++) {
+      if (i != 0) {
+        sb.append(" ");
+      }
+
+      if (i == top) {
+        sb.append(">>");
+      }
+
+      sb.append(vector[i]);
+
+      if (i == top) {
+        sb.append("<<");
+      }
+    }
+    sb.append("]>");
+    return sb.toString();
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9f63daff/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TApplicationException.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TApplicationException.java b/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TApplicationException.java
new file mode 100644
index 0000000..51d24bd
--- /dev/null
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TApplicationException.java
@@ -0,0 +1,124 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.blur.thirdparty.thrift_0_9_0;
+
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct;
+import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType;
+
+/**
+ * Application level exception
+ *
+ */
+public class TApplicationException extends TException {
+
+  private static final TStruct TAPPLICATION_EXCEPTION_STRUCT = new TStruct("TApplicationException");
+  private static final TField MESSAGE_FIELD = new TField("message", TType.STRING, (short)1);
+  private static final TField TYPE_FIELD = new TField("type", TType.I32, (short)2);
+
+  private static final long serialVersionUID = 1L;
+
+  public static final int UNKNOWN = 0;
+  public static final int UNKNOWN_METHOD = 1;
+  public static final int INVALID_MESSAGE_TYPE = 2;
+  public static final int WRONG_METHOD_NAME = 3;
+  public static final int BAD_SEQUENCE_ID = 4;
+  public static final int MISSING_RESULT = 5;
+  public static final int INTERNAL_ERROR = 6;
+  public static final int PROTOCOL_ERROR = 7;
+
+  protected int type_ = UNKNOWN;
+
+  public TApplicationException() {
+    super();
+  }
+
+  public TApplicationException(int type) {
+    super();
+    type_ = type;
+  }
+
+  public TApplicationException(int type, String message) {
+    super(message);
+    type_ = type;
+  }
+
+  public TApplicationException(String message) {
+    super(message);
+  }
+
+  public int getType() {
+    return type_;
+  }
+
+  public static TApplicationException read(TProtocol iprot) throws TException {
+    TField field;
+    iprot.readStructBegin();
+
+    String message = null;
+    int type = UNKNOWN;
+
+    while (true) {
+      field = iprot.readFieldBegin();
+      if (field.type == TType.STOP) {
+        break;
+      }
+      switch (field.id) {
+      case 1:
+        if (field.type == TType.STRING) {
+          message = iprot.readString();
+        } else {
+          TProtocolUtil.skip(iprot, field.type);
+        }
+        break;
+      case 2:
+        if (field.type == TType.I32) {
+          type = iprot.readI32();
+        } else {
+          TProtocolUtil.skip(iprot, field.type);
+        }
+        break;
+      default:
+        TProtocolUtil.skip(iprot, field.type);
+        break;
+      }
+      iprot.readFieldEnd();
+    }
+    iprot.readStructEnd();
+
+    return new TApplicationException(type, message);
+  }
+
+  public void write(TProtocol oprot) throws TException {
+    oprot.writeStructBegin(TAPPLICATION_EXCEPTION_STRUCT);
+    if (getMessage() != null) {
+      oprot.writeFieldBegin(MESSAGE_FIELD);
+      oprot.writeString(getMessage());
+      oprot.writeFieldEnd();
+    }
+    oprot.writeFieldBegin(TYPE_FIELD);
+    oprot.writeI32(type_);
+    oprot.writeFieldEnd();
+    oprot.writeFieldStop();
+    oprot.writeStructEnd();
+  }
+}


Mime
View raw message