flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jackwangcs (Jira)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-20710) HiveTableInputFormat and HiveSourceFileEnumerator will throw IllegalArgumentException when creating splits for tables with partitions on different hdfs nameservices
Date Thu, 24 Dec 2020 04:32:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-20710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

jackwangcs updated FLINK-20710:
-------------------------------
    Summary: HiveTableInputFormat and HiveSourceFileEnumerator will throw IllegalArgumentException
when creating splits for tables with partitions on different hdfs nameservices  (was: HiveTableInputFormat
throws IllegalArgumentException when creating splits for tables with partitions on different
hdfs nameservices)

> HiveTableInputFormat and HiveSourceFileEnumerator will throw IllegalArgumentException
when creating splits for tables with partitions on different hdfs nameservices
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-20710
>                 URL: https://issues.apache.org/jira/browse/FLINK-20710
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>    Affects Versions: 1.12.0, 1.11.2, 1.11.3
>         Environment: Flink 1.11.2 on Yarn.
>            Reporter: jackwangcs
>            Priority: Minor
>              Labels: pull-request-available
>
> HiveTableInputFormat will throws the IllegalArgumentException if partitions of a table
are in different HDFS nameservices:
> {code:java}
> Caused by: java.lang.IllegalArgumentException: Wrong FS: hdfs://ns1/hive/warehouse/test.db/flink_test/day=4,
expected: hdfs://ns2
>         at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:662)
>         at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:222)
>         at org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:114)
>         at org.apache.hadoop.hdfs.DistributedFileSystem$20.doCall(DistributedFileSystem.java:1266)
>         at org.apache.hadoop.hdfs.DistributedFileSystem$20.doCall(DistributedFileSystem.java:1262)
>         at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>         at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1262)
>         at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1418)
>         at org.apache.flink.connectors.hive.read.HiveTableInputFormat.createInputSplits(HiveTableInputFormat.java:299)
>         at org.apache.flink.connectors.hive.read.HiveTableInputFormat.createInputSplits(HiveTableInputFormat.java:282)
>         at org.apache.flink.connectors.hive.HiveTableSource.createBatchSource(HiveTableSource.java:214)
>         at org.apache.flink.connectors.hive.HiveTableSource.getDataStream(HiveTableSource.java:188)
{code}
> The FLINK-16197 introduced this issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message