BUILD FAILURE: Jackrabbit Oak - Build # 522 - Still Failing

2017-07-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #522)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/522/ to 
view the results.

Changes:
[chetanm] OAK-6350 - Improve log reporting if multiple indexes compete for same 
query

Log all plans which are found

 

Test results:
30 tests failed.
FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalMV

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testMultipleFacetsRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredHigherThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval2

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: 

Intent to backport OAK-6413 & OAK-6374

2017-07-06 Thread Amit Jain
Hi,

OAK-6413 - Minor issue with not properly updating cache statistics
OAK-6374 - Minor issue where the actual error thrown gets masked because of
an issue when converting to Map from properties if the value is null or not
string

Thanks
Amit


Intent to backport OAK-5908 to 1.6 branch

2017-07-06 Thread Amit Jain
Hi,


I would like to backport OAK-5908 to 1.6 branch.
The issue fixes a problem where already deleted blobs ids are considered
again for deletion in the next GC cycle leading to unnecessary warnings in
the logs.

Thanks
Amit


Re: Intent to backport OAK-6388 Enable Azure shared access signature for blob store connector

2017-07-06 Thread Andrei Kalfas
Thank you!
Andrei 

Sent from my iPhone

> On 7 Jul 2017, at 06:36, Amit Jain  wrote:
> 
> Hi,
> 
> I did the backport to 1.6 and would be available with Oak 1.6.3 scheduled
> next week.
> 
> Thanks
> Amit
> 
> On Thu, Jul 6, 2017 at 4:04 PM, Andrei Kalfas 
> wrote:
> 
>> Hi,
>> 
>> We would like OAK-6388 to backported to the 1.6 branch. Its just a small
>> addition to the Azure blob store connector that enables the usage of SAS
>> tokens.
>> 
>> Thank you,
>> Andrei


Re: Intent to backport OAK-6388 Enable Azure shared access signature for blob store connector

2017-07-06 Thread Amit Jain
Hi,

I did the backport to 1.6 and would be available with Oak 1.6.3 scheduled
next week.

Thanks
Amit

On Thu, Jul 6, 2017 at 4:04 PM, Andrei Kalfas 
wrote:

> Hi,
>
> We would like OAK-6388 to backported to the 1.6 branch. Its just a small
> addition to the Azure blob store connector that enables the usage of SAS
> tokens.
>
> Thank you,
> Andrei


BUILD FAILURE: Jackrabbit Oak - Build # 521 - Still Failing

2017-07-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #521)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/521/ to 
view the results.

Changes:
No changes
 

Test results:
30 tests failed.
FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalMV

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testMultipleFacetsRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredHigherThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval2

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  

BUILD FAILURE: Jackrabbit Oak - Build # 520 - Still Failing

2017-07-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #520)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/520/ to 
view the results.

Changes:
[frm] OAK-6431 - Add required dependencies on io.dropwizard.metrics:metrics-core

 

Test results:
30 tests failed.
FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalMV

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testMultipleFacetsRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredHigherThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval2

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 

BUILD FAILURE: Jackrabbit Oak - Build # 519 - Still Failing

2017-07-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #519)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/519/ to 
view the results.

Changes:
[frm] OAK-6431 - Add required dependencies on io.dropwizard.metrics:metrics-core

 

Test results:
108 tests failed.
FAILED:  
org.apache.jackrabbit.oak.upgrade.AuthorizableFolderEditorTest.verifyCorrectedNodeTypes

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir


FAILED:  
org.apache.jackrabbit.oak.upgrade.BrokenVersionableTest.verifyNoVersionable

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.upgrade.BrokenVersionableTest.upgradeRepository(BrokenVersionableTest.java:65)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.upgrade.BrokenVersionableTest.upgradeRepository(BrokenVersionableTest.java:65)


