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 <type>, which is almost perfect
except it implicitly adds period. How can I solve this?

Sincerely,
Tanmay

On Tue, 12 Apr 2022 at 19:23, Tanmay Chavan <[email protected]> wrote:

> 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 postfix. I suspect this might be causing the problem. If so, is
> there any way to solve this?
> Also, I found mahout-math usage in the readme as well as the online
> 'building Mahout from source' manual (
> https://mahout.apache.org/developers/buildingmahout).
>
> Sincerely,
> Tanmay
>
> On Mon, 11 Apr 2022 at 20:17, Trevor Grant <[email protected]>
> wrote:
>
>> 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:
>>
>> <dependency>
>>     <groupId>org.apache.mahout</groupId>
>>     <artifactId>mahout-core</artifactId>
>>     <version>14.1</version>
>> </dependency>
>>
>> Where did you read about importing mahout-math, we might need to update
>> some old docs.
>>
>> Don't worry about asking questions- you're not the only person to have
>> them, just the only one brave enough to ask :)
>>
>> tg
>>
>> On Sun, Apr 10, 2022 at 8:26 AM Tanmay Chavan <[email protected]>
>> wrote:
>>
>> > 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