Re: Bamboo vs. Jenkins for Cayenne, other projects

2016-09-09 Thread Aristedes Maniatis
On 10/09/2016 12:00am, rzeig...@asuragen.com wrote:
> Sorry for the slightly off-topic post, but the combined wisdom and experience 
> of this group is substantial.
> 
> Cayenne is using Apache’s JIRA + Apache’s Jenkins installs despite the 
> availability of Bamboo infrastructure at Apache. My question: what (if any) 
> are the reasons Cayenne has stayed with Jenkins rather than migrating to 
> bamboo? We have a similar setup locally and are considering a Bamboo 
> migration, but the number of apache projects with JIRA + Jenkins instead of 
> JIRA + Bamboo makes me wonder about Bamboo.

Many years ago I migrated from Bamboo to Jenkins (nee Hudson). I did so for the 
significantly better ecosystem of plugins.

I think the better question is: why would we put effort into moving to Bamboo? 
Does it give us anything we don't have?


Which reminds me: we should fix the excessive logging which kills travis [1]. 
We could get mysql, mariadb, postgresql testing there. I got a bit stuck 
between maven and Cayenne's logging.


[1] https://travis-ci.org/apache/cayenne

Ari



-- 
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A


Re: Bamboo vs. Jenkins for Cayenne, other projects

2016-09-09 Thread Andrus Adamchik
And I didn't know that Apache provides Bamboo :) I use Bamboo at work. It has 
marginally better UI than Jenkins. I am fine with either.

Andrus

> On Sep 9, 2016, at 6:15 PM, John Huss  wrote:
> 
> Personally I have never heard of Bamboo.  I'm guessing we are still using
> Jenkins because change takes effort, and Jenkins works.
> 
> On Fri, Sep 9, 2016 at 10:12 AM  wrote:
> 
>> Sorry for the slightly off-topic post, but the combined wisdom and
>> experience of this group is substantial.
>> 
>> Cayenne is using Apache’s JIRA + Apache’s Jenkins installs despite the
>> availability of Bamboo infrastructure at Apache. My question: what (if any)
>> are the reasons Cayenne has stayed with Jenkins rather than migrating to
>> bamboo? We have a similar setup locally and are considering a Bamboo
>> migration, but the number of apache projects with JIRA + Jenkins instead of
>> JIRA + Bamboo makes me wonder about Bamboo.
>> 
>> Thanks in advance for any thoughts,
>> 
>> Robert
>> 
>> Confidentiality Notice: The information in this e-mail and any attachments
>> is confidential and is intended for the addressee(s) only. Reading,
>> copying, disclosure or use by anybody else is unauthorized. If you are not
>> the intended recipient, please delete this message and any attachments and
>> advise the sender by return e-mail.
>> 



Bamboo vs. Jenkins for Cayenne, other projects

2016-09-09 Thread rzeigler
Sorry for the slightly off-topic post, but the combined wisdom and experience 
of this group is substantial.

Cayenne is using Apache’s JIRA + Apache’s Jenkins installs despite the 
availability of Bamboo infrastructure at Apache. My question: what (if any) are 
the reasons Cayenne has stayed with Jenkins rather than migrating to bamboo? We 
have a similar setup locally and are considering a Bamboo migration, but the 
number of apache projects with JIRA + Jenkins instead of JIRA + Bamboo makes me 
wonder about Bamboo.

Thanks in advance for any thoughts,

Robert

Confidentiality Notice: The information in this e-mail and any attachments is 
confidential and is intended for the addressee(s) only. Reading, copying, 
disclosure or use by anybody else is unauthorized. If you are not the intended 
recipient, please delete this message and any attachments and advise the sender 
by return e-mail.


Re: Bamboo vs. Jenkins for Cayenne, other projects

2016-09-09 Thread John Huss
Personally I have never heard of Bamboo.  I'm guessing we are still using
Jenkins because change takes effort, and Jenkins works.

On Fri, Sep 9, 2016 at 10:12 AM  wrote:

> Sorry for the slightly off-topic post, but the combined wisdom and
> experience of this group is substantial.
>
> Cayenne is using Apache’s JIRA + Apache’s Jenkins installs despite the
> availability of Bamboo infrastructure at Apache. My question: what (if any)
> are the reasons Cayenne has stayed with Jenkins rather than migrating to
> bamboo? We have a similar setup locally and are considering a Bamboo
> migration, but the number of apache projects with JIRA + Jenkins instead of
> JIRA + Bamboo makes me wonder about Bamboo.
>
> Thanks in advance for any thoughts,
>
> Robert
>
> Confidentiality Notice: The information in this e-mail and any attachments
> is confidential and is intended for the addressee(s) only. Reading,
> copying, disclosure or use by anybody else is unauthorized. If you are not
> the intended recipient, please delete this message and any attachments and
> advise the sender by return e-mail.
>


Re: Monitoring long running queries

2016-09-09 Thread John Huss
Also, this doesn't really work for SQLTemplate queries - it will print the
log and the time taken, but the SQL is just "null".  Not sure if it works
for EJBQL queries.

On Fri, Sep 9, 2016 at 9:06 AM John Huss  wrote:

> You can set the property in the module when creating your ServerRuntime:
>
> new Module() {
>
> @Override
>
> public void configure(Binder binder) {
>
> MapBuilder props = binder.bindMap(Constants.PROPERTIES_MAP);
>
> props.put(Constants.JDBC_MAX_QUEUE_WAIT_TIME, 8000); // 8 seconds
>
> }
>
> }
>
> This only will report AFTER the query finishes, so it not really valuable
> if your query is really hung for a very long time.  But for general
> slowness it works.
>
>
>
> On Fri, Sep 9, 2016 at 8:42 AM Hugi Thordarson  wrote:
>
>> Hi all,
>> in EOF we could make the application log a warning if a DB query was
>> taking more than a specified amount of time to complete.
>>
>> Is there any location where I could plug into Cayenne to do something
>> similar? We’re deploying a reporting system for a large-ish database and I
>> know some queries might be problematic—so I’d like to watch out for this as
>> we deploy.
>>
>> Cheers,
>> - hugi
>>
>> // Hugi Thordarson
>> // http://www.loftfar.is/
>> // s. 895-6688
>>
>>
>>
>>


Re: Monitoring long running queries

2016-09-09 Thread Ken Anderson
We would like that too!

Ken Anderson
CTO Amphora, Inc.
Mobile:   +1 914 262 8540



www.amphorainc.com 




On 9/9/16, 9:42 AM, "Hugi Thordarson"  wrote:

Hi all,
in EOF we could make the application log a warning if a DB query was taking 
more than a specified amount of time to complete.

Is there any location where I could plug into Cayenne to do something 
similar? We’re deploying a reporting system for a large-ish database and I know 
some queries might be problematic—so I’d like to watch out for this as we 
deploy.

Cheers,
- hugi

// Hugi Thordarson
// http://www.loftfar.is/
// s. 895-6688





Confidentiality Notice: This e-mail and accompanying documents contain 
confidential information intended for a specific individual and purpose. This 
e-mailed information is private and protected by law. If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, or 
distribution, or the taking of any action based on the contents of this 
information, is strictly prohibited.


Re: Monitoring long running queries

2016-09-09 Thread John Huss
You can set the property in the module when creating your ServerRuntime:

new Module() {

@Override

public void configure(Binder binder) {

MapBuilder props = binder.bindMap(Constants.PROPERTIES_MAP);

props.put(Constants.JDBC_MAX_QUEUE_WAIT_TIME, 8000); // 8 seconds

}

}

This only will report AFTER the query finishes, so it not really valuable
if your query is really hung for a very long time.  But for general
slowness it works.



On Fri, Sep 9, 2016 at 8:42 AM Hugi Thordarson  wrote:

> Hi all,
> in EOF we could make the application log a warning if a DB query was
> taking more than a specified amount of time to complete.
>
> Is there any location where I could plug into Cayenne to do something
> similar? We’re deploying a reporting system for a large-ish database and I
> know some queries might be problematic—so I’d like to watch out for this as
> we deploy.
>
> Cheers,
> - hugi
>
> // Hugi Thordarson
> // http://www.loftfar.is/
> // s. 895-6688
>
>
>
>


Monitoring long running queries

2016-09-09 Thread Hugi Thordarson
Hi all,
in EOF we could make the application log a warning if a DB query was taking 
more than a specified amount of time to complete.

Is there any location where I could plug into Cayenne to do something similar? 
We’re deploying a reporting system for a large-ish database and I know some 
queries might be problematic—so I’d like to watch out for this as we deploy.

Cheers,
- hugi

// Hugi Thordarson
// http://www.loftfar.is/
// s. 895-6688