Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong status message in cluster mode #11

Open
frank-y-liu opened this issue May 30, 2018 · 1 comment
Open

Wrong status message in cluster mode #11

frank-y-liu opened this issue May 30, 2018 · 1 comment

Comments

@frank-y-liu
Copy link

Sequence of commands:

frankliu@arlz010:~/Projects/DtCraft$ ./sbin/kernel.sh --action=start
start master @frankliu@arlz010:/home/frankliu/Projects/DtCraft [OK]
start agent @frankliu@arlz010:/home/frankliu/Projects/DtCraft [OK]
start agent @frankliu@arlz009:/home/frankliu/Projects/DtCraft [OK]

But returned results from ping are wrong:

frankliu@arlz010:~/Projects/DtCraft$ ./sbin/kernel.sh --action=ping
master @frankliu@arlz010:/home/frankliu/Projects/DtCraft [STOPPED]
agent @frankliu@arlz009:/home/frankliu/Projects/DtCraft [RUNNING]
agent @frankliu@arlz010:/home/frankliu/Projects/DtCraft [STOPPED]

The cluster appears to be alive and functional:

frankliu@arlz010:~/Projects/DtCraft$ ./sbin/submit.sh --master=arlz010 /home/frankliu/Projects/DtCraft/example/pi
I 47872 2018-05-29 20:46:30 executor.cpp:186] Executor @arlz010 [stdout:36041|stderr:34575]
I 47872 2018-05-29 20:46:30 executor.cpp:191] Submitting graph to master @arlz010:9910
pi estimation: 3.14146
I 59136 2018-05-29 20:46:32 executor.cpp:200] Solution received
[Graph 5]
+--------+------+-------+
|Topology|Status|Message|
+--------+------+-------+
|5-3     |Exit 0|Success|
+--------+------+-------+
|5-2     |Exit 0|Success|
+--------+------+-------+
|5-0     |Exit 0|Success|
+--------+------+-------+
|5-1     |Exit 0|Success|
+--------+------+-------+
Graph finished with 0 error(s)

Tried on the other node, works fine!

@tsung-wei-huang
Copy link
Owner

Would you please try the master branch? We have fixed multiple bugs in the previous releases. Please notice that a DtCraft cluster can have only one master. Each node can have only one agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants