Skip to content

[Bug] HiveCatalog uses LocalFileIO when hadoop configuration is loaded #2022

@Paddy0523

Description

@Paddy0523

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version

0.6-SNAPSHOT

Compute Engine

flink1.16

Minimal reproduce step

CREATE CATALOG my_catalog WITH (
'type'='paimon-generic',
'hive-conf-dir' = '/opt/Hive/hive_pkg/conf/',
'hadoop-conf-dir' = '/opt/Hadoop/hadoop_pkg/etc/hadoop/'
);

CREATE DATABASE my_catalog.paimon_test;

CREATE TABLE my_catalog.paimon_test.word_count (
word STRING PRIMARY KEY NOT ENFORCED,
cnt BIGINT
) WITH (
'connector' = 'paimon'
);

What doesn't meet your expectations?

I expected the paimon table file to be created on hdfs, but it was actually created to the local path
image

Anything else?

It seems that because of my configuration, it does not start with "hdfs: //"
image

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions