You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Steven Bourke <sb...@gmail.com> on 2011/05/10 20:43:12 UTC

Current build taking a long time to install

I'd usually build from the latest mahout once a week, I've noticed the
current core is taking an what feels like an eternity to build! The
distributed lanczosSolver just took 6 minutes to finish running.

Is this standard or has something perhaps gone amiss

Re: Current build taking a long time to install

Posted by Ted Dunning <te...@gmail.com>.
Well, there isn't a complete sort of thing because Maven doesn't have a
finite or fixed number of options.  This is because nearly all of the
behavior of Maven is defined by plugins that are downloaded on first
invocation.  You are right that this is a problem that steepens the learning
curve for Maven, but part of the problem is the common assumption that
"maven is just like ant except broken".  Maven rolls together the problems
of managing software lifecycle, dependencies, group cooperation, definition
of standard practices and project comprehension into one package.  Ant does
part of the first task.  A key test is that IDE's can read all the project
information that they need from the pom, but they can't understand ant build
files well enough to function.

The normal way to skip tests is documented on the FAQ page:
http://maven.apache.org/general.html

The quick start pages are good as well.

The option that Benson mentioned is one that is defined in our own pom.xml
and thus isn't documented by the Maven guys.


On Tue, May 10, 2011 at 7:48 PM, Lance Norskog <go...@gmail.com> wrote:

> Sorry for off-topic- where is the great big page explaining maven
> command-line stuff? This is my biggest gripe about it compared to ant-
> you can find out what ant stuff does fairly quickly.
>
> Lance
>
> On Tue, May 10, 2011 at 5:03 PM, Benson Margulies <bi...@gmail.com>
> wrote:
> > -Pfastinstall, which eliminates tests and also some other things.
> >
> > On Tue, May 10, 2011 at 2:58 PM, Grant Ingersoll <gs...@apache.org>
> wrote:
> >> You can skip the tests if you want, that usually helps: mvn -DskipTests
> install
> >>
> >> Perhaps there is better support in Maven 3 for parallel test execution
> (I've heard there is, but haven't heard good things about it, but then again
> the person telling me is not a Maven fan)
> >>
> >> On May 10, 2011, at 2:43 PM, Steven Bourke wrote:
> >>
> >>> I'd usually build from the latest mahout once a week, I've noticed the
> >>> current core is taking an what feels like an eternity to build! The
> >>> distributed lanczosSolver just took 6 minutes to finish running.
> >>>
> >>> Is this standard or has something perhaps gone amiss
> >>
> >>
> >>
> >
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
>

Re: Current build taking a long time to install

Posted by Dhruv Kumar <dk...@ecs.umass.edu>.
I have edited the wiki, with a new section explaining test skipping at the
end of this page:

https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout
On Wed, May 11, 2011 at 8:20 AM, Grant Ingersoll <gs...@apache.org>wrote:

> I primarily use:
>
> http://maven.apache.org/guides/index.html
> and
> http://maven.apache.org/plugins/index.html
>
>
>
>
> On May 10, 2011, at 10:48 PM, Lance Norskog wrote:
>
> > Sorry for off-topic- where is the great big page explaining maven
> > command-line stuff? This is my biggest gripe about it compared to ant-
> > you can find out what ant stuff does fairly quickly.
> >
> > Lance
> >
> > On Tue, May 10, 2011 at 5:03 PM, Benson Margulies <bi...@gmail.com>
> wrote:
> >> -Pfastinstall, which eliminates tests and also some other things.
> >>
> >> On Tue, May 10, 2011 at 2:58 PM, Grant Ingersoll <gs...@apache.org>
> wrote:
> >>> You can skip the tests if you want, that usually helps: mvn -DskipTests
> install
> >>>
> >>> Perhaps there is better support in Maven 3 for parallel test execution
> (I've heard there is, but haven't heard good things about it, but then again
> the person telling me is not a Maven fan)
> >>>
> >>> On May 10, 2011, at 2:43 PM, Steven Bourke wrote:
> >>>
> >>>> I'd usually build from the latest mahout once a week, I've noticed the
> >>>> current core is taking an what feels like an eternity to build! The
> >>>> distributed lanczosSolver just took 6 minutes to finish running.
> >>>>
> >>>> Is this standard or has something perhaps gone amiss
> >>>
> >>>
> >>>
> >>
> >
> >
> >
> > --
> > Lance Norskog
> > goksron@gmail.com
>
>
>

Re: Current build taking a long time to install

Posted by Grant Ingersoll <gs...@apache.org>.
I primarily use:

http://maven.apache.org/guides/index.html
and
http://maven.apache.org/plugins/index.html




On May 10, 2011, at 10:48 PM, Lance Norskog wrote:

> Sorry for off-topic- where is the great big page explaining maven
> command-line stuff? This is my biggest gripe about it compared to ant-
> you can find out what ant stuff does fairly quickly.
> 
> Lance
> 
> On Tue, May 10, 2011 at 5:03 PM, Benson Margulies <bi...@gmail.com> wrote:
>> -Pfastinstall, which eliminates tests and also some other things.
>> 
>> On Tue, May 10, 2011 at 2:58 PM, Grant Ingersoll <gs...@apache.org> wrote:
>>> You can skip the tests if you want, that usually helps: mvn -DskipTests install
>>> 
>>> Perhaps there is better support in Maven 3 for parallel test execution (I've heard there is, but haven't heard good things about it, but then again the person telling me is not a Maven fan)
>>> 
>>> On May 10, 2011, at 2:43 PM, Steven Bourke wrote:
>>> 
>>>> I'd usually build from the latest mahout once a week, I've noticed the
>>>> current core is taking an what feels like an eternity to build! The
>>>> distributed lanczosSolver just took 6 minutes to finish running.
>>>> 
>>>> Is this standard or has something perhaps gone amiss
>>> 
>>> 
>>> 
>> 
> 
> 
> 
> -- 
> Lance Norskog
> goksron@gmail.com



Re: Current build taking a long time to install

Posted by Lance Norskog <go...@gmail.com>.
Sorry for off-topic- where is the great big page explaining maven
command-line stuff? This is my biggest gripe about it compared to ant-
you can find out what ant stuff does fairly quickly.

Lance

On Tue, May 10, 2011 at 5:03 PM, Benson Margulies <bi...@gmail.com> wrote:
> -Pfastinstall, which eliminates tests and also some other things.
>
> On Tue, May 10, 2011 at 2:58 PM, Grant Ingersoll <gs...@apache.org> wrote:
>> You can skip the tests if you want, that usually helps: mvn -DskipTests install
>>
>> Perhaps there is better support in Maven 3 for parallel test execution (I've heard there is, but haven't heard good things about it, but then again the person telling me is not a Maven fan)
>>
>> On May 10, 2011, at 2:43 PM, Steven Bourke wrote:
>>
>>> I'd usually build from the latest mahout once a week, I've noticed the
>>> current core is taking an what feels like an eternity to build! The
>>> distributed lanczosSolver just took 6 minutes to finish running.
>>>
>>> Is this standard or has something perhaps gone amiss
>>
>>
>>
>



-- 
Lance Norskog
goksron@gmail.com

Re: Current build taking a long time to install

Posted by Ted Dunning <te...@gmail.com>.
There is only lazy approval.  Wiki edits go to the dev list and we revert
bad changes.

We have little enough on the wiki that almost all changes, especially
additions, are
improvements.

On Tue, May 10, 2011 at 6:31 PM, Dhruv <dh...@gmail.com> wrote:

> I can edit the wiki for this purpose, is there some sort of approval
> process
> for this?
>

Re: Current build taking a long time to install

Posted by Grant Ingersoll <gs...@apache.org>.
On May 10, 2011, at 9:31 PM, Dhruv wrote:

> I think this information regarding speeding up installation by skipping
> tests can prove useful to a lot of other users, and should go on the wiki. I
> answered another user with the same question earlier on the user mailing
> list too.
> 
> I can edit the wiki for this purpose, is there some sort of approval process
> for this?
> 
> 

Nope, have at it.  Wiki is open.


> 
> On Tue, May 10, 2011 at 8:03 PM, Benson Margulies <bi...@gmail.com>wrote:
> 
>> -Pfastinstall, which eliminates tests and also some other things.
>> 
>> On Tue, May 10, 2011 at 2:58 PM, Grant Ingersoll <gs...@apache.org>
>> wrote:
>>> You can skip the tests if you want, that usually helps: mvn -DskipTests
>> install
>>> 
>>> Perhaps there is better support in Maven 3 for parallel test execution
>> (I've heard there is, but haven't heard good things about it, but then again
>> the person telling me is not a Maven fan)
>>> 
>>> On May 10, 2011, at 2:43 PM, Steven Bourke wrote:
>>> 
>>>> I'd usually build from the latest mahout once a week, I've noticed the
>>>> current core is taking an what feels like an eternity to build! The
>>>> distributed lanczosSolver just took 6 minutes to finish running.
>>>> 
>>>> Is this standard or has something perhaps gone amiss
>>> 
>>> 
>>> 
>> 


Re: Current build taking a long time to install

Posted by Dhruv <dh...@gmail.com>.
I think this information regarding speeding up installation by skipping
tests can prove useful to a lot of other users, and should go on the wiki. I
answered another user with the same question earlier on the user mailing
list too.

I can edit the wiki for this purpose, is there some sort of approval process
for this?



On Tue, May 10, 2011 at 8:03 PM, Benson Margulies <bi...@gmail.com>wrote:

> -Pfastinstall, which eliminates tests and also some other things.
>
> On Tue, May 10, 2011 at 2:58 PM, Grant Ingersoll <gs...@apache.org>
> wrote:
> > You can skip the tests if you want, that usually helps: mvn -DskipTests
> install
> >
> > Perhaps there is better support in Maven 3 for parallel test execution
> (I've heard there is, but haven't heard good things about it, but then again
> the person telling me is not a Maven fan)
> >
> > On May 10, 2011, at 2:43 PM, Steven Bourke wrote:
> >
> >> I'd usually build from the latest mahout once a week, I've noticed the
> >> current core is taking an what feels like an eternity to build! The
> >> distributed lanczosSolver just took 6 minutes to finish running.
> >>
> >> Is this standard or has something perhaps gone amiss
> >
> >
> >
>

Re: Current build taking a long time to install

Posted by Benson Margulies <bi...@gmail.com>.
-Pfastinstall, which eliminates tests and also some other things.

On Tue, May 10, 2011 at 2:58 PM, Grant Ingersoll <gs...@apache.org> wrote:
> You can skip the tests if you want, that usually helps: mvn -DskipTests install
>
> Perhaps there is better support in Maven 3 for parallel test execution (I've heard there is, but haven't heard good things about it, but then again the person telling me is not a Maven fan)
>
> On May 10, 2011, at 2:43 PM, Steven Bourke wrote:
>
>> I'd usually build from the latest mahout once a week, I've noticed the
>> current core is taking an what feels like an eternity to build! The
>> distributed lanczosSolver just took 6 minutes to finish running.
>>
>> Is this standard or has something perhaps gone amiss
>
>
>

Re: Current build taking a long time to install

Posted by Grant Ingersoll <gs...@apache.org>.
You can skip the tests if you want, that usually helps: mvn -DskipTests install

Perhaps there is better support in Maven 3 for parallel test execution (I've heard there is, but haven't heard good things about it, but then again the person telling me is not a Maven fan)

On May 10, 2011, at 2:43 PM, Steven Bourke wrote:

> I'd usually build from the latest mahout once a week, I've noticed the
> current core is taking an what feels like an eternity to build! The
> distributed lanczosSolver just took 6 minutes to finish running.
> 
> Is this standard or has something perhaps gone amiss