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

Create function to gather debug info #7

Open
hafen opened this issue Aug 27, 2014 · 1 comment
Open

Create function to gather debug info #7

hafen opened this issue Aug 27, 2014 · 1 comment
Assignees

Comments

@hafen
Copy link
Contributor

hafen commented Aug 27, 2014

Add an exported, documented function to RHIPE, call it maybe rhipeDebugInfo() that runs a MapReduce job that returns for each map task a list with the following:

  • hostname: host name of the machine - I suppose through something like system("hostname", intern = TRUE)
  • user: name of the user running the R process - use something like system("whoami", intern = TRUE)
  • env: a list of environment variables, through Sys.getenv()
  • libPaths: the result of calling .libPaths()
  • sessionInfo: the result of calling sessionInfo()

Anything else?

The trick is to make it run a dummy job that we can ensure will run on all nodes of the cluster, but only a small number (preferably one) task per node.

This will be a useful function to expose to any RHIPE user to be able to run to figure out why something might not be working, or to provide details about their system.

@hafen
Copy link
Contributor Author

hafen commented Aug 27, 2014

It would be good to put it in both master and dev.

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