[jira] [Commented] (OAK-8776) Build Jackrabbit Oak #2504 failed

2019-11-22 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980306#comment-16980306
 ] 

Hudson commented on OAK-8776:
-

Previously failing build now is OK.
 Passed run: [Jackrabbit Oak 
#2510|https://builds.apache.org/job/Jackrabbit%20Oak/2510/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/2510/console]

> Build Jackrabbit Oak #2504 failed
> -
>
> Key: OAK-8776
> URL: https://issues.apache.org/jira/browse/OAK-8776
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #2504 has failed.
> First failed run: [Jackrabbit Oak 
> #2504|https://builds.apache.org/job/Jackrabbit%20Oak/2504/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/2504/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-8783) Merge index definitions

2019-11-22 Thread Thomas Mueller (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980259#comment-16980259
 ] 

Thomas Mueller commented on OAK-8783:
-

Attached a first patch (work in progress).

> Merge index definitions
> ---
>
> Key: OAK-8783
> URL: https://issues.apache.org/jira/browse/OAK-8783
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>Reporter: Thomas Mueller
>Assignee: Thomas Mueller
>Priority: Major
> Attachments: OAK-8783-v1.patch
>
>
> If there are multiple versions of an index, e.g. asset-2-custom-2 and 
> asset-3, then oak-run should be able to merge them to asset-3-custom-1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8783) Merge index definitions

2019-11-22 Thread Thomas Mueller (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mueller updated OAK-8783:

Attachment: OAK-8783-v1.patch

> Merge index definitions
> ---
>
> Key: OAK-8783
> URL: https://issues.apache.org/jira/browse/OAK-8783
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>Reporter: Thomas Mueller
>Assignee: Thomas Mueller
>Priority: Major
> Attachments: OAK-8783-v1.patch
>
>
> If there are multiple versions of an index, e.g. asset-2-custom-2 and 
> asset-3, then oak-run should be able to merge them to asset-3-custom-1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (OAK-8783) Merge index definitions

2019-11-22 Thread Thomas Mueller (Jira)
Thomas Mueller created OAK-8783:
---

 Summary: Merge index definitions
 Key: OAK-8783
 URL: https://issues.apache.org/jira/browse/OAK-8783
 Project: Jackrabbit Oak
  Issue Type: Improvement
Reporter: Thomas Mueller
Assignee: Thomas Mueller


If there are multiple versions of an index, e.g. asset-2-custom-2 and asset-3, 
then oak-run should be able to merge them to asset-3-custom-1.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8773) Some potential ArrayIndexOutOfBounds Exception

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8773.
-
Resolution: Incomplete

> Some potential ArrayIndexOutOfBounds Exception
> --
>
> Key: OAK-8773
> URL: https://issues.apache.org/jira/browse/OAK-8773
> Project: Jackrabbit Oak
>  Issue Type: Bug
>Reporter: Qian Chen
>Priority: Major
>
> Hi all,
> Our bug scanner has reported some potential ArrayIndexOutOfBounds bugs.
> The first one ia at 
> [DebugTimer.java#L60|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/DebugTimer.java#L60]
>  since  there may be no element in the array. Some similar situations appear 
> at 
> [PropertiesUtil.java#L303|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/PropertiesUtil.java#L303]
>  , 
> [Profiler.java#L384|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/Profiler.java#L384]
>  , 
> [CacheLIRS.java#L184|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L184]
>  , 
> [GenericDescriptors.java#L108|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/descriptors/GenericDescriptors.java#L108]
>  , 
> [LikePattern.java#L156|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-query-spi/src/main/java/org/apache/jackrabbit/oak/spi/query/fulltext/LikePattern.java#L156]
>  , 
> [PrivilegeBits.java#L818|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeBits.java#L818]
>  and 
> [PrivilegeBits.java#L839|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeBits.java#L839]
> The second one is at 
> [JsopTokenizer.java#L369|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopTokenizer.java#L369]
>  since the index may not be in the valid range. Some similar situations are 
> at JsopStream.java , from 
> [Line35|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopStream.java#L35]
>  to 
> [Line62|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopStream.java#L62]
>  ,  
> [Line192|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopStream.java#L192]
>  to 
> [Line325|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopStream.java#L325]
>  , 
> [ManagementOperation.java#L335|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/ManagementOperation.java#L335]
>  , CacheLIRS.java 
> [Line211|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L211]
>  , 
> [Line212|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L212]
>  , 
> [Line434|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L434]
>  , 
> [Line1156|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L1156]
>  , 
> [Line1157|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L1157]
>  , 
> [Line1186|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L1186]
>  , 
> [Line1191|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L1191]
>  , 
> [Line1307|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L1307]
>  , 
> [SubtreeEditor.java#L51|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-store-spi/src/main/java/org/apache/jackrabbit/oak/spi/commit/SubtreeEditor.java#L

[jira] [Commented] (OAK-8773) Some potential ArrayIndexOutOfBounds Exception

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980227#comment-16980227
 ] 

Julian Reschke commented on OAK-8773:
-

bq. The first one ia at DebugTimer.java#L60 since there may be no element in 
the array.

OK, so I have looked at this one, and do not see a problem, as teh array 
"units" is static and of size 4.

Problem scanners can be useful, but their output needs to be read correctly.

By all means if you think the other cases can happen in practice, raise 
individual tickets for each problem.

Resolving for now.

> Some potential ArrayIndexOutOfBounds Exception
> --
>
> Key: OAK-8773
> URL: https://issues.apache.org/jira/browse/OAK-8773
> Project: Jackrabbit Oak
>  Issue Type: Bug
>Reporter: Qian Chen
>Priority: Major
>
> Hi all,
> Our bug scanner has reported some potential ArrayIndexOutOfBounds bugs.
> The first one ia at 
> [DebugTimer.java#L60|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/DebugTimer.java#L60]
>  since  there may be no element in the array. Some similar situations appear 
> at 
> [PropertiesUtil.java#L303|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/PropertiesUtil.java#L303]
>  , 
> [Profiler.java#L384|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/Profiler.java#L384]
>  , 
> [CacheLIRS.java#L184|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L184]
>  , 
> [GenericDescriptors.java#L108|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/descriptors/GenericDescriptors.java#L108]
>  , 
> [LikePattern.java#L156|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-query-spi/src/main/java/org/apache/jackrabbit/oak/spi/query/fulltext/LikePattern.java#L156]
>  , 
> [PrivilegeBits.java#L818|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeBits.java#L818]
>  and 
> [PrivilegeBits.java#L839|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeBits.java#L839]
> The second one is at 
> [JsopTokenizer.java#L369|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopTokenizer.java#L369]
>  since the index may not be in the valid range. Some similar situations are 
> at JsopStream.java , from 
> [Line35|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopStream.java#L35]
>  to 
> [Line62|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopStream.java#L62]
>  ,  
> [Line192|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopStream.java#L192]
>  to 
> [Line325|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsopStream.java#L325]
>  , 
> [ManagementOperation.java#L335|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/commons/jmx/ManagementOperation.java#L335]
>  , CacheLIRS.java 
> [Line211|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L211]
>  , 
> [Line212|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L212]
>  , 
> [Line434|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L434]
>  , 
> [Line1156|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L1156]
>  , 
> [Line1157|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L1157]
>  , 
> [Line1186|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.0/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java#L1186]
>  , 
> [Line1191|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.18.

[jira] [Resolved] (OAK-4350) Error in oak-solr-osgi when try use maven-bundle-plugin

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-4350.
-
Resolution: Cannot Reproduce

> Error in oak-solr-osgi when try use maven-bundle-plugin
> ---
>
> Key: OAK-4350
> URL: https://issues.apache.org/jira/browse/OAK-4350
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: solr
>Affects Versions: 1.4.1
> Environment: Windows 7, Maven3
>Reporter: IVAN EMELIANOV
>Priority: Major
>  Labels: bundle, maven
>
> Run cmd on Jackrabbit-Oak src 1.4.1 with maven3:
> "mvn org.apache.felix:maven-bundle-plugin:bundle"
> and get error - "Service-Component entry can not be located in JAR" in 
> oak-solr-osgi project. 
> Part of output:
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oak-solr-osgi ---
> [INFO] Deleting C:\progs\jackrabbit-oak\oak-solr-osgi\target
> [INFO]
> [INFO] --- maven-bundle-plugin:3.0.0:bundle (default-cli) @ oak-solr-osgi ---
> [WARNING] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4.1 : Unused 
> Priva
> te-Package instructions, no such package(s) on the class path: [!*]
> [ERROR] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4.1 : 
> Service-Compon
> ent entry can not be located in JAR: 
> OSGI-INF/org.apache.jackrabbit.oak.plugins.
> index.solr.osgi.SolrQueryIndexProviderService.xml
> [ERROR] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4.1 : 
> Service-Compon
> ent entry can not be located in JAR: 
> OSGI-INF/org.apache.jackrabbit.oak.plugins.
> index.solr.osgi.SolrServerProviderService.xml
> [ERROR] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4.1 : 
> Service-Compon
> ent entry can not be located in JAR: 
> OSGI-INF/org.apache.jackrabbit.oak.plugins.
> index.solr.osgi.SolrIndexEditorProviderService.xml
> [ERROR] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4.1 : 
> Service-Compon
> ent entry can not be located in JAR: 
> OSGI-INF/org.apache.jackrabbit.oak.plugins.
> index.solr.osgi.EmbeddedSolrServerConfigurationProvider.xml
> [ERROR] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4.1 : 
> Service-Compon
> ent entry can not be located in JAR: 
> OSGI-INF/org.apache.jackrabbit.oak.plugins.
> index.solr.osgi.RemoteSolrServerConfigurationProvider.xml
> [ERROR] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4.1 : 
> Service-Compon
> ent entry can not be located in JAR: 
> OSGI-INF/org.apache.jackrabbit.oak.plugins.
> index.solr.osgi.OakSolrConfigurationProviderService.xml
> [ERROR] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4.1 : 
> Service-Compon
> ent entry can not be located in JAR: 
> OSGI-INF/org.apache.jackrabbit.oak.plugins.
> index.solr.osgi.NodeStateSolrServersObserverService.xml
> [ERROR] Error(s) found in bundle configuration
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Oak Parent POM . SUCCESS [  5.685 
> s]
> [INFO] Oak Commons  SUCCESS [ 15.126 
> s]
> [INFO] Oak Blob Store . SUCCESS [ 10.316 
> s]
> [INFO] Oak Cloud Blob Store ... SUCCESS [ 14.033 
> s]
> [INFO] Oak Core ... SUCCESS [ 19.900 
> s]
> [INFO] Oak Segment  SUCCESS [  4.623 
> s]
> [INFO] Oak Integration Tests .. SUCCESS [  1.191 
> s]
> [INFO] Oak JCR Binding  SUCCESS [ 21.645 
> s]
> [INFO] Oak upgrade  SUCCESS [ 40.377 
> s]
> [INFO] Oak HTTP Binding ... SUCCESS [  3.824 
> s]
> [INFO] Oak Lucene . SUCCESS [01:05 
> min]
> [INFO] Oak Solr core .. SUCCESS [ 58.355 
> s]
> [INFO] Oak Solr OSGi .. FAILURE [ 12.193 
> s]
> [INFO] Oak External Authentication Support  SKIPPED
> [INFO] Oak LDAP Authentication Support  SKIPPED
> [INFO] Oak TarMK Standby .. SKIPPED
> [INFO] Oak Remote API . SKIPPED
> [INFO] Oak CUG Authorization .. SKIPPED
> [INFO] Oak Runnable Jar ... SKIPPED
> [INFO] Oak Integration Tests for OSGi deployments . SKIPPED
> [INFO] Oak PojoSR . SKIPPED
> [INFO] Oak Exercises .. SKIPPED
> [INFO] Oak Web Application Example  SKIPPED
> [INFO] Oak Standalone Example . SKIPPED
> [INFO] Oak Examples 

[jira] [Resolved] (OAK-5387) Test failure: ConcurrentQueryAndUpdateIT.cacheUpdate[RDBFixture: RDB-H2(file)]

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-5387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-5387.
-
Resolution: Cannot Reproduce

> Test failure: ConcurrentQueryAndUpdateIT.cacheUpdate[RDBFixture: RDB-H2(file)]
> --
>
> Key: OAK-5387
> URL: https://issues.apache.org/jira/browse/OAK-5387
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration, rdbmk
>Affects Versions: 1.2.23, 1.6.0
>Reporter: Hudson
>Assignee: Julian Reschke
>Priority: Major
>  Labels: Windows, test-failure
> Attachments: Build 448 Windows log.zip, unit-tests.log.zip
>
>
> Jenkins CI failure: 
> https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
> The build Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 1.8 
> (latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting #1345 has failed.
> First failed run: [Apache Jackrabbit Oak matrix/Ubuntu Slaves=ubuntu,jdk=JDK 
> 1.8 (latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting 
> #1345|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.8%20(latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting/1345/]
>  [console 
> log|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/Ubuntu%20Slaves=ubuntu,jdk=JDK%201.8%20(latest),nsfixtures=DOCUMENT_RDB,profile=integrationTesting/1345/console]
> {noformat}
> cacheUpdate[RDBFixture: 
> RDB-H2(file)](org.apache.jackrabbit.oak.plugins.document.ConcurrentQueryAndUpdateIT)
>   Time elapsed: 54.353 sec  <<< FAILURE!
> java.lang.AssertionError: Unexpected revision timestamp for 1:/node-39 
> expected:<867> but was:<866>
>   at org.junit.Assert.fail(Assert.java:88)
>   at org.junit.Assert.failNotEquals(Assert.java:834)
>   at org.junit.Assert.assertEquals(Assert.java:645)
>   at 
> org.apache.jackrabbit.oak.plugins.document.ConcurrentQueryAndUpdateIT.cacheUpdate(ConcurrentQueryAndUpdateIT.java:80)
> Failed tests:   cacheUpdate[RDBFixture: 
> RDB-H2(file)](org.apache.jackrabbit.oak.plugins.document.ConcurrentQueryAndUpdateIT):
>  Unexpected revision timestamp for 1:/node-39 expected:<867> but was:<866>
> {noformat}
> Also seen on Windows: 
> https://builds.apache.org/job/Oak-Win/Windows%20slaves=Windows,jdk=JDK%201.8%20(unlimited%20security)%2064-bit%20Windows%20only,nsfixtures=DOCUMENT_NS,profile=integrationTesting/448/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-6178) Test failure: DocumentNodeStoreConfigTest.testRDBDocumentStore2Datasources

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-6178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-6178.
-
Resolution: Cannot Reproduce

> Test failure: DocumentNodeStoreConfigTest.testRDBDocumentStore2Datasources
> --
>
> Key: OAK-6178
> URL: https://issues.apache.org/jira/browse/OAK-6178
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration, rdbmk
>Reporter: Hudson
>Priority: Major
>  Labels: CI, jenkins, test-failure
>
> Jenkins CI failure: https://builds.apache.org/view/J/job/Jackrabbit%20Oak/
> The build Jackrabbit Oak #259 has failed.
> First failed run: [Jackrabbit Oak 
> #259|https://builds.apache.org/job/Jackrabbit%20Oak/259/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/259/console]
> {code}
> Error Message
> Service of type interface org.apache.jackrabbit.oak.spi.state.NodeStore was 
> found. Expression: (sr == null). Values: sr = 
> [org.apache.jackrabbit.oak.spi.state.NodeStore, 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore, 
> org.apache.jackrabbit.oak.spi.state.Clusterable]
> Stacktrace
> java.lang.AssertionError: Service of type interface 
> org.apache.jackrabbit.oak.spi.state.NodeStore was found. Expression: (sr == 
> null). Values: sr = [org.apache.jackrabbit.oak.spi.state.NodeStore, 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore, 
> org.apache.jackrabbit.oak.spi.state.Clusterable]
>   at 
> org.apache.jackrabbit.oak.run.osgi.DocumentNodeStoreConfigTest.testRDBDocumentStore2Datasources(DocumentNodeStoreConfigTest.groovy:110)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-7456) Build failed: Cannot create GC thread. Out of system resources.

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-7456.
-
Resolution: Cannot Reproduce

> Build failed: Cannot create GC thread. Out of system resources.
> ---
>
> Key: OAK-7456
> URL: https://issues.apache.org/jira/browse/OAK-7456
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #1412 has failed.
> First failed run: [Jackrabbit Oak 
> #1412|https://builds.apache.org/job/Jackrabbit%20Oak/1412/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1412/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-7450) Build failure: unable to create new native thread

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-7450.
-
Resolution: Cannot Reproduce

> Build failure: unable to create new native thread
> -
>
> Key: OAK-7450
> URL: https://issues.apache.org/jira/browse/OAK-7450
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #1405 has failed.
> First failed run: [Jackrabbit Oak 
> #1405|https://builds.apache.org/job/Jackrabbit%20Oak/1405/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1405/console]
> {noformat}
> [ERROR] unable to create new native thread
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-7507) Build failure: java.lang.OutOfMemoryError: unable to create new native thread

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-7507.
-
Resolution: Cannot Reproduce

> Build failure: java.lang.OutOfMemoryError: unable to create new native thread
> -
>
> Key: OAK-7507
> URL: https://issues.apache.org/jira/browse/OAK-7507
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #1456 has failed.
> First failed run: [Jackrabbit Oak 
> #1456|https://builds.apache.org/job/Jackrabbit%20Oak/1456/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1456/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-7474) Build timed out (after 100 minutes)

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-7474.
-
Resolution: Cannot Reproduce

> Build timed out (after 100 minutes)
> ---
>
> Key: OAK-7474
> URL: https://issues.apache.org/jira/browse/OAK-7474
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #1424 has failed.
> First failed run: [Jackrabbit Oak 
> #1424|https://builds.apache.org/job/Jackrabbit%20Oak/1424/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1424/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-7467) Test failure: OSGiIT

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-7467.
-
Resolution: Cannot Reproduce

> Test failure: OSGiIT
> 
>
> Key: OAK-7467
> URL: https://issues.apache.org/jira/browse/OAK-7467
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> {noformat}
> [ERROR] Errors: 
> [ERROR]   OSGiIT.bundleStates » ServiceLookup gave up waiting for service 
> javax.jcr.Repo...
> [ERROR]   OSGiIT.listBundles » ServiceLookup gave up waiting for service 
> javax.jcr.Repos...
> [ERROR]   OSGiIT.listServices » ServiceLookup gave up waiting for service 
> javax.jcr.Repo...
> [ERROR]   OSGiIT.testNodeStore » ServiceLookup gave up waiting for service 
> javax.jcr.Rep...
> [ERROR]   OSGiIT.testRepository » ServiceLookup gave up waiting for service 
> javax.jcr.Re...
> {noformat}
> The build Jackrabbit Oak #1419 has failed.
> First failed run: [Jackrabbit Oak 
> #1419|https://builds.apache.org/job/Jackrabbit%20Oak/1419/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1419/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-6170) Checkin function doesn't verify the node is locked when checkout does

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-6170.
-
Resolution: Not A Problem

Locking is deprecated.

> Checkin function doesn't verify the node is locked when checkout does
> -
>
> Key: OAK-6170
> URL: https://issues.apache.org/jira/browse/OAK-6170
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core, jcr
>Affects Versions: 1.2.25
>Reporter: Patrick Fauchere
>Priority: Major
> Attachments: OAK-6170.patch
>
>
> Steps to reproduce
> # User A locks a node
> # User B creates a version of this node (checking that node in)
> Result: User A cannot edit the node. User B cannot check-out that node.
> Workaround: User A must unlock the node then User B can do the check-out.
> We may want to verify the node can be unlocked by the user the same way it is 
> done with the _checkout_ function [0,1] before doing the actual _checkin_.
> [0] 
> https://github.com/apache/jackrabbit-oak/blob/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/version/VersionManagerImpl.java#L343-L374
> [1] 
> https://github.com/apache/jackrabbit-oak/blob/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/version/VersionManagerImpl.java#L391



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-7642) oak-pojosr fails when run twice

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-7642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-7642.
-
Resolution: Cannot Reproduce

> oak-pojosr fails when run twice
> ---
>
> Key: OAK-7642
> URL: https://issues.apache.org/jira/browse/OAK-7642
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: pojosr
>Reporter: Julian Reschke
>Assignee: Andrei Dulceanu
>Priority: Major
>
> ...because segment store apparently creates the repository folder in the 
> wrong location, and thus doesn't get wiped out on "mvn clean".
> {noformat}
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.ConfigTest
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2 s - 
> in org.apache.jackrabbit.oak.run.osgi.ConfigTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.DocumentNodeStoreConfigTest
> [WARNING] Tests run: 10, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 
> 10.327 s - in org.apache.jackrabbit.oak.run.osgi.DocumentNodeStoreConfigTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.HybridIndexDisabledTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.149 
> s - in org.apache.jackrabbit.oak.run.osgi.HybridIndexDisabledTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.JaasConfigSpiTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.475 
> s - in org.apache.jackrabbit.oak.run.osgi.JaasConfigSpiTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.JsonConfigRepFactoryTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.547 
> s - in org.apache.jackrabbit.oak.run.osgi.JsonConfigRepFactoryTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.518 
> s <<< FAILURE! - in org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest
> [ERROR] fullTextSearch(org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest)  
> Time elapsed: 0.518 s  <<< ERROR!
> javax.jcr.ItemExistsException: myFile
> at 
> org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest.fullTextSearch(LuceneSupportTest.groovy:65)
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.MBeanIntegrationTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.522 
> s - in org.apache.jackrabbit.oak.run.osgi.MBeanIntegrationTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.NodeStoreConfigTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.36 s 
> - in org.apache.jackrabbit.oak.run.osgi.NodeStoreConfigTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactoryTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.545 
> s - in org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactoryTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.PropertyIndexReindexingTest
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.374 
> s <<< FAILURE! - in 
> org.apache.jackrabbit.oak.run.osgi.PropertyIndexReindexingTest
> [ERROR] 
> propertyIndexState(org.apache.jackrabbit.oak.run.osgi.PropertyIndexReindexingTest)
>   Time elapsed: 6.358 s  <<< ERROR!
> javax.jcr.ItemExistsException: a1
> at 
> org.apache.jackrabbit.oak.run.osgi.PropertyIndexReindexingTest.propertyIndexState(PropertyIndexReindexingTest.groovy:50)
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.RepositoryClosedTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.595 
> s - in org.apache.jackrabbit.oak.run.osgi.RepositoryClosedTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.RepositoryShutdownTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.515 
> s - in org.apache.jackrabbit.oak.run.osgi.RepositoryShutdownTest
> [INFO] Running 
> org.apache.jackrabbit.oak.run.osgi.SecurityProviderRegistrationTest
> [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.421 
> s - in org.apache.jackrabbit.oak.run.osgi.SecurityProviderRegistrationTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.703 
> s - in org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest
> [INFO] Running org.apache.jackrabbit.oak.run.osgi.SimpleRepositoryFactoryTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.481 
> s - in org.apache.jackrabbit.oak.run.osgi.SimpleRepositoryFactoryTest
> [INFO] Running 
> org.apache.jackrabbit.oak.run.osgi.TarSegmentNodeStoreConfigTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0,

[jira] [Resolved] (OAK-3316) BTreeManager doesn't work

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-3316.
-
Resolution: Incomplete

> BTreeManager doesn't work
> -
>
> Key: OAK-3316
> URL: https://issues.apache.org/jira/browse/OAK-3316
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: jcr
>Affects Versions: 1.2.2
> Environment: Adobe AEM 6.1
>Reporter: Sam Shao
>Priority: Major
>
> See my codes below. It fails on 41 node.
> Session session = req.getResourceResolver().adaptTo(Session.class);
> Node contentNode = session.getNode("/content");
> Node testNode = contentNode.hasNode("test1") ? contentNode.getNode("test1") : 
> contentNode.addNode("test1");
> BTreeManager manager = new BTreeManager(testNode, 20, 40, 
> Rank.comparableComparator(), true);
> NodeSequence nodes = ItemSequence.createNodeSequence(manager);
> for (int i = 0; i < 100; ++i) {
> String name = "Node" + String.format("%02d", (i + 1));
> writer.write("Creating node [" + name + "] ...");
> nodes.addNode(name, NodeType.NT_UNSTRUCTURED);
> writer.write(" Done.\n");
> }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-8776) Build Jackrabbit Oak #2504 failed

2019-11-22 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980208#comment-16980208
 ] 

Hudson commented on OAK-8776:
-

Previously failing build now is OK.
 Passed run: [Jackrabbit Oak 
#2509|https://builds.apache.org/job/Jackrabbit%20Oak/2509/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/2509/console]

> Build Jackrabbit Oak #2504 failed
> -
>
> Key: OAK-8776
> URL: https://issues.apache.org/jira/browse/OAK-8776
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #2504 has failed.
> First failed run: [Jackrabbit Oak 
> #2504|https://builds.apache.org/job/Jackrabbit%20Oak/2504/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/2504/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8289) Test failure: CopyOnWriteDirectoryTest.copyOnWrite() This builder does not exist

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8289.
-
Resolution: Cannot Reproduce

> Test failure: CopyOnWriteDirectoryTest.copyOnWrite() This builder does not 
> exist
> 
>
> Key: OAK-8289
> URL: https://issues.apache.org/jira/browse/OAK-8289
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration, lucene
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #2121 has failed.
> First failed run: [Jackrabbit Oak 
> #2121|https://builds.apache.org/job/Jackrabbit%20Oak/2121/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/2121/console]
> {noformat}
> org.apache.jackrabbit.oak.plugins.index.lucene.directory.CopyOnWriteDirectoryTest
> [ERROR] 
> copyOnWrite(org.apache.jackrabbit.oak.plugins.index.lucene.directory.CopyOnWriteDirectoryTest)
>   Time elapsed: 0.341 s  <<< ERROR!
> java.lang.IllegalStateException: This builder does not exist: child-91
>   at 
> com.google.common.base.Preconditions.checkState(Preconditions.java:150)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setChildNode(MemoryNodeBuilder.java:342)
>   at 
> org.apache.jackrabbit.oak.plugins.document.AbstractDocumentNodeBuilder.setChildNode(AbstractDocumentNodeBuilder.java:56)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setChildNode(MemoryNodeBuilder.java:336)
>   at 
> org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.child(MemoryNodeBuilder.java:322)
>   at 
> org.apache.jackrabbit.oak.plugins.index.lucene.directory.CopyOnWriteDirectoryTest.writeTree(CopyOnWriteDirectoryTest.java:188)
>   at 
> org.apache.jackrabbit.oak.plugins.index.lucene.directory.CopyOnWriteDirectoryTest.copyOnWrite(CopyOnWriteDirectoryTest.java:107)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8302) Build failure: Failed to execute goal spotbugs on project oak-benchmarks

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8302.
-
Resolution: Cannot Reproduce

> Build failure: Failed to execute goal spotbugs on project oak-benchmarks
> 
>
> Key: OAK-8302
> URL: https://issues.apache.org/jira/browse/OAK-8302
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #2134 has failed.
> First failed run: [Jackrabbit Oak 
> #2134|https://builds.apache.org/job/Jackrabbit%20Oak/2134/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/2134/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8440) Test failure: SegmentWriteQueueTest.testFlush()

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8440.
-
Resolution: Cannot Reproduce

> Test failure: SegmentWriteQueueTest.testFlush()
> ---
>
> Key: OAK-8440
> URL: https://issues.apache.org/jira/browse/OAK-8440
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration, segment-azure
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #2235 has failed.
> First failed run: [Jackrabbit Oak 
> #2235|https://builds.apache.org/job/Jackrabbit%20Oak/2235/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/2235/console]
> {noformat}
> [ERROR] 
> testFlush(org.apache.jackrabbit.oak.segment.azure.queue.SegmentWriteQueueTest)
>   Time elapsed: 0.317 s  <<< FAILURE!
> java.lang.AssertionError
>   at org.junit.Assert.fail(Assert.java:86)
>   at org.junit.Assert.assertTrue(Assert.java:41)
>   at org.junit.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.jackrabbit.oak.segment.azure.queue.SegmentWriteQueueTest.testFlush(SegmentWriteQueueTest.java:137)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8292) Test failure: JsonConfigRepFactoryTest and TokenAuthenticationTest

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8292.
-
Resolution: Cannot Reproduce

> Test failure: JsonConfigRepFactoryTest and TokenAuthenticationTest
> --
>
> Key: OAK-8292
> URL: https://issues.apache.org/jira/browse/OAK-8292
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> Test Result (2 failures / +2)
> * 
> org.apache.jackrabbit.oak.run.osgi.JsonConfigRepFactoryTest.testRepositoryTar
> {noformat}
> Caused by: org.osgi.framework.BundleException: Timed out while waiting for 
> repository shutdown for 60 secs
>   at 
> org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactory.shutdown(OakOSGiRepositoryFactory.java:281)
>   at 
> org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactory$RepositoryTracker.shutdownRepository(OakOSGiRepositoryFactory.java:443)
>   at 
> org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactory$RepositoryProxy.invoke(OakOSGiRepositoryFactory.java:475)
>   ... 33 more
> {noformat}
> * 
> org.apache.jackrabbit.oak.run.osgi.TokenAuthenticationTest.tokenCreationWithPreAuth
> {noformat}
> Caused by: javax.security.auth.login.LoginException: Login Failure: all 
> modules ignored
>   at javax.security.auth.login.LoginContext.invoke(LoginContext.java:906)
>   at 
> javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
>   at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
>   at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>   at javax.security.auth.login.LoginContext.login(LoginContext.java:587)
>   at 
> org.apache.jackrabbit.oak.core.ContentRepositoryImpl.login(ContentRepositoryImpl.java:163)
>   at 
> org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:282)
>   ... 41 more
> {noformat}
> The build Jackrabbit Oak #2124 has failed.
> First failed run: [Jackrabbit Oak 
> #2124|https://builds.apache.org/job/Jackrabbit%20Oak/2124/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/2124/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8678) Build failure: E130003: Parser configuration problem: namespace reporting is not enabled

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8678.
-
Resolution: Cannot Reproduce

> Build failure: E130003: Parser configuration problem: namespace reporting is 
> not enabled
> 
>
> Key: OAK-8678
> URL: https://issues.apache.org/jira/browse/OAK-8678
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit Oak #2425 has failed.
> First failed run: [Jackrabbit Oak 
> #2425|https://builds.apache.org/job/Jackrabbit%20Oak/2425/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/2425/console]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-6098) Build timeout

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-6098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-6098.
-
Resolution: Cannot Reproduce

> Build timeout
> -
>
> Key: OAK-6098
> URL: https://issues.apache.org/jira/browse/OAK-6098
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>  Labels: CI, jenkins, test-failure
> Fix For: 1.22.0
>
>
> Jenkins CI failure: https://builds.apache.org/view/J/job/Jackrabbit%20Oak/
> The build Jackrabbit Oak #175 has failed.
> First failed run: [Jackrabbit Oak 
> #175|https://builds.apache.org/job/Jackrabbit%20Oak/175/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/175/console]
> This build timed out on node https://builds.apache.org/computer/H10. Usually 
> the build takes around 40mins. 
> {code}
> Build timed out (after 60 minutes). Marking the build as failed.
> {code}
> Also timed out on https://builds.apache.org/computer/cassandra5. See 
> https://builds.apache.org/view/J/job/Jackrabbit%20Oak/208/
> Also timed out on https://builds.apache.org/computer/ubuntu-eu2. See 
> https://builds.apache.org/job/Jackrabbit%20Oak/246/
> Also timed out on https://builds.apache.org/computer/ubuntu-2. See 
> https://builds.apache.org/job/Jackrabbit%20Oak/267/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-6618) Query with offset 29 with any limit more than 21 gives node size -1 , when number of nodes in repository is 50

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-6618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-6618.
-
Resolution: Cannot Reproduce

> Query with offset 29 with any limit more than 21 gives node size -1 , when 
> number of nodes in repository is 50
> --
>
> Key: OAK-6618
> URL: https://issues.apache.org/jira/browse/OAK-6618
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.6.1
>Reporter: Mouli 
>Priority: Critical
>
> There is something wrong with offset and limit feature in JCR, i have 50 
> nodes in repository and i started to test pagination so i used offset and 
> limit . It works fine for all offset and limit combination except one case 
> that is offset 29 and limit =21, only this case node size returning as -1 in 
> all other cases it working as expected. i tried with other combinations of 
> node size viz 52 limit=22&offset=31 
> not working for this combination too but it works if i increase the offset to 
> 32.
> listing out combinations it doesn't work
> size=50, offset=29 and limit=21(any number >  21 ) will give u node size -1.
> size=52, offset=31 and limit=22(any number > 22 )  will give u node size -1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8602) javax.jcr.RepositoryException: OakOak0001: GC overhead limit exceeded

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8602.
-
Resolution: Invalid

> javax.jcr.RepositoryException: OakOak0001: GC overhead limit exceeded
> -
>
> Key: OAK-8602
> URL: https://issues.apache.org/jira/browse/OAK-8602
> Project: Jackrabbit Oak
>  Issue Type: Bug
>Affects Versions: 1.14.0
> Environment: I am runing the oak instance on my local windows machine 
> and the version of oak is 1.14.0.The DocumentNodeStore is Mongodb and the 
> IndexProvider is SolrIndexProvider with async index.
>Reporter: zhouxu
>Priority: Major
> Attachments: 1.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg
>
>
> This problem occurs to I am importing a large of data to the repository.I use 
> jmeter to import data in 5 threads and max loop times of each thread is 
> 20.When the count of sample reach to about 2,the oak throws the 
> javax.jcr.RepositoryException: OakOak0001: GC overhead limit exceeded.The 
> complete exception information is as follows:
> {color:#FF}javax.jcr.RepositoryException: OakOak0001: GC overhead limit 
> exceeded
>  at 
> org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:250)
>  at 
> org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:213)
>  at 
> org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:669)
>  at 
> org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:495)
>  at 
> org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.performVoid(SessionImpl.java:420)
>  at 
> org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:273)
>  at 
> org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:417)
>  at cn.amberdata.afc.domain.permission.AfACL.grantJcrPermit(AfACL.java:215)
>  at cn.amberdata.afc.domain.permission.AfACL.grant(AfACL.java:182)
>  at cn.amberdata.afc.domain.permission.AfACL.grantPermit(AfACL.java:235)
>  at 
> cn.amberdata.afc.domain.object.AfPersistentObject.setACL(AfPersistentObject.java:381)
>  at 
> cn.amberdata.afc.common.util.ACLUtils.doSetAclToTargetFormSource(ACLUtils.java:62)
>  at 
> cn.amberdata.afc.common.util.ACLUtils.setAclToTargetFormSource(ACLUtils.java:40)
>  at 
> cn.amberdata.common.core.persistence.dao.impl.AsyncTaskDaoImpl.extendsParentAcl(AsyncTaskDaoImpl.java:105)
>  at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>  at java.lang.reflect.Method.invoke(Unknown Source)
>  at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
>  at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
>  at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>  at 
> org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
>  at java.util.concurrent.FutureTask.run$$$capture(Unknown Source)
>  at java.util.concurrent.FutureTask.run(Unknown Source)
>  at java.lang.Thread.run(Unknown Source)
>  Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakOak0001: 
> GC overhead limit exceeded
>  at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.mergeFailed(DocumentNodeStoreBranch.java:342)
>  at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.access$600(DocumentNodeStoreBranch.java:56)
>  at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$InMemory.merge(DocumentNodeStoreBranch.java:554)
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge0(DocumentNodeStoreBranch.java:196)
> at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.merge(DocumentNodeStoreBranch.java:120)
>  at 
> org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder.merge(DocumentRootBuilder.java:170)
>  at 
> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1875)
>  at org.apache.jackrabbit.oak.core.MutableRoot.commit(MutableRoot.java:251)
>  at 
> org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.commit(SessionDelegate.java:346)
>  at 
> org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:493)
>  ... 20 more
>  Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
>  at java.util.Vector.(Unknown Source)
>  at java.util.Vector.(Unknown Source)
>  at java.util.Vector.(Unknown Source)
>  at java.util.Stack.(Unknown Source)
>  at org.bson.AbstractBsonWriter.(AbstractBsonWriter.java:38)
>  

[jira] [Resolved] (OAK-8743) org.apache.jackrabbit.oak.stats.Clock should extend from java.time.Clock

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8743.
-
Resolution: Fixed

> org.apache.jackrabbit.oak.stats.Clock should extend from java.time.Clock
> 
>
> Key: OAK-8743
> URL: https://issues.apache.org/jira/browse/OAK-8743
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core-spi
>Reporter: Julian Reschke
>Priority: Minor
> Fix For: 1.22.0
>
> Attachments: OAK-8743.diff
>
>
> Why?
> - simple
> - might make it more versatile
> - avoid surprises if we find out later that we need it and have become 
> incompatible in the meantime



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-8743) org.apache.jackrabbit.oak.stats.Clock should extend from java.time.Clock

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980175#comment-16980175
 ] 

Julian Reschke commented on OAK-8743:
-

trunk: [r1870162|http://svn.apache.org/r1870162]

> org.apache.jackrabbit.oak.stats.Clock should extend from java.time.Clock
> 
>
> Key: OAK-8743
> URL: https://issues.apache.org/jira/browse/OAK-8743
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core-spi
>Reporter: Julian Reschke
>Priority: Minor
> Fix For: 1.22.0
>
> Attachments: OAK-8743.diff
>
>
> Why?
> - simple
> - might make it more versatile
> - avoid surprises if we find out later that we need it and have become 
> incompatible in the meantime



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (OAK-8743) org.apache.jackrabbit.oak.stats.Clock should extend from java.time.Clock

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968326#comment-16968326
 ] 

Julian Reschke edited comment on OAK-8743 at 11/22/19 1:56 PM:
---

Scheduling for after 1.20.0, as this affects the API and would be tricky to 
remove again.


was (Author: reschke):
Scheduling for after 1.20.0, as this affects the API and would back tricky to 
remove again.

> org.apache.jackrabbit.oak.stats.Clock should extend from java.time.Clock
> 
>
> Key: OAK-8743
> URL: https://issues.apache.org/jira/browse/OAK-8743
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core-spi
>Reporter: Julian Reschke
>Priority: Minor
> Fix For: 1.22.0
>
> Attachments: OAK-8743.diff
>
>
> Why?
> - simple
> - might make it more versatile
> - avoid surprises if we find out later that we need it and have become 
> incompatible in the meantime



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-8782) enable coverage checks for oak-core-spi

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980127#comment-16980127
 ] 

Julian Reschke commented on OAK-8782:
-

trunk: [r1870161|http://svn.apache.org/r1870161]

> enable coverage checks for oak-core-spi
> ---
>
> Key: OAK-8782
> URL: https://issues.apache.org/jira/browse/OAK-8782
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core-spi
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_10
> Fix For: 1.22.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8782) enable coverage checks for oak-core-spi

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8782.
-
Resolution: Fixed

> enable coverage checks for oak-core-spi
> ---
>
> Key: OAK-8782
> URL: https://issues.apache.org/jira/browse/OAK-8782
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core-spi
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.22.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8782) enable coverage checks for oak-core-spi

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8782:

Labels: candidate_oak_1_10  (was: )

> enable coverage checks for oak-core-spi
> ---
>
> Key: OAK-8782
> URL: https://issues.apache.org/jira/browse/OAK-8782
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core-spi
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_10
> Fix For: 1.22.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (OAK-8782) enable coverage checks for oak-core-spi

2019-11-22 Thread Julian Reschke (Jira)
Julian Reschke created OAK-8782:
---

 Summary: enable coverage checks for oak-core-spi
 Key: OAK-8782
 URL: https://issues.apache.org/jira/browse/OAK-8782
 Project: Jackrabbit Oak
  Issue Type: Task
  Components: core-spi
Reporter: Julian Reschke
Assignee: Julian Reschke
 Fix For: 1.22.0






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8661) deprecate public LazyInputStream(ByteSource byteSource)

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8661:

Labels:   (was: candidate_oak_1_10)

> deprecate public LazyInputStream(ByteSource byteSource)
> ---
>
> Key: OAK-8661
> URL: https://issues.apache.org/jira/browse/OAK-8661
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: commons
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.20.0
>
> Attachments: OAK-8661.diff
>
>
> - add constructor "Supplier
> - add test coverage
> - adjust uses 
> - log calls to old constructor



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (OAK-8680) logging config missing in oak-commons tests

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980065#comment-16980065
 ] 

Julian Reschke edited comment on OAK-8680 at 11/22/19 11:09 AM:


trunk: (1.20.0) [r1868078|http://svn.apache.org/r1868078]
1.10: [r1870155|http://svn.apache.org/r1870155]


was (Author: reschke):
trunk: (1.20.0) [r1868078|http://svn.apache.org/r1868078]

> logging config missing in oak-commons tests
> ---
>
> Key: OAK-8680
> URL: https://issues.apache.org/jira/browse/OAK-8680
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: commons
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.20.0, 1.10.7
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8680) logging config missing in oak-commons tests

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8680:

Labels: candidate_oak_1_8  (was: candidate_oak_1_10)

> logging config missing in oak-commons tests
> ---
>
> Key: OAK-8680
> URL: https://issues.apache.org/jira/browse/OAK-8680
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: commons
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.20.0, 1.10.7
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8680) logging config missing in oak-commons tests

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8680:

Fix Version/s: 1.10.7

> logging config missing in oak-commons tests
> ---
>
> Key: OAK-8680
> URL: https://issues.apache.org/jira/browse/OAK-8680
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: commons
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_10
> Fix For: 1.20.0, 1.10.7
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-8680) logging config missing in oak-commons tests

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980065#comment-16980065
 ] 

Julian Reschke commented on OAK-8680:
-

trunk: (1.20.0) [r1868078|http://svn.apache.org/r1868078]

> logging config missing in oak-commons tests
> ---
>
> Key: OAK-8680
> URL: https://issues.apache.org/jira/browse/OAK-8680
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: commons
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_10
> Fix For: 1.20.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-8691) Incorrect base state from node builder

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980064#comment-16980064
 ] 

Julian Reschke commented on OAK-8691:
-

trunk: (1.20.0) [r1868708|http://svn.apache.org/r1868708] 
[r1868247|http://svn.apache.org/r1868247]
1.10: [r1870154|http://svn.apache.org/r1870154] (1.10.6) 
[r1868249|http://svn.apache.org/r1868249]
1.8: [r1868255|http://svn.apache.org/r1868255] 
[r1868250|http://svn.apache.org/r1868250]
1.6: [r1868256|http://svn.apache.org/r1868256] 
[r1868251|http://svn.apache.org/r1868251]
1.4: [r1868257|http://svn.apache.org/r1868257] 
[r1868252|http://svn.apache.org/r1868252]
1.2: [r1868258|http://svn.apache.org/r1868258] 
[r1868253|http://svn.apache.org/r1868253]
1.0: [r1868259|http://svn.apache.org/r1868259] 
[r1868254|http://svn.apache.org/r1868254]


> Incorrect base state from node builder
> --
>
> Key: OAK-8691
> URL: https://issues.apache.org/jira/browse/OAK-8691
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: documentmk
>Affects Versions: 1.10.0, 1.12.0, 1.14.0, 1.16.0, 1.18.0
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Major
> Fix For: 1.20.0, 1.10.7
>
>
> The following sequence will give an incorrect base state:
> {noformat}
> NodeState s1 = ...;
> NodeBuilder b1 = s1.builder();
> b1.child("foo");
> NodeState s2 = b1.getNodeState();
> NodeBuilder b2 = s2.builder();
> NodeState base = b2.getBaseState();
> {noformat}
> The NodeState {{base}} should reflect {{s2}}, but instead is equal to {{s1}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8691) Incorrect base state from node builder

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8691:

Fix Version/s: 1.10.7

> Incorrect base state from node builder
> --
>
> Key: OAK-8691
> URL: https://issues.apache.org/jira/browse/OAK-8691
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: documentmk
>Affects Versions: 1.10.0, 1.12.0, 1.14.0, 1.16.0, 1.18.0
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Major
>  Labels: candidate_oak_1_10
> Fix For: 1.20.0, 1.10.7
>
>
> The following sequence will give an incorrect base state:
> {noformat}
> NodeState s1 = ...;
> NodeBuilder b1 = s1.builder();
> b1.child("foo");
> NodeState s2 = b1.getNodeState();
> NodeBuilder b2 = s2.builder();
> NodeState base = b2.getBaseState();
> {noformat}
> The NodeState {{base}} should reflect {{s2}}, but instead is equal to {{s1}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8691) Incorrect base state from node builder

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8691:

Labels:   (was: candidate_oak_1_10)

> Incorrect base state from node builder
> --
>
> Key: OAK-8691
> URL: https://issues.apache.org/jira/browse/OAK-8691
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: documentmk
>Affects Versions: 1.10.0, 1.12.0, 1.14.0, 1.16.0, 1.18.0
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Major
> Fix For: 1.20.0, 1.10.7
>
>
> The following sequence will give an incorrect base state:
> {noformat}
> NodeState s1 = ...;
> NodeBuilder b1 = s1.builder();
> b1.child("foo");
> NodeState s2 = b1.getNodeState();
> NodeBuilder b2 = s2.builder();
> NodeState base = b2.getBaseState();
> {noformat}
> The NodeState {{base}} should reflect {{s2}}, but instead is equal to {{s1}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (OAK-8731) Can oak support big data? Billions of nodes

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-8731.
-
Resolution: Invalid

> Can oak support big data? Billions of nodes
> ---
>
> Key: OAK-8731
> URL: https://issues.apache.org/jira/browse/OAK-8731
> Project: Jackrabbit Oak
>  Issue Type: Wish
>Reporter: zhouxu
>Priority: Blocker
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8731) Can oak support big data? Billions of nodes

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8731:

Component/s: (was: 1.14)

> Can oak support big data? Billions of nodes
> ---
>
> Key: OAK-8731
> URL: https://issues.apache.org/jira/browse/OAK-8731
> Project: Jackrabbit Oak
>  Issue Type: Wish
>Reporter: zhouxu
>Priority: Blocker
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8770) Can't get FacetResult

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8770:

Summary: Can't get FacetResult  (was: Can't get fectresult)

> Can't get FacetResult
> -
>
> Key: OAK-8770
> URL: https://issues.apache.org/jira/browse/OAK-8770
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: solr
>Affects Versions: 1.14.0
>Reporter: zhouxu
>Priority: Minor
>
> Hello expert!
>     I cannot get FectResult with solr,my code as follow,I debug the 
> "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get 
> the returned fect result from solr 
> response(queryResponse.getFacetFields()).This question has puzzled me for 
> many days。
>     can anyone tell me:How the solr fect data  enters into the fectresult?
>     1.get fectresult code:
>      String sql = "select [jcr:path] ,[jcr:primaryType] ,      
> [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double
>  from da_document where      contains([jcr:primaryType],'da_document') order 
> by da_long asc";
>     Query q = qm.createQuery(sql2, Query.JCR_SQL2);
>      QueryResult result = q.execute();
>      FacetResult facetResult = new FacetResult(result);
>      Set dimensions = facetResult.getDimensions(); // \{ "tags" }
>      List facets = facetResult.getFacets("tags");
>      for (FacetResult.Facet facet : facets)
> {        String label = facet.getLabel();        int count = 
> facet.getCount();    }
> 2.SolrQueryIndex code:
>     List returnedFieldFacet = queryResponse.getFacetFields();



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OAK-8757) oak with solr index query problem

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980062#comment-16980062
 ] 

Julian Reschke commented on OAK-8757:
-

Please provide a test case.

> oak with solr index query problem
> -
>
> Key: OAK-8757
> URL: https://issues.apache.org/jira/browse/OAK-8757
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: solr
>Affects Versions: 1.14.0
>Reporter: zhouxu
>Priority: Minor
>
> hello expert:
>    we use solr for query engine,When the where clause is set, SQL2 is 
> converted to Solr syntax error, and the field is not converted to the saved 
> field in Solr. For example: the field da_title in oak is not converted to the 
> field da_title_string_sort in Solr for query.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8770) Can't get fectresult

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8770:

Component/s: (was: 1.14)
 solr

> Can't get fectresult
> 
>
> Key: OAK-8770
> URL: https://issues.apache.org/jira/browse/OAK-8770
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: solr
>Affects Versions: 1.14.0
>Reporter: zhouxu
>Priority: Minor
>
> Hello expert!
>     I cannot get FectResult with solr,my code as follow,I debug the 
> "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get 
> the returned fect result from solr 
> response(queryResponse.getFacetFields()).This question has puzzled me for 
> many days。
>     can anyone tell me:How the solr fect data  enters into the fectresult?
>     1.get fectresult code:
>      String sql = "select [jcr:path] ,[jcr:primaryType] ,      
> [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double
>  from da_document where      contains([jcr:primaryType],'da_document') order 
> by da_long asc";
>     Query q = qm.createQuery(sql2, Query.JCR_SQL2);
>      QueryResult result = q.execute();
>      FacetResult facetResult = new FacetResult(result);
>      Set dimensions = facetResult.getDimensions(); // \{ "tags" }
>      List facets = facetResult.getFacets("tags");
>      for (FacetResult.Facet facet : facets)
> {        String label = facet.getLabel();        int count = 
> facet.getCount();    }
> 2.SolrQueryIndex code:
>     List returnedFieldFacet = queryResponse.getFacetFields();



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8770) Can't get fectresult

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8770:

Priority: Minor  (was: Blocker)

> Can't get fectresult
> 
>
> Key: OAK-8770
> URL: https://issues.apache.org/jira/browse/OAK-8770
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: 1.14
>Affects Versions: 1.14.0
>Reporter: zhouxu
>Priority: Minor
>
> Hello expert!
>     I cannot get FectResult with solr,my code as follow,I debug the 
> "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get 
> the returned fect result from solr 
> response(queryResponse.getFacetFields()).This question has puzzled me for 
> many days。
>     can anyone tell me:How the solr fect data  enters into the fectresult?
>     1.get fectresult code:
>      String sql = "select [jcr:path] ,[jcr:primaryType] ,      
> [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double
>  from da_document where      contains([jcr:primaryType],'da_document') order 
> by da_long asc";
>     Query q = qm.createQuery(sql2, Query.JCR_SQL2);
>      QueryResult result = q.execute();
>      FacetResult facetResult = new FacetResult(result);
>      Set dimensions = facetResult.getDimensions(); // \{ "tags" }
>      List facets = facetResult.getFacets("tags");
>      for (FacetResult.Facet facet : facets)
> {        String label = facet.getLabel();        int count = 
> facet.getCount();    }
> 2.SolrQueryIndex code:
>     List returnedFieldFacet = queryResponse.getFacetFields();



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8757) oak with solr index query problem

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8757:

Priority: Minor  (was: Blocker)

> oak with solr index query problem
> -
>
> Key: OAK-8757
> URL: https://issues.apache.org/jira/browse/OAK-8757
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: solr
>Affects Versions: 1.14.0
>Reporter: zhouxu
>Priority: Minor
>
> hello expert:
>    we use solr for query engine,When the where clause is set, SQL2 is 
> converted to Solr syntax error, and the field is not converted to the saved 
> field in Solr. For example: the field da_title in oak is not converted to the 
> field da_title_string_sort in Solr for query.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (OAK-8694) state time of start of LeaseFailure in exception/log entry

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961708#comment-16961708
 ] 

Julian Reschke edited comment on OAK-8694 at 11/22/19 9:55 AM:
---

trunk: (1.20.0) [r1869093|http://svn.apache.org/r1869093]
1.10: [r1870151|http://svn.apache.org/r1870151]



was (Author: reschke):
trunk: [r1869093|http://svn.apache.org/r1869093]

> state time of start of LeaseFailure in exception/log entry
> --
>
> Key: OAK-8694
> URL: https://issues.apache.org/jira/browse/OAK-8694
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.20.0, 1.10.7
>
> Attachments: OAK-8694.diff
>
>
> ...this would make it easier to find the relevant part in the system log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8694) state time of start of LeaseFailure in exception/log entry

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8694:

Fix Version/s: 1.10.7

> state time of start of LeaseFailure in exception/log entry
> --
>
> Key: OAK-8694
> URL: https://issues.apache.org/jira/browse/OAK-8694
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_10
> Fix For: 1.20.0, 1.10.7
>
> Attachments: OAK-8694.diff
>
>
> ...this would make it easier to find the relevant part in the system log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8694) state time of start of LeaseFailure in exception/log entry

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8694:

Labels: candidate_oak_1_8  (was: candidate_oak_1_10)

> state time of start of LeaseFailure in exception/log entry
> --
>
> Key: OAK-8694
> URL: https://issues.apache.org/jira/browse/OAK-8694
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.20.0, 1.10.7
>
> Attachments: OAK-8694.diff
>
>
> ...this would make it easier to find the relevant part in the system log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (OAK-8764) RDBDocumentStore: avoid potential dangerous use of addAll(entrySet) in logging code

2019-11-22 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973471#comment-16973471
 ] 

Julian Reschke edited comment on OAK-8764 at 11/22/19 8:14 AM:
---

trunk: (1.20.0) [r1869748|http://svn.apache.org/r1869748]
1.10: [r1870140|http://svn.apache.org/r1870140]



was (Author: reschke):
trunk: [r1869748|http://svn.apache.org/r1869748]

> RDBDocumentStore: avoid potential dangerous use of addAll(entrySet) in 
> logging code
> ---
>
> Key: OAK-8764
> URL: https://issues.apache.org/jira/browse/OAK-8764
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.20.0, 1.10.7
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8764) RDBDocumentStore: avoid potential dangerous use of addAll(entrySet) in logging code

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8764:

Labels: candidate_oak_1_8  (was: candidate_oak_1_10)

> RDBDocumentStore: avoid potential dangerous use of addAll(entrySet) in 
> logging code
> ---
>
> Key: OAK-8764
> URL: https://issues.apache.org/jira/browse/OAK-8764
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.20.0, 1.10.7
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OAK-8764) RDBDocumentStore: avoid potential dangerous use of addAll(entrySet) in logging code

2019-11-22 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-8764:

Fix Version/s: 1.10.7

> RDBDocumentStore: avoid potential dangerous use of addAll(entrySet) in 
> logging code
> ---
>
> Key: OAK-8764
> URL: https://issues.apache.org/jira/browse/OAK-8764
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_10
> Fix For: 1.20.0, 1.10.7
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)