Failed to set permissions exception- Mahout 0.9

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Failed to set permissions exception- Mahout 0.9

itzikgili
This post has NOT been accepted by the mailing list yet.
When trying to run the example from the mahout tutorial ,

                Path input = new Path("C:/Dev/mahout-distribution-0.9/testdata");
                Path canopyOutput = new Path("C:/Dev/mahout-distribution-0.9/CanopyOutput");
                Path kMeansOutput = new Path("C:/Dev/mahout-distribution-0.9/KmeansOutput");

                // run the CanopyDriver job
                CanopyDriver.run(input, canopyOutput,new EuclideanDistanceMeasure(), 2.0, 4.0, true, 0.0, false);
                KMeansDriver.run(input, canopyOutput, kMeansOutput, 0.001, 10,
                                        true, 0, true);

I get this exception :

java.io.IOException: Failed to set permissions of path: <path>

note I'm using mahout 0.9 so its without separate hadop installation.
using windows 7.

Reply | Threaded
Open this post in threaded view
|

Re: Failed to set permissions exception- Mahout 0.9

newein
This post has NOT been accepted by the mailing list yet.
HI,
Did you get solution for it.
I was getting similar exception while running mahout(0.9) CVB algorithm.

I did a change in the hadoop-core jar. Instead of using hadoop 1+ jar i used hadoop-core 0.2 jar
And the code worked for me