Skip to content

Render all fields in cluster.yaml instead of config files #42

Description

@openinx

Currently, we only render config files by following:

// If skipHostRender is true , will skip to the HostRender
func (c *Cluster) RenderConfigFiles(job *Job, taskId int, skipHostRender bool) (map[string]string, error) {
	//....
}

Need to render all fields in cluster.yaml, such as java_class , extra_args , because when I want to config the following job, it does not work:

  sqlline_thin:
    super_job: job_common
    main_entry:
      java_class: org.apache.phoenix.queryserver.client.SqllineWrapper
      extra_args:
        -d org.apache.phoenix.queryserver.client.Driver
        -u jdbc:phoenix:thin:url=http://%{queryserver.0.host:queryserver.0.base_port};serialization=PROTOBUF
        -n none
        -p none
        --color=true
        --fastConnect=false
        --verbose=true
        --incremental=false
        --isolation=TRANSACTION_READ_COMMITTED

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions