mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Divya" <di...@k2associates.com.sg>
Subject RE: file not found exception in mahout 0.4
Date Wed, 27 Oct 2010 04:31:00 GMT

Yes, my cygwin command prompts its showing as /cygdrive/d/mahout-0.4
How can I directly go to the D:/Mahout-0.4 using cygwin
 
Here is my configurations 
HADOOP_CONF_DIR = C:\cygwin\home\Divya\hadoop-0.19.2\conf
HADOOP_HOME = C:\cygwin\home\Divya\hadoop-0.19.2
JAVA_HOME = D:\InstalledSoftwares\Java\Java6\jdk1.6.0_21
JAVA_OPTS = -XX:MaxPermSize=128m
MAHOUT_HOME= D:\mahout-0.4
MAHOUT_OPTS =  -Xmx1024m
MAVEN_HOME = D:\Downloads\Mahout\maven\apache-maven-2.2.1
Path = C:\cygwin\bin



-----Original Message-----
From: Lance Norskog [mailto:goksron@gmail.com] 
Sent: Wednesday, October 27, 2010 11:37 AM
To: user@mahout.apache.org
Subject: Re: file not found exception in mahout 0.4

Does your configuration describe /cygdrive/d/mahout-0.4 ?
/cygdrive/d does not exist in the java view of files.
Java uses windows path names directly, but allows forward-slashes for
sanity. The path should be D:/mahout-0.4. I admit I have not had Java
use one partition from another partition.

Lance

http://alans.se/blog/2010/hadoop-hbase-cygwin-windows-7-x64/

On Tue, Oct 26, 2010 at 6:33 PM, Divya <divya@k2associates.com.sg> wrote:
> Hi,
>
>
>
> I am using  to run Mahout 0.4 with cygwin
>
> When I type bin/mahout in cygwin command line
>
> I get the following error , though mahout-examples-0.4-job.jar exists at
> same directory location
>
>
>
> $ bin/mahout
>
> Running on hadoop, using HADOOP_HOME=C:\cygwin\home\Divya\hadoop-0.19.2
>
> HADOOP_CONF_DIR=C:\cygwin\home\Divya\hadoop-0.19.2\conf
>
> java.io.IOException: Error opening job jar:
> /cygdrive/d/mahout-0.4/examples/targ
>
> et/mahout-examples-0.4-job.jar
>
>        at org.apache.hadoop.util.RunJar.main(RunJar.java:91)
>
>        at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
>
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>
>        at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
>
> Caused by: java.io.FileNotFoundException:
> \cygdrive\d\mahout-0.4\examples\target
>
> \mahout-examples-0.4-job.jar (The system cannot find the path specified)
>
>        at java.util.zip.ZipFile.open(Native Method)
>
>        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>
>        at java.util.jar.JarFile.<init>(JarFile.java:135)
>
>        at java.util.jar.JarFile.<init>(JarFile.java:72)
>
>        at org.apache.hadoop.util.RunJar.main(RunJar.java:89)
>
>        ... 4 more
>
>
>
>
>
> Regards,
>
> Divya
>
>



-- 
Lance Norskog
goksron@gmail.com


Mime
View raw message