You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Nan Zhu <zh...@gmail.com> on 2014/02/07 01:46:57 UTC
Is there any way to make a quick test on some pre-commit code?
Hi, all
Is it always necessary to run sbt assembly when you want to test some code,
Sometimes you just repeatedly change one or two lines for some failed test case, it is really time-consuming to sbt assembly every time
any faster way?
Best,
--
Nan Zhu
Re: Fw: Is there any way to make a quick test on some pre-commit code?
Posted by Prashant Sharma <sc...@gmail.com>.
Not sure but I use sbt/sbt ~compile instead of package. Any reason we use
package instead of compile(which is slightly faster ofc.)
Prashant Sharma
On Thu, Apr 24, 2014 at 1:32 PM, Patrick Wendell <pw...@gmail.com> wrote:
> This is already on the wiki:
>
> https://cwiki.apache.org/confluence/display/SPARK/Useful+Developer+Tools
>
>
>
> On Wed, Apr 23, 2014 at 6:52 PM, Nan Zhu <zh...@gmail.com> wrote:
>
> > I'm just asked by others for the same question
> >
> > I think Reynold gave a pretty helpful tip on this,
> >
> > Shall we put this on Contribute-to-Spark wiki?
> >
> > --
> > Nan Zhu
> >
> >
> > Forwarded message:
> >
> > > From: Reynold Xin <rx...@databricks.com>
> > > Reply To: dev@spark.incubator.apache.org
> > > To: dev@spark.incubator.apache.org <de...@spark.incubator.apache.org>
> > > Date: Thursday, February 6, 2014 at 7:50:57 PM
> > > Subject: Re: Is there any way to make a quick test on some pre-commit
> > code?
> > >
> > > You can do
> > >
> > > sbt/sbt assemble-deps
> > >
> > >
> > > and then just run
> > >
> > > sbt/sbt package
> > >
> > > each time.
> > >
> > >
> > > You can even do
> > >
> > > sbt/sbt ~package
> > >
> > > for automatic incremental compilation.
> > >
> > >
> > >
> > > On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zhunanmcgill@gmail.com(mailto:
> > zhunanmcgill@gmail.com)> wrote:
> > >
> > > > Hi, all
> > > >
> > > > Is it always necessary to run sbt assembly when you want to test some
> > code,
> > > >
> > > > Sometimes you just repeatedly change one or two lines for some failed
> > test
> > > > case, it is really time-consuming to sbt assembly every time
> > > >
> > > > any faster way?
> > > >
> > > > Best,
> > > >
> > > > --
> > > > Nan Zhu
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
>
Re: Fw: Is there any way to make a quick test on some pre-commit code?
Posted by Patrick Wendell <pw...@gmail.com>.
This is already on the wiki:
https://cwiki.apache.org/confluence/display/SPARK/Useful+Developer+Tools
On Wed, Apr 23, 2014 at 6:52 PM, Nan Zhu <zh...@gmail.com> wrote:
> I'm just asked by others for the same question
>
> I think Reynold gave a pretty helpful tip on this,
>
> Shall we put this on Contribute-to-Spark wiki?
>
> --
> Nan Zhu
>
>
> Forwarded message:
>
> > From: Reynold Xin <rx...@databricks.com>
> > Reply To: dev@spark.incubator.apache.org
> > To: dev@spark.incubator.apache.org <de...@spark.incubator.apache.org>
> > Date: Thursday, February 6, 2014 at 7:50:57 PM
> > Subject: Re: Is there any way to make a quick test on some pre-commit
> code?
> >
> > You can do
> >
> > sbt/sbt assemble-deps
> >
> >
> > and then just run
> >
> > sbt/sbt package
> >
> > each time.
> >
> >
> > You can even do
> >
> > sbt/sbt ~package
> >
> > for automatic incremental compilation.
> >
> >
> >
> > On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zhunanmcgill@gmail.com (mailto:
> zhunanmcgill@gmail.com)> wrote:
> >
> > > Hi, all
> > >
> > > Is it always necessary to run sbt assembly when you want to test some
> code,
> > >
> > > Sometimes you just repeatedly change one or two lines for some failed
> test
> > > case, it is really time-consuming to sbt assembly every time
> > >
> > > any faster way?
> > >
> > > Best,
> > >
> > > --
> > > Nan Zhu
> > >
> >
> >
> >
> >
>
>
>
Fw: Is there any way to make a quick test on some pre-commit
code?
Posted by Nan Zhu <zh...@gmail.com>.
I’m just asked by others for the same question
I think Reynold gave a pretty helpful tip on this,
Shall we put this on Contribute-to-Spark wiki?
--
Nan Zhu
Forwarded message:
> From: Reynold Xin <rx...@databricks.com>
> Reply To: dev@spark.incubator.apache.org
> To: dev@spark.incubator.apache.org <de...@spark.incubator.apache.org>
> Date: Thursday, February 6, 2014 at 7:50:57 PM
> Subject: Re: Is there any way to make a quick test on some pre-commit code?
>
> You can do
>
> sbt/sbt assemble-deps
>
>
> and then just run
>
> sbt/sbt package
>
> each time.
>
>
> You can even do
>
> sbt/sbt ~package
>
> for automatic incremental compilation.
>
>
>
> On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zhunanmcgill@gmail.com (mailto:zhunanmcgill@gmail.com)> wrote:
>
> > Hi, all
> >
> > Is it always necessary to run sbt assembly when you want to test some code,
> >
> > Sometimes you just repeatedly change one or two lines for some failed test
> > case, it is really time-consuming to sbt assembly every time
> >
> > any faster way?
> >
> > Best,
> >
> > --
> > Nan Zhu
> >
>
>
>
>
Re: Is there any way to make a quick test on some pre-commit
code?
Posted by Nan Zhu <zh...@gmail.com>.
+1
--
Nan Zhu
On Friday, February 7, 2014 at 1:59 AM, Henry Saputra wrote:
> +1
>
> On Thu, Feb 6, 2014 at 10:46 PM, Patrick Wendell <pwendell@gmail.com (mailto:pwendell@gmail.com)> wrote:
> > We should document this on the wiki!
> >
> > On Thu, Feb 6, 2014 at 10:37 PM, Mridul Muralidharan <mridul@gmail.com (mailto:mridul@gmail.com)> wrote:
> > > This is neat, thanks Reynold !
> > >
> > > Regards,
> > > Mridul
> > >
> > > On Fri, Feb 7, 2014 at 6:20 AM, Reynold Xin <rxin@databricks.com (mailto:rxin@databricks.com)> wrote:
> > > > You can do
> > > >
> > > > sbt/sbt assemble-deps
> > > >
> > > >
> > > > and then just run
> > > >
> > > > sbt/sbt package
> > > >
> > > > each time.
> > > >
> > > >
> > > > You can even do
> > > >
> > > > sbt/sbt ~package
> > > >
> > > > for automatic incremental compilation.
> > > >
> > > >
> > > >
> > > > On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zhunanmcgill@gmail.com (mailto:zhunanmcgill@gmail.com)> wrote:
> > > >
> > > > > Hi, all
> > > > >
> > > > > Is it always necessary to run sbt assembly when you want to test some code,
> > > > >
> > > > > Sometimes you just repeatedly change one or two lines for some failed test
> > > > > case, it is really time-consuming to sbt assembly every time
> > > > >
> > > > > any faster way?
> > > > >
> > > > > Best,
> > > > >
> > > > > --
> > > > > Nan Zhu
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>
Re: Is there any way to make a quick test on some pre-commit code?
Posted by Henry Saputra <he...@gmail.com>.
+1
On Thu, Feb 6, 2014 at 10:46 PM, Patrick Wendell <pw...@gmail.com> wrote:
> We should document this on the wiki!
>
> On Thu, Feb 6, 2014 at 10:37 PM, Mridul Muralidharan <mr...@gmail.com> wrote:
>> This is neat, thanks Reynold !
>>
>> Regards,
>> Mridul
>>
>> On Fri, Feb 7, 2014 at 6:20 AM, Reynold Xin <rx...@databricks.com> wrote:
>>> You can do
>>>
>>> sbt/sbt assemble-deps
>>>
>>>
>>> and then just run
>>>
>>> sbt/sbt package
>>>
>>> each time.
>>>
>>>
>>> You can even do
>>>
>>> sbt/sbt ~package
>>>
>>> for automatic incremental compilation.
>>>
>>>
>>>
>>> On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zh...@gmail.com> wrote:
>>>
>>>> Hi, all
>>>>
>>>> Is it always necessary to run sbt assembly when you want to test some code,
>>>>
>>>> Sometimes you just repeatedly change one or two lines for some failed test
>>>> case, it is really time-consuming to sbt assembly every time
>>>>
>>>> any faster way?
>>>>
>>>> Best,
>>>>
>>>> --
>>>> Nan Zhu
>>>>
>>>>
Re: Is there any way to make a quick test on some pre-commit code?
Posted by Patrick Wendell <pw...@gmail.com>.
We should document this on the wiki!
On Thu, Feb 6, 2014 at 10:37 PM, Mridul Muralidharan <mr...@gmail.com> wrote:
> This is neat, thanks Reynold !
>
> Regards,
> Mridul
>
> On Fri, Feb 7, 2014 at 6:20 AM, Reynold Xin <rx...@databricks.com> wrote:
>> You can do
>>
>> sbt/sbt assemble-deps
>>
>>
>> and then just run
>>
>> sbt/sbt package
>>
>> each time.
>>
>>
>> You can even do
>>
>> sbt/sbt ~package
>>
>> for automatic incremental compilation.
>>
>>
>>
>> On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zh...@gmail.com> wrote:
>>
>>> Hi, all
>>>
>>> Is it always necessary to run sbt assembly when you want to test some code,
>>>
>>> Sometimes you just repeatedly change one or two lines for some failed test
>>> case, it is really time-consuming to sbt assembly every time
>>>
>>> any faster way?
>>>
>>> Best,
>>>
>>> --
>>> Nan Zhu
>>>
>>>
Re: Is there any way to make a quick test on some pre-commit code?
Posted by Mridul Muralidharan <mr...@gmail.com>.
This is neat, thanks Reynold !
Regards,
Mridul
On Fri, Feb 7, 2014 at 6:20 AM, Reynold Xin <rx...@databricks.com> wrote:
> You can do
>
> sbt/sbt assemble-deps
>
>
> and then just run
>
> sbt/sbt package
>
> each time.
>
>
> You can even do
>
> sbt/sbt ~package
>
> for automatic incremental compilation.
>
>
>
> On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zh...@gmail.com> wrote:
>
>> Hi, all
>>
>> Is it always necessary to run sbt assembly when you want to test some code,
>>
>> Sometimes you just repeatedly change one or two lines for some failed test
>> case, it is really time-consuming to sbt assembly every time
>>
>> any faster way?
>>
>> Best,
>>
>> --
>> Nan Zhu
>>
>>
Re: Is there any way to make a quick test on some pre-commit
code?
Posted by Nan Zhu <zh...@gmail.com>.
Thank you very much, Reynold
--
Nan Zhu
On Thursday, February 6, 2014 at 7:50 PM, Reynold Xin wrote:
> You can do
>
> sbt/sbt assemble-deps
>
>
> and then just run
>
> sbt/sbt package
>
> each time.
>
>
> You can even do
>
> sbt/sbt ~package
>
> for automatic incremental compilation.
>
>
>
> On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zhunanmcgill@gmail.com (mailto:zhunanmcgill@gmail.com)> wrote:
>
> > Hi, all
> >
> > Is it always necessary to run sbt assembly when you want to test some code,
> >
> > Sometimes you just repeatedly change one or two lines for some failed test
> > case, it is really time-consuming to sbt assembly every time
> >
> > any faster way?
> >
> > Best,
> >
> > --
> > Nan Zhu
> >
>
>
>
Re: Is there any way to make a quick test on some pre-commit code?
Posted by Reynold Xin <rx...@databricks.com>.
You can do
sbt/sbt assemble-deps
and then just run
sbt/sbt package
each time.
You can even do
sbt/sbt ~package
for automatic incremental compilation.
On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu <zh...@gmail.com> wrote:
> Hi, all
>
> Is it always necessary to run sbt assembly when you want to test some code,
>
> Sometimes you just repeatedly change one or two lines for some failed test
> case, it is really time-consuming to sbt assembly every time
>
> any faster way?
>
> Best,
>
> --
> Nan Zhu
>
>