Skip to content

[BUG] Hive JDBC connection parameter ignored #2923

@KEN-LJQ

Description

@KEN-LJQ

Describe the bug
The jdbc connection parameter of Hive datasource, should append after the question mark when building jdbc url, like jdbc:hive2://host:port/default?mapred.job.queue.name=root.users.a. But actually, it append after the semicolon, so the result is jdbc:hive2://host:port/default;mapred.job.queue.name=root.users.a, which make the parameter being ignored

image

For testing, I set the parameter in this way {"?mapred.job.queue.name":"root.user.a"}, and now it can be set correctly

Which version of Dolphin Scheduler:

  • [1.2.1-release]

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