FAILED:  
org.apache.jackrabbit.oak.upgrade.BrokenVersionableTest.verifyNoVersionable

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.upgrade.BrokenVersionableTest.shutdownRepository(BrokenVersionableTest.java:75)


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.validateMigration[Source 
data store defined, checkpoints migrated]

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
at 
org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.prepare(CopyCheckpointsTest.java:127)
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir
at 
org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.prepare(CopyCheckpointsTest.java:127)


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyNodeTypesUpgradeTest.customNodeTypesAreRegistered

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.referencedOlderThanOrphaned

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.referencedOlderThanOrphaned

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.closeRepository(CopyVersionHistoryTest.java:284)


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.copyAllVersions

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.copyAllVersions

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.closeRepository(CopyVersionHistoryTest.java:284)


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.onlyReferencedAfterDate

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.onlyReferencedAfterDate

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.closeRepository(CopyVersionHistoryTest.java:284)


FAILED:  org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.onlyReferenced

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir


FAILED:  org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.onlyReferenced

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.closeRepository(CopyVersionHistoryTest.java:284)


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.referencedSinceDate

Error Message:
com/codahale/metrics/Reservoir

Stack Trace:
java.lang.NoClassDefFoundError: com/codahale/metrics/Reservoir
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.Reservoir


FAILED:  
org.apache.jackrabbit.oak.upgrade.CopyVersionHistoryTest.referencedSinceDate

Error Message:
null

Stack Trace:
java.lang.NullPointerException
at 

[ANNOUNCE] Apache Jackrabbit Oak 1.7.3 released

2017-07-06 Thread Davide Giannella
The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak. The release is available for download at:

http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release:


Release Notes -- Apache Jackrabbit Oak -- Version 1.7.3

Introduction


Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Apache Jackrabbit Oak 1.7.3 is an unstable release cut directly from
Jackrabbit Oak trunk, with a focus on new features and other
improvements. For production use we recommend the latest stable 1.6.x
release.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.7.3
-

Sub-task

[OAK-3262] - oak-jcr: update test exclusions once JCR-3901 is
resolved

Technical task

[OAK-3777] - Multiplexing support in default PermissionStore
implementation

Bug

[OAK-3374] - Concurrent Updates of Group's Membership Results in
Conflict
[OAK-6252] - re-introduce ServerCommand
[OAK-6317] - LMSEstimator update amount depending on cost amount
[OAK-6360] - Failed to retrieve previously indexed checkpoint in
composite node store
[OAK-6368] - Builder options not picked up after MongoDB is set
[OAK-6375] - RevisionGCMbeans are not filtered correctly in the
RepositoryManagement
[OAK-6377] - Text extraction with oak-run and tika requires fake
string in the command to work
[OAK-6378] - Move the SegmentWriter API to its own interface
[OAK-6379] - NPE in MergingNodeStateDiff on
DELETE_DELETED_PROPERTY
[OAK-6383] - Changes visible before merge
[OAK-6384] - Dependency missing in oak-run
[OAK-6386] - GarbageCollector#compact() throws NPE
[OAK-6391] - With FastQuerySize, getSize() returns -1 if there are
exactly 21 rows
[OAK-6392] - Partial lastRev update with branches disabled
[OAK-6393] - Remove
NodeRecordTest#unreferencedNodeRecordShouldBeRoot
[OAK-6404] - Move TAR handling logic in its own package
[OAK-6410] - NPE when removing inexistent property from checked in
node
[OAK-6411] - Build failure due to unresolved oak-lucene bundle

Improvement

[OAK-5309] - Supporting roles in RepositoryManager execution of
maintenance tasks
[OAK-5790] - Chronologically rebase checkpoints on top of each
other during compaction
[OAK-6021] - Remove segment graph functionality from oak-run
[OAK-6147] - Review SessionOperation usage in security code
[OAK-6180] - Tune cursor batch/limit size
[OAK-6313] - Support properties filtering in the Whiteboard track
method
[OAK-6320] - Allow to disable the read-only mode in composite node
store
[OAK-6325] - Turn CacheWeightsTest into a command-line utility
[OAK-6336] - Use the oak-blob-cloud for s3 support in oak-upgrade
[OAK-6339] - MapRecord#getKeys should should initialize child
iterables lazily
[OAK-6340] - Don't restart the composite node store on every node
store bind/unbind
[OAK-6355] - Usage of NodeAggregator creates cyclic dependency
between oak.spi.query and oak.plugins.index.*
[OAK-6356] - Allow CompositePermissionProvider to OR entries
[OAK-6369] - Reduce cache segments for revisions sweep
[OAK-6388] - Enable Azure shared access signature for blob store
connector
[OAK-6394] - Reduce impact of default multiplexing setup on the
ReferenceIndex
[OAK-6395] - Refactor monitoring of deduplication caches
[OAK-6396] - Reduce usages of DefaultSegmentWriter in favour of
SegmentWriter
[OAK-6406] - Cleanup constants in Segment class

