Author: toffer
Date: Sat Jan 21 04:30:16 2012
New Revision: 1234266

URL: http://svn.apache.org/viewvc?rev=1234266&view=rev
Log:
HCATALOG-225 Fix trunk compile issue, method signature change in thrift client. 
(hashutosh via toffer)

Modified:
    incubator/hcatalog/trunk/CHANGES.txt
    
incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java

Modified: incubator/hcatalog/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/CHANGES.txt?rev=1234266&r1=1234265&r2=1234266&view=diff
==============================================================================
--- incubator/hcatalog/trunk/CHANGES.txt (original)
+++ incubator/hcatalog/trunk/CHANGES.txt Sat Jan 21 04:30:16 2012
@@ -105,6 +105,8 @@ Trunk (unreleased changes)
   OPTIMIZATIONS
 
   BUG FIXES
+  HCAT-225. Fix trunk compile issue, method signature change in thrift client. 
(hashutosh via toffer)
+
   HCAT-216. we should source hcat-env.sh in hcat-config before we determine 
where hadoop is (arpitgupta via khorgath)
 
   HCAT-213. determine HIVE_CONF_DIR in hive-config.sh based on rpm or tar ball 
installs (arpitgupta via khorgath)

Modified: 
incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java
URL: 
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java?rev=1234266&r1=1234265&r2=1234266&view=diff
==============================================================================
--- 
incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java
 (original)
+++ 
incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java
 Sat Jan 21 04:30:16 2012
@@ -25,6 +25,7 @@ import org.apache.hadoop.fs.PathFilter;
 import org.apache.hadoop.hive.metastore.HiveMetaStoreClient;
 import org.apache.hadoop.hive.metastore.api.FieldSchema;
 import org.apache.hadoop.hive.metastore.api.MetaException;
+import org.apache.hadoop.hive.metastore.api.NoSuchObjectException;
 import org.apache.hadoop.hive.metastore.api.Table;
 import org.apache.hadoop.io.Writable;
 import org.apache.hadoop.io.WritableComparable;
@@ -82,6 +83,8 @@ class FileOutputFormatContainer extends 
             throw new IOException(e);
         } catch (TException e) {
             throw new IOException(e);
+        } catch (NoSuchObjectException e) {
+            throw new IOException(e);          
         }
         of.checkOutputSpecs(context);
     }
@@ -104,7 +107,7 @@ class FileOutputFormatContainer extends 
      * @throws org.apache.thrift.TException
      */
     private static void handleDuplicatePublish(JobContext context, 
OutputJobInfo outputInfo,
-                                               HiveMetaStoreClient client, 
Table table) throws IOException, MetaException, TException {
+      HiveMetaStoreClient client, Table table) throws IOException, 
MetaException, TException, NoSuchObjectException {
 
         /*
         * For fully specified ptn, follow strict checks for existence of 
partitions in metadata


Reply via email to