Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clickhouse version 23, connect hdfs error #48

Open
jdxia opened this issue Oct 27, 2023 · 1 comment
Open

clickhouse version 23, connect hdfs error #48

jdxia opened this issue Oct 27, 2023 · 1 comment

Comments

@jdxia
Copy link

jdxia commented Oct 27, 2023

CREATE TABLE guandata.of0b4be941d9_0(
idNullable(Int32),
customer_nameNullable(String),
commentsNullable(String)
)ENGINE=HDFS('hdfs://nameserver1/guandata-store/of0b4/part-000.snappy.parquet','Parquet')

select * from guandata.of0b4be941d9_0;
When I execute the SQL query, ClickHouse reports an error.

connection reset by peer: While executing ParquetBlockInputFormat: While exeuting HDFSSource. (NETWORK_ERROR)

The error logs on HDFS are as follows:
image

My environment involves connecting ClickHouse to HDFS with Kerberos authentication to query data. I have confirmed that my Kerberos configuration is correct. I can obtain tickets using kinit and verify them with klist.

@jdxia
Copy link
Author

jdxia commented Oct 31, 2023

hdfs version 2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant