[
https://issues.apache.org/jira/browse/MAHOUT-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jian Pan updated MAHOUT-1516:
-
Labels: patch (was: )
Status: Patch Available (was: Open)
*** 97,102
--- 97,103
set +e
$HADOOP dfs -rmr ${WORK_DIR}/20news-all
set -e
+ $HADOOP dfs -mkdir -p ${WORK_DIR}/20news-all
$HADOOP dfs -put ${WORK_DIR}/20news-all ${WORK_DIR}/20news-all
fi
run classify-20newsgroups.sh failed cause by /tmp/mahout-work-jpan/20news-all
does not exists in hdfs.
--
Key: MAHOUT-1516
URL: https://issues.apache.org/jira/browse/MAHOUT-1516
Project: Mahout
Issue Type: Bug
Components: Examples
Affects Versions: 0.9
Environment: hadoop2.2.0 mahout0.9 ubuntu12.04
Reporter: Jian Pan
Priority: Minor
Labels: patch
Fix For: 1.0
+ echo 'Copying 20newsgroups data to HDFS'
Copying 20newsgroups data to HDFS
+ set +e
+ /home/jpan/Software/hadoop-2.2.0/bin/hadoop dfs -rmr
/tmp/mahout-work-jpan/20news-all
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
rmr: DEPRECATED: Please use 'rm -r' instead.
14/04/17 10:26:25 WARN util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
rmr: `/tmp/mahout-work-jpan/20news-all': No such file or directory
+ set -e
+ /home/jpan/Software/hadoop-2.2.0/bin/hadoop dfs -put
/tmp/mahout-work-jpan/20news-all /tmp/mahout-work-jpan/20news-all
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
14/04/17 10:26:26 WARN util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
put: `/tmp/mahout-work-jpan/20news-all': No such file or directory
--
This message was sent by Atlassian JIRA
(v6.2#6252)