Re: Expected behavior of StringUtils.estimateMemoryUsage() ?

2016-09-20 Thread Marcel Reutegger
On 19/09/16 16:08, Matt Ryan wrote: What about for null though? Currently this method will throw a null pointer exception if a null string is passed in, which to me seems suboptimal. I agree, this can be improved. I guess so far we just didn't use it with null values. Can you please create an

[Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 1164 - Failure

2016-09-20 Thread Apache Jenkins Server
The Apache Jenkins build system has built Apache Jackrabbit Oak matrix (build #1164) Status: Failure Check console output at https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/1164/ to view the results. Changes: [alexparvulescu] OAK-4043 Oak run checkpoints needs to account for

Re: svn commit: r1761467 - /jackrabbit/oak/trunk/oak-parent/pom.xml

2016-09-20 Thread Julian Reschke
On 2016-09-19 17:34, mdue...@apache.org wrote: Author: mduerig Date: Mon Sep 19 15:34:25 2016 New Revision: 1761467 URL: http://svn.apache.org/viewvc?rev=1761467&view=rev Log: OAK-4823: Upgrade Oak Segment Tar dependency to 0.0.12 Bumping dependency to 0.0.12 Modified: jackrabbit/oak/trunk/

Re: svn commit: r1761467 - /jackrabbit/oak/trunk/oak-parent/pom.xml

2016-09-20 Thread Julian Reschke
On 2016-09-20 14:19, Julian Reschke wrote: On 2016-09-19 17:34, mdue...@apache.org wrote: Author: mduerig Date: Mon Sep 19 15:34:25 2016 New Revision: 1761467 URL: http://svn.apache.org/viewvc?rev=1761467&view=rev Log: OAK-4823: Upgrade Oak Segment Tar dependency to 0.0.12 Bumping dependency to

Re: svn commit: r1761467 - /jackrabbit/oak/trunk/oak-parent/pom.xml

2016-09-20 Thread Michael Dürig
On 20.9.16 2:26 , Julian Reschke wrote: This leads to test regressions on Windows in oak-upgrade, as, apparently, not all files are closed as they used to. Which emphasises the importance of having CI on Windows. See https://issues.apache.org/jira/browse/OAK-4456. However this is blocked on

oak-upgrade problems migrating from Jackrabbit 2 to Oak

2016-09-20 Thread Robert Haycock
Hi, I have a jackrabbit repository (2.6.4) and I want to migrate to oak. I tried... Java -jar oak-upgrade-1.4.7.jar mongodb://localhost:27017/oak It complained about the mysql driver missing. So I copied the oak-upgrade project and added the mysql dependency. Then it couldn't find my custom

Re: oak-upgrade problems migrating from Jackrabbit 2 to Oak

2016-09-20 Thread Marcel Reutegger
Hi Robert, I'm not too familiar with the upgrade module, but I think it doesn't support security configuration via JAAS. The NPE also indicates your repository.xml does not have security manager set. Can you try to set your SecurityManager in the repository.xml? See also: http://jackrabbit.apac

Re: Expected behavior of StringUtils.estimateMemoryUsage() ?

2016-09-20 Thread Matt Ryan
I created OAK-4830 for this and submitted a patch to the ticket. Thanks! On Tue, Sep 20, 2016 at 1:15 AM, Marcel Reutegger wrote: > On 19/09/16 16:08, Matt Ryan wrote: > >> What about for null though? Currently this method will throw a null >> pointer exception if a null string is passed in, w

Stopping long running traversal queries

2016-09-20 Thread Pantula Rajesh
Hi All, Is there a way to stop long running traversal queries? I was looking if there is any JMX bean which can stop such queries. Regards, Rajesh

Re: Stopping long running traversal queries

2016-09-20 Thread Chetan Mehrotra
You can specify a traversal limit via QueryEngineSettingsMBean. This would be applicable on any running query Chetan Mehrotra On Wed, Sep 21, 2016 at 6:26 AM, Pantula Rajesh wrote: > Hi All, > > Is there a way to stop long running traversal queries? I was looking if there > is any JMX bean whic