Re: [VOTE] Release Apache Jackrabbit Oak 1.8.11

2019-01-14 Thread Amit Jain
+1 Release this package as Apache Jackrabbit Oak 1.8.11

Thanks
Amit

On Mon, Jan 14, 2019 at 9:49 PM Julian Reschke  wrote:

> A candidate for the Jackrabbit Oak 1.8.11 release is available at:
>
>  https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.8.11/
>
> The release candidate is a zip archive of the sources in:
>
>
> https://svn.apache.org/repos/asf/jackrabbit/oak/tags/jackrabbit-oak-1.8.11/
>
> The SHA1 checksum of the archive is
> 134c57cc1a818da69c191bacc235e2f742a2.
>
> A staged Maven repository is available for review at:
>
>  https://repository.apache.org/
>
> The command for running automated checks against this release candidate is:
>
>  # run in SVN checkout of
> https://dist.apache.org/repos/dist/dev/jackrabbit
>  $ sh check-release.sh oak 1.8.11
> 134c57cc1a818da69c191bacc235e2f742a2
>
> Please vote on releasing this package as Apache Jackrabbit Oak 1.8.11.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.
>
>  [ ] +1 Release this package as Apache Jackrabbit Oak 1.8.11
>  [ ] -1 Do not release this package because...
>
> Best regards, Julian
>


Re: Configurable asyncDelay on DocumentMK.Builder

2019-01-14 Thread Marcel Reutegger
Hi Gabriela,

On 14.01.19, 17:23, "Gabriela Matias Navarro"  wrote:
> I'm working on a project and we are using Oak version 1.6.11 . We are
> trying to tune Oak and one of the things we would like to change is the
> asyncDelay from
> org.apache.jackrabbit.oak.plugins.document.DocumentMK.Builder . This
> property has a 1 second value hard coded. I was wondering if there is a
> reason for that and if it's possible to make it configurable on Oak
> itself.

There is a setter method on the builder that allows you to customize the async 
delay:
https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.6.11/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentMK.java#L925

Regards
 Marcel



Re: [VOTE] Release Apache Jackrabbit Oak 1.8.11

2019-01-14 Thread Woonsan Ko
[X] +1 Release this package as Apache Jackrabbit Oak 1.8.11

[INFO] 
[INFO] Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-04T04:39:06+09:00)
[INFO] OS name: "mac os x", version: "10.14.2", arch: "x86_64", family: "mac"
[INFO] Java version: 1.8.0_144, vendor: Oracle Corporation
[INFO] MAVEN_OPTS:
[INFO] 
[INFO] ALL CHECKS OK

Thanks!

Woonsan

On Tue, Jan 15, 2019 at 1:19 AM Julian Reschke  wrote:
>
> A candidate for the Jackrabbit Oak 1.8.11 release is available at:
>
>  https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.8.11/
>
> The release candidate is a zip archive of the sources in:
>
>
> https://svn.apache.org/repos/asf/jackrabbit/oak/tags/jackrabbit-oak-1.8.11/
>
> The SHA1 checksum of the archive is
> 134c57cc1a818da69c191bacc235e2f742a2.
>
> A staged Maven repository is available for review at:
>
>  https://repository.apache.org/
>
> The command for running automated checks against this release candidate is:
>
>  # run in SVN checkout of
> https://dist.apache.org/repos/dist/dev/jackrabbit
>  $ sh check-release.sh oak 1.8.11
> 134c57cc1a818da69c191bacc235e2f742a2
>
> Please vote on releasing this package as Apache Jackrabbit Oak 1.8.11.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.
>
>  [ ] +1 Release this package as Apache Jackrabbit Oak 1.8.11
>  [ ] -1 Do not release this package because...
>
> Best regards, Julian


Re: [VOTE] Release Apache Jackrabbit Oak 1.8.11

2019-01-14 Thread Matt Ryan
On Mon, Jan 14, 2019 at 9:19 AM Julian Reschke  wrote:

> Please vote on releasing this package as Apache Jackrabbit Oak 1.8.11.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.
>
>  [X] +1 Release this package as Apache Jackrabbit Oak 1.8.11

 [ ] -1 Do not release this package because...
>
>
Where:

