You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kevin W Monroe (JIRA)" <ji...@apache.org> on 2017/04/25 22:02:04 UTC
[jira] [Resolved] (BIGTOP-2677) layer-spark: Improve sparkpi action
output
[ https://issues.apache.org/jira/browse/BIGTOP-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin W Monroe resolved BIGTOP-2677.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.1
A fix for this came in with BIGTOP-2747. Note the {{results.meta.raw}} field that contains the actual result you care about, as well as the {{results.meta.fetchcmd}} field that tells you how to fetch the full action output:
{noformat}
$ juju run-action spark/0 sparkpi
results:
meta:
composite:
direction: asc
units: secs
value: "38"
fetchcmd: juju scp spark/0:/opt/sparkpi-results/1493156618.log .
raw: |
Pi is roughly 3.1405471405471403
start: 2017-04-25T21:43:38Z
stop: 2017-04-25T21:44:16Z
outcome: success
status: completed
timing:
completed: 2017-04-25 21:44:17 +0000 UTC
enqueued: 2017-04-25 21:43:34 +0000 UTC
started: 2017-04-25 21:43:38 +0000 UTC
$ juju scp spark/0:/opt/sparkpi-results/1493156618.log .
$ cat 1493156618.log | pastebinit
{noformat}
http://paste.ubuntu.com/24456551/
> layer-spark: Improve sparkpi action output
> ------------------------------------------
>
> Key: BIGTOP-2677
> URL: https://issues.apache.org/jira/browse/BIGTOP-2677
> Project: Bigtop
> Issue Type: Improvement
> Components: spark
> Affects Versions: 1.1.0
> Reporter: Antonio Rosales
> Assignee: Kevin W Monroe
> Priority: Minor
> Labels: features
> Fix For: 1.2.1
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When running the sparkpi action against the spark charm I get a lot of log output on the action result info.
> I would like to just see the output of the calculation of Pi and if that was successful.
> Example:
> http://paste.ubuntu.com/23859116/
> Code ref = https://github.com/apache/bigtop/tree/master/bigtop-packages/src/charm/spark/layer-spark
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)