You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Kevin Su (Jira)" <ji...@apache.org> on 2020/09/21 10:22:00 UTC

[jira] [Updated] (SUBMARINE-536) Improving Exception Messages When CRUD experiment

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

Kevin Su updated SUBMARINE-536:
-------------------------------
    Target Version: 0.6.0  (was: 0.5.0)

> Improving Exception Messages When CRUD experiment
> -------------------------------------------------
>
>                 Key: SUBMARINE-536
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-536
>             Project: Apache Submarine
>          Issue Type: Improvement
>          Components: K8s Submitter
>            Reporter: Kevin Su
>            Assignee: Kevin Su
>            Priority: Minor
>
> Should output more detail to end-users why the CRUD experiment failed.
> When creating an experiment with the same experiment name, we only output *conflict* message
> {noformat}
> ➜ curl -X POST -H "Content-Type: application/json" -d '
> {
>  "meta": {
>  "name": "tf-mnist-json",
>  "namespace": "default",
>  "framework": "TensorFlow",
>  "cmd": "python /var/tf_mnist/mnist_with_summaries.py --log_dir=/train/log --learning_rate=0.01 --batch_size=150"
>  },
>  "environment": {
>  "image": "gcr.io/kubeflow-ci/tf-mnist-with-summaries:1.0"
>  },
>  "spec": {
>  "Ps": {
>  "replicas": 1,
>  "resources": "cpu=1,memory=512M"
>  },
>  "Worker": {
>  "replicas": 1,
>  "resources": "cpu=1,memory=512M"
>  }
>  }
> }
> ' http://127.0.0.1:8080/api/v1/experiment
> {"status":"CONFLICT","code":409,"success":null,"message":"Conflict","result":null,"attributes":{}}%{noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org