[jira] [Updated] (SUBMARINE-566) [WEB] Create a new experiment through UI
[ https://issues.apache.org/jira/browse/SUBMARINE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wangda Tan updated SUBMARINE-566: - Status: Patch Available (was: Open) > [WEB] Create a new experiment through UI > > > Key: SUBMARINE-566 > URL: https://issues.apache.org/jira/browse/SUBMARINE-566 > Project: Apache Submarine > Issue Type: Sub-task > Components: Backend Server >Reporter: TsungJui >Assignee: TsungJui >Priority: Major > Labels: pull-request-available > > Implement the real functionality of creating a new experiment through UI > components. -- 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
[jira] [Created] (SUBMARINE-584) Add unit test for ExperimentRestApi.java
Kevin Su created SUBMARINE-584: -- Summary: Add unit test for ExperimentRestApi.java Key: SUBMARINE-584 URL: https://issues.apache.org/jira/browse/SUBMARINE-584 Project: Apache Submarine Issue Type: Test Reporter: Kevin Su Add unit test for [https://github.com/apache/submarine/blob/master/submarine-server/server-core/src/main/java/org/apache/submarine/server/rest/ExperimentRestApi.java |https://github.com/apache/submarine/blob/master/submarine-server/server-core/src/main/java/org/apache/submarine/server/rest/ClusterRestApi.java] The test should be added to [https://github.com/apache/submarine/tree/master/submarine-server/server-core/src/test/java/org/apache/submarine/server/rest] -- 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
[jira] [Updated] (SUBMARINE-584) Add unit test for ExperimentRestApi.java
[ https://issues.apache.org/jira/browse/SUBMARINE-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Su updated SUBMARINE-584: --- Description: Add unit test for [https://github.com/apache/submarine/blob/master/submarine-server/server-core/src/main/java/org/apache/submarine/server/rest/ExperimentRestApi.java] The test should be added to [https://github.com/apache/submarine/tree/master/submarine-server/server-core/src/test/java/org/apache/submarine/server/rest] was: Add unit test for [https://github.com/apache/submarine/blob/master/submarine-server/server-core/src/main/java/org/apache/submarine/server/rest/ExperimentRestApi.java |https://github.com/apache/submarine/blob/master/submarine-server/server-core/src/main/java/org/apache/submarine/server/rest/ClusterRestApi.java] The test should be added to [https://github.com/apache/submarine/tree/master/submarine-server/server-core/src/test/java/org/apache/submarine/server/rest] > Add unit test for ExperimentRestApi.java > - > > Key: SUBMARINE-584 > URL: https://issues.apache.org/jira/browse/SUBMARINE-584 > Project: Apache Submarine > Issue Type: Test >Reporter: Kevin Su >Priority: Minor > Labels: newbie > > Add unit test for > [https://github.com/apache/submarine/blob/master/submarine-server/server-core/src/main/java/org/apache/submarine/server/rest/ExperimentRestApi.java] > The test should be added to > [https://github.com/apache/submarine/tree/master/submarine-server/server-core/src/test/java/org/apache/submarine/server/rest] -- 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
[jira] [Updated] (SUBMARINE-583) Add unit test for ClusterRestAPI.java
[ https://issues.apache.org/jira/browse/SUBMARINE-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Su updated SUBMARINE-583: --- Issue Type: Test (was: Bug) > Add unit test for ClusterRestAPI.java > - > > Key: SUBMARINE-583 > URL: https://issues.apache.org/jira/browse/SUBMARINE-583 > Project: Apache Submarine > Issue Type: Test >Reporter: Kevin Su >Priority: Minor > Labels: newbie > > Add unit test for > [https://github.com/apache/submarine/blob/master/submarine-server/server-core/src/main/java/org/apache/submarine/server/rest/ClusterRestApi.java] > The test should be added to > [https://github.com/apache/submarine/tree/master/submarine-server/server-core/src/test/java/org/apache/submarine/server/rest] -- 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
[jira] [Created] (SUBMARINE-583) Add unit test for ClusterRestAPI.java
Kevin Su created SUBMARINE-583: -- Summary: Add unit test for ClusterRestAPI.java Key: SUBMARINE-583 URL: https://issues.apache.org/jira/browse/SUBMARINE-583 Project: Apache Submarine Issue Type: Bug Reporter: Kevin Su Add unit test for [https://github.com/apache/submarine/blob/master/submarine-server/server-core/src/main/java/org/apache/submarine/server/rest/ClusterRestApi.java] The test should be added to [https://github.com/apache/submarine/tree/master/submarine-server/server-core/src/test/java/org/apache/submarine/server/rest] -- 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
[jira] [Created] (SUBMARINE-582) [WEB] Implement frontend of environment page in workbench
Kevin Su created SUBMARINE-582: -- Summary: [WEB] Implement frontend of environment page in workbench Key: SUBMARINE-582 URL: https://issues.apache.org/jira/browse/SUBMARINE-582 Project: Apache Submarine Issue Type: Sub-task Components: Workbench Reporter: Kevin Su Assignee: Kevin Su Implement frontend of environment page in workbench with Angular. -- 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
[jira] [Updated] (SUBMARINE-571) [Umbrella] Environment management UI
[ https://issues.apache.org/jira/browse/SUBMARINE-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Su updated SUBMARINE-571: --- Summary: [Umbrella] Environment management UI (was: Environment management UI) > [Umbrella] Environment management UI > > > Key: SUBMARINE-571 > URL: https://issues.apache.org/jira/browse/SUBMARINE-571 > Project: Apache Submarine > Issue Type: New Feature > Components: environment, Workbench Web >Reporter: Wangda Tan >Priority: Major > > We need UI to management Environment. Umbrella of Environment backend/API > implementation can be found at: SUBMARINE-507 -- 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
[jira] [Assigned] (SUBMARINE-545) Additional Changes to User Doc (K8s)
[ https://issues.apache.org/jira/browse/SUBMARINE-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Su reassigned SUBMARINE-545: -- Assignee: Kevin Su (was: Wangda Tan) > Additional Changes to User Doc (K8s) > > > Key: SUBMARINE-545 > URL: https://issues.apache.org/jira/browse/SUBMARINE-545 > Project: Apache Submarine > Issue Type: Task > Components: Doc >Reporter: Wangda Tan >Assignee: Kevin Su >Priority: Blocker > Labels: pull-request-available > > Additional changes to user doc, which includes: > * KIND. > * How it is organized, etc. -- 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
[jira] [Resolved] (SUBMARINE-568) [WEB] Fix a display bug in experiment info page
[ https://issues.apache.org/jira/browse/SUBMARINE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Liu Xun resolved SUBMARINE-568. --- Fix Version/s: 0.5.0 Resolution: Fixed Issue resolved by pull request 355 [https://github.com/apache/submarine/pull/355] > [WEB] Fix a display bug in experiment info page > --- > > Key: SUBMARINE-568 > URL: https://issues.apache.org/jira/browse/SUBMARINE-568 > Project: Apache Submarine > Issue Type: Sub-task > Components: Workbench Web >Reporter: Wen-Chien,Ruan >Assignee: Wen-Chien,Ruan >Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > > # When reload experiment info page, the experimentID at top of page will miss. > # The presenting of experiment output page, not friendly for users. -- 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
[submarine] branch master updated: SUBMARINE-568. [WEB] Fix a display bug in experiment info page
This is an automated email from the ASF dual-hosted git repository. liuxun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/submarine.git The following commit(s) were added to refs/heads/master by this push: new 6ee7105 SUBMARINE-568. [WEB] Fix a display bug in experiment info page 6ee7105 is described below commit 6ee7105c23e12e92cff74e5ee4e77afee08dfb97 Author: kobe860219 AuthorDate: Fri Jul 24 22:57:07 2020 +0800 SUBMARINE-568. [WEB] Fix a display bug in experiment info page ### What is this PR for? * Fix problem that when reload experiment info page, the experimentID in breadcrumb will miss. * Adjustment the presenting of experiment info output page to be more friendly for users. ### What type of PR is it? [Feature] ### Todos ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-568 ### How should this be tested? https://travis-ci.org/github/kobe860219/submarine/builds/711355007 ### Screenshots (if appropriate) ![螢幕錄製 2020-07-24 下午1](https://user-images.githubusercontent.com/48027290/88363729-8d332200-cdb3-11ea-8c63-bd00e352d890.gif) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: kobe860219 Closes #355 from kobe860219/SUBMARINE-568 and squashes the following commits: e5155a9 [kobe860219] Improve the commit 8ee36c0 [kobe860219] SUBMARINE-568. [WEB] Fix a display bug in experiment info page --- .../experiment-info/outputs/outputs.component.scss | 4 ++-- .../app/pages/workbench/experiment/experiment.component.ts | 14 ++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment-info/outputs/outputs.component.scss b/submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment-info/outputs/outputs.component.scss index 80ee29a..b1f72a4 100644 --- a/submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment-info/outputs/outputs.component.scss +++ b/submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment-info/outputs/outputs.component.scss @@ -18,8 +18,8 @@ */ #showLogDiv{ -background-color: gainsboro; -color: red; +background-color: whitesmoke; +color: black; padding: 10px; height:500px; overflow:auto; diff --git a/submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment.component.ts b/submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment.component.ts index c71acb3..8b07030 100644 --- a/submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment.component.ts +++ b/submarine-workbench/workbench-web-ng/src/app/pages/workbench/experiment/experiment.component.ts @@ -91,6 +91,8 @@ export class ExperimentComponent implements OnInit { } } }); + +this.reloadCheck(); } // Getters of experiment request form @@ -215,6 +217,18 @@ export class ExperimentComponent implements OnInit { ); } + reloadCheck() { +/* + When reload in info page, ths experimentId will turn into undifined, it will cause breadcrumb miss experimentId. + Location.pathname -> /workbench/experiment/info/{experimentID} + So slice out experimentId string from location.pathname to reassign experimentId. + */ +if (location.pathname != '/workbench/experiment') { + var sliceString = new String('/workbench/experiment/info'); + this.experimentID = location.pathname.slice(sliceString.length); +} + } + // TODO(jasoonn): Filter experiment list filter(event) { console.log(this.searchText + event.key); - To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org For additional commands, e-mail: dev-h...@submarine.apache.org
[jira] [Resolved] (SUBMARINE-561) [SDK] Add Pytorch implementation of Attentional Factorization Machine
[ https://issues.apache.org/jira/browse/SUBMARINE-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Liu Xun resolved SUBMARINE-561. --- Fix Version/s: 0.5.0 Resolution: Fixed Issue resolved by pull request 346 [https://github.com/apache/submarine/pull/346] > [SDK] Add Pytorch implementation of Attentional Factorization Machine > - > > Key: SUBMARINE-561 > URL: https://issues.apache.org/jira/browse/SUBMARINE-561 > Project: Apache Submarine > Issue Type: Sub-task > Components: SDK >Reporter: Tsung-Hung Hsieh >Assignee: Tsung-Hung Hsieh >Priority: Minor > Labels: pull-request-available > Fix For: 0.5.0 > > > Add Pytorch implementation of Attentional Factorization Machine. > ref: [https://arxiv.org/pdf/1708.04617.pdf] -- 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
[submarine] branch master updated: SUBMARINE-561. [SDK] Add PyTorch implementation of AFM model
This is an automated email from the ASF dual-hosted git repository. liuxun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/submarine.git The following commit(s) were added to refs/heads/master by this push: new e580802 SUBMARINE-561. [SDK] Add PyTorch implementation of AFM model e580802 is described below commit e580802d893ff2a3ebd53f022a13a727f60b3f03 Author: Andrew Hsieh AuthorDate: Sun Jul 19 15:36:55 2020 +0800 SUBMARINE-561. [SDK] Add PyTorch implementation of AFM model ### What is this PR for? Add PyTorch implementation of Attentional Factorization Machine for CTR prediction. ([AFM](https://arxiv.org/pdf/1708.04617.pdf)) Make minor modifications to the PyTorch training flow. Add testing for the AFM model. ### What type of PR is it? [Improvement] ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-561 ### How should this be tested? [python-sdk](https://github.com/andrewhsiehth/submarine/actions/runs/169985131) [Submarine](https://github.com/andrewhsiehth/submarine/actions/runs/169985125) ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Andrew Hsieh Author: andrewhsiehth Closes #346 from andrewhsiehth/SUBMARINE-561 and squashes the following commits: 0521639 [andrewhsiehth] rename afm && refactor example/pytorch folder f98d59f [andrewhsiehth] mkdir for non-existing output directory 3057899 [andrewhsiehth] use pysubmarine-ci to auto-format f89d070 [Andrew Hsieh] python3.6 yapf d4d93c4 [Andrew Hsieh] try to make python3.5 happy 2929dfc [Andrew Hsieh] try to make codestyle checker happy v2 42d5091 [Andrew Hsieh] try to make codestyle checker happy 9ff2f8d [Andrew Hsieh] fix core, afm coding style adae613 [Andrew Hsieh] fix tqdm 4facbce [Andrew Hsieh] fix conftest.py coding style e4b3e50 [Andrew Hsieh] fix deepfm.py coding style cb6be07 [Andrew Hsieh] fix ctr.__init__ coding style 2b4eecf [Andrew Hsieh] fix base_pytorch_model coding style 573a4e8 [Andrew Hsieh] fix fileio coding style 5d6dfc0 [Andrew Hsieh] add afm testing 827c785 [Andrew Hsieh] update conftest b260042 [Andrew Hsieh] add afm example a7da1c3 [Andrew Hsieh] add afm to ctr ab7b4b7 [Andrew Hsieh] add afm fa151e5 [Andrew Hsieh] fix deepfm 380358c [Andrew Hsieh] fix testing 3f80bc6 [Andrew Hsieh] fix fileio 7471408 [Andrew Hsieh] fix data input_fn and fileio f57d732 [Andrew Hsieh] fix deepfm fdcda05 [Andrew Hsieh] fix layers/core.py ce535fc [Andrew Hsieh] fix optimizer zero_grad --- .../example/pytorch/{deepfm.json => afm/afm.json} | 29 +++--- .../example/pytorch/{run_ctr.py => afm/run_afm.py} | 6 +- .../pytorch/{run_deepfm.sh => afm/run_afm.sh} | 6 +- .../example/pytorch/{ => deepfm}/deepfm.json | 26 +++--- .../pytorch/{run_ctr.py => deepfm/run_deepfm.py} | 0 .../example/pytorch/{ => deepfm}/run_deepfm.sh | 4 +- .../submarine/ml/pytorch/input/libsvm_dataset.py | 101 ++--- .../submarine/ml/pytorch/layers/core.py| 41 - .../ml/pytorch/model/base_pytorch_model.py | 44 + .../submarine/ml/pytorch/model/ctr/__init__.py | 3 +- .../submarine/ml/pytorch/model/ctr/afm.py | 94 +++ .../submarine/ml/pytorch/model/ctr/deepfm.py | 28 +++--- .../pysubmarine/submarine/utils/fileio.py | 81 + .../pysubmarine/tests/ml/pytorch/model/conftest.py | 16 ++-- .../ml/pytorch/model/test_afm_pytorch.py} | 11 ++- 15 files changed, 318 insertions(+), 172 deletions(-) diff --git a/submarine-sdk/pysubmarine/example/pytorch/deepfm.json b/submarine-sdk/pysubmarine/example/pytorch/afm/afm.json similarity index 50% copy from submarine-sdk/pysubmarine/example/pytorch/deepfm.json copy to submarine-sdk/pysubmarine/example/pytorch/afm/afm.json index a1c7069..cc68e95 100644 --- a/submarine-sdk/pysubmarine/example/pytorch/deepfm.json +++ b/submarine-sdk/pysubmarine/example/pytorch/afm/afm.json @@ -1,8 +1,8 @@ { "input": { -"train_data": "../data/tr.libsvm", -"valid_data": "../data/va.libsvm", -"test_data": "../data/te.libsvm", +"train_data": "../../data/tr.libsvm", +"valid_data": "../../data/va.libsvm", +"test_data": "../../data/te.libsvm", "type": "libsvm" }, "output": { @@ -10,24 +10,25 @@ "metric": "roc_auc" }, "training": { -"batch_size": 64, -"num_epochs": 1, +"batch_size": 512, +"num_epochs": 3, "log_steps": 10, -"num_threads": 0, +"num_threads": 2, "num_gpus": 0, "seed":
[jira] [Resolved] (SUBMARINE-578) Update /docs/userdocs/k8s/api/experiment.md
[ https://issues.apache.org/jira/browse/SUBMARINE-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Liu Xun resolved SUBMARINE-578. --- Resolution: Fixed Issue resolved by pull request 359 [https://github.com/apache/submarine/pull/359] > Update /docs/userdocs/k8s/api/experiment.md > --- > > Key: SUBMARINE-578 > URL: https://issues.apache.org/jira/browse/SUBMARINE-578 > Project: Apache Submarine > Issue Type: Improvement > Components: Doc >Reporter: Kai-Hsun Chen >Assignee: Kai-Hsun Chen >Priority: Trivial > Labels: pull-request-available > Fix For: 0.5.0 > > > The content in the document needs to be revised. -- 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
[submarine] branch master updated: SUBMARINE-578. Update /docs/userdocs/k8s/api/experiment.md
This is an automated email from the ASF dual-hosted git repository. liuxun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/submarine.git The following commit(s) were added to refs/heads/master by this push: new eb4837d SUBMARINE-578. Update /docs/userdocs/k8s/api/experiment.md eb4837d is described below commit eb4837d285a83f70d5551fb8698827629c1082b5 Author: kevin85421 AuthorDate: Sat Jul 25 18:20:29 2020 +0800 SUBMARINE-578. Update /docs/userdocs/k8s/api/experiment.md ### What is this PR for? Update /docs/userdocs/k8s/api/experiment.md In the document, every ```curl``` command cannot work properly. For example, I execute ```curl -X GET http://127.0.0.1/api/v1/experiment``` to list all experiments, and the response is "404 Not Found". Therefore, I modify ```127.0.0.1``` to ```127.0.0.1:8080```, and get the expected response as shown in the following figure. https://user-images.githubusercontent.com/20109646/88455124-6a813600-cea5-11ea-9f67-9f6dbe5bcb84.png;> ### What type of PR is it? Documentation ### Todos ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-578 ### How should this be tested? * Step1: Follow the [document](https://github.com/apache/submarine/blob/master/docs/userdocs/k8s/helm.md) to deploy Submarine on k8s. * Step2: Port forward ```sh kubectl port-forward svc/submarine-server 8080:8080 ``` * Step3: Execute the following curl commands ``` # Get "404 Not Found" curl -X GET http://127.0.0.1/api/v1/experiment # Get expected response curl -X GET http://127.0.0.1:8080/api/v1/experiment ``` ### Screenshots (if appropriate) https://user-images.githubusercontent.com/20109646/88455124-6a813600-cea5-11ea-9f67-9f6dbe5bcb84.png;> ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: kevin85421 Closes #359 from kevin85421/SUBMARINE-578 and squashes the following commits: 8b499da [kevin85421] SUBMARINE-578. Update experiment.md --- docs/userdocs/k8s/api/experiment.md | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/userdocs/k8s/api/experiment.md b/docs/userdocs/k8s/api/experiment.md index 892db6a..132f606 100644 --- a/docs/userdocs/k8s/api/experiment.md +++ b/docs/userdocs/k8s/api/experiment.md @@ -52,7 +52,7 @@ curl -X POST -H "Content-Type: application/json" -d ' } } } -' http://127.0.0.1/api/v1/experiment +' http://127.0.0.1:8080/api/v1/experiment ``` **Example Response:** @@ -99,7 +99,7 @@ curl -X POST -H "Content-Type: application/json" -d ' **Example Request:** ```sh -curl -X GET http://127.0.0.1/api/v1/experiment +curl -X GET http://127.0.0.1:8080/api/v1/experiment ``` **Example Response:** @@ -179,7 +179,7 @@ curl -X GET http://127.0.0.1/api/v1/experiment **Example Request:** ```sh -curl -X GET http://127.0.0.1/api/v1/experiment/experiment_1592057447228_0001 +curl -X GET http://127.0.0.1:8080/api/v1/experiment/experiment_1592057447228_0001 ``` **Example Response:** @@ -251,7 +251,7 @@ curl -X PATCH -H "Content-Type: application/json" -d ' } } } -' http://127.0.0.1/api/v1/experiment/experiment_1592057447228_0001 +' http://127.0.0.1:8080/api/v1/experiment/experiment_1592057447228_0001 ``` **Example Response:** @@ -292,7 +292,7 @@ curl -X PATCH -H "Content-Type: application/json" -d ' **Example Request:** ```sh -curl -X DELETE http://127.0.0.1/api/v1/experiment/experiment_1592057447228_0001 +curl -X DELETE http://127.0.0.1:8080/api/v1/experiment/experiment_1592057447228_0001 ``` **Example Response:** @@ -339,7 +339,7 @@ curl -X DELETE http://127.0.0.1/api/v1/experiment/experiment_1592057447228_0001 **Example Request:** ```sh -curl -X GET http://127.0.0.1/api/v1/experiment/logs +curl -X GET http://127.0.0.1:8080/api/v1/experiment/logs ``` **Example Response:** @@ -382,7 +382,7 @@ curl -X GET http://127.0.0.1/api/v1/experiment/logs **Example Request:** ```sh -curl -X GET http://127.0.0.1/api/v1/experiment/logs/experiment_1589199154923_0002 +curl -X GET http://127.0.0.1:8080/api/v1/experiment/logs/experiment_1589199154923_0002 ``` **Example Response:** - To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org For additional commands, e-mail: dev-h...@submarine.apache.org
[jira] [Resolved] (SUBMARINE-581) Change submarine-cloud/bin permission
[ https://issues.apache.org/jira/browse/SUBMARINE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Liu Xun resolved SUBMARINE-581. --- Resolution: Fixed Issue resolved by pull request 361 [https://github.com/apache/submarine/pull/361] > Change submarine-cloud/bin permission > - > > Key: SUBMARINE-581 > URL: https://issues.apache.org/jira/browse/SUBMARINE-581 > Project: Apache Submarine > Issue Type: Bug >Reporter: Kevin Su >Assignee: Kevin Su >Priority: Trivial > Labels: pull-request-available > Fix For: 0.5.0 > > > After building the submarine project, submarine-cloud/bin will have root > privilege > Change the directory permission to the current user and group. -- 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
[submarine] branch master updated: SUBMARINE-581. Change submarine-cloud/bin permission
This is an automated email from the ASF dual-hosted git repository. liuxun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/submarine.git The following commit(s) were added to refs/heads/master by this push: new 99ba038 SUBMARINE-581. Change submarine-cloud/bin permission 99ba038 is described below commit 99ba038f5397cd262126e48a507e050c12f79d23 Author: pingsutw AuthorDate: Mon Jul 27 00:26:52 2020 +0800 SUBMARINE-581. Change submarine-cloud/bin permission ### What is this PR for? After building the submarine project, `submarine-cloud/bin` will have root privilege Change the directory permission to the current user and group. ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-581 ### How should this be tested? https://travis-ci.org/github/pingsutw/hadoop-submarine/builds/711959054 ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: pingsutw Closes #361 from pingsutw/SUBMARINE-581 and squashes the following commits: d5967b8 [pingsutw] SUBMARINE-581. Change submarine-cloud/bin permission --- submarine-cloud/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submarine-cloud/build.sh b/submarine-cloud/build.sh index 9890a1e..7cb1e34 100755 --- a/submarine-cloud/build.sh +++ b/submarine-cloud/build.sh @@ -31,5 +31,5 @@ if [[ "${1}"x == "test"x ]]; then elif [ "${1}"x == "clean"x ]; then rm -rf ./bin else - docker run --rm -v "$CURRENT_PATH":/go/src/submarine-cloud -w /go/src/submarine-cloud -e GOOS="${GOOS:-darwin}" -e GOARCH="${GOARCH:-amd64}" apache/submarine:build make ${1} + docker run --rm -v "$CURRENT_PATH":/go/src/submarine-cloud -w /go/src/submarine-cloud -e GOOS="${GOOS:-darwin}" -e GOARCH="${GOARCH:-amd64}" apache/submarine:build /bin/sh -c "make ${1} && chown -R $(id -u):$(id -g) ./bin" fi; - To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org For additional commands, e-mail: dev-h...@submarine.apache.org