[INFO] Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
[INFO] OS name: "mac os x", version: "10.14.2", arch: "x86_64", family:
"mac"
[INFO] Java version: 1.8.0_77, vendor: Oracle Corporation, runtime:
/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/jre
[INFO] MAVEN_OPTS:
[INFO]

[INFO] ALL CHECKS OK

-MR


Re: [VOTE] Release Apache Jackrabbit Oak 1.6.16 (take 2)

2019-01-14 Thread Matt Ryan
On Fri, Jan 11, 2019 at 3:51 PM Davide Giannella  wrote:

> Please vote on releasing this package as Apache Jackrabbit Oak 1.6.16.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.
>
> [X] +1 Release this package as Apache Jackrabbit Oak 1.6.16
> [ ] -1 Do not release this package because...
>

Where:

[INFO] Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
[INFO] OS name: "mac os x", version: "10.14.2", arch: "x86_64", family:
"mac"
[INFO] Java version: 1.8.0_77, vendor: Oracle Corporation, runtime:
/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/jre
[INFO] MAVEN_OPTS:
[INFO]

[INFO] ALL CHECKS OK


-MR


Re: [VOTE] Release Apache Jackrabbit Oak 1.10.0 (take 2)

2019-01-14 Thread Matt Ryan
On Fri, Jan 11, 2019 at 6:40 PM Davide Giannella  wrote:

> Please vote on releasing this package as Apache Jackrabbit Oak 1.10.0.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.
>
> [X] +1 Release this package as Apache Jackrabbit Oak 1.10.0
> [ ] -1 Do not release this package because...
>
>
Where:

[INFO]

[INFO] Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
[INFO] OS name: "mac os x", version: "10.14.2", arch: "x86_64", family:
"mac"
[INFO] Java version: 1.8.0_77, vendor: Oracle Corporation, runtime:
/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/jre
[INFO] MAVEN_OPTS:
[INFO]

[INFO] ALL CHECKS OK


Re: [VOTE] Release Apache Jackrabbit Oak 1.8.11

2019-01-14 Thread Julian Reschke

On 2019-01-14 17:19, Julian Reschke wrote:

...


[X] +1 Release this package as Apache Jackrabbit Oak 1.8.11

...where...


[INFO] Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 
2017-10-18T09:58:13+02:00)
[INFO] OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[INFO] Java version: 1.8.0_192, vendor: Oracle Corporation


Best regards, Julian


Configurable asyncDelay on DocumentMK.Builder

2019-01-14 Thread Gabriela Matias Navarro
Hi,

I'm working on a project and we are using Oak version 1.6.11 . We are
trying to tune Oak and one of the things we would like to change is the
asyncDelay from org.apache.jackrabbit.oak.plugins.document.DocumentMK.Builder
. This property has a 1 second value hard coded. I was wondering if there
is a reason for that and if it's possible to make it configurable on Oak
itself.

One approach we are trying to do is have our own class for the Builder and
overwrite that value, but I would like to see if there is a reason for that
hard coded value before I do that change.

Thanks,
Gabriela


[VOTE] Release Apache Jackrabbit Oak 1.8.11

2019-01-14 Thread Julian Reschke

A candidate for the Jackrabbit Oak 1.8.11 release is available at:

https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.8.11/

The release candidate is a zip archive of the sources in:


https://svn.apache.org/repos/asf/jackrabbit/oak/tags/jackrabbit-oak-1.8.11/

The SHA1 checksum of the archive is 
134c57cc1a818da69c191bacc235e2f742a2.


A staged Maven repository is available for review at:

https://repository.apache.org/

The command for running automated checks against this release candidate is:

# run in SVN checkout of 
https://dist.apache.org/repos/dist/dev/jackrabbit
$ sh check-release.sh oak 1.8.11 
134c57cc1a818da69c191bacc235e2f742a2


Please vote on releasing this package as Apache Jackrabbit Oak 1.8.11.
The vote is open for the next 72 hours and passes if a majority of at
least three +1 Jackrabbit PMC votes are cast.

[ ] +1 Release this package as Apache Jackrabbit Oak 1.8.11
[ ] -1 Do not release this package because...

Best regards, Julian


Re: [VOTE] Release Apache Jackrabbit Oak 1.10.0 (take 2)

2019-01-14 Thread Davide Giannella
+1 Release this package as Apache Jackrabbit Oak 1.10.0
D.


Re: [VOTE] Release Apache Jackrabbit Oak 1.6.16 (take 2)

2019-01-14 Thread Davide Giannella
+1 Release this package as Apache Jackrabbit Oak 1.6.16
D.


Re: [VOTE] Release Apache Jackrabbit Oak 1.6.16 (take 2)

2019-01-14 Thread Woonsan Ko
[X] +1 Release this package as Apache Jackrabbit Oak 1.6.16

[INFO] 
[INFO] Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-04T04:39:06+09:00)
[INFO] OS name: "mac os x", version: "10.14.2", arch: "x86_64", family: "mac"
[INFO] Java version: 1.8.0_144, vendor: Oracle Corporation
[INFO] MAVEN_OPTS:
[INFO] 
[INFO] ALL CHECKS OK

Regards,

Woonsan


On Sat, Jan 12, 2019 at 7:51 AM Davide Giannella  wrote:
>
> A candidate for the Jackrabbit Oak 1.6.16 release is available at:
>
> https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.6.16/
>
> The release candidate is a zip archive of the sources in:
>
>
> https://svn.apache.org/repos/asf/jackrabbit/oak/tags/jackrabbit-oak-1.6.16/
>
> The SHA1 checksum of the archive is
> 97158c70e42ac23affc09cb6cf181765db621edd.
>
> A staged Maven repository is available for review at:
>
> https://repository.apache.org/
>
> The command for running automated checks against this release candidate is:
>
> # run in SVN checkout of
> https://dist.apache.org/repos/dist/dev/jackrabbit
> $ sh check-release.sh oak 1.6.16
> 97158c70e42ac23affc09cb6cf181765db621edd
>
> Please vote on releasing this package as Apache Jackrabbit Oak 1.6.16.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.
>
> [ ] +1 Release this package as Apache Jackrabbit Oak 1.6.16
> [ ] -1 Do not release this package because...
>
> D.


Oak versioning restore issue for leaf custom nodes

2019-01-14 Thread Vivek Kamble
I have been trying versioning  and restore of tree, As Seen in attached
picture i have following hierarchy of node.

 Please refer attached image

Root Node

|

 Custom Child node of Type nt:folder, mix:versionable

|

Child Node of nt:folder Type

|

Custome Childe Node of nt:file type, mix:versionable



Im able to perform versiong of node, in following way

Step 1:

I checkout custome child node,

get node of nt:folder type

get node of custom childe node of nt:file type, set new content of file
type.



above operation is sucessfull, i can see and get new content from versioned
file,



Now in Step 2 I want to do restore to version 1.0 and whole hierarchy to be
set to 1.0

below is code for that,



final VersionManager versionManager =
session.getWorkspace().getVersionManager();

final Node node = session.getRootNode().getNode(Custom Child node
of Type nt:folder);  //Get the custom folder node

final VersionHistory verHis =
versionManager.getVersionHistory(node.getPath());

final VersionIterator verItr = verHis.getAllVersions();

while (verItr.hasNext()) {

   final Version version = verItr.nextVersion();

   if(versionLabel.equals(version.getName())){

   log.info("Restoring Version : "+versionLabel);

   log.info(version.getFrozenNode().getPath());

   versionManager.restore(version, true);

   return;

   }



}





On Restore it fails with following
exception for Custom File Node at leaves  :






javax.jcr.nodetype.ConstraintViolationException: No matching node
definition found for Custome File Name.go.xml

at
org.apache.jackrabbit.oak.plugins.nodetype.EffectiveNodeTypeImpl.getNodeDefinition(EffectiveNodeTypeImpl.java:454)

at
org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getDefinition(ReadOnlyNodeTypeManager.java:396)

at
org.apache.jackrabbit.oak.plugins.version.VersionableState.getOPV(VersionableState.java:569)

at
org.apache.jackrabbit.oak.plugins.version.VersionableState.restoreChildren(VersionableState.java:396)

at
org.apache.jackrabbit.oak.plugins.version.VersionableState.restoreFrozen(VersionableState.java:319)

at
org.apache.jackrabbit.oak.plugins.version.VersionableState.restoreState(VersionableState.java:261)

