Skip to content

MAHOUT-1794: Support MAHOUT_WORK_DIR environment variable#178

Merged
asfgit merged 2 commits into
apache:masterfrom
chu11:mahoutworkdir
Mar 20, 2016
Merged

MAHOUT-1794: Support MAHOUT_WORK_DIR environment variable#178
asfgit merged 2 commits into
apache:masterfrom
chu11:mahoutworkdir

Conversation

@chu11
Copy link
Copy Markdown
Contributor

@chu11 chu11 commented Nov 20, 2015

Support MAHOUT_WORK_DIR environment variable in examples to allow user to specify an alternate scratch/temp space instead of the defined one. This will allow users in some environments without local drives or with small /tmp mounts to still run the examples.

@andrewmusselman
Copy link
Copy Markdown
Contributor

Thanks for the addition, Al. The way this is written you will have to create a similar path on your local file system that will mirror the path you have in HDFS.

Works fine as far as I can see for temp directories in home. Only issue will be if people don't have the rights to write to the same path on the local fs and the dfs.

@andrewmusselman
Copy link
Copy Markdown
Contributor

Although cluster-syntheticcontrol.sh worked for both options, both default and specified path, and both local and remote, cluster-reuters.sh fails for option 1 in remote mode with a specified path.

Al could you confirm you've tested the examples with all options, local and remote, and with default and specified path? Some examples do not use the MAHOUT_LOCAL var.

@asfgit asfgit merged commit 5991010 into apache:master Mar 20, 2016
asfgit pushed a commit that referenced this pull request Mar 20, 2016
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 this pull request may close these issues.

3 participants