Help regarding Mahout installation as a library

2022-04-08 Thread Tanmay Chavan
Hi, I am trying to install Apache Mahout Ubuntu linux machine for a college project. I downloaded it using the link provided on the main page (v 14.1) as well as the download page, and tried to build it using mvn -DskipTests clean install. The build seemed to conclude successfully. However, it sti

Re: Help regarding Mahout installation as a library

2022-04-09 Thread Trevor Grant
Hi Tanmay- The maven install command will copy jars to your local maven cache. Then if you try to compile a second program with dependency on mahout, it should work. The likely reason it is telling you command not found is it's not on the path. Can you reply with the full error it is giving you?

Re: Help regarding Mahout installation as a library

2022-04-10 Thread Tanmay Chavan
Hi Trevor, Thanks for your response! I was initially trying to set up mahout and test it on the command line. However, I hadn't configured Spark properly during the installation and thus it failed. I solved that issue now and can get mahout spark-shell to run :D However I'm facing problems using

Re: Help regarding Mahout installation as a library

2022-04-11 Thread Trevor Grant
Hi Tanmay, The mahout-math is contained in mahout core, can you try replacing the slug in your pom about importing mahout-math with this: org.apache.mahout mahout-core 14.1 Where did you read about importing mahout-math, we might need to update some old docs. Don't worry about ask

Re: Help regarding Mahout installation as a library

2022-04-12 Thread Tanmay Chavan
Hi Trevor, Thanks! ^_^ I tried replacing math with core, however I am getting the same error: Could not find artifact org.apache.mahout:mahout-core:jar:14.1 in central ( https://repo.maven.apache.org/maven2) I went through the maven and local repos and found that the library has a -scala_2.11 p

Re: Help regarding Mahout installation as a library

2022-04-12 Thread Tanmay Chavan
The postfix seems to mess with the version number. adding the scala part in artifactId messes up the first repo name and adding it in version messes up the latter repo name. I tried adding it in , which is almost perfect except it implicitly adds period. How can I solve this? Sincerely, Tanmay On

Re: Help regarding Mahout installation as a library

2022-04-12 Thread Tanmay Chavan
Hi Trevor, I kept tinkering around and stumbled upon the classifier tag. Posting the format here as it worked for me: org.apache.mahout mahout-hdfs 14.1 org.apache.mahout mahout-core 14.1 scala_2.11 jar And now everything seems to be nice and dandy! T