[ 
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)

Reply via email to