You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2019/09/30 17:38:12 UTC
[incubator-pinot] branch bugfixing_hadoop_filesystem updated
(65b4b7e -> 7ae4bf4)
This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a change to branch bugfixing_hadoop_filesystem
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.
discard 65b4b7e fixing compile
discard 89f6171 Adding more logs for file pattern match
new 7ae4bf4 more logging
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (65b4b7e)
\
N -- N -- N refs/heads/bugfixing_hadoop_filesystem (7ae4bf4)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/main/java/org/apache/pinot/hadoop/job/BaseSegmentJob.java | 4 +++-
.../src/main/java/org/apache/pinot/hadoop/job/SegmentCreationJob.java | 4 ++--
.../java/org/apache/pinot/hadoop/job/SegmentPreprocessingJob.java | 2 +-
.../src/main/java/org/apache/pinot/hadoop/job/SegmentTarPushJob.java | 2 +-
.../src/main/java/org/apache/pinot/hadoop/job/SegmentUriPushJob.java | 4 +---
5 files changed, 8 insertions(+), 8 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[incubator-pinot] 01/01: more logging
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch bugfixing_hadoop_filesystem
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
commit 7ae4bf4dd72b974f61aaab1e324f52383d911985
Author: Xiang Fu <xi...@alt-chain.io>
AuthorDate: Mon Sep 30 10:37:50 2019 -0700
more logging
---
.../src/main/java/org/apache/pinot/hadoop/job/BaseSegmentJob.java | 8 +++++++-
.../main/java/org/apache/pinot/hadoop/job/SegmentCreationJob.java | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/BaseSegmentJob.java b/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/BaseSegmentJob.java
index 7828fdf..fb39ac1 100644
--- a/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/BaseSegmentJob.java
+++ b/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/BaseSegmentJob.java
@@ -62,7 +62,13 @@ public abstract class BaseSegmentJob extends Configured {
throws IOException {
List<Path> tarFilePaths = new ArrayList<>();
FileSystem fileSystem = FileSystem.get(pathPattern.toUri(), _conf);
- getDataFilePathsHelper(fileSystem, fileSystem.globStatus(pathPattern), tarFilePaths);
+ _logger.info("Using filesystem: {}", fileSystem);
+ final FileStatus[] fileStatuses = fileSystem.globStatus(pathPattern);
+ if (fileStatuses == null) {
+ _logger.warn("Unable to match file status from file path pattern: {}", pathPattern);
+ } else {
+ getDataFilePathsHelper(fileSystem, fileStatuses, tarFilePaths);
+ }
return tarFilePaths;
}
diff --git a/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/SegmentCreationJob.java b/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/SegmentCreationJob.java
index aa68f10..7d9c651 100644
--- a/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/SegmentCreationJob.java
+++ b/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/SegmentCreationJob.java
@@ -109,7 +109,7 @@ public class SegmentCreationJob extends BaseSegmentJob {
return true;
}
return fileName.endsWith(".avro") || fileName.endsWith(".csv") || fileName.endsWith(".json") || fileName
- .endsWith(".thrift");
+ .endsWith(".thrift") || fileName.endsWith(".parquet");
}
public void run()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org