You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by am...@apache.org on 2011/04/13 11:27:56 UTC
svn commit: r1091721 -
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java
Author: amareshwari
Date: Wed Apr 13 09:27:56 2011
New Revision: 1091721
URL: http://svn.apache.org/viewvc?rev=1091721&view=rev
Log:
HIVE-2098. Makes couple of convenience methods in EximUtil public. Contributed by Krishna Kumar
Modified:
hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java
Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java?rev=1091721&r1=1091720&r2=1091721&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java Wed Apr 13 09:27:56 2011
@@ -166,7 +166,7 @@ public class EximUtil {
/* If null, then the major version number should match */
public static final String METADATA_FORMAT_FORWARD_COMPATIBLE_VERSION = null;
- static void createExportDump(FileSystem fs, Path metadataPath, org.apache.hadoop.hive.ql.metadata.Table tableHandle,
+ public static void createExportDump(FileSystem fs, Path metadataPath, org.apache.hadoop.hive.ql.metadata.Table tableHandle,
List<org.apache.hadoop.hive.ql.metadata.Partition> partitions) throws SemanticException, IOException {
try {
JSONObject jsonContainer = new JSONObject();
@@ -200,7 +200,7 @@ public class EximUtil {
}
}
- static Map.Entry<Table, List<Partition>>
+ public static Map.Entry<Table, List<Partition>>
readMetaData(FileSystem fs, Path metadataPath)
throws IOException, SemanticException {
try {