[
https://issues.apache.org/jira/browse/FLINK-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan Ewen resolved FLINK-336.
--------------------------------
Resolution: Invalid
Fix Version/s: (was: pre-apache)
{{getPlan()}} may always depend on command line arguments and this cannot
always work with empty arguments...
> Job-Preview (web) should not require getPlan() to work with empty args
> ----------------------------------------------------------------------
>
> Key: FLINK-336
> URL: https://issues.apache.org/jira/browse/FLINK-336
> Project: Flink
> Issue Type: Improvement
> Reporter: GitHub Import
> Labels: github-import
>
> The job preview in the job-submission web interface only works if the
> getPlan() method returns a plan for empty args. I think this is not-so-nice
> because:
> - the user does not know this and wonders why the job-preview is not working
> (the error is not very helpful)
> - some arguments are mandatory and it is sometimes hard to get a plan without
> them (had this problem in one of my jobs)
> - it requires to write a lot of otherwise unnecessary code like
> ```args.length > 0 ?...``` (or is there another reason why we need this?)
> This also caused issue
> ([#335|https://github.com/stratosphere/stratosphere/issues/335] |
> [FLINK-335|https://issues.apache.org/jira/browse/FLINK-335]).
> However, I don't have any proposal how to do it better;-)
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/stratosphere/stratosphere/issues/336
> Created by: [andrehacker|https://github.com/andrehacker]
> Labels: enhancement, gui,
> Created at: Wed Dec 11 15:59:43 CET 2013
> State: open
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)