incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avand...@apache.org
Subject svn commit: r1432242 - in /incubator/hcatalog/branches/branch-0.4: CHANGES.txt src/java/org/apache/hcatalog/mapreduce/HCatBaseInputFormat.java
Date Fri, 11 Jan 2013 19:23:04 GMT
Author: avandana
Date: Fri Jan 11 19:23:03 2013
New Revision: 1432242

URL: http://svn.apache.org/viewvc?rev=1432242&view=rev
Log:
HCAT-591 Use fs.makeQualified(path) in HCatBaseInputFormat as Path#makeQualified(fs) is deprecated.

Modified:
    incubator/hcatalog/branches/branch-0.4/CHANGES.txt
    incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/HCatBaseInputFormat.java

Modified: incubator/hcatalog/branches/branch-0.4/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/CHANGES.txt?rev=1432242&r1=1432241&r2=1432242&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.4/CHANGES.txt (original)
+++ incubator/hcatalog/branches/branch-0.4/CHANGES.txt Fri Jan 11 19:23:03 2013
@@ -71,6 +71,8 @@ Trunk (unreleased changes)
   OPTIMIZATIONS
 
   BUG FIXES
+  HCAT-591 Use fs.makeQualified(path) in HCatBaseInputFormat as Path#makeQualified(fs) is
deprecated. (amalakar via avandana)
+
   HCAT-567 HCatClient must allow retrieval of multiple partitions using a partial partition
spec.(mithun via avandana)
 
   HCAT-554 Loading data using HCatLoader() from a table on non default namenode fails.(amalakar
via avandana)

Modified: incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/HCatBaseInputFormat.java
URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/HCatBaseInputFormat.java?rev=1432242&r1=1432241&r2=1432242&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/HCatBaseInputFormat.java
(original)
+++ incubator/hcatalog/branches/branch-0.4/src/java/org/apache/hcatalog/mapreduce/HCatBaseInputFormat.java
Fri Jan 11 19:23:03 2013
@@ -304,7 +304,7 @@ public abstract class HCatBaseInputForma
     StringBuilder str = new StringBuilder(); 
     for (Path path : paths) {
       FileSystem fs = path.getFileSystem(jobConf);
-      final String qualifiedPath = path.makeQualified(fs).toString();
+      final String qualifiedPath = fs.makeQualified(path).toString();
       str.append(separator)
               .append(StringUtils.escapeString(qualifiedPath));
       separator = StringUtils.COMMA_STR;



Mime
View raw message