problem when building a charm for giraph
Panagiotis Liakos
p.liakos at di.uoa.gr
Tue Nov 22 08:42:16 UTC 2016
Hi all,
I am trying to build a charm for Apache Giraph. I have used the mahout
charm ( https://github.com/apache/bigtop/tree/master/bigtop-packages/src/charm/mahout
) and made the necessary changes to deploy giraph instead of mahout.
Deployment seems to work fine and I am able to submit giraph jobs
through an ssh connection.
Now I am trying to create a test similar to the smoke-test of the
mahout charm ( https://github.com/apache/bigtop/blob/master/bigtop-packages/src/charm/mahout/layer-mahout/actions/smoke-test
)
I have successfully run the script that I have included in my
smoke-test through ssh and I
would expect that the test would also execute without errors.
However, I am not at all familiar with the 'run-action' process of
juju and I have no idea how I should alter the following file:
https://github.com/apache/bigtop/blob/master/bigtop-packages/src/charm/mahout/layer-mahout/tests/01-mahout-test.py
In particular, I am puzzled by the way the result status is set in
this example. Simply changing the references of mahout to giraph does
not seem to work. You can see my file here:
https://github.com/panagiotisl/bigtop/blob/master/bigtop-packages/src/charm/giraph/layer-giraph/tests/01-giraph-test.py
When I execute show-action-output I receive very limited information:
message: exit status 1
status: failed
timing:
completed: 2016-11-21 15:48:01 +0000 UTC
enqueued: 2016-11-21 15:47:38 +0000 UTC
started: 2016-11-21 15:47:40 +0000 UTC
Is there a way I can view the full output of the 'smoke-test' execution?
Thank you,
Panagiotis Liakos
More information about the Juju
mailing list