apache / apache/kyuubi

Forbid setting FRONTEND_BIND_HOST by connection string in engine side

Open
#504 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### 1. Describe the bug

We need forbid setting FRONTEND_BIND_HOST by connection string in engine side.

For example,

```
jdbc:hive2://kyuubi.org:10000/;#kyuubi.frnotenv.bind.host=127.0.0.1
```
### 2. Environments

#### 2.1 Versions

- Kyuubi
- [ ] 1.1.0
- [ ] 1.0.3
- [ ] 0.8.x and earlier

- Spark
- [ ] 3.1.x
- [ ] 3.0.x
- [ ] 2.4.x and earlier

#### 2.2 Kyuubi Configurations

#### 2.3 Spark Configurations

### 3. Steps to reproduce

#### 3.1 Operations

#### 3.2 Expected behavior

#### 3.3 Actual behavior

### 4. Additional context

#### 4.1 Log of the server

#### 4.2 Log of the corresponding engine

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the engine handles the FRONTEND_BIND_HOST setting and parses the JDBC connection string. Reproduce the example connection string and determine where engine-side configuration overrides are accepted. Done means the connection string can no longer set FRONTEND_BIND_HOST while valid engine configuration continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala, spark
Domain
backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.