mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apalu...@apache.org
Subject mahout git commit: MAHOUT-1516: classify-20newsgroups.sh failed: /tmp/mahout-work-jpan/20news-all does not exists in hdfs.
Date Mon, 30 Mar 2015 20:35:45 GMT
Repository: mahout
Updated Branches:
  refs/heads/master d5d8de185 -> edec611f0


MAHOUT-1516: classify-20newsgroups.sh failed: /tmp/mahout-work-jpan/20news-all does not exists
in hdfs.


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

Branch: refs/heads/master
Commit: edec611f07d4e7a352a3332af271207652caab02
Parents: d5d8de1
Author: Andrew Palumbo <apalumbo@apache.org>
Authored: Mon Mar 30 16:32:24 2015 -0400
Committer: Andrew Palumbo <apalumbo@apache.org>
Committed: Mon Mar 30 16:32:24 2015 -0400

----------------------------------------------------------------------
 CHANGELOG                             | 2 ++
 examples/bin/classify-20newsgroups.sh | 1 +
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/edec611f/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index f4c31fa..55f5ca1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@ Mahout Change Log
 
 Release 0.10.0 - unreleased
 
+  MAHOUT-1516: classify-20newsgroups.sh failed: /tmp/mahout-work-jpan/20news-all does not
exists in hdfs. (Jian Pan via apalumbo)
+
   MAHOUT-1559: Add documentation for and clean up the wikipedia classifier example (apalumbo)
 
   MAHOUT-1598: extend seq2sparse to handle multiple text blocks of same document (Wolfgang
Buchnere via akm)

http://git-wip-us.apache.org/repos/asf/mahout/blob/edec611f/examples/bin/classify-20newsgroups.sh
----------------------------------------------------------------------
diff --git a/examples/bin/classify-20newsgroups.sh b/examples/bin/classify-20newsgroups.sh
index 80eb403..f4f18f3 100755
--- a/examples/bin/classify-20newsgroups.sh
+++ b/examples/bin/classify-20newsgroups.sh
@@ -99,6 +99,7 @@ if  ( [ "x$alg" == "xnaivebayes-MapReduce" ] ||  [ "x$alg" == "xcnaivebayes-MapR
     set +e
     $HADOOP dfs -rmr ${WORK_DIR}/20news-all
     $HADOOP dfs -rmr ${WORK_DIR}/spark-model
+    $HADOOP dfs -mkdir ${WORK_DIR}
     set -e
     $HADOOP dfs -put ${WORK_DIR}/20news-all ${WORK_DIR}/20news-all
   fi


Mime
View raw message