Repository: mahout
Updated Branches:
  refs/heads/master 4cff54295 -> 44a9849c0


fixed example to save and restore MAHOUT_LOCAL correctly


Project: http://git-wip-us.apache.org/repos/asf/mahout/repo
Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/44a9849c
Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/44a9849c
Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/44a9849c

Branch: refs/heads/master
Commit: 44a9849c075f42f5d1029d604a64a72b7415a0b4
Parents: 4cff542
Author: pferrel <[email protected]>
Authored: Mon Apr 6 08:09:22 2015 -0700
Committer: pferrel <[email protected]>
Committed: Mon Apr 6 08:09:22 2015 -0700

----------------------------------------------------------------------
 examples/bin/run-item-sim.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/44a9849c/examples/bin/run-item-sim.sh
----------------------------------------------------------------------
diff --git a/examples/bin/run-item-sim.sh b/examples/bin/run-item-sim.sh
index b71573b..64ea335 100755
--- a/examples/bin/run-item-sim.sh
+++ b/examples/bin/run-item-sim.sh
@@ -23,8 +23,8 @@ INPUT="examples/src/main/resources/cf-data-purchase.txt" # 
purchase actions
 INPUT2="examples/src/main/resources/cf-data-view.txt" # view actions
 
 #setup env
-LOCAL=$MAHOUT-LOCAL # save state
-export MAHOUT-LOCAL=true #set so the raw local file system is used
+LOCAL=$MAHOUT_LOCAL # save state
+export MAHOUT_LOCAL=true #set so the raw local file system is used
 
 echo "This runs spark-itemsimilarity on two user actions in two intput files"
 echo "The example uses fake purchases and views of products, calculating"
@@ -40,6 +40,6 @@ rm -r $OUTPUT
 
 mahout spark-itemsimilarity -i $INPUT -i2 $INPUT2 -o $OUTPUT -ma local
 
-export MAHOUT-LOCAL=$LOCAL #restore state
+export MAHOUT_LOCAL=$LOCAL #restore state
 
 echo "Look in " $OUTPUT " for spark-itemsimilarity indicator data."

Reply via email to