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 2022/02/22 04:20:00 UTC
[jira] [Resolved] (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 resolved SUBMARINE-536.
--------------------------------
Resolution: Fixed
> 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
> 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.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org