Author: hashutosh
Date: Tue Oct 11 00:15:18 2011
New Revision: 1181306
URL: http://svn.apache.org/viewvc?rev=1181306&view=rev
Log:
HCATALOG-133: HCatOutpFormat always pass url as null while trying to create a
metastore client
Modified:
incubator/hcatalog/trunk/CHANGES.txt
incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java
Modified: incubator/hcatalog/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/CHANGES.txt?rev=1181306&r1=1181305&r2=1181306&view=diff
==============================================================================
--- incubator/hcatalog/trunk/CHANGES.txt (original)
+++ incubator/hcatalog/trunk/CHANGES.txt Tue Oct 11 00:15:18 2011
@@ -65,6 +65,8 @@ Trunk (unreleased changes)
OPTIMIZATIONS
BUG FIXES
+ HCAT-133. HCatOutpFormat always pass url as null while trying to create a
metastore client (khorgath via hashutosh)
+
HCAT-117. Harness incorrectly assumes secure mode (khorgath via hashutosh)
HCAT-113. rpm name not properly reflecting the version number (gates via
hashutosh)
Modified:
incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java
URL:
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java?rev=1181306&r1=1181305&r2=1181306&view=diff
==============================================================================
---
incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java
(original)
+++
incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileOutputFormatContainer.java
Tue Oct 11 00:15:18 2011
@@ -76,7 +76,7 @@ class FileOutputFormatContainer extends
try {
handleDuplicatePublish(context,
jobInfo,
-
HCatOutputFormat.createHiveClient(null,context.getConfiguration()),
+
HCatOutputFormat.createHiveClient(jobInfo.getServerUri(),context.getConfiguration()),
jobInfo.getTableInfo().getTable());
} catch (MetaException e) {
throw new IOException(e);