[
https://issues.apache.org/jira/browse/MAHOUT-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14387281#comment-14387281
]
Andrew Palumbo edited comment on MAHOUT-1516 at 3/30/15 7:39 PM:
-----------------------------------------------------------------
oops.. spoke too soon must have added the HDFS directory by hand when I was
walking through the steps by step Naive Bayes example.
we do need to create the base {{tmp/mahout-work-user}} directory in HDFS
will do this today.
was (Author: andrew_palumbo):
oops.. spoke too soon must have added the HDFS directory by hand when I was
walking through the steps by step Naive Bayes example.
we do need to create the base {{tmp/mahout-work-user}} directory in HDFS
> 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
> Assignee: Andrew Palumbo
> Priority: Minor
> Labels: legacy, patch
> Fix For: 0.10.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.3.4#6332)