You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ShenDa (Jira)" <ji...@apache.org> on 2020/06/22 02:42:00 UTC

[jira] [Resolved] (FLINK-18244) Support setup customized system environment before submitting test job

     [ https://issues.apache.org/jira/browse/FLINK-18244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ShenDa resolved FLINK-18244.
----------------------------
    Resolution: Not A Problem

> Support setup customized system environment before submitting test job
> ----------------------------------------------------------------------
>
>                 Key: FLINK-18244
>                 URL: https://issues.apache.org/jira/browse/FLINK-18244
>             Project: Flink
>          Issue Type: Improvement
>          Components: Tests
>            Reporter: ShenDa
>            Priority: Major
>
> The new approach to implement e2e test suggests developer to use FlinkDistribution to submit test job. But at present, we can't specify system environment by invoking submitSqlJob() or submitJob(). This result in that some connectors can not work if needful system environment not setup, suck like hbase connector needs HADOOP_CLASSPATH.
> So I think we can do the work below:
> 1)Add a new method in AutoClosableProcess and it's builder class for putting specified system environment.
> 2)Add a new interface that just used to configure system environment and let class SQLJobSubmission and JobSubmission extends this interface.
> 3) Modify the methods, submitJob() and submitSQLJob(), in FlinkDistribution to setup system environment before invoking runBlocking() or runNonBlocking()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)