Skip to content

[Proposal] support for setting javaOpts per a task #2320

@jaehc

Description

@jaehc

Currently, there is an setting druid.indexer.runner.javaOpts for a overlord node to specify java options for child processes it forks. However, this option has the effect on every tasks it makes.
I think it would be useful to support setting javaOpts for a specific task like as that of MapReduce or YARN. Then we can control task's jvm more finely. And we can also attach a remote debugger to a specific task to give an example of its usecase.
I guess tunningConfig is a good place to put that option under if possible.

"tuningConfig": {
      "type": "index",
      "targetPartitionSize": 0,
      "rowFlushBoundary": 0,
      "javaOpts": "-server -Xmx256m"
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions