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 it as a library in eclipse. I created a
maven project in eclipse, edited the pom.xml file to add the dependencies,
and finally used maven install via eclipse. However, it wasn't able to find
mahout-math. The error was:

Could not resolve dependencies for project
test4j:test4j:jar:0.0.1-SNAPSHOT: Failure to find
org.apache.mahout:mahout-math:jar:14.1 in
https://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]

Running maven -U clean install in bash gave:

Could not find artifact org.apache.mahout:mahout-math:jar:14.1 in central (
https://repo.maven.apache.org/maven2)

However, it seems to be able to find mahout-hdfs. Am I doing something
wrong? I'm sorry for asking build questions, but I'm new to maven
development and can't seem to figure out this.

Sincerely,
Tanmay


On Sat, 9 Apr 2022 at 17:37, Trevor Grant <[email protected]> wrote:

> 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?
>
> tg
>
>
> On Fri, Apr 8, 2022 at 9:19 AM Tanmay Chavan <[email protected]>
> wrote:
>
> > 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
> stille
> > shows mahout: command not found on shell. How can I install the software
> > without building it from source? Is there any binary for mahout?
> >
> > Sincerely,
> > Tanmay
> >
>

Reply via email to