[ https://issues.apache.org/jira/browse/SUBMARINE-880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kai-Hsun Chen updated SUBMARINE-880: ------------------------------------ Parent: SUBMARINE-949 Issue Type: Sub-task (was: Bug) > Cannot run two experiments with the same name > --------------------------------------------- > > Key: SUBMARINE-880 > URL: https://issues.apache.org/jira/browse/SUBMARINE-880 > Project: Apache Submarine > Issue Type: Sub-task > Components: experiment > Reporter: Kai-Hsun Chen > Assignee: Kai-Hsun Chen > Priority: Major > Labels: pull-request-available > Fix For: 0.6.0 > > > We cannot run two experiments with the same name. Take > [experimentIT.java|https://github.com/apache/submarine/blob/master/submarine-test/test-e2e/src/test/java/org/apache/submarine/integration/experimentIT.java] > as an example, the frontend E2E testcase will create an experiment named > "experiment-e2e-test". If we run this testcase twice, the workbench just > shows an "experiment-e2e-test" rather than two. > The root cause is that the K8sSubmitter will create two PODs for an > "experiment-e2e-test". The names of these two PODs are > "experiment-e2e-test-ps-0" and "experiment-e2e-test-worker-0". Hence, when we > try to create the second "experiment-e2e-test", K8sSubmitter will throw an > exception due to duplicate POD names. > > To reproduce the bug: > > {code:java} > // Step1: Run workbench on port 8080 > // Step2: > cd submarine-cloud-v2 > // Step3: Create "experiment-e2e-test" twice > ./hack/run_frontend_e2e.sh experimentIT > ./hack/run_frontend_e2e.sh experimentIT > // Step4: Check Workbench: only an "experiment-e2e-test" exists => BUG! > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org For additional commands, e-mail: dev-h...@submarine.apache.org