You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2020/05/25 02:26:00 UTC
[jira] [Commented] (FLINK-16197) Failed to query partitioned table
when partition folder is removed
[ https://issues.apache.org/jira/browse/FLINK-16197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17115631#comment-17115631 ]
Jingsong Lee commented on FLINK-16197:
--------------------------------------
[~lirui] If you think it is worth to finish in 1.10 too, please re-open this and submit a PR.
> Failed to query partitioned table when partition folder is removed
> ------------------------------------------------------------------
>
> Key: FLINK-16197
> URL: https://issues.apache.org/jira/browse/FLINK-16197
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Hive
> Affects Versions: 1.10.1
> Reporter: Rui Li
> Assignee: Rui Li
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> If a partition exists in HMS but not in HDFS, the query fails with
> {noformat}
> Caused by: org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://...........
> at org.apache.hadoop.mapred.LocatedFileStatusFetcher.getFileStatuses(LocatedFileStatusFetcher.java:155)
> at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:237)
> at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:315)
> at org.apache.flink.connectors.hive.read.HiveTableInputFormat.createInputSplits(HiveTableInputFormat.java:219)
> at org.apache.flink.connectors.hive.HiveTableSource.getDataStream(HiveTableSource.java:152)
> {noformat}
> Expected behavior is to run the query ignoring this partition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)