apache / apache/paimon

[Bug] Create external table in Hive failed!

Open
#1,689 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.

### Paimon version

0.4.0-incubating

### Compute Engine

Flink 1.15.4, CDP 7.1.7 (Hadoop 3.1.1,Hive 3.1.3000)

### Minimal reproduce step

Hive中建外部表读flink 写入的 paimon表数据,创建外部表的时候报权限错误:
![image](https://github.com/apache/incubator-paimon/assets/3135287/9d141e18-1edf-4125-802f-4bbbc625cf83)

在Ranger里已配置了如下权限:
![image](https://github.com/apache/incubator-paimon/assets/3135287/6afe15ca-2fe4-4a6b-9c45-af6a5f896b77)

### What doesn't meet your expectations?

从Hive读已经存在的Paimon表的数据(flink sql写入),创建Hive外部表时报访问 paimonstoragehandler:// 没有权限。

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Hive external-table creation with Paimon 0.4.0-incubating, Flink 1.15.4, CDP 7.1.7, and the stated Ranger permissions. Start by tracing the Paimon Hive external-table and paimonstoragehandler integration; done means Hive can read the existing Flink-written Paimon table without the reported permission error.

Written by the indexing model from the issue text.

Assessment

Tech stack
hadoop, java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.