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

Zhankun Tang resolved SUBMARINE-513.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 297
[https://github.com/apache/submarine/pull/297]

> Remove "\n" in job logs
> -----------------------
>
>                 Key: SUBMARINE-513
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-513
>             Project: Apache Submarine
>          Issue Type: Bug
>          Components: K8s Submitter
>            Reporter: Kevin Su
>            Assignee: JohnTing
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 0.4.0
>
>
> When logging job output, the content contains "\n", didn't print correctly.
> curl -X GET [http://127.0.0.1:8080/api/v1/jobs/logs/job_1590165277436_0001]
> {code:java}
> {"status": "OK","code": 200,"success": true,"message": null,"result": 
> {"jobId": "job_1590159665166_0001","logContent": [{"podName": 
> "mnist22-worker-0","podLog": "WARNING:tensorflow:From 
> /var/tf_mnist/mnist_with_summaries.py:39: read_data_sets (from 
> tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will 
> be removed in a future version.\nInstructions for updating:\nPlease use 
> alternatives such as official/mnist/dataset.py from 
> tensorflow/models.\nWARNING:tensorflow:From 
> /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:260:
>  maybe_download (from tensorflow.contrib.learn.python.learn.datasets.base) is 
> deprecated and will be removed in a future version.\nInstructions for 
> updating:\nPlease write your own downloading logic.\nWARNING:tensorflow:From 
> /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/base.py:252:
>  wrapped_fn (from tensorflow.contrib.learn.python.learn.datasets.base) is 
> deprecated and will be removed in a future version.\nInstructions for 
> updating:\nPlease use urllib or similar directly.\nWARNING:tensorflow:From 
> /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:262:
>  extract_images (from tensorflow.contrib.learn.python.learn.datasets.mnist) 
> is deprecated and will be removed in a future version.\nInstructions for 
> updating:\nPlease use tf.data to implement this 
> functionality.\nWARNING:tensorflow:From 
> /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:267:
>  extract_labels (from tensorflow.contrib.learn.python.learn.datasets.mnist) 
> is deprecated and will be removed in a future version.\nInstructions for 
> updating:\nPlease use tf.data to implement this 
> functionality.\nWARNING:tensorflow:From 
> /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:290:
>  __init__ (from tensorflow.contrib.learn.python.learn.datasets.mnist) is 
> deprecated and will be removed in a future version.\nInstructions for 
> updating:\nPlease use alternatives such as official/mnist/dataset.py from 
> tensorflow/models.\n2020-05-22 15:01:49.630660: I 
> tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports 
> instructions that this TensorFlow binary was not compiled to use: AVX2 
> FMA\n"}]},"attributes": {}}{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]

Reply via email to