at
org.apache.jackrabbit.oak.plugins.version.VersionableState.restoreChildren(VersionableState.java:402)

at
org.apache.jackrabbit.oak.plugins.version.VersionableState.restoreFrozen(VersionableState.java:319)

at
org.apache.jackrabbit.oak.plugins.version.VersionableState.restore(VersionableState.java:229)

... 73 common frames omitted



Any help will be great..

Thanks


Re: [VOTE] Release Apache Jackrabbit Oak 1.10.0 (take 2)

2019-01-14 Thread Woonsan Ko
[X] +1 Release this package as Apache Jackrabbit Oak 1.10.0

[INFO] 
[INFO] Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-04T04:39:06+09:00)
[INFO] OS name: "mac os x", version: "10.14.2", arch: "x86_64", family: "mac"
[INFO] Java version: 1.8.0_144, vendor: Oracle Corporation
[INFO] MAVEN_OPTS:
[INFO] 
[INFO] ALL CHECKS OK

Regards,

Woonsan

On Sat, Jan 12, 2019 at 10:40 AM Davide Giannella  wrote:
>
>
>
> A candidate for the Jackrabbit Oak 1.10.0 release is available at:
>
> https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.10.0/
>
> The release candidate is a zip archive of the sources in:
>
>
> https://svn.apache.org/repos/asf/jackrabbit/oak/tags/jackrabbit-oak-1.10.0/
>
> The SHA1 checksum of the archive is
> 1d30c06470347ef778d5a2694b28a01aad840627.
>
> A staged Maven repository is available for review at:
>
> https://repository.apache.org/
>
> The command for running automated checks against this release candidate is:
>
> # run in SVN checkout of
> https://dist.apache.org/repos/dist/dev/jackrabbit
> $ sh check-release.sh oak 1.10.0
> 1d30c06470347ef778d5a2694b28a01aad840627
>
> Please vote on releasing this package as Apache Jackrabbit Oak 1.10.0.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.
>
> [ ] +1 Release this package as Apache Jackrabbit Oak 1.10.0
> [ ] -1 Do not release this package because...
> D.


Re: [VOTE] Release Apache Jackrabbit Oak 1.10.0 (take 2)

2019-01-14 Thread Julian Reschke

On 2019-01-12 02:40, Davide Giannella wrote:

...


[X] +1 Release this package as Apache Jackrabbit Oak 1.10.0

...where...


[INFO] Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 
2017-10-18T09:58:13+02:00)
[INFO] OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[INFO] Java version: 1.8.0_192, vendor: Oracle Corporation
[INFO] MAVEN_OPTS:


Best regards, Julian


Re: Oak 1.8.11 release plan

2019-01-14 Thread Julian Reschke

On 2019-01-10 18:01, Davide Giannella wrote:

Hello team,

I'm planning to cut Oak on Monday 14th Jan.

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

Thanks
Davide


I'll take over the release and will try to cut it later today.

The list of open issues scheduled for 1.8.11 is empty:

https://issues.apache.org/jira/issues/?jql=fixVersion%20%3D%201.8.11%20AND%20project%20%3D%20OAK%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC

The candidate release notes are here:

https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.8/RELEASE-NOTES.txt

If there are any objections please let me know.

Best regards, Julian




Re: [VOTE] Release Apache Jackrabbit Oak 1.6.16 (take 2)

2019-01-14 Thread Julian Reschke

On 2019-01-11 23:51, Davide Giannella wrote:

...


[X] +1 Release this package as Apache Jackrabbit Oak 1.6.16

...where...


[INFO] Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 
2017-10-18T09:58:13+02:00)
[INFO] OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[INFO] Java version: 1.8.0_192, vendor: Oracle Corporation
[INFO] MAVEN_OPTS: -Xms256m -Xmx1024m


Best regards, Julian


Re: [VOTE] Release Apache Jackrabbit Oak 1.10.0 (take 2)

2019-01-14 Thread Marcel Reutegger
Hi,

On 12.01.19, 02:40, "Davide Giannella"  wrote:
> Please vote on releasing this package as Apache Jackrabbit Oak 1.10.0.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 Jackrabbit PMC votes are cast.

All checks OK.

+1 Release this package as Apache Jackrabbit Oak 1.10.0

Regards
 Marcel