I'm starting w mahout and I'm trying to get the grouplens example to run but having some difficulty . this is using mahout0.7 using jdk1.7 on a 64bit mac os 10.8
I followed instructions at https://cwiki.apache.org/MAHOUT/recommendationexamples.html and fetched the ml-100k.zip dataset from http://www.grouplens.org/node/73 that zip inflated to produce files README, u.info, u.item, u.genre, u.user and u{1,2,3,4,5}.{base,test}. I invoked it like this: in dir /users/kali/mahout/mahout0.7/examples : there's a pom.xml and so I issued (all on 1 line, i'm not sure how it will appear in your mail reader): mvn -X -e -q exec:java -Dexec.mainClass="org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner" -Dexec.args="-i /users/kali/mahout/mahout0.7/examples/src/main/java/org/apache/mahout/cf/taste/example/grouplens/ml-100k/u1.base" the crux of the problem seems to be here: Caused by: java.io.IOException: Unexpected input format on line: 1 1 5 874965758 at org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.convertGLFile(GroupLensDataModel.java:66) at org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.<init>(GroupLensDataModel.java:51) at org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner.main(GroupLensRecommenderEvaluatorRunner.java:47) that line is indeed the 1st line in input file u1.base. seems to be a format mismatch between the code and the data. any idea what the maintenance status is of this example? is it cruddy and old? or if its maintained, does anyone know where i could download the data in a format that the mahout0.7 examples code expects? =============== here's huge detail from mvn -X -e : kali@kali1 /users/kali/mahout/mahout0.7/examples :( $ mvn -X -e -q exec:java -Dexec.mainClass="org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner" -Dexec.args="-i /users/kali/mahout/mahout0.7/examples/src/main/java/org/apache/mahout/cf/taste/example/grouplens/ml-100k/u1.base" Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) Maven home: /usr/share/maven Java version: 1.7.0_10, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml [DEBUG] Reading user settings from /Users/kali/.m2/settings.xml [DEBUG] Using local repository at /Users/kali/.m2/repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /Users/kali/.m2/repository [INFO] Scanning for projects... [DEBUG] Extension realms for project org.apache.mahout:mahout-examples:jar:0.7: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/Users/kali/.m2/repository) [DEBUG] Skipped remote update check for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/Users/kali/.m2/repository) [DEBUG] Skipped remote update check for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from repository central [DEBUG] Resolving plugin version for org.codehaus.mojo:exec-maven-plugin [DEBUG] Could not find metadata org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml in local (/Users/kali/.m2/repository) [DEBUG] Skipped remote update check for org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Resolved plugin version for org.codehaus.mojo:exec-maven-plugin to 1.2.1 from repository central (http://repo1.maven.org/maven2, releases) [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: org.apache.mahout:mahout-examples:jar:0.7 [DEBUG] Tasks: [exec:java] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Mahout Examples 0.7 [INFO] ------------------------------------------------------------------------ [DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, org.codehaus.mojo] [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (/Users/kali/.m2/repository) [DEBUG] Skipped remote update check for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (/Users/kali/.m2/repository) [DEBUG] Skipped remote update check for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from repository central [DEBUG] Resolving plugin version for org.codehaus.mojo:exec-maven-plugin [DEBUG] Could not find metadata org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml in local (/Users/kali/.m2/repository) [DEBUG] Skipped remote update check for org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml, locally cached metadata up-to-date. [DEBUG] Resolved plugin version for org.codehaus.mojo:exec-maven-plugin to 1.2.1 from repository central (http://repo1.maven.org/maven2, releases) [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: org.apache.mahout:mahout-examples:0.7 [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [test] [DEBUG] Repositories (dependencies): [apache.snapshots ( http://repository.apache.org/snapshots, snapshots), central ( http://repo1.maven.org/maven2, releases)] [DEBUG] Repositories (plugins) : [central (http://repo1.maven.org/maven2, releases)] [DEBUG] --- init fork of org.apache.mahout:mahout-examples:0.7 for org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) --- [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] --- exit fork of org.apache.mahout:mahout-examples:0.7 for org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) --- [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> <configuration> <arguments>${exec.arguments}</arguments> <classpathScope default-value="runtime">${exec.classpathScope}</classpathScope> <cleanupDaemonThreads>${exec.cleanupDaemonThreads} default-value=</cleanupDaemonThreads> <commandlineArgs>${exec.args}</commandlineArgs> <daemonThreadJoinTimeout default-value="15000">${exec.daemonThreadJoinTimeout}</daemonThreadJoinTimeout> <includePluginDependencies default-value="false">${exec.includePluginDependencies}</includePluginDependencies> <includeProjectDependencies default-value="true">${exec.includeProjectDependencies}</includeProjectDependencies> <keepAlive default-value="false">${exec.keepAlive}</keepAlive> <killAfter default-value="-1">${exec.killAfter}</killAfter> <localRepository default-value="${localRepository}"/> <mainClass>${exec.mainClass}</mainClass> <pluginDependencies default-value="${plugin.artifacts}"/> <project default-value="${project}"/> <remoteRepositories default-value="${project.remoteArtifactRepositories}"/> <skip default-value="false">${skip}</skip> <sourceRoot>${sourceRoot}</sourceRoot> <stopUnresponsiveDaemonThreads>${exec.stopUnresponsiveDaemonThreads} default-value=</stopUnresponsiveDaemonThreads> <testSourceRoot>${testSourceRoot}</testSourceRoot> </configuration> [DEBUG] ======================================================================= [INFO] [INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ mahout-examples >>> [INFO] [INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ mahout-examples <<< [DEBUG] org.apache.mahout:mahout-examples:jar:0.7 [DEBUG] org.apache.mahout:mahout-core:jar:0.7:compile [DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.8.2:compile [DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.8.2:compile [DEBUG] commons-lang:commons-lang:jar:2.6:compile [DEBUG] com.thoughtworks.xstream:xstream:jar:1.3.1:compile [DEBUG] xpp3:xpp3_min:jar:1.1.4c:compile [DEBUG] org.apache.lucene:lucene-core:jar:3.6.0:compile [DEBUG] org.apache.mahout.commons:commons-cli:jar:2.0-mahout:compile [DEBUG] org.apache.commons:commons-math:jar:2.2:compile [DEBUG] org.apache.hadoop:hadoop-core:jar:0.20.204.0:compile [DEBUG] commons-cli:commons-cli:jar:1.2:compile [DEBUG] commons-httpclient:commons-httpclient:jar:3.0.1:compile [DEBUG] commons-codec:commons-codec:jar:1.4:compile [DEBUG] commons-configuration:commons-configuration:jar:1.6:compile [DEBUG] commons-digester:commons-digester:jar:1.8:compile [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile [DEBUG] commons-beanutils:commons-beanutils-core:jar:1.8.0:compile [DEBUG] org.apache.mahout:mahout-core:jar:tests:0.7:test [DEBUG] org.apache.mahout:mahout-math:jar:0.7:compile [DEBUG] org.uncommons.maths:uncommons-maths:jar:1.2.2:compile [DEBUG] jfree:jcommon:jar:1.0.12:compile [DEBUG] com.google.guava:guava:jar:r09:compile [DEBUG] org.apache.mahout:mahout-math:jar:tests:0.7:test [DEBUG] org.apache.mahout:mahout-integration:jar:0.7:compile [DEBUG] commons-dbcp:commons-dbcp:jar:1.4:compile [DEBUG] commons-pool:commons-pool:jar:1.5.6:compile [DEBUG] org.apache.solr:solr-commons-csv:jar:3.5.0:compile [DEBUG] commons-io:commons-io:jar:2.0.1:compile [DEBUG] org.mongodb:mongo-java-driver:jar:2.5:compile [DEBUG] org.mongodb:bson:jar:2.5:compile [DEBUG] org.apache.cassandra:cassandra-all:jar:0.8.1:compile [DEBUG] commons-collections:commons-collections:jar:3.2.1:compile [DEBUG] com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.1:compile [DEBUG] org.antlr:antlr:jar:3.2:compile [DEBUG] org.antlr:antlr-runtime:jar:3.2:compile [DEBUG] org.antlr:stringtemplate:jar:3.2:compile [DEBUG] antlr:antlr:jar:2.7.7:compile [DEBUG] org.apache.cassandra.deps:avro:jar:1.4.0-cassandra-1:compile [DEBUG] org.mortbay.jetty:jetty:jar:6.1.22:compile [DEBUG] org.mortbay.jetty:jetty-util:jar:6.1.22:compile [DEBUG] org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile [DEBUG] jline:jline:jar:0.9.94:compile [DEBUG] com.googlecode.json-simple:json-simple:jar:1.1:compile [DEBUG] com.github.stephenc.high-scale-lib:high-scale-lib:jar:1.1.2:compile [DEBUG] org.yaml:snakeyaml:jar:1.6:compile [DEBUG] log4j:log4j:jar:1.2.16:compile [DEBUG] org.slf4j:slf4j-log4j12:jar:1.6.1:compile [DEBUG] org.apache.thrift:libthrift:jar:0.6.1:compile [DEBUG] javax.servlet:servlet-api:jar:2.5:provided (scope managed from compile by org.apache.mahout:mahout:0.7) [DEBUG] org.apache.httpcomponents:httpclient:jar:4.0.1:compile [DEBUG] org.apache.httpcomponents:httpcore:jar:4.0.1:compile [DEBUG] org.apache.cassandra:cassandra-thrift:jar:0.8.1:compile [DEBUG] com.github.stephenc:jamm:jar:0.2.2:compile [DEBUG] me.prettyprint:hector-core:jar:0.8.0-2:compile [DEBUG] org.slf4j:jul-to-slf4j:jar:1.6.1:compile [DEBUG] com.github.stephenc.eaio-uuid:uuid:jar:3.2.0:compile [DEBUG] com.ecyrd.speed4j:speed4j:jar:0.9:compile [DEBUG] org.apache.lucene:lucene-benchmark:jar:3.6.0:compile [DEBUG] org.apache.lucene:lucene-highlighter:jar:3.6.0:compile [DEBUG] org.apache.lucene:lucene-queries:jar:3.6.0:compile [DEBUG] jakarta-regexp:jakarta-regexp:jar:1.4:compile [DEBUG] org.apache.lucene:lucene-memory:jar:3.6.0:compile [DEBUG] org.apache.lucene:lucene-facet:jar:3.6.0:compile [DEBUG] com.ibm.icu:icu4j:jar:4.8.1.1:compile [DEBUG] org.apache.commons:commons-compress:jar:1.2:compile [DEBUG] xerces:xercesImpl:jar:2.9.1:compile [DEBUG] xml-apis:xml-apis:jar:1.3.04:compile [DEBUG] org.apache.lucene:lucene-analyzers:jar:3.6.0:compile [DEBUG] org.easymock:easymock:jar:3.0:test [DEBUG] cglib:cglib-nodep:jar:2.2:test [DEBUG] org.objenesis:objenesis:jar:1.2:test [DEBUG] junit:junit:jar:4.8.2:test [DEBUG] org.slf4j:slf4j-api:jar:1.6.1:compile [DEBUG] org.slf4j:slf4j-jcl:jar:1.6.1:test [DEBUG] commons-logging:commons-logging:jar:1.1.1:compile [INFO] [INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ mahout-examples --- [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.sonatype.aether.transfer < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.sonatype.aether.metadata < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.sonatype.aether.collection < plexus.core [DEBUG] Imported: org.sonatype.aether.version < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.sonatype.aether.repository < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.sonatype.aether.artifact < plexus.core [DEBUG] Imported: org.sonatype.aether.spi < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.sonatype.aether.graph < plexus.core [DEBUG] Imported: org.sonatype.aether.* < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.sonatype.aether.impl < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.sonatype.aether.deployment < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.sonatype.aether.installation < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.sonatype.aether.resolution < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Populating class realm maven.api [DEBUG] org.codehaus.mojo:exec-maven-plugin:jar:1.2.1: [DEBUG] org.apache.maven:maven-toolchain:jar:1.0:compile [DEBUG] org.apache.maven:maven-project:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-model:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-core:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile [DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile [DEBUG] commons-cli:commons-cli:jar:1.0:compile [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile [DEBUG] org.apache.maven:maven-monitor:jar:2.0.6:compile [DEBUG] classworlds:classworlds:jar:1.1:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.5:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile [DEBUG] junit:junit:jar:3.8.2:test (scope managed from compile) (version managed from 3.8.1) [DEBUG] org.apache.commons:commons-exec:jar:1.1:compile [DEBUG] Created new class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1 [DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1 [DEBUG] Included: org.codehaus.mojo:exec-maven-plugin:jar:1.2.1 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7 [DEBUG] Included: commons-cli:commons-cli:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5 [DEBUG] Included: org.apache.commons:commons-exec:jar:1.1 [DEBUG] Excluded: org.apache.maven:maven-toolchain:jar:1.0 [DEBUG] Excluded: org.apache.maven:maven-project:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-model:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-core:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.0.6 [DEBUG] Excluded: classworlds:classworlds:jar:1.1 [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6 [DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9 [DEBUG] Excluded: junit:junit:jar:3.8.2 [DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.2.1:java from plugin realm ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1, parent: sun.misc.Launcher$AppClassLoader@1b1f1f12] [DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.2.1:java' with basic configurator --> [DEBUG] (f) arguments = [] [DEBUG] (f) classpathScope = runtime [DEBUG] (f) cleanupDaemonThreads = false [DEBUG] (f) commandlineArgs = -i /users/kali/mahout/mahout0.7/examples/src/main/java/org/apache/mahout/cf/taste/example/grouplens/ml-100k/u1.base [DEBUG] (f) daemonThreadJoinTimeout = 15000 [DEBUG] (f) includePluginDependencies = false [DEBUG] (f) includeProjectDependencies = true [DEBUG] (f) keepAlive = false [DEBUG] (f) killAfter = -1 [DEBUG] (f) localRepository = id: local url: file:///Users/kali/.m2/repository/ layout: none [DEBUG] (f) mainClass = org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner [DEBUG] (f) pluginDependencies = [org.codehaus.mojo:exec-maven-plugin:maven-plugin:1.2.1:, org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile, org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile, commons-cli:commons-cli:jar:1.0:compile, org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile, org.codehaus.plexus:plexus-utils:jar:2.0.5:compile, org.apache.commons:commons-exec:jar:1.1:compile] [DEBUG] (f) project = MavenProject: org.apache.mahout:mahout-examples:0.7 @ /Users/kali/mahout/mahout0.7/examples/pom.xml [DEBUG] (f) remoteRepositories = [ id: apache.snapshots url: http://repository.apache.org/snapshots layout: default snapshots: [enabled => true, update => daily] releases: [enabled => false, update => daily] , id: central url: http://repo1.maven.org/maven2 layout: default snapshots: [enabled => false, update => daily] releases: [enabled => true, update => daily] ] [DEBUG] (f) skip = false [DEBUG] (f) stopUnresponsiveDaemonThreads = false [DEBUG] -- end configuration -- [DEBUG] Invoking : org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner.main() [DEBUG] Plugin Dependencies will be excluded. [DEBUG] Project Dependencies will be included. [DEBUG] Collected project artifacts [org.apache.mahout:mahout-core:jar:0.7:compile, org.codehaus.jackson:jackson-core-asl:jar:1.8.2:compile, org.codehaus.jackson:jackson-mapper-asl:jar:1.8.2:compile, commons-lang:commons-lang:jar:2.6:compile, com.thoughtworks.xstream:xstream:jar:1.3.1:compile, xpp3:xpp3_min:jar:1.1.4c:compile, org.apache.lucene:lucene-core:jar:3.6.0:compile, org.apache.mahout.commons:commons-cli:jar:2.0-mahout:compile, org.apache.commons:commons-math:jar:2.2:compile, org.apache.hadoop:hadoop-core:jar:0.20.204.0:compile, commons-cli:commons-cli:jar:1.2:compile, commons-httpclient:commons-httpclient:jar:3.0.1:compile, commons-codec:commons-codec:jar:1.4:compile, commons-configuration:commons-configuration:jar:1.6:compile, commons-digester:commons-digester:jar:1.8:compile, commons-beanutils:commons-beanutils:jar:1.7.0:compile, commons-beanutils:commons-beanutils-core:jar:1.8.0:compile, org.apache.mahout:mahout-math:jar:0.7:compile, org.uncommons.maths:uncommons-maths:jar:1.2.2:compile, jfree:jcommon:jar:1.0.12:compile, com.google.guava:guava:jar:r09:compile, org.apache.mahout:mahout-integration:jar:0.7:compile, commons-dbcp:commons-dbcp:jar:1.4:compile, commons-pool:commons-pool:jar:1.5.6:compile, org.apache.solr:solr-commons-csv:jar:3.5.0:compile, commons-io:commons-io:jar:2.0.1:compile, org.mongodb:mongo-java-driver:jar:2.5:compile, org.mongodb:bson:jar:2.5:compile, org.apache.cassandra:cassandra-all:jar:0.8.1:compile, commons-collections:commons-collections:jar:3.2.1:compile, com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.1:compile, org.antlr:antlr:jar:3.2:compile, org.antlr:antlr-runtime:jar:3.2:compile, org.antlr:stringtemplate:jar:3.2:compile, antlr:antlr:jar:2.7.7:compile, org.apache.cassandra.deps:avro:jar:1.4.0-cassandra-1:compile, org.mortbay.jetty:jetty:jar:6.1.22:compile, org.mortbay.jetty:jetty-util:jar:6.1.22:compile, org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile, jline:jline:jar:0.9.94:compile, com.googlecode.json-simple:json-simple:jar:1.1:compile, com.github.stephenc.high-scale-lib:high-scale-lib:jar:1.1.2:compile, org.yaml:snakeyaml:jar:1.6:compile, log4j:log4j:jar:1.2.16:compile, org.slf4j:slf4j-log4j12:jar:1.6.1:compile, org.apache.thrift:libthrift:jar:0.6.1:compile, org.apache.httpcomponents:httpclient:jar:4.0.1:compile, org.apache.httpcomponents:httpcore:jar:4.0.1:compile, org.apache.cassandra:cassandra-thrift:jar:0.8.1:compile, com.github.stephenc:jamm:jar:0.2.2:compile, me.prettyprint:hector-core:jar:0.8.0-2:compile, org.slf4j:jul-to-slf4j:jar:1.6.1:compile, com.github.stephenc.eaio-uuid:uuid:jar:3.2.0:compile, com.ecyrd.speed4j:speed4j:jar:0.9:compile, org.apache.lucene:lucene-benchmark:jar:3.6.0:compile, org.apache.lucene:lucene-highlighter:jar:3.6.0:compile, org.apache.lucene:lucene-queries:jar:3.6.0:compile, jakarta-regexp:jakarta-regexp:jar:1.4:compile, org.apache.lucene:lucene-memory:jar:3.6.0:compile, org.apache.lucene:lucene-facet:jar:3.6.0:compile, com.ibm.icu:icu4j:jar:4.8.1.1:compile, org.apache.commons:commons-compress:jar:1.2:compile, xerces:xercesImpl:jar:2.9.1:compile, xml-apis:xml-apis:jar:1.3.04:compile, org.apache.lucene:lucene-analyzers:jar:3.6.0:compile, org.slf4j:slf4j-api:jar:1.6.1:compile, commons-logging:commons-logging:jar:1.1.1:compile] [DEBUG] Collected project classpath [/Users/kali/mahout/mahout0.7/examples/target/classes] [DEBUG] Adding to classpath : file:/Users/kali/mahout/mahout0.7/examples/target/classes/ [DEBUG] Adding project dependency artifact: mahout-core to classpath [DEBUG] Adding project dependency artifact: jackson-core-asl to classpath [DEBUG] Adding project dependency artifact: jackson-mapper-asl to classpath [DEBUG] Adding project dependency artifact: commons-lang to classpath [DEBUG] Adding project dependency artifact: xstream to classpath [DEBUG] Adding project dependency artifact: xpp3_min to classpath [DEBUG] Adding project dependency artifact: lucene-core to classpath [DEBUG] Adding project dependency artifact: commons-cli to classpath [DEBUG] Adding project dependency artifact: commons-math to classpath [DEBUG] Adding project dependency artifact: hadoop-core to classpath [DEBUG] Adding project dependency artifact: commons-cli to classpath [DEBUG] Adding project dependency artifact: commons-httpclient to classpath [DEBUG] Adding project dependency artifact: commons-codec to classpath [DEBUG] Adding project dependency artifact: commons-configuration to classpath [DEBUG] Adding project dependency artifact: commons-digester to classpath [DEBUG] Adding project dependency artifact: commons-beanutils to classpath [DEBUG] Adding project dependency artifact: commons-beanutils-core to classpath [DEBUG] Adding project dependency artifact: mahout-math to classpath [DEBUG] Adding project dependency artifact: uncommons-maths to classpath [DEBUG] Adding project dependency artifact: jcommon to classpath [DEBUG] Adding project dependency artifact: guava to classpath [DEBUG] Adding project dependency artifact: mahout-integration to classpath [DEBUG] Adding project dependency artifact: commons-dbcp to classpath [DEBUG] Adding project dependency artifact: commons-pool to classpath [DEBUG] Adding project dependency artifact: solr-commons-csv to classpath [DEBUG] Adding project dependency artifact: commons-io to classpath [DEBUG] Adding project dependency artifact: mongo-java-driver to classpath [DEBUG] Adding project dependency artifact: bson to classpath [DEBUG] Adding project dependency artifact: cassandra-all to classpath [DEBUG] Adding project dependency artifact: commons-collections to classpath [DEBUG] Adding project dependency artifact: concurrentlinkedhashmap-lru to classpath [DEBUG] Adding project dependency artifact: antlr to classpath [DEBUG] Adding project dependency artifact: antlr-runtime to classpath [DEBUG] Adding project dependency artifact: stringtemplate to classpath [DEBUG] Adding project dependency artifact: antlr to classpath [DEBUG] Adding project dependency artifact: avro to classpath [DEBUG] Adding project dependency artifact: jetty to classpath [DEBUG] Adding project dependency artifact: jetty-util to classpath [DEBUG] Adding project dependency artifact: servlet-api to classpath [DEBUG] Adding project dependency artifact: jline to classpath [DEBUG] Adding project dependency artifact: json-simple to classpath [DEBUG] Adding project dependency artifact: high-scale-lib to classpath [DEBUG] Adding project dependency artifact: snakeyaml to classpath [DEBUG] Adding project dependency artifact: log4j to classpath [DEBUG] Adding project dependency artifact: slf4j-log4j12 to classpath [DEBUG] Adding project dependency artifact: libthrift to classpath [DEBUG] Adding project dependency artifact: httpclient to classpath [DEBUG] Adding project dependency artifact: httpcore to classpath [DEBUG] Adding project dependency artifact: cassandra-thrift to classpath [DEBUG] Adding project dependency artifact: jamm to classpath [DEBUG] Adding project dependency artifact: hector-core to classpath [DEBUG] Adding project dependency artifact: jul-to-slf4j to classpath [DEBUG] Adding project dependency artifact: uuid to classpath [DEBUG] Adding project dependency artifact: speed4j to classpath [DEBUG] Adding project dependency artifact: lucene-benchmark to classpath [DEBUG] Adding project dependency artifact: lucene-highlighter to classpath [DEBUG] Adding project dependency artifact: lucene-queries to classpath [DEBUG] Adding project dependency artifact: jakarta-regexp to classpath [DEBUG] Adding project dependency artifact: lucene-memory to classpath [DEBUG] Adding project dependency artifact: lucene-facet to classpath [DEBUG] Adding project dependency artifact: icu4j to classpath [DEBUG] Adding project dependency artifact: commons-compress to classpath [DEBUG] Adding project dependency artifact: xercesImpl to classpath [DEBUG] Adding project dependency artifact: xml-apis to classpath [DEBUG] Adding project dependency artifact: lucene-analyzers to classpath [DEBUG] Adding project dependency artifact: slf4j-api to classpath [DEBUG] Adding project dependency artifact: commons-logging to classpath [DEBUG] joining on thread Thread[org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner.main(),5,org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner] [DEBUG] Setting accessibility to true in order to invoke main(). [WARNING] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:722) Caused by: java.io.IOException: Unexpected input format on line: 1 1 5 874965758 at org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.convertGLFile(GroupLensDataModel.java:66) at org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.<init>(GroupLensDataModel.java:51) at org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner.main(GroupLensRecommenderEvaluatorRunner.java:47)> ... 6 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.133s [INFO] Finished at: Thu Jan 17 13:30:01 PST 2013 [INFO] Final Memory: 14M/134M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project mahout-examples: An exception occured while executing the Java class. null: InvocationTargetException: Unexpected input format on line: 1 1 5 874965758 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project mahout-examples: An exception occured while executing the Java class. null at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. null at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:352) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:722) Caused by: java.io.IOException: Unexpected input format on line: 1 1 5 874965758 at org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.convertGLFile(GroupLensDataModel.java:66) at org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.<init>(GroupLensDataModel.java:51) at org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner.main(GroupLensRecommenderEvaluatorRunner.java:47) ... 6 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
