hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khorg...@apache.org
Subject svn commit: r1520469 - in /hive/trunk/hcatalog: core/src/main/java/org/apache/hcatalog/cli/SemanticAnalysis/ core/src/main/java/org/apache/hcatalog/common/ core/src/main/java/org/apache/hcatalog/data/transfer/ core/src/main/java/org/apache/hcatalog/map...
Date Fri, 06 Sep 2013 00:57:50 GMT
Author: khorgath
Date: Fri Sep  6 00:57:50 2013
New Revision: 1520469

URL: http://svn.apache.org/r1520469
Log:
HIVE-4896 : create binary backwards compatibility layer hcatalog 0.12 and 0.11 - Part 4/4
misc trivial whitespace fixes and deprecation msg fixes (Sushanth Sowmyan)

Modified:
    hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/cli/SemanticAnalysis/CreateTableHook.java
    hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatContext.java
    hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatUtil.java
    hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/data/transfer/EntityBase.java
    hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java
    hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java
    hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FosterStorageHandler.java
    hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java
    hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/data/schema/TestHCatSchemaUtils.java
    hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/mapreduce/TestHCatDynamicPartitioned.java
    hive/trunk/hcatalog/server-extensions/src/main/java/org/apache/hcatalog/messaging/json/JSONAddPartitionMessage.java
    hive/trunk/hcatalog/src/test/e2e/hcatalog/udfs/java/org/apache/hive/hcatalog/utils/HCatTestDriver.java

Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/cli/SemanticAnalysis/CreateTableHook.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/cli/SemanticAnalysis/CreateTableHook.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/cli/SemanticAnalysis/CreateTableHook.java
(original)
+++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/cli/SemanticAnalysis/CreateTableHook.java
Fri Sep  6 00:57:50 2013
@@ -205,7 +205,7 @@ final class CreateTableHook extends HCat
                         desc.getSerName(),
                         desc.getInputFormat(),
                         desc.getOutputFormat());