New Feature

[OAK-4122] - Replace the commit semaphore in the segment node
store with a scheduler
[OAK-6220] - Copy on write node store implementation
[OAK-6382] - Adjust AccessControlList implementations to reflect
JCR-4144

Task

[OAK-5352] - Enable RevisionGC task for non primary
SegmentNodeStore
[OAK-6051] - Clarify migration tests failures when switching
Commit#hasChanges implementations
[OAK-6065] - Rework CheckpointTest and MergeTest after introducing
the scheduler
[OAK-6074] - Simplify merge logic in LockBasedScheduler
[OAK-6137] - Remove call to getHeadNodeState in LockBasedScheduler
constructor
[OAK-6138] - Remove addObserver method from Scheduler API
[OAK-6315] - Create CheckpointMBean implementation for the
composite node store
[OAK-6380] - Revert bnd dependency overwrite for bundle plugin
[OAK-6389] - Update Oak trunk to Jackrabbit 2.15.4

In addition to the above-mentioned changes, this release contains
all changes included up to the Apache Jackrabbit Oak 1.7.x release.

For more detailed information about all the changes in this and other
Oak 

[RESULT][VOTE] Release Apache Jackrabbit Oak 1.7.3

2017-07-06 Thread Davide Giannella
Hello Team,

the vote passes as follows:

+1 Davide Giannella
+1 Alex Deparvu
+1 Tommaso Teofili
+1 Julian Reschke
+1 Andrei Dulceanu
+1 Thomas Mueller

Thanks for voting. I'll push the release out.

-- Davide



BUILD FAILURE: Jackrabbit Oak - Build # 517 - Still Failing

2017-07-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #517)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/517/ to 
view the results.

Changes:
[adulceanu] OAK-6430 - Remove Apache Commons Math3 dependency from Segment Tar

 

Test results:
5 tests failed.
FAILED:  org.apache.jackrabbit.oak.osgi.OSGiIT.listServices

Error Message:
gave up waiting for service org.apache.jackrabbit.oak.spi.state.NodeStore

Stack Trace:
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for 
service org.apache.jackrabbit.oak.spi.state.NodeStore


FAILED:  org.apache.jackrabbit.oak.osgi.OSGiIT.listBundles

Error Message:
gave up waiting for service org.apache.jackrabbit.oak.spi.state.NodeStore

Stack Trace:
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for 
service org.apache.jackrabbit.oak.spi.state.NodeStore


FAILED:  org.apache.jackrabbit.oak.osgi.OSGiIT.bundleStates

Error Message:
gave up waiting for service org.apache.jackrabbit.oak.spi.state.NodeStore

Stack Trace:
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for 
service org.apache.jackrabbit.oak.spi.state.NodeStore


FAILED:  org.apache.jackrabbit.oak.osgi.OSGiIT.testNodeStore

Error Message:
gave up waiting for service org.apache.jackrabbit.oak.spi.state.NodeStore

Stack Trace:
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for 
service org.apache.jackrabbit.oak.spi.state.NodeStore


FAILED:  org.apache.jackrabbit.oak.osgi.OSGiIT.testRepository

Error Message:
gave up waiting for service org.apache.jackrabbit.oak.spi.state.NodeStore

Stack Trace:
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for 
service org.apache.jackrabbit.oak.spi.state.NodeStore

Re: Percentile implementation

