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

Proper CLI #8

Closed
CodeLionX opened this issue Nov 6, 2018 · 1 comment · Fixed by #10
Closed

Proper CLI #8

CodeLionX opened this issue Nov 6, 2018 · 1 comment · Fixed by #10
Assignees

Comments

@CodeLionX
Copy link
Collaborator

Implement a CLI that conforms with the following requirements:

  • provide three commands:
    • master starts the master-node, supports following arguments:
      • --workers number of local worker actors to start on the master node
      • --slaves number of slave actor systems to wait for (cluster is up, when all slaves have joined it)
      • --input path to the input CSV file
    • slave starts a slave node
      • --workers number of worker actors to start on the node
      • --host hostname of the master system
    • help prints help document
  • example calls:
    > java -jar YourAlgorithmName.jar master --workers 4 --slaves 4 --input students.csv
    > java -jar YourAlgorithmName.jar slave --workers 4 --host 198.172.0.24
  • master program terminal outputs: overall time and result CSV string
@CodeLionX
Copy link
Collaborator Author

interesting project that can be used for this: https://github.com/backuity/clist

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

Successfully merging a pull request may close this issue.

1 participant