-                //Authorization checks are performed by the storageHandler.getAuthorizationProvider(),
if  
+                //Authorization checks are performed by the storageHandler.getAuthorizationProvider(),
if
                 //StorageDelegationAuthorizationProvider is used.
             } catch (IOException e) {
                 throw new SemanticException(e);

Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatContext.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatContext.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatContext.java (original)
+++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatContext.java Fri
Sep  6 00:57:50 2013
@@ -43,7 +43,7 @@ import java.util.Map;
  * <p>HCatalog <em>developers</em> should enable optional functionality
by checking properties
  * from {@link #getConf()}. Since users are not obligated to set a configuration, optional
  * functionality must provide a sensible default.</p>
- * 
+ *
  * @deprecated Use/modify {@link org.apache.hive.hcatalog.common.HCatContext} instead
  */
 @InterfaceAudience.Public

Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatUtil.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatUtil.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatUtil.java (original)
+++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/common/HCatUtil.java Fri Sep
 6 00:57:50 2013
@@ -619,7 +619,7 @@ public class HCatUtil {
             jobConf.set(entry.getKey(), entry.getValue());
         }
     }
-    
+
 
     public static boolean isHadoop23() {
         String version = org.apache.hadoop.util.VersionInfo.getVersion();

Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/data/transfer/EntityBase.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/data/transfer/EntityBase.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/data/transfer/EntityBase.java
(original)
+++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/data/transfer/EntityBase.java
Fri Sep  6 00:57:50 2013
@@ -22,7 +22,7 @@ package org.apache.hcatalog.data.transfe
 import java.util.Map;
 
 /**
- * This is a base class for 
+ * This is a base class for
  * {@link ReadEntity.Builder} / {@link WriteEntity.Builder}.
  * Many fields in them are common, so this class
  * contains the common fields.

Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java
(original)
+++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileOutputCommitterContainer.java
Fri Sep  6 00:57:50 2013
@@ -469,7 +469,7 @@ class FileOutputCommitterContainer exten
                         // Create the directory
                         Path placeholder = new Path(parentDir, "_placeholder");
                         if (fs.mkdirs(parentDir)) {
-                            // It is weired but we need a placeholder, 
+                            // It is weired but we need a placeholder,
                             // otherwise rename cannot move file to the right place
                             fs.create(placeholder).close();
                         }

Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java
(original)
+++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java
Fri Sep  6 00:57:50 2013
@@ -221,7 +221,7 @@ class FileRecordWriterContainer extends 
 
                 Path parentDir = new Path(currTaskContext.getConfiguration().get("mapred.work.output.dir"));
                 Path childPath = new Path(parentDir,FileOutputFormat.getUniqueFile(currTaskContext,
"part", ""));
-                
+
                 org.apache.hadoop.mapred.RecordWriter baseRecordWriter =
                     baseOF.getRecordWriter(
                         parentDir.getFileSystem(currTaskContext.getConfiguration()),

Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FosterStorageHandler.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FosterStorageHandler.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FosterStorageHandler.java
(original)
+++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/FosterStorageHandler.java
Fri Sep  6 00:57:50 2013
@@ -185,7 +185,7 @@ public class FosterStorageHandler extend
     @Override
     public void configureJobConf(TableDesc tableDesc, JobConf jobConf) {
         //do nothing by default
-        //EK: added the same (no-op) implementation as in 
+        //EK: added the same (no-op) implementation as in
         // org.apache.hive.hcatalog.DefaultStorageHandler (hive 0.12)
         // this is needed to get 0.11 API compat layer to work
         // see HIVE-4896

Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java
(original)
+++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java
Fri Sep  6 00:57:50 2013
@@ -231,7 +231,7 @@ public class HCatOutputFormat extends HC
     }
 
     /**
-     * Get the record writer for the job. This uses the StorageHandler's default 
+     * Get the record writer for the job. This uses the StorageHandler's default
      * OutputFormat to get the record writer.
      * @param context the information about the current task
      * @return a RecordWriter to write the output for the job

Modified: hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/data/schema/TestHCatSchemaUtils.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/data/schema/TestHCatSchemaUtils.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/data/schema/TestHCatSchemaUtils.java
(original)
+++ hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/data/schema/TestHCatSchemaUtils.java
Fri Sep  6 00:57:50 2013
@@ -29,7 +29,7 @@ import org.apache.hcatalog.data.schema.H
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 /**
- * @deprecated Use/modify {@link org.apache.hive.hcatalog.data.schema.TestHCatSchema} instead
+ * @deprecated Use/modify {@link org.apache.hive.hcatalog.data.schema.TestHCatSchemaUtils}
instead
  */
 public class TestHCatSchemaUtils extends TestCase {
 

Modified: hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/mapreduce/TestHCatDynamicPartitioned.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/mapreduce/TestHCatDynamicPartitioned.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/mapreduce/TestHCatDynamicPartitioned.java
(original)
+++ hive/trunk/hcatalog/core/src/test/java/org/apache/hcatalog/mapreduce/TestHCatDynamicPartitioned.java
Fri Sep  6 00:57:50 2013
@@ -46,7 +46,7 @@ import static junit.framework.Assert.ass
 import static junit.framework.Assert.assertTrue;
 
 /**
- * @deprecated Use/modify {@link org.apache.hive.hcatalog.mapreduce.TestHCatExternalDynamicPartitioned}
instead
+ * @deprecated Use/modify {@link org.apache.hive.hcatalog.mapreduce.TestHCatDynamicPartitioned}
instead
  */
 public class TestHCatDynamicPartitioned extends HCatMapReduceTest {
 

Modified: hive/trunk/hcatalog/server-extensions/src/main/java/org/apache/hcatalog/messaging/json/JSONAddPartitionMessage.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/server-extensions/src/main/java/org/apache/hcatalog/messaging/json/JSONAddPartitionMessage.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/server-extensions/src/main/java/org/apache/hcatalog/messaging/json/JSONAddPartitionMessage.java
(original)
+++ hive/trunk/hcatalog/server-extensions/src/main/java/org/apache/hcatalog/messaging/json/JSONAddPartitionMessage.java
Fri Sep  6 00:57:50 2013
@@ -27,7 +27,7 @@ import java.util.Map;
 
 /**
  * JSON implementation of AddPartitionMessage.
- * @deprecated Use/modify {@link org.apache.hive.hcatalog.messaging.jms.MessagingUtils} instead
+ * @deprecated Use/modify {@link org.apache.hcatalog.messaging.json.JSONAddPartitionMessage}
instead
  */
 public class JSONAddPartitionMessage extends AddPartitionMessage {
 

Modified: hive/trunk/hcatalog/src/test/e2e/hcatalog/udfs/java/org/apache/hive/hcatalog/utils/HCatTestDriver.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/src/test/e2e/hcatalog/udfs/java/org/apache/hive/hcatalog/utils/HCatTestDriver.java?rev=1520469&r1=1520468&r2=1520469&view=diff
==============================================================================
--- hive/trunk/hcatalog/src/test/e2e/hcatalog/udfs/java/org/apache/hive/hcatalog/utils/HCatTestDriver.java
(original)
+++ hive/trunk/hcatalog/src/test/e2e/hcatalog/udfs/java/org/apache/hive/hcatalog/utils/HCatTestDriver.java
Fri Sep  6 00:57:50 2013
@@ -57,4 +57,3 @@ public class HCatTestDriver {
         System.exit(exitCode);
     }
 }
-	



Mime
View raw message