MAHOUT-1794: Support MAHOUT_WORK_DIR environment variable#178
Merged
Conversation
specify an alternate temporary directory in examples.
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. |
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
pushed a commit
that referenced
this pull request
Mar 20, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.