[
https://issues.apache.org/jira/browse/MAHOUT-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200589#comment-15200589
]
ASF GitHub Bot commented on MAHOUT-1773:
----------------------------------------
Github user andrewmusselman commented on a diff in the pull request:
https://github.com/apache/mahout/pull/157#discussion_r56592605
--- Diff: examples/bin/cluster-syntheticcontrol.sh ---
@@ -66,13 +66,13 @@ if [ ! -f ${WORK_DIR}/synthetic_control.data ]; then
fi
if [ "$HADOOP_HOME" != "" ] && [ "$MAHOUT_LOCAL" == "" ]; then
echo "Checking the health of DFS..."
- $DFS -ls
+ $DFS -ls /
if [ $? -eq 0 ];then
echo "DFS is healthy... "
echo "Uploading Synthetic control data to HDFS"
$DFSRM testdata
--- End diff --
Shouldn't this have a slash in it too?
> Fix cluster-syntheticcontrol.sh for HDFS synthax
> ------------------------------------------------
>
> Key: MAHOUT-1773
> URL: https://issues.apache.org/jira/browse/MAHOUT-1773
> Project: Mahout
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 0.11.0
> Reporter: Eduardo Niemeyer
> Priority: Trivial
> Fix For: 0.11.1
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> Added '/' to some lines, so it can check the root of the HDFS, where it's
> possible to use -mkdir, -put and others. Otherwise the example keeps failing
> (Tested on Hadoop 2.4.1).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)