2017-07-06 Thread Andrei Dulceanu
> The only problem that I see is the fact that it doesn't provide a way to
> easily access a desired percentile (only mean and 75th, 95th, 98th, 99th
> and 999th). Currently we are using 50th percentile, i.e. mean, but in the
> future that might change.
>

Please read median instead of mean above. Implementing the change, I
discovered Histogram#getSnapshot().getValue(double quantile) which is
exactly what I was looking for.


> I will try to make the adjustments and will revisit the percentile
> implementation once we'll change our use pattern there.
>

This change is tracked in OAK-6430 [0] and fixed at r1801043.

[0] https://issues.apache.org/jira/browse/OAK-6430

2017-07-06 14:55 GMT+03:00 Andrei Dulceanu :

> Hi Chetan,
>
>
>> Instead of commons-math can we use Metric Histogram  (which I also
>> suggested earlier in the thread).
>
>
> I took another look at the Metric Histogram and I think at the moment it
> can be used instead of SynchronizedDescriptiveStatistics from
> commons-math3. The only problem that I see is the fact that it doesn't
> provide a way to easily access a desired percentile (only mean and 75th,
> 95th, 98th, 99th and 999th). Currently we are using 50th percentile, i.e.
> mean, but in the future that might change.
>
>
>> This would avoid downstream Oak
>> users to include another dependency as Oak is already using Metrics in
>> other places.
>>
>
> I will try to make the adjustments and will revisit the percentile
> implementation once we'll change our use pattern there.
>
> Regards,
> Andrei
>
> 2017-07-06 14:38 GMT+03:00 Chetan Mehrotra :
>
>> Instead of commons-math can we use Metric Histogram  (which I also
>> suggested earlier in the thread). This would avoid downstream Oak
>> users to include another dependency as Oak is already using Metrics in
>> other places.
>>
>> Can we reconsider this decision?
>> Chetan Mehrotra
>>
>>
>> On Tue, Jul 4, 2017 at 4:45 PM, Julian Sedding 
>> wrote:
>> > Maybe it is not necessary to embed *all* of commons-math3. The bnd
>> > tool (used by maven-bundle-plugin) can intelligently embed classes
>> > from specified java packages, but only if they are referenced.
>> > Depending on how well commons-math3 is modularized, that could allow
>> > for much less embedded classes. Neil Bartlett wrote a good blog post
>> > about this feature[0].
>> >
>> > Regards
>> > Julian
>> >
>> > [0] http://njbartlett.name/2014/05/26/static-linking.html
>> >
>> >
>> > On Tue, Jul 4, 2017 at 12:20 PM, Andrei Dulceanu
>> >  wrote:
>> >> I'll add the dependency.
>> >>
>> >> Thanks,
>> >> Andrei
>> >>
>> >> 2017-07-04 13:10 GMT+03:00 Michael Dürig :
>> >>
>> >>>
>> >>>
>> >>> On 04.07.17 11:15, Francesco Mari wrote:
>> >>>
>>  2017-07-04 10:52 GMT+02:00 Andrei Dulceanu <
>> andrei.dulce...@gmail.com>:
>> 
>> > Now my question is this: do we have a simple percentile
>> implementation in
>> > Oak (I didn't find one)?
>> >
>> 
>>  I'm not aware of a percentile implementation in Oak.
>> 
>>  If not, would you recommend writing my own or adapting/extracting an
>> > existing one in a utility class?
>> >
>> 
>>  In the past we copied and pasted source code from other projects in
>>  Oak. As long as the license allows it and proper attribution is
>> given,
>>  it shouldn't be a problem. That said, I'm not a big fan of either
>>  rewriting an implementation from scratch or copying and pasting
>> source
>>  code from other projects. Is exposing a percentile really necessary?
>>  If yes, how big of a problem is embedding of commons-math3?
>> 
>> 
>> >>> We should avoid copy paste as we might miss important fixes in later
>> >>> releases. I only did this once for some code where we needed a fix
>> that
>> >>> wasn't yet released. It was a hassle.
>> >>> I would just add a dependency to commons-math3. Its a library
>> exposing the
>> >>> functionality we require, so let's use it.
>> >>>
>> >>> Michael
>> >>>
>>
>
>


BUILD FAILURE: Jackrabbit Oak - Build # 516 - Still Failing

2017-07-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #516)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/516/ to 
view the results.

Changes:
[stefanegli] OAK-6276 : introduce VisibilityToken to Clusterable : allows to 
check for visibility checks between Clusterable NodeStores

 

Test results:
30 tests failed.
FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalMV

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testMultipleFacetsRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredHigherThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval2

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredLowerThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 

Re: Percentile implementation

2017-07-06 Thread Andrei Dulceanu
Hi Chetan,


> Instead of commons-math can we use Metric Histogram  (which I also
> suggested earlier in the thread).


I took another look at the Metric Histogram and I think at the moment it
can be used instead of SynchronizedDescriptiveStatistics from
commons-math3. The only problem that I see is the fact that it doesn't
provide a way to easily access a desired percentile (only mean and 75th,
95th, 98th, 99th and 999th). Currently we are using 50th percentile, i.e.
mean, but in the future that might change.


> This would avoid downstream Oak
> users to include another dependency as Oak is already using Metrics in
> other places.
>

I will try to make the adjustments and will revisit the percentile
implementation once we'll change our use pattern there.

Regards,
Andrei

2017-07-06 14:38 GMT+03:00 Chetan Mehrotra :

> Instead of commons-math can we use Metric Histogram  (which I also
> suggested earlier in the thread). This would avoid downstream Oak
> users to include another dependency as Oak is already using Metrics in
> other places.
>
> Can we reconsider this decision?
> Chetan Mehrotra
>
>
> On Tue, Jul 4, 2017 at 4:45 PM, Julian Sedding  wrote:
> > Maybe it is not necessary to embed *all* of commons-math3. The bnd
> > tool (used by maven-bundle-plugin) can intelligently embed classes
> > from specified java packages, but only if they are referenced.
> > Depending on how well commons-math3 is modularized, that could allow
> > for much less embedded classes. Neil Bartlett wrote a good blog post
> > about this feature[0].
> >
> > Regards
> > Julian
> >
> > [0] http://njbartlett.name/2014/05/26/static-linking.html
> >
> >
> > On Tue, Jul 4, 2017 at 12:20 PM, Andrei Dulceanu
> >  wrote:
> >> I'll add the dependency.
> >>
> >> Thanks,
> >> Andrei
> >>
> >> 2017-07-04 13:10 GMT+03:00 Michael Dürig :
> >>
> >>>
> >>>
> >>> On 04.07.17 11:15, Francesco Mari wrote:
> >>>
>  2017-07-04 10:52 GMT+02:00 Andrei Dulceanu  >:
> 
> > Now my question is this: do we have a simple percentile
> implementation in
> > Oak (I didn't find one)?
> >
> 
>  I'm not aware of a percentile implementation in Oak.
> 
>  If not, would you recommend writing my own or adapting/extracting an
> > existing one in a utility class?
> >
> 
>  In the past we copied and pasted source code from other projects in
>  Oak. As long as the license allows it and proper attribution is given,
>  it shouldn't be a problem. That said, I'm not a big fan of either
>  rewriting an implementation from scratch or copying and pasting source
>  code from other projects. Is exposing a percentile really necessary?
>  If yes, how big of a problem is embedding of commons-math3?
> 
> 
> >>> We should avoid copy paste as we might miss important fixes in later
> >>> releases. I only did this once for some code where we needed a fix that
> >>> wasn't yet released. It was a hassle.
> >>> I would just add a dependency to commons-math3. Its a library exposing
> the
> >>> functionality we require, so let's use it.
> >>>
> >>> Michael
> >>>
>


Re: Percentile implementation

2017-07-06 Thread Chetan Mehrotra
Instead of commons-math can we use Metric Histogram  (which I also
suggested earlier in the thread). This would avoid downstream Oak
users to include another dependency as Oak is already using Metrics in
other places.

Can we reconsider this decision?
Chetan Mehrotra


On Tue, Jul 4, 2017 at 4:45 PM, Julian Sedding  wrote:
> Maybe it is not necessary to embed *all* of commons-math3. The bnd
> tool (used by maven-bundle-plugin) can intelligently embed classes
> from specified java packages, but only if they are referenced.
> Depending on how well commons-math3 is modularized, that could allow
> for much less embedded classes. Neil Bartlett wrote a good blog post
> about this feature[0].
>
> Regards
> Julian
>
> [0] http://njbartlett.name/2014/05/26/static-linking.html
>
>
> On Tue, Jul 4, 2017 at 12:20 PM, Andrei Dulceanu
>  wrote:
>> I'll add the dependency.
>>
>> Thanks,
>> Andrei
>>
>> 2017-07-04 13:10 GMT+03:00 Michael Dürig :
>>
>>>
>>>
>>> On 04.07.17 11:15, Francesco Mari wrote:
>>>
 2017-07-04 10:52 GMT+02:00 Andrei Dulceanu :

> Now my question is this: do we have a simple percentile implementation in
> Oak (I didn't find one)?
>

 I'm not aware of a percentile implementation in Oak.

 If not, would you recommend writing my own or adapting/extracting an
> existing one in a utility class?
>

 In the past we copied and pasted source code from other projects in
 Oak. As long as the license allows it and proper attribution is given,
 it shouldn't be a problem. That said, I'm not a big fan of either
 rewriting an implementation from scratch or copying and pasting source
 code from other projects. Is exposing a percentile really necessary?
 If yes, how big of a problem is embedding of commons-math3?


>>> We should avoid copy paste as we might miss important fixes in later
>>> releases. I only did this once for some code where we needed a fix that
>>> wasn't yet released. It was a hassle.
>>> I would just add a dependency to commons-math3. Its a library exposing the
>>> functionality we require, so let's use it.
>>>
>>> Michael
>>>


BUILD FAILURE: Jackrabbit Oak - Build # 514 - Still Failing

2017-07-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #514)

Status: Still Failing

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/514/ to 
view the results.

Changes:
[adulceanu] OAK-6428 - Add flag for controlling percentile of commit time used 
in scheduler

[chetanm] OAK-6333 - IndexPlanner should use actual entryCount instead of 
limiting it to 1000

Fix the test names which got mixed up

[chetanm] OAK-6333 - IndexPlanner should use actual entryCount instead of 
limiting it to 1000

Default behaviour changed to use actual numDocs.

 

Test results:
30 tests failed.
FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalMV

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testMultipleFacetsRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredHigherThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval2

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredLowerThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to 

Re: Oak 1.6.3 release plan

2017-07-06 Thread Chetan Mehrotra
I would like to have OAK-5899 fixed for 1.6. Have marked it as a blocker.
Chetan Mehrotra


On Thu, Jul 6, 2017 at 2:52 PM, Davide Giannella  wrote:
> Hello team,
>
> I'm planning to cut Oak on Monday 10th July.
>
> If there are any objections please let me know. Otherwise I will
> re-schedule any non-resolved issue for the next iteration.
>
> Thanks
> Davide
>
>


BUILD FAILURE: Jackrabbit Oak - Build # 513 - Failure

2017-07-06 Thread Apache Jenkins Server
The Apache Jenkins build system has built Jackrabbit Oak (build #513)

Status: Failure

Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/513/ to 
view the results.

Changes:
[adulceanu] OAK-4732 - (Slightly) prioritise reads over writes
Added commons-math3 dependency to oak-segment-tar and increased oak-run jar 
size to accommodate the change

 

Test results:
30 tests failed.
FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalMV

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testMultipleFacetsRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredHigherThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrieval2

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 
java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.reflect.InvocationTargetException
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)


FAILED:  
org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalNumberOfFacetsConfiguredLowerThanDefault

Error Message:
Failed to get Repository instance.

Stack Trace:
javax.jcr.RepositoryException: Failed to get Repository instance.
at 
org.apache.jackrabbit.oak.jcr.query.FacetTest.setUp(FacetTest.java:49)
Caused by: org.apache.jackrabbit.test.RepositoryStubException: 

Intent to backport OAK-6388 Enable Azure shared access signature for blob store connector

2017-07-06 Thread Andrei Kalfas
Hi,

We would like OAK-6388 to backported to the 1.6 branch. Its just a small 
addition to the Azure blob store connector that enables the usage of SAS tokens.

Thank you,
Andrei

smime.p7s
Description: S/MIME cryptographic signature


[ANNOUNCE] Apache Jackrabbit 2.10.6 released

2017-07-06 Thread Julian Reschke

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit 2.10.6. The release is available for download at:

https://jackrabbit.apache.org/jcr/downloads.html#v2.10

See the full release notes below for details about this release:

Release Notes -- Apache Jackrabbit -- Version 2.10.6

Introduction


This is Apache Jackrabbit(TM) 2.10.6, a fully compliant implementation 
of the

Content Repository for Java(TM) Technology API, version 2.0 (JCR 2.0) as
specified in the Java Specification Request 283 (JSR 283).

Apache Jackrabbit 2.10.6 is a patch release that contains fixes and
improvements over Jackrabbit 2.10.5. Jackrabbit 2.10.x releases are 
considered

stable and targeted for production use.

Changes in Jackrabbit 2.10.6


Bug

[JCR-4100] - jackrabbit-webdav: Scope implements equals() but not 
hashCode()

[JCR-4102] - jcr2dav: change polling thread sometimes dies with NPE
[JCR-4118] - RepositoryChecker creates invalid node names
[JCR-4121] - ConcurrentModificationException in 
InternalVersionHistoryImpl.fixLegacy()

[JCR-4133] - fix javadoc problems that are errors with JDK8

Task

[JCR-4106] - fix JCR API docs link
[JCR-4122] - align parent pom references with Oak
[JCR-4129] - get rid of unused org.json dependency


In addition to the above-mentioned changes, this release contains
all the changes included up to the Apache Jackrabbit 2.10.x release.

For more detailed information about all the changes in this and other
Jackrabbit releases, please see the Jackrabbit issue tracker at

https://issues.apache.org/jira/browse/JCR

Release Contents


This release consists of a single source archive packaged as a zip file.
The archive can be unpacked with the jar tool from your JDK installation.
See the README.txt file for instructions on how to build this release.

The source archive is accompanied by SHA1 and MD5 checksums and a PGP
signature that you can use to verify the authenticity of your download.
The public key used for the PGP signature can be found at
https://svn.apache.org/repos/asf/jackrabbit/dist/KEYS.

About Apache Jackrabbit
---

Apache Jackrabbit is a fully conforming implementation of the Content
Repository for Java Technology API (JCR). A content repository is a
hierarchical content store with support for structured and unstructured
content, full text search, versioning, transactions, observation, and
more.

For more information, visit http://jackrabbit.apache.org/

About The Apache Software Foundation


Established in 1999, The Apache Software Foundation provides organizational,
legal, and financial support for more than 140 freely-available,
collaboratively-developed Open Source projects. The pragmatic Apache License
enables individual and commercial users to easily deploy Apache software;
the Foundation's intellectual property framework limits the legal exposure
of its 3,800+ contributors.

For more information, visit http://www.apache.org/

Trademarks
--

Apache Jackrabbit, Jackrabbit, Apache, the Apache feather logo, and the 
Apache

Jackrabbit project logo are trademarks of The Apache Software Foundation.


Oak 1.6.3 release plan

2017-07-06 Thread Davide Giannella
Hello team,

I'm planning to cut Oak on Monday 10th July.

If there are any objections please let me know. Otherwise I will
re-schedule any non-resolved issue for the next iteration.

Thanks
Davide




Intent to backport OAK-6427

2017-07-06 Thread Marcel Reutegger
Hi,

I intend to backport OAK-6427 to the 1.6 and 1.4 branches. The changes only 
affect test classes, which means the risk is rather low.

Regards
 Marcel