mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Bratieres <sb...@cam.ac.uk>
Subject Building mahout-examples-1.0.job
Date Thu, 14 May 2009 15:22:56 GMT
Hi,

I'd like to walk in the footsteps of Stephen Green running Mahout on EMR.

He points out that the fix to issue 118 is needed to do that (I first
ran into the file system error too). I'm a first-time Maven user and I
don't know how to rebuild the mahout-examples-1.0.job file once I have
retrieved revision 765769 from SVN (I use Eclipse). I have tried
- highlight mahout-examples project
- right-click Run As / Maven package (though I'm not sure at all that
Maven package is the right option to use!)

but that gives me this error
---
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Mahout examples
[INFO]
[INFO] Id: org.apache.mahout:mahout-examples:jar:0.2-SNAPSHOT
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [resources:copy-resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[ERROR]

Transitive dependency resolution for scope: test has failed for your project.



Error message: Missing:
----------
1) org.apache.mahout:mahout-core:test-jar:tests:0.2-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
     mvn install:install-file -DgroupId=org.apache.mahout
-DartifactId=mahout-core -Dversion=0.2-SNAPSHOT -Dclassifier=tests
-Dpackaging=test-jar -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file there:
     mvn deploy:deploy-file -DgroupId=org.apache.mahout
-DartifactId=mahout-core -Dversion=0.2-SNAPSHOT -Dclassifier=tests
-Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

 Path to dependency:
       1) org.apache.mahout:mahout-examples:jar:0.2-SNAPSHOT
       2) org.apache.mahout:mahout-core:test-jar:tests:0.2-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
 org.apache.mahout:mahout-examples:jar:0.2-SNAPSHOT

from the specified remote repositories:
 Apache snapshots (http://people.apache.org/maven-snapshot-repository),
 maven2-repository.dev.java.net (http://download.java.net/maven/2),
 central (http://repo1.maven.org/maven2)

Group-Id: org.apache.mahout
Artifact-Id: mahout-examples
Version: 0.2-SNAPSHOT
>From file: C:\workspace\mahout\examples\pom.xml




[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Thu May 14 16:58:46 CEST 2009
[INFO] Final Memory: 3M/22M
[INFO] ------------------------------------------------------------------------

---

So again, my goal is to have a new mahout-examples-1.0.job file or
equivalent that contains the patch for 118 and will run on EMR. What
is the right way to do this ?

Thanks
Sebastien

Mime
View raw message