You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Yunming Zhang <zh...@gmail.com> on 2013/01/15 22:42:47 UTC
Failed to create /META-INF/license file on Mac system
Hi,
I was trying to set up Mahout 0.8 on my Macbook Pro with OSX so I could do some local testing, I am running Hadoop 1.0.3 (it worked fine with mahout in my cluster)
I have set up Pseudo distribution Hadoop, and I could put testdata direction into HDFS,
But when I try to execute
$MAHOUT_HOME/bin/mahout org.apache.mahout.clustering.syntheticcontrol.kmeans.Job
I get
Exception in thread "main" java.io.IOException: Mkdirs failed to create /PATH-TO-TMP/hadoop-unjar6845980999143023006/META-INF/license
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:47)
at org.apache.hadoop.util.RunJar.main(RunJar.java:132)
It seems to be a really similar issue to this bug
https://issues.apache.org/jira/browse/MAHOUT-780
but I am using Mahout 0.8, so I am not sure what is happening here, I have checked, there should be permission to the PATH-TO-TMP directory, so I don't think it is a permission issue
Thanks
Yunming
Re: Failed to create /META-INF/license file on Mac system
Posted by Yunming Zhang <zh...@gmail.com>.
Thanks, that worked!
Hmm, I saw that discussion too, but thought it was related to MAHOUT-780 since it was using an older version of Mahout,
Yunming
On Jan 15, 2013, at 3:47 PM, Sean Owen <sr...@gmail.com> wrote:
> http://stackoverflow.com/questions/10522835/hadoop-java-io-ioexception-mkdirs-failed-to-create-some-path
>
> On Tue, Jan 15, 2013 at 9:42 PM, Yunming Zhang
> <zh...@gmail.com> wrote:
>> Hi,
>>
>> I was trying to set up Mahout 0.8 on my Macbook Pro with OSX so I could do some local testing, I am running Hadoop 1.0.3 (it worked fine with mahout in my cluster)
>>
>> I have set up Pseudo distribution Hadoop, and I could put testdata direction into HDFS,
>>
>> But when I try to execute
>>
>> $MAHOUT_HOME/bin/mahout org.apache.mahout.clustering.syntheticcontrol.kmeans.Job
>>
>> I get
>>
>> Exception in thread "main" java.io.IOException: Mkdirs failed to create /PATH-TO-TMP/hadoop-unjar6845980999143023006/META-INF/license
>> at org.apache.hadoop.util.RunJar.unJar(RunJar.java:47)
>> at org.apache.hadoop.util.RunJar.main(RunJar.java:132)
>>
>> It seems to be a really similar issue to this bug
>> https://issues.apache.org/jira/browse/MAHOUT-780
>>
>> but I am using Mahout 0.8, so I am not sure what is happening here, I have checked, there should be permission to the PATH-TO-TMP directory, so I don't think it is a permission issue
>>
>> Thanks
>>
>> Yunming
Re: Failed to create /META-INF/license file on Mac system
Posted by Sean Owen <sr...@gmail.com>.
http://stackoverflow.com/questions/10522835/hadoop-java-io-ioexception-mkdirs-failed-to-create-some-path
On Tue, Jan 15, 2013 at 9:42 PM, Yunming Zhang
<zh...@gmail.com> wrote:
> Hi,
>
> I was trying to set up Mahout 0.8 on my Macbook Pro with OSX so I could do some local testing, I am running Hadoop 1.0.3 (it worked fine with mahout in my cluster)
>
> I have set up Pseudo distribution Hadoop, and I could put testdata direction into HDFS,
>
> But when I try to execute
>
> $MAHOUT_HOME/bin/mahout org.apache.mahout.clustering.syntheticcontrol.kmeans.Job
>
> I get
>
> Exception in thread "main" java.io.IOException: Mkdirs failed to create /PATH-TO-TMP/hadoop-unjar6845980999143023006/META-INF/license
> at org.apache.hadoop.util.RunJar.unJar(RunJar.java:47)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:132)
>
> It seems to be a really similar issue to this bug
> https://issues.apache.org/jira/browse/MAHOUT-780
>
> but I am using Mahout 0.8, so I am not sure what is happening here, I have checked, there should be permission to the PATH-TO-TMP directory, so I don't think it is a permission issue
>
> Thanks
>
> Yunming