You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2019/04/30 15:36:00 UTC

[impala] 02/07: IMPALA-7971 (follow-up). Fix compilation error

This is an automated email from the ASF dual-hosted git repository.

tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 095d609260ba8957c13e61c539892ab37c5da10b
Author: Todd Lipcon <to...@apache.org>
AuthorDate: Mon Apr 29 20:12:32 2019 -0700

    IMPALA-7971 (follow-up). Fix compilation error
    
    15a33d1ba was committed at about the same time as 5ced9160bd6, which
    renamed one of the methods of the FileDescriptor class, causing a
    compilation error. This follow-up mixes the semantic conflict.
    
    Tested tests/custom_cluster/test_event_processing.py manually.
    
    Change-Id: I8071b421f0dcbae2d303bd9f1e1f6f64657c49c0
    Reviewed-on: http://gerrit.cloudera.org:8080/13184
    Reviewed-by: Todd Lipcon <to...@apache.org>
    Tested-by: Todd Lipcon <to...@apache.org>
---
 fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java b/fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java
index 5ccb9ed..a97d0eb 100644
--- a/fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java
+++ b/fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java
@@ -865,7 +865,7 @@ public class HdfsPartition implements FeFsPartition, PrunablePartition {
     // Fully qualified file names.
     String location = getLocation();
     for (FileDescriptor fd : fdList) {
-      fileNames.add(location + Path.SEPARATOR + fd.getFileName());
+      fileNames.add(location + Path.SEPARATOR + fd.getRelativePath());
     }
     return fileNames;
   }