hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1501053 [2/2] - in /hive/trunk: contrib/src/test/results/clientnegative/ hcatalog/src/test/e2e/templeton/tests/ hcatalog/webhcat/svr/src/main/java/org/apache/hcatalog/templeton/ hcatalog/webhcat/svr/src/test/java/org/apache/hcatalog/temple...
Date Tue, 09 Jul 2013 03:41:38 GMT
Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java Tue Jul  9 03:41:36 2013
@@ -951,7 +951,7 @@ public class Hive {
     } catch (NoSuchObjectException e) {
       if (throwException) {
         LOG.error(StringUtils.stringifyException(e));
-        throw new InvalidTableException("Table " + tableName + " not found ", tableName);
+        throw new InvalidTableException(tableName);
       }
       return null;
     } catch (Exception e) {

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveException.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveException.java?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveException.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveException.java Tue Jul  9 03:41:36 2013
@@ -18,11 +18,17 @@
 
 package org.apache.hadoop.hive.ql.metadata;
 
+import org.apache.hadoop.hive.ql.ErrorMsg;
+
 /**
  * Generic exception class for Hive.
  */
 
 public class HiveException extends Exception {
+  /**
+   * Standard predefined message with error code and possibly SQL State, etc.
+   */
+  private ErrorMsg canonicalErrorMsg = ErrorMsg.GENERIC_ERROR;
   public HiveException() {
     super();
   }
@@ -38,4 +44,26 @@ public class HiveException extends Excep
   public HiveException(String message, Throwable cause) {
     super(message, cause);
   }
+
+  public HiveException(ErrorMsg message, String... msgArgs) {
+    this(null, message, msgArgs);
+  }
+
+  /**
+   * This is the recommended constructor to use since it helps use
+   * canonical messages throughout.  
+   * @param errorMsg Canonical error message
+   * @param msgArgs message arguments if message is parametrized; must be {@code null} is message takes no arguments
+   */
+  public HiveException(Throwable cause, ErrorMsg errorMsg, String... msgArgs) {
+    super(errorMsg.format(msgArgs), cause);
+    canonicalErrorMsg = errorMsg;
+
+  }
+  /**
+   * @return {@link ErrorMsg#GENERIC_ERROR} by default
+   */
+  public ErrorMsg getCanonicalErrorMsg() {
+    return canonicalErrorMsg;
+  }
 }

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/InvalidTableException.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/InvalidTableException.java?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/InvalidTableException.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/InvalidTableException.java Tue Jul  9 03:41:36 2013
@@ -18,31 +18,17 @@
 
 package org.apache.hadoop.hive.ql.metadata;
 
+import org.apache.hadoop.hive.ql.ErrorMsg;
+
 /**
  * Generic exception class for Hive.
- * 
  */
 
 public class InvalidTableException extends HiveException {
   String tableName;
 
   public InvalidTableException(String tableName) {
-    super();
-    this.tableName = tableName;
-  }
-
-  public InvalidTableException(String message, String tableName) {
-    super(message);
-    this.tableName = tableName;
-  }
-
-  public InvalidTableException(Throwable cause, String tableName) {
-    super(cause);
-    this.tableName = tableName;
-  }
-
-  public InvalidTableException(String message, Throwable cause, String tableName) {
-    super(message, cause);
+    super(ErrorMsg.INVALID_TABLE, tableName);
     this.tableName = tableName;
   }
 

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/JsonMetaDataFormatter.java Tue Jul  9 03:41:36 2013
@@ -48,12 +48,12 @@ import org.codehaus.jackson.map.ObjectMa
  * json.
  */
 public class JsonMetaDataFormatter implements MetaDataFormatter {
-    private static final Log LOG = LogFactory.getLog("hive.ql.exec.DDLTask");
+    private static final Log LOG = LogFactory.getLog(JsonMetaDataFormatter.class);
 
     /**
      * Convert the map to a JSON string.
      */
-    public void asJson(OutputStream out, Map<String, Object> data)
+    private void asJson(OutputStream out, Map<String, Object> data)
         throws HiveException
     {
         try {
@@ -66,70 +66,29 @@ public class JsonMetaDataFormatter imple
     /**
      * Write an error message.
      */
-    public void error(OutputStream out, String msg, int errorCode)
+    @Override
+    public void error(OutputStream out, String msg, int errorCode, String sqlState)
         throws HiveException
     {
-        asJson(out,
-               MapBuilder.create()
-               .put("error", msg)
-               .put("errorCode", errorCode)
-               .build());
+        error(out, msg, errorCode, sqlState, null);
     }
-
-    /**
-     * Write a log warn message.
-     */
-    public void logWarn(OutputStream out, String msg, int errorCode)
-        throws HiveException
-    {
-        LOG.warn(msg);
-        error(out, msg, errorCode);
-    }
-
-    /**
-     * Write a log info message.
-     */
-    public void logInfo(OutputStream out, String msg, int errorCode)
-        throws HiveException
-    {
-        LOG.info(msg);
-        error(out, msg, errorCode);
-    }
-
-    /**
-     * Write a console error message.
-     */
-    public void consoleError(LogHelper console, String msg, int errorCode) {
-        try {
-            console.printError(msg);
-            error(console.getOutStream(), msg, errorCode);
-        } catch (HiveException e) {
-            console.printError("unable to create json: " + e);
+    @Override
+    public void error(OutputStream out, String errorMessage, int errorCode, String sqlState, String errorDetail) throws HiveException {
+        MapBuilder mb = MapBuilder.create().put("error", errorMessage);
+        if(errorDetail != null) {
+            mb.put("errorDetail", errorDetail);
         }
-    }
-
-    /**
-     * Write a console error message.
-     */
-    public void consoleError(LogHelper console, String msg, String detail,
-                             int errorCode)
-    {
-        try {
-            console.printError(msg, detail);
-            asJson(console.getOutStream(),
-                   MapBuilder.create()
-                   .put("error", msg)
-                   .put("errorDetail", detail)
-                   .put("errorCode", errorCode)
-                   .build());
-        } catch (HiveException e) {
-            console.printError("unable to create json: " + e);
+        mb.put("errorCode", errorCode);
+        if(sqlState != null) {
+          mb.put("sqlState", sqlState);
         }
+        asJson(out,mb.build());
     }
 
     /**
      * Show a list of tables.
      */
+    @Override
     public void showTables(DataOutputStream out, Set<String> tables)
         throws HiveException
     {
@@ -142,6 +101,7 @@ public class JsonMetaDataFormatter imple
     /**
      * Describe table.
      */
+    @Override
     public void describeTable(DataOutputStream out,
                               String colPath, String tableName,
                               Table tbl, Partition part, List<FieldSchema> cols,
@@ -178,6 +138,7 @@ public class JsonMetaDataFormatter imple
             .build();
     }
 
+    @Override
     public void showTableStatus(DataOutputStream out,
                                 Hive db,
                                 HiveConf conf,
@@ -366,6 +327,7 @@ public class JsonMetaDataFormatter imple
     /**
      * Show the table partitions.
      */
+    @Override
     public void showTablePartitons(DataOutputStream out, List<String> parts)
         throws HiveException
     {
@@ -424,6 +386,7 @@ public class JsonMetaDataFormatter imple
     /**
      * Show a list of databases
      */
+    @Override
     public void showDatabases(DataOutputStream out, List<String> databases)
         throws HiveException
     {
@@ -436,6 +399,7 @@ public class JsonMetaDataFormatter imple
     /**
      * Show the description of a database
      */
+    @Override
     public void showDatabaseDescription(DataOutputStream out,
                                         String database,
                                         String comment,

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java Tue Jul  9 03:41:36 2013
@@ -28,6 +28,7 @@ import java.util.Map.Entry;
 import java.util.Set;
 
 import org.apache.commons.lang.StringEscapeUtils;
+import org.apache.hadoop.hive.conf.HiveConf;
 import org.apache.hadoop.hive.metastore.TableType;
 import org.apache.hadoop.hive.metastore.api.FieldSchema;
 import org.apache.hadoop.hive.metastore.api.Index;
@@ -325,4 +326,11 @@ public final class MetaDataFormatUtils {
     formatOutput(ShowIndexesDesc.getSchema().split("#")[0].split(","), indexCols);
     return indexCols.toString();
   }
+  public static MetaDataFormatter getFormatter(HiveConf conf) {
+    if ("json".equals(conf.get(HiveConf.ConfVars.HIVE_DDL_OUTPUT_FORMAT.varname, "text"))) {
+      return new JsonMetaDataFormatter();
+    } else {
+      return new TextMetaDataFormatter(conf.getIntVar(HiveConf.ConfVars.CLIPRETTYOUTPUTNUMCOLS));
+    }
+  }
 }

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatter.java Tue Jul  9 03:41:36 2013
@@ -38,49 +38,18 @@ import org.apache.hadoop.hive.ql.session
  */
 public interface MetaDataFormatter {
     /**
-     * Generic error code.  This and the other error codes are
-     * designed to match the HTTP status codes.
-     */
-    static final int ERROR = 500;
-
-    /**
-     * Missing error code.
-     */
-    static final int MISSING = 404;
-
-    /**
-     * Conflict error code.
-     */
-    static final int CONFLICT = 409;
-
-    /**
      * Write an error message.
+     * @param sqlState if {@code null}, will be ignored
      */
-    public void error(OutputStream out, String msg, int errorCode)
-        throws HiveException;
-
-    /**
-     * Write a log warn message.
-     */
-    public void logWarn(OutputStream out, String msg, int errorCode)
-        throws HiveException;
-
-    /**
-     * Write a log info message.
-     */
-    public void logInfo(OutputStream out, String msg, int errorCode)
+    public void error(OutputStream out, String msg, int errorCode, String sqlState)
         throws HiveException;
 
-    /**
-     * Write a console error message.
-     */
-    public void consoleError(LogHelper console, String msg, int errorCode);
-
-    /**
-     * Write a console error message.
-     */
-    public void consoleError(LogHelper console, String msg, String detail,
-                             int errorCode);
+  /**
+   * @param sqlState if {@code null}, will be skipped in output
+   * @param errorDetail usually string version of some Exception, if {@code null}, will be ignored
+   */
+    public void error(OutputStream out, String errorMessage, int errorCode, String sqlState, String errorDetail)
+          throws HiveException;
 
     /**
      * Show a list of tables.

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java Tue Jul  9 03:41:36 2013
@@ -49,8 +49,8 @@ import org.apache.hadoop.hive.shims.Shim
  * Format table and index information for human readability using
  * simple lines of text.
  */
-public class TextMetaDataFormatter implements MetaDataFormatter {
-    private static final Log LOG = LogFactory.getLog("hive.ql.exec.DDLTask");
+class TextMetaDataFormatter implements MetaDataFormatter {
+    private static final Log LOG = LogFactory.getLog(TextMetaDataFormatter.class);
 
     private static final int separator = Utilities.tabCode;
     private static final int terminator = Utilities.newLineCode;
@@ -67,54 +67,35 @@ public class TextMetaDataFormatter imple
     /**
      * Write an error message.
      */
-    public void error(OutputStream out, String msg, int errorCode)
+    @Override
+    public void error(OutputStream out, String msg, int errorCode, String sqlState)
         throws HiveException
     {
-        try {
-            out.write(msg.getBytes("UTF-8"));
-            out.write(terminator);
-        } catch (Exception e) {
-            throw new HiveException(e);
-        }
-    }
-
-    /**
-     * Write a log warn message.
-     */
-    public void logWarn(OutputStream out, String msg, int errorCode)
-        throws HiveException
-    {
-        LOG.warn(msg);
+        error(out, msg, errorCode, sqlState, null);
     }
 
-    /**
-     * Write a log info message.
-     */
-    public void logInfo(OutputStream out, String msg, int errorCode)
-        throws HiveException
+    @Override
+    public void error(OutputStream out, String errorMessage, int errorCode, String sqlState, String errorDetail)
+          throws HiveException
     {
-        LOG.info(msg);
-    }
-
-    /**
-     * Write a console error message.
-     */
-    public void consoleError(LogHelper console, String msg, int errorCode) {
-        console.printError(msg);
-    }
-
-    /**
-     * Write a console error message.
-     */
-    public void consoleError(LogHelper console, String msg, String detail,
-                             int errorCode)
-    {
-        console.printError(msg, detail);
+      try {
+        out.write(errorMessage.getBytes("UTF-8"));
+        if(errorDetail != null) {
+          out.write(errorDetail.getBytes("UTF-8"));
+        }
+        out.write(errorCode);
+        if(sqlState != null) {
+          out.write(sqlState.getBytes("UTF-8"));//this breaks all the tests in .q files
+        }
+        out.write(terminator);
+      } catch (Exception e) {
+          throw new HiveException(e);
+        }
     }
-
     /**
      * Show a list of tables.
      */
+    @Override
     public void showTables(DataOutputStream out, Set<String> tables)
         throws HiveException
     {
@@ -131,6 +112,7 @@ public class TextMetaDataFormatter imple
         }
     }
 
+    @Override
     public void describeTable(DataOutputStream outStream,
                               String colPath, String tableName,
                               Table tbl, Partition part, List<FieldSchema> cols,
@@ -187,6 +169,7 @@ public class TextMetaDataFormatter imple
         }
     }
 
+    @Override
     public void showTableStatus(DataOutputStream outStream,
                                 Hive db,
                                 HiveConf conf,
@@ -406,6 +389,7 @@ public class TextMetaDataFormatter imple
     /**
      * Show the table partitions.
      */
+    @Override
     public void showTablePartitons(DataOutputStream outStream, List<String> parts)
         throws HiveException
     {
@@ -430,6 +414,7 @@ public class TextMetaDataFormatter imple
     /**
      * Show the list of databases
      */
+    @Override
     public void showDatabases(DataOutputStream outStream, List<String> databases)
         throws HiveException
         {
@@ -447,6 +432,7 @@ public class TextMetaDataFormatter imple
     /**
      * Describe a database
      */
+    @Override
     public void showDatabaseDescription(DataOutputStream outStream,
                                         String database,
                                         String comment,

Modified: hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java (original)
+++ hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java Tue Jul  9 03:41:36 2013
@@ -1007,7 +1007,6 @@ public class QTestUtil {
         ".*LOCATION '.*",
         ".*transient_lastDdlTime.*",
         ".*last_modified_.*",
-        ".*java.lang.RuntimeException.*",
         ".*at org.*",
         ".*at sun.*",
         ".*at java.*",

Modified: hive/trunk/ql/src/test/results/clientnegative/add_partition_with_whitelist.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/add_partition_with_whitelist.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/add_partition_with_whitelist.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/add_partition_with_whitelist.q.out Tue Jul  9 03:41:36 2013
@@ -14,5 +14,4 @@ POSTHOOK: type: SHOWPARTITIONS
 PREHOOK: query: ALTER TABLE part_whitelist_test ADD PARTITION (ds='1,2,3,4')
 PREHOOK: type: ALTERTABLE_ADDPARTS
 PREHOOK: Input: default@part_whitelist_test
-FAILED: Error in metadata: MetaException(message:Partition value '1,2,3,4' contains a character not matched by whitelist pattern '[\\x20-\\x7E&&[^,]]*'.  (configure with hive.metastore.partition.name.whitelist.pattern))
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Partition value '1,2,3,4' contains a character not matched by whitelist pattern '[\\x20-\\x7E&&[^,]]*'.  (configure with hive.metastore.partition.name.whitelist.pattern))

Modified: hive/trunk/ql/src/test/results/clientnegative/addpart1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/addpart1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/addpart1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/addpart1.q.out Tue Jul  9 03:41:36 2013
@@ -18,5 +18,4 @@ b=f/c=s
 PREHOOK: query: alter table addpart1 add partition (b='f', c='')
 PREHOOK: type: ALTERTABLE_ADDPARTS
 PREHOOK: Input: default@addpart1
-FAILED: Error in metadata: get partition: Value for key c is null or empty
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. get partition: Value for key c is null or empty

Modified: hive/trunk/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/alter_partition_nodrop_table.q.out Tue Jul  9 03:41:36 2013
@@ -37,5 +37,4 @@ PREHOOK: query: drop table alter_part_no
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@alter_part_nodrop_table
 PREHOOK: Output: default@alter_part_nodrop_table
-FAILED: Error in metadata: Table alter_part_nodrop_table Partitionyear=1996/month=10 is protected from being dropped
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table alter_part_nodrop_table Partitionyear=1996/month=10 is protected from being dropped

Modified: hive/trunk/ql/src/test/results/clientnegative/alter_partition_with_whitelist.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/alter_partition_with_whitelist.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/alter_partition_with_whitelist.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/alter_partition_with_whitelist.q.out Tue Jul  9 03:41:36 2013
@@ -22,5 +22,4 @@ PREHOOK: query: ALTER TABLE part_whiteli
 PREHOOK: type: ALTERTABLE_RENAMEPART
 PREHOOK: Input: default@part_whitelist_test
 PREHOOK: Output: default@part_whitelist_test@ds=1
-FAILED: Error in metadata: Unable to rename partition.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unable to rename partition.

Modified: hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure.q.out Tue Jul  9 03:41:36 2013
@@ -26,5 +26,4 @@ POSTHOOK: Lineage: alter_rename_partitio
 PREHOOK: query: alter table alter_rename_partition partition (pCol1='nonexist_part1:', pcol2='nonexist_part2:') rename to partition (pCol1='new_part1:', pcol2='new_part2:')
 PREHOOK: type: ALTERTABLE_RENAMEPART
 PREHOOK: Input: default@alter_rename_partition
-Failed with exception null
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null

Modified: hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure2.q.out Tue Jul  9 03:41:36 2013
@@ -27,5 +27,4 @@ PREHOOK: query: alter table alter_rename
 PREHOOK: type: ALTERTABLE_RENAMEPART
 PREHOOK: Input: default@alter_rename_partition
 PREHOOK: Output: default@alter_rename_partition@pcol1=old_part1%3A/pcol2=old_part2%3A
-FAILED: Error in metadata: Unable to rename partition.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unable to rename partition.

Modified: hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure3.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/alter_rename_partition_failure3.q.out Tue Jul  9 03:41:36 2013
@@ -27,5 +27,4 @@ PREHOOK: query: alter table alter_rename
 PREHOOK: type: ALTERTABLE_RENAMEPART
 PREHOOK: Input: default@alter_rename_partition
 PREHOOK: Output: default@alter_rename_partition@pcol1=old_part1%3A/pcol2=old_part2%3A
-FAILED: Error in metadata: Unable to rename partition.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unable to rename partition.

Modified: hive/trunk/ql/src/test/results/clientnegative/alter_table_wrong_regex.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/alter_table_wrong_regex.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/alter_table_wrong_regex.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/alter_table_wrong_regex.q.out Tue Jul  9 03:41:36 2013
@@ -15,7 +15,6 @@ PREHOOK: query: alter table aa set serde
 PREHOOK: type: ALTERTABLE_SERDEPROPERTIES
 PREHOOK: Input: default@aa
 PREHOOK: Output: default@aa
-Failed with exception Unclosed character class near index 7
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unclosed character class near index 7
 [^\](.*)
        ^
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

Modified: hive/trunk/ql/src/test/results/clientnegative/alter_view_failure4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/alter_view_failure4.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/alter_view_failure4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/alter_view_failure4.q.out Tue Jul  9 03:41:36 2013
@@ -18,5 +18,4 @@ PREHOOK: query: -- should fail:  LOCATIO
 PREHOOK: type: ALTERTABLE_ADDPARTS
 PREHOOK: Input: default@src
 PREHOOK: Input: default@xxx5
-FAILED: Error in metadata: LOCATION clause illegal for view partition
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. LOCATION clause illegal for view partition

Modified: hive/trunk/ql/src/test/results/clientnegative/altern1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/altern1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/altern1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/altern1.q.out Tue Jul  9 03:41:36 2013
@@ -7,5 +7,4 @@ PREHOOK: query: alter table altern1 repl
 PREHOOK: type: ALTERTABLE_REPLACECOLS
 PREHOOK: Input: default@altern1
 PREHOOK: Output: default@altern1
-Invalid table columns : Partition column name ds conflicts with table columns.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Partition column name ds conflicts with table columns.

Modified: hive/trunk/ql/src/test/results/clientnegative/archive1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive1.q.out Tue Jul  9 03:41:36 2013
@@ -37,5 +37,4 @@ PREHOOK: query: ALTER TABLE srcpart_arch
 PREHOOK: type: ALTERTABLE_ARCHIVE
 PREHOOK: Input: default@srcpart_archived
 PREHOOK: Output: default@srcpart_archived@ds=2008-04-08/hr=12
-FAILED: Error in metadata: Partition(s) already archived
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Partition(s) already archived

Modified: hive/trunk/ql/src/test/results/clientnegative/archive2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive2.q.out Tue Jul  9 03:41:36 2013
@@ -31,5 +31,4 @@ PREHOOK: query: ALTER TABLE tstsrcpart U
 PREHOOK: type: ALTERTABLE_UNARCHIVE
 PREHOOK: Input: default@tstsrcpart
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
-FAILED: Error in metadata: Partition ds=2008-04-08/hr=12 is not archived.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Partition ds=2008-04-08/hr=12 is not archived.

Modified: hive/trunk/ql/src/test/results/clientnegative/archive_multi1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive_multi1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive_multi1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive_multi1.q.out Tue Jul  9 03:41:36 2013
@@ -58,5 +58,4 @@ PREHOOK: type: ALTERTABLE_ARCHIVE
 PREHOOK: Input: default@tstsrcpart
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=11
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
-FAILED: Error in metadata: Partition(s) already archived
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Partition(s) already archived

Modified: hive/trunk/ql/src/test/results/clientnegative/archive_multi2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive_multi2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive_multi2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive_multi2.q.out Tue Jul  9 03:41:36 2013
@@ -47,5 +47,4 @@ PREHOOK: query: ALTER TABLE tstsrcpart U
 PREHOOK: type: ALTERTABLE_UNARCHIVE
 PREHOOK: Input: default@tstsrcpart
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
-FAILED: Error in metadata: Partition ds=2008-04-08/hr=12 is not archived.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Partition ds=2008-04-08/hr=12 is not archived.

Modified: hive/trunk/ql/src/test/results/clientnegative/archive_multi3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive_multi3.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive_multi3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive_multi3.q.out Tue Jul  9 03:41:36 2013
@@ -56,5 +56,4 @@ PREHOOK: type: ALTERTABLE_ARCHIVE
 PREHOOK: Input: default@tstsrcpart
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=11
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
-FAILED: Error in metadata: Conflict with existing archive ds=2008-04-08/hr=12
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Conflict with existing archive ds=2008-04-08/hr=12

Modified: hive/trunk/ql/src/test/results/clientnegative/archive_multi4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive_multi4.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive_multi4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive_multi4.q.out Tue Jul  9 03:41:36 2013
@@ -57,5 +57,4 @@ PREHOOK: query: ALTER TABLE tstsrcpart A
 PREHOOK: type: ALTERTABLE_ARCHIVE
 PREHOOK: Input: default@tstsrcpart
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
-FAILED: Error in metadata: Conflict with existing archive ds=2008-04-08
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Conflict with existing archive ds=2008-04-08

Modified: hive/trunk/ql/src/test/results/clientnegative/archive_multi5.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive_multi5.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive_multi5.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive_multi5.q.out Tue Jul  9 03:41:36 2013
@@ -56,5 +56,4 @@ PREHOOK: type: ALTERTABLE_UNARCHIVE
 PREHOOK: Input: default@tstsrcpart
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=11
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
-FAILED: Error in metadata: Partition ds=2008-04-08/hr=11 is not archived.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Partition ds=2008-04-08/hr=11 is not archived.

Modified: hive/trunk/ql/src/test/results/clientnegative/archive_multi6.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive_multi6.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive_multi6.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive_multi6.q.out Tue Jul  9 03:41:36 2013
@@ -57,5 +57,4 @@ PREHOOK: query: ALTER TABLE tstsrcpart U
 PREHOOK: type: ALTERTABLE_UNARCHIVE
 PREHOOK: Input: default@tstsrcpart
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
-FAILED: Error in metadata: Partition ds=2008-04-08/hr=12 is archived at level 1, and given partspec only has 2 specs.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Partition ds=2008-04-08/hr=12 is archived at level 1, and given partspec only has 2 specs.

Modified: hive/trunk/ql/src/test/results/clientnegative/archive_multi7.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/archive_multi7.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/archive_multi7.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/archive_multi7.q.out Tue Jul  9 03:41:36 2013
@@ -40,4 +40,3 @@ PREHOOK: Input: default@tstsrcpart
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=11
 PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
 #### A masked pattern was here ####
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_fail_1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_fail_1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_fail_1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_fail_1.q.out Tue Jul  9 03:41:36 2013
@@ -12,5 +12,5 @@ POSTHOOK: Output: default@authorization_
 PREHOOK: query: grant Create on table authorization_fail_1 to user hive_test_user
 PREHOOK: type: GRANT_PRIVILEGE
 PREHOOK: Output: default@authorization_fail_1
-#### A masked pattern was here ####
+Error: java.lang.RuntimeException: InvalidObjectException(message:Create is already granted on table [default,authorization_fail_1] by hive_test_user)
 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

Modified: hive/trunk/ql/src/test/results/clientnegative/column_rename1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/column_rename1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/column_rename1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/column_rename1.q.out Tue Jul  9 03:41:36 2013
@@ -23,5 +23,4 @@ PREHOOK: query: alter table tstsrc chang
 PREHOOK: type: ALTERTABLE_RENAMECOL
 PREHOOK: Input: default@tstsrc
 PREHOOK: Output: default@tstsrc
-Column 'src_not_exist' does not exists
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Invalid column reference src_not_exist

Modified: hive/trunk/ql/src/test/results/clientnegative/column_rename2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/column_rename2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/column_rename2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/column_rename2.q.out Tue Jul  9 03:41:36 2013
@@ -23,5 +23,4 @@ PREHOOK: query: alter table tstsrc chang
 PREHOOK: type: ALTERTABLE_RENAMECOL
 PREHOOK: Input: default@tstsrc
 PREHOOK: Output: default@tstsrc
-Column 'value' exists
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Duplicate column name: value

Modified: hive/trunk/ql/src/test/results/clientnegative/column_rename4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/column_rename4.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/column_rename4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/column_rename4.q.out Tue Jul  9 03:41:36 2013
@@ -23,5 +23,4 @@ PREHOOK: query: alter table tstsrc chang
 PREHOOK: type: ALTERTABLE_RENAMECOL
 PREHOOK: Input: default@tstsrc
 PREHOOK: Output: default@tstsrc
-Column 'key_value' does not exists
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Invalid column reference key_value

Modified: hive/trunk/ql/src/test/results/clientnegative/create_table_failure3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_table_failure3.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_table_failure3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_table_failure3.q.out Tue Jul  9 03:41:36 2013
@@ -1,4 +1,3 @@
 PREHOOK: query: create table table_in_database_creation_not_exist.test (a string)
 PREHOOK: type: CREATETABLE
-FAILED: Error in metadata: InvalidObjectException(message:There is no database named table_in_database_creation_not_exist)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidObjectException(message:There is no database named table_in_database_creation_not_exist)

Modified: hive/trunk/ql/src/test/results/clientnegative/create_table_failure4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_table_failure4.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_table_failure4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_table_failure4.q.out Tue Jul  9 03:41:36 2013
@@ -1,4 +1,3 @@
 PREHOOK: query: create table `table_in_database_creation_not_exist.test` (a string)
 PREHOOK: type: CREATETABLE
-FAILED: Error in metadata: InvalidObjectException(message:There is no database named table_in_database_creation_not_exist)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidObjectException(message:There is no database named table_in_database_creation_not_exist)

Modified: hive/trunk/ql/src/test/results/clientnegative/create_table_wrong_regex.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_table_wrong_regex.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_table_wrong_regex.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_table_wrong_regex.q.out Tue Jul  9 03:41:36 2013
@@ -6,7 +6,6 @@ PREHOOK: query: create table aa ( test S
   ROW FORMAT SERDE 'org.apache.hadoop.hive.contrib.serde2.RegexSerDe'
   WITH SERDEPROPERTIES ("input.regex" = "[^\\](.*)", "output.format.string" = "$1s")
 PREHOOK: type: CREATETABLE
-FAILED: Error in metadata: java.util.regex.PatternSyntaxException: Unclosed character class near index 7
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.util.regex.PatternSyntaxException: Unclosed character class near index 7
 [^\](.*)
        ^
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

Modified: hive/trunk/ql/src/test/results/clientnegative/create_view_failure1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_view_failure1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_view_failure1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_view_failure1.q.out Tue Jul  9 03:41:36 2013
@@ -11,5 +11,4 @@ POSTHOOK: type: CREATETABLE
 POSTHOOK: Output: default@xxx12
 PREHOOK: query: CREATE VIEW xxx12 AS SELECT key FROM src
 PREHOOK: type: CREATEVIEW
-FAILED: Error in metadata: AlreadyExistsException(message:Table xxx12 already exists)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. AlreadyExistsException(message:Table xxx12 already exists)

Modified: hive/trunk/ql/src/test/results/clientnegative/create_view_failure2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_view_failure2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_view_failure2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_view_failure2.q.out Tue Jul  9 03:41:36 2013
@@ -11,5 +11,4 @@ POSTHOOK: type: CREATEVIEW
 POSTHOOK: Output: default@xxx4
 PREHOOK: query: CREATE TABLE xxx4(key int)
 PREHOOK: type: CREATETABLE
-FAILED: Error in metadata: AlreadyExistsException(message:Table xxx4 already exists)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. AlreadyExistsException(message:Table xxx4 already exists)

Modified: hive/trunk/ql/src/test/results/clientnegative/create_view_failure4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/create_view_failure4.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/create_view_failure4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/create_view_failure4.q.out Tue Jul  9 03:41:36 2013
@@ -6,5 +6,4 @@ PREHOOK: query: -- duplicate column name
 CREATE VIEW xxx5(x,x) AS
 SELECT key,value FROM src
 PREHOOK: type: CREATEVIEW
-FAILED: Error in metadata: org.apache.hadoop.hive.ql.metadata.HiveException: Duplicate column name x in the table definition.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.HiveException: Duplicate column name x in the table definition.

Modified: hive/trunk/ql/src/test/results/clientnegative/database_create_already_exists.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/database_create_already_exists.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/database_create_already_exists.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/database_create_already_exists.q.out Tue Jul  9 03:41:36 2013
@@ -11,5 +11,4 @@ CREATE DATABASE test_db
 POSTHOOK: type: CREATEDATABASE
 PREHOOK: query: CREATE DATABASE test_db
 PREHOOK: type: CREATEDATABASE
-Database test_db already exists
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Database test_db already exists

Modified: hive/trunk/ql/src/test/results/clientnegative/database_create_invalid_name.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/database_create_invalid_name.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/database_create_invalid_name.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/database_create_invalid_name.q.out Tue Jul  9 03:41:36 2013
@@ -6,5 +6,4 @@ default
 PREHOOK: query: -- Try to create a database with an invalid name
 CREATE DATABASE `test.db`
 PREHOOK: type: CREATEDATABASE
-FAILED: Error in metadata: InvalidObjectException(message:test.db is not a valid database name)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidObjectException(message:test.db is not a valid database name)

Modified: hive/trunk/ql/src/test/results/clientnegative/database_drop_does_not_exist.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/database_drop_does_not_exist.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/database_drop_does_not_exist.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/database_drop_does_not_exist.q.out Tue Jul  9 03:41:36 2013
@@ -6,5 +6,4 @@ default
 PREHOOK: query: -- Try to drop a database that does not exist
 DROP DATABASE does_not_exist
 PREHOOK: type: DROPDATABASE
-There is no database named does_not_exist
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Database does not exist: does_not_exist

Modified: hive/trunk/ql/src/test/results/clientnegative/database_drop_not_empty.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/database_drop_not_empty.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/database_drop_not_empty.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/database_drop_not_empty.q.out Tue Jul  9 03:41:36 2013
@@ -24,5 +24,4 @@ POSTHOOK: query: USE default
 POSTHOOK: type: SWITCHDATABASE
 PREHOOK: query: DROP DATABASE test_db
 PREHOOK: type: DROPDATABASE
-FAILED: Error in metadata: InvalidOperationException(message:Database test_db is not empty)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidOperationException(message:Database test_db is not empty)

Modified: hive/trunk/ql/src/test/results/clientnegative/database_drop_not_empty_restrict.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/database_drop_not_empty_restrict.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/database_drop_not_empty_restrict.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/database_drop_not_empty_restrict.q.out Tue Jul  9 03:41:36 2013
@@ -24,5 +24,4 @@ POSTHOOK: query: USE default
 POSTHOOK: type: SWITCHDATABASE
 PREHOOK: query: DROP DATABASE db_drop_non_empty_restrict
 PREHOOK: type: DROPDATABASE
-FAILED: Error in metadata: InvalidOperationException(message:Database db_drop_non_empty_restrict is not empty)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidOperationException(message:Database db_drop_non_empty_restrict is not empty)

Modified: hive/trunk/ql/src/test/results/clientnegative/database_switch_does_not_exist.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/database_switch_does_not_exist.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/database_switch_does_not_exist.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/database_switch_does_not_exist.q.out Tue Jul  9 03:41:36 2013
@@ -6,5 +6,4 @@ default
 PREHOOK: query: -- Try to switch to a database that does not exist
 USE does_not_exist
 PREHOOK: type: SWITCHDATABASE
-FAILED: Error in metadata: ERROR: The database does_not_exist does not exist.
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Database does not exist: does_not_exist

Modified: hive/trunk/ql/src/test/results/clientnegative/deletejar.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/deletejar.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/deletejar.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/deletejar.q.out Tue Jul  9 03:41:36 2013
@@ -1,4 +1,3 @@
 PREHOOK: query: CREATE TABLE DELETEJAR(KEY STRING, VALUE STRING) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.TestSerDe' STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
-FAILED: Error in metadata: Cannot validate serde: org.apache.hadoop.hive.serde2.TestSerDe
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot validate serde: org.apache.hadoop.hive.serde2.TestSerDe

Modified: hive/trunk/ql/src/test/results/clientnegative/describe_xpath1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/describe_xpath1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/describe_xpath1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/describe_xpath1.q.out Tue Jul  9 03:41:36 2013
@@ -1,4 +1,3 @@
 PREHOOK: query: describe src_thrift.$elem$
 PREHOOK: type: DESCTABLE
-#### A masked pattern was here ####
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. cannot find field $elem$ from [private int org.apache.hadoop.hive.serde2.thrift.test.Complex.aint, private java.lang.String org.apache.hadoop.hive.serde2.thrift.test.Complex.aString, private java.util.List org.apache.hadoop.hive.serde2.thrift.test.Complex.lint, private java.util.List org.apache.hadoop.hive.serde2.thrift.test.Complex.lString, private java.util.List org.apache.hadoop.hive.serde2.thrift.test.Complex.lintString, private java.util.Map org.apache.hadoop.hive.serde2.thrift.test.Complex.mStringString]

Modified: hive/trunk/ql/src/test/results/clientnegative/describe_xpath2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/describe_xpath2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/describe_xpath2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/describe_xpath2.q.out Tue Jul  9 03:41:36 2013
@@ -1,4 +1,3 @@
 PREHOOK: query: describe src_thrift.$key$
 PREHOOK: type: DESCTABLE
-#### A masked pattern was here ####
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. cannot find field $key$ from [private int org.apache.hadoop.hive.serde2.thrift.test.Complex.aint, private java.lang.String org.apache.hadoop.hive.serde2.thrift.test.Complex.aString, private java.util.List org.apache.hadoop.hive.serde2.thrift.test.Complex.lint, private java.util.List org.apache.hadoop.hive.serde2.thrift.test.Complex.lString, private java.util.List org.apache.hadoop.hive.serde2.thrift.test.Complex.lintString, private java.util.Map org.apache.hadoop.hive.serde2.thrift.test.Complex.mStringString]

Modified: hive/trunk/ql/src/test/results/clientnegative/describe_xpath3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/describe_xpath3.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/describe_xpath3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/describe_xpath3.q.out Tue Jul  9 03:41:36 2013
@@ -1,4 +1,3 @@
 PREHOOK: query: describe src_thrift.lint.abc
 PREHOOK: type: DESCTABLE
-FAILED: Error in metadata: org.apache.hadoop.hive.ql.metadata.HiveException: Error in getting fields from serde.Unknown type for abc
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Error in getting fields from serde.Unknown type for abc

Modified: hive/trunk/ql/src/test/results/clientnegative/describe_xpath4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/describe_xpath4.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/describe_xpath4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/describe_xpath4.q.out Tue Jul  9 03:41:36 2013
@@ -1,4 +1,3 @@
 PREHOOK: query: describe src_thrift.mStringString.abc
 PREHOOK: type: DESCTABLE
-FAILED: Error in metadata: org.apache.hadoop.hive.ql.metadata.HiveException: Error in getting fields from serde.Unknown type for abc
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Error in getting fields from serde.Unknown type for abc

Modified: hive/trunk/ql/src/test/results/clientnegative/disallow_incompatible_type_change_on1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/disallow_incompatible_type_change_on1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/disallow_incompatible_type_change_on1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/disallow_incompatible_type_change_on1.q.out Tue Jul  9 03:41:36 2013
@@ -122,4 +122,4 @@ ALTER TABLE test_table123 REPLACE COLUMN
 PREHOOK: type: ALTERTABLE_REPLACECOLS
 PREHOOK: Input: default@test_table123
 PREHOOK: Output: default@test_table123
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter table.

Modified: hive/trunk/ql/src/test/results/clientnegative/disallow_incompatible_type_change_on2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/disallow_incompatible_type_change_on2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/disallow_incompatible_type_change_on2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/disallow_incompatible_type_change_on2.q.out Tue Jul  9 03:41:36 2013
@@ -39,4 +39,4 @@ PREHOOK: query: ALTER TABLE test_table12
 PREHOOK: type: ALTERTABLE_RENAMECOL
 PREHOOK: Input: default@test_table123
 PREHOOK: Output: default@test_table123
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter table.

Modified: hive/trunk/ql/src/test/results/clientnegative/drop_table_failure2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/drop_table_failure2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/drop_table_failure2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/drop_table_failure2.q.out Tue Jul  9 03:41:36 2013
@@ -8,5 +8,4 @@ DROP TABLE xxx6
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@xxx6
 PREHOOK: Output: default@xxx6
-FAILED: Error in metadata: Cannot drop a view with DROP TABLE
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot drop a view with DROP TABLE

Modified: hive/trunk/ql/src/test/results/clientnegative/drop_table_failure3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/drop_table_failure3.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/drop_table_failure3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/drop_table_failure3.q.out Tue Jul  9 03:41:36 2013
@@ -45,5 +45,4 @@ PREHOOK: query: drop table drop_table_fa
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: dtf3@drop_table_failure_temp
 PREHOOK: Output: dtf3@drop_table_failure_temp
-FAILED: Error in metadata: Table drop_table_failure_temp Partitionp=p3 is protected from being dropped
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table drop_table_failure_temp Partitionp=p3 is protected from being dropped

Modified: hive/trunk/ql/src/test/results/clientnegative/drop_view_failure1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/drop_view_failure1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/drop_view_failure1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/drop_view_failure1.q.out Tue Jul  9 03:41:36 2013
@@ -8,5 +8,4 @@ DROP VIEW xxx1
 PREHOOK: type: DROPVIEW
 PREHOOK: Input: default@xxx1
 PREHOOK: Output: default@xxx1
-FAILED: Error in metadata: Cannot drop a base table with DROP VIEW
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot drop a base table with DROP VIEW

Modified: hive/trunk/ql/src/test/results/clientnegative/external1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/external1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/external1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/external1.q.out Tue Jul  9 03:41:36 2013
@@ -1,4 +1,3 @@
 #### A masked pattern was here ####
 PREHOOK: type: CREATETABLE
-FAILED: Error in metadata: MetaException(message:Got exception: java.io.IOException No FileSystem for scheme: invalidscheme)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: java.io.IOException No FileSystem for scheme: invalidscheme)

Modified: hive/trunk/ql/src/test/results/clientnegative/external2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/external2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/external2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/external2.q.out Tue Jul  9 03:41:36 2013
@@ -6,5 +6,4 @@ POSTHOOK: Output: default@external2
 #### A masked pattern was here ####
 PREHOOK: type: ALTERTABLE_ADDPARTS
 PREHOOK: Input: default@external2
-FAILED: Error in metadata: MetaException(message:Got exception: java.io.IOException No FileSystem for scheme: invalidscheme)
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: java.io.IOException No FileSystem for scheme: invalidscheme)

Modified: hive/trunk/ql/src/test/results/clientnegative/invalid_columns.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/invalid_columns.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/invalid_columns.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/invalid_columns.q.out Tue Jul  9 03:41:36 2013
@@ -2,5 +2,4 @@ PREHOOK: query: CREATE TABLE DELETEJAR(K
 STORED AS TEXTFILE
 TBLPROPERTIES('columns'='valid_colname,invalid.colname')
 PREHOOK: type: CREATETABLE
-FAILED: Error in metadata: org.apache.hadoop.hive.ql.metadata.HiveException: Invalid column name 'invalid.colname' in the table definition
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.HiveException: Invalid column name 'invalid.colname' in the table definition

Modified: hive/trunk/ql/src/test/results/clientnegative/lockneg2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/lockneg2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/lockneg2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/lockneg2.q.out Tue Jul  9 03:41:36 2013
@@ -19,5 +19,4 @@ POSTHOOK: Lineage: tstsrc.key SIMPLE [(s
 POSTHOOK: Lineage: tstsrc.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: UNLOCK TABLE tstsrc
 PREHOOK: type: UNLOCKTABLE
-FAILED: Error in metadata: Table tstsrc is not locked 
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table tstsrc is not locked 

Modified: hive/trunk/ql/src/test/results/clientnegative/lockneg3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/lockneg3.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/lockneg3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/lockneg3.q.out Tue Jul  9 03:41:36 2013
@@ -23,5 +23,4 @@ POSTHOOK: Lineage: tstsrcpart PARTITION(
 POSTHOOK: Lineage: tstsrcpart PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: UNLOCK TABLE tstsrcpart PARTITION(ds='2008-04-08', hr='11')
 PREHOOK: type: UNLOCKTABLE
-FAILED: Error in metadata: Table tstsrcpart is not locked 
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table tstsrcpart is not locked 

Modified: hive/trunk/ql/src/test/results/clientnegative/lockneg4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/lockneg4.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/lockneg4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/lockneg4.q.out Tue Jul  9 03:41:36 2013
@@ -29,5 +29,4 @@ POSTHOOK: Lineage: tstsrcpart PARTITION(
 POSTHOOK: Lineage: tstsrcpart PARTITION(ds=2008-04-08,hr=11).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
 PREHOOK: query: SHOW LOCKS tstsrcpart PARTITION(ds='2008-04-08', hr='12')
 PREHOOK: type: SHOWLOCKS
-FAILED: Error in metadata: org.apache.hadoop.hive.ql.metadata.HiveException: Partition {ds=2008-04-08, hr=12} for table tstsrcpart does not exist
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.HiveException: Partition {ds=2008-04-08, hr=12} for table tstsrcpart does not exist

Modified: hive/trunk/ql/src/test/results/clientnegative/lockneg5.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/lockneg5.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/lockneg5.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/lockneg5.q.out Tue Jul  9 03:41:36 2013
@@ -4,5 +4,4 @@ POSTHOOK: query: drop table tstsrcpart
 POSTHOOK: type: DROPTABLE
 PREHOOK: query: show locks tstsrcpart extended
 PREHOOK: type: SHOWLOCKS
-FAILED: Error in metadata: org.apache.hadoop.hive.ql.metadata.InvalidTableException: Table tstsrcpart not found 
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.InvalidTableException: Table not found tstsrcpart

Modified: hive/trunk/ql/src/test/results/clientnegative/protectmode_tbl6.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/protectmode_tbl6.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/protectmode_tbl6.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/protectmode_tbl6.q.out Tue Jul  9 03:41:36 2013
@@ -23,5 +23,4 @@ PREHOOK: query: drop table tbl_protectmo
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@tbl_protectmode_tbl6
 PREHOOK: Output: default@tbl_protectmode_tbl6
-FAILED: Error in metadata: Table tbl_protectmode_tbl6 is protected from being dropped
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table tbl_protectmode_tbl6 is protected from being dropped

Modified: hive/trunk/ql/src/test/results/clientnegative/protectmode_tbl_no_drop.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/protectmode_tbl_no_drop.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/protectmode_tbl_no_drop.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/protectmode_tbl_no_drop.q.out Tue Jul  9 03:41:36 2013
@@ -38,5 +38,4 @@ PREHOOK: query: drop table tbl_protectmo
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@tbl_protectmode__no_drop
 PREHOOK: Output: default@tbl_protectmode__no_drop
-FAILED: Error in metadata: Table tbl_protectmode__no_drop is protected from being dropped
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Table tbl_protectmode__no_drop is protected from being dropped

Modified: hive/trunk/ql/src/test/results/clientnegative/serde_regex.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/serde_regex.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/serde_regex.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/serde_regex.q.out Tue Jul  9 03:41:36 2013
@@ -19,5 +19,4 @@ WITH SERDEPROPERTIES (
   "input.regex" = "([^ ]*) ([^ ]*) ([^ ]*) (-|\\[[^\\]]*\\]) ([^ \"]*|\"[^\"]*\") (-|[0-9]*) (-|[0-9]*)(?: ([^ \"]*|\"[^\"]*\") ([^ \"]*|\"[^\"]*\"))?")
 STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
-#### A masked pattern was here ####
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException org.apache.hadoop.hive.serde2.RegexSerDe doesn't allow column [3] named time with type timestamp)

Modified: hive/trunk/ql/src/test/results/clientnegative/serde_regex3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/serde_regex3.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/serde_regex3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/serde_regex3.q.out Tue Jul  9 03:41:36 2013
@@ -16,5 +16,4 @@ PREHOOK: query: -- null input.regex, rai
 ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.RegexSerDe'
 STORED AS TEXTFILE
 PREHOOK: type: CREATETABLE
-#### A masked pattern was here ####
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException This table does not have serde property "input.regex"!)

Modified: hive/trunk/ql/src/test/results/clientnegative/touch1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/touch1.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/touch1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/touch1.q.out Tue Jul  9 03:41:36 2013
@@ -1,5 +1,4 @@
 PREHOOK: query: ALTER TABLE srcpart TOUCH PARTITION (ds='2008-04-08', hr='13')
 PREHOOK: type: ALTERTABLE_TOUCH
 PREHOOK: Input: default@srcpart
-FAILED: Error in metadata: Specified partition does not exist
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Specified partition does not exist

Modified: hive/trunk/ql/src/test/results/clientnegative/touch2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/touch2.q.out?rev=1501053&r1=1501052&r2=1501053&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/touch2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/touch2.q.out Tue Jul  9 03:41:36 2013
@@ -1,5 +1,4 @@
 PREHOOK: query: ALTER TABLE src TOUCH PARTITION (ds='2008-04-08', hr='12')
 PREHOOK: type: ALTERTABLE_TOUCH
 PREHOOK: Input: default@src
-FAILED: Error in metadata: table is not partitioned but partition spec exists: {ds=2008-04-08, hr=12}
-FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. table is not partitioned but partition spec exists: {ds=2008-04-08, hr=12}



Mime
View raw message