hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1298042 - /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveContextAwareRecordReader.java
Date Wed, 07 Mar 2012 19:04:47 GMT
Author: hashutosh
Date: Wed Mar  7 19:04:47 2012
New Revision: 1298042

URL: http://svn.apache.org/viewvc?rev=1298042&view=rev
Log:
HIVE-2840: INPUT__FILE__NAME virtual column returns unqualified paths on Hadoop 0.23 (Carl
Steinbach via hashutosh)

Modified:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveContextAwareRecordReader.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveContextAwareRecordReader.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveContextAwareRecordReader.java?rev=1298042&r1=1298041&r2=1298042&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveContextAwareRecordReader.java
(original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveContextAwareRecordReader.java
Wed Mar  7 19:04:47 2012
@@ -184,7 +184,7 @@ public abstract class HiveContextAwareRe
       blockStart = in.getPosition();
       in.close();
     }
-    this.initIOContext(blockStart, blockPointer, split.getPath().toString());
+    this.initIOContext(blockStart, blockPointer, path.makeQualified(fs).toString());
 
     this.initIOContextSortedProps(split, recordReader, job);
   }



Mime
View raw message