[
https://issues.apache.org/jira/browse/SUBMARINE-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141821#comment-17141821
]
Wanqiang Ji commented on SUBMARINE-542:
---------------------------------------
I reproduced this issue in my local machine, and I found we used
*fieldSelector* query param for the *GET
/api/v1/namespaces/\{namespace}/pods/\{name}*. And I cannot found any fields
but found the labels, so maybe we can replace with the *labelSelector* as the
query param, which has the same meaning "A selector to restrict the list of
returned objects by their labels. Defaults to everything.". [~wangda] [~ztang]
[~liuxun]
> [SDK] get_log error when experiment is not started
> --------------------------------------------------
>
> Key: SUBMARINE-542
> URL: https://issues.apache.org/jira/browse/SUBMARINE-542
> Project: Apache Submarine
> Issue Type: Bug
> Components: SDK
> Reporter: Kevin Su
> Assignee: Kevin Su
> Priority: Blocker
>
> >>> submarine_client.get_log(id)
> {code:java}
> IndexError Traceback (most recent call last)
> <ipython-input-13-8bf55eff97d1> in <module>
> ----> 1
> submarine_client.get_log(id)~/opt/anaconda3/envs/python3-7/lib/python3.7/site-packages/submarine/experiment/api/experiment_client.py
> in get_log(self, id, master)
> 124
> 125 if master is True:
> --> 126 log_contents = [log_contents[0]]
> 127
> 128 for log_content in log_contents:IndexError: list index out of
> range{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]