Re: svn commit: r1629643 - /jackrabbit/oak/trunk/oak-run/README.md

2014-10-06 Thread Chetan Mehrotra
HI Michael, On Mon, Oct 6, 2014 at 6:44 PM, mdue...@apache.org wrote: +* upgrade : Upgrade from Jackrabbit 2 upgrade mode is only supported in oak-run-jr2 jar (as that only packages JR2 classes) and is documented there [1] Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak

Re: Command line tools documentation

2014-10-06 Thread Chetan Mehrotra
Hi Thomas, Command line tool options are documented at the readme in oak-run folder. See [1]. Or you are looking for something else? Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-run#oak-runnable-jar On Mon, Oct 6, 2014 at 7:13 PM, Thomas Mueller muel

Re: svn commit: r1627052 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java test/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdateTest.j

2014-09-24 Thread Chetan Mehrotra
for storage of index nodes and then remove only those nodes Chetan Mehrotra

Re: AggregateIndex and AdvanceQueryIndex

2014-09-23 Thread Chetan Mehrotra
forward in OAK-2005. Note that initial plan was to 1. Have current LuceneIndex moved to AdvanceQueryIndex 2. Then branch off the impl and make a new copy which has changes done for Property index support Chetan Mehrotra

AggregateIndex and AdvanceQueryIndex

2014-09-22 Thread Chetan Mehrotra
queries which involve property restrictions. With this existing logic would not be modified and we can move ahead with Lucene based property index. Later once we unify them we can tackle this issue Chetan Mehrotra

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.6

2014-09-22 Thread Chetan Mehrotra
+1 Chetan Mehrotra On Mon, Sep 22, 2014 at 8:55 PM, Michael Dürig mdue...@apache.org wrote: On 22.9.14 6:13 , Amit Jain wrote: [X] +1 Release this package as Apache Jackrabbit Oak 1.0.6 Michael

Checkpoint might not get cleaned up in case of abrupt shutdown and thus stop GC for 3 years!

2014-09-10 Thread Chetan Mehrotra
where a new checkpoint gets created (Line 229) then that checkpoint would not be released and also would not be recorded in index metadata. Such a checkpoint would prevent GC for a long time. Is that understanding correct? Chetan Mehrotra

Re: Checkpoint might not get cleaned up in case of abrupt shutdown and thus stop GC for 3 years!

2014-09-10 Thread Chetan Mehrotra
properly. Yes thats the case I was referring to Let's continue the investigation on OAK-2087. This issue is different from OAK-2087 as that is only meant for informational purpose. Opened OAK-2088 for this issue and would followup there Chetan Mehrotra

Re: buildbot failure in ASF Buildbot on oak-trunk

2014-09-09 Thread Chetan Mehrotra
) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Chetan Mehrotra On Tue, Sep 9, 2014 at 11:27 AM, build...@apache.org wrote: The Buildbot has detected a new failure on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds

Re: Using BlobStore by default with SegmentNodeStore

2014-09-09 Thread Chetan Mehrotra
I have updated OAK-2082 with test run results. Looking at the result I think FDS does provide a benefit in terms of lesser storage space. Putting Lucene index on file system provides best storage efficiency but then it would not work once we have TarMK failover implemented. Chetan Mehrotra

Using BlobStore by default with SegmentNodeStore

2014-09-04 Thread Chetan Mehrotra
CopyOnReadDirectory support in OAK-1724 Further we also get the benefit of sharing the BlobStore between multiple instances if required!! Thoughts? Chetan Mehrotra

Re: svn commit: r1622201 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document: LastRevRecoveryAgent.java UnsavedModifications.java

2014-09-03 Thread Chetan Mehrotra
would need to add one for '{}' in log message to log the 'updates' argument. Chetan Mehrotra

Build bot for 1.0 branch

2014-08-28 Thread Chetan Mehrotra
Hi, Do we have any build bot running for 1.0 branch Chetan Mehrotra

Re: oak-run public distribution

2014-08-28 Thread Chetan Mehrotra
This was discussed earlier [1] and Jukka mentioned that there were some restriction of deployment size. I tried pushing a snapshot version sometime back and that got deploy fine. So I think we should try to deploy artifacts again Chetan Mehrotra [1] http://markmail.org/thread/ofvy3z5lyu5cw2i7

Re: New Jackrabbit committer: Amit Jain

2014-08-27 Thread Chetan Mehrotra
Welcome Amit!! Chetan Mehrotra On Wed, Aug 27, 2014 at 12:51 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: welcome Amit! Regards, Tommaso 2014-08-26 22:06 GMT+02:00 Michael Dürig mdue...@apache.org: Hi, Please welcome Amit Jain as a new committer and PMC member of the Apache

Re: [DISCUSS] supporting faceting in Oak query engine

2014-08-26 Thread Chetan Mehrotra
to expose the faceted data bound to a system path. Otherwise we would need to expose the Lucene API and OakDirectory Chetan Mehrotra On Tue, Aug 26, 2014 at 1:28 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: 2014-08-25 19:02 GMT+02:00 Lukas Smith sm...@pooteeweet.org: Aloha, Aloha

Re: JCR API implementation transparency

2014-08-25 Thread Chetan Mehrotra
On Tue, Aug 26, 2014 at 10:44 AM, Tobias Bocanegra tri...@apache.org wrote: IMO, this should work, even if the value is not a ValueImpl. In this case, it should fall back to the API methods to read the binary. +1 Chetan Mehrotra

Re: testing helper

2014-08-21 Thread Chetan Mehrotra
/classifier scopetest/scope /dependency Chetan Mehrotra On Thu, Aug 21, 2014 at 1:36 PM, Davide Giannella dav...@apache.org wrote: On 20/08/2014 10:11, Marcel Reutegger wrote: oops, you are right, that would be a bad idea. I thought this is about a production class and not a test utility. I

Re: [Document Cache Size] Is it better to have cache size using number of entries

2014-08-19 Thread Chetan Mehrotra
are exclusive. So at minimum if you can provide a patch which allows the admin to choose between the two it would allow us to experiment and later see how we can put a max cap on cache size. Chetan Mehrotra On Mon, Aug 18, 2014 at 7:55 PM, Vikas Saurabh vikas.saur...@gmail.com wrote: we can

Re: Extending the IndexPlan with custom data

2014-08-19 Thread Chetan Mehrotra
Lucene index defintions multiple LuceneIndex instances would be returned by LucenIndexProvider and each impl would return a single plan Chetan Mehrotra

Re: [Document Cache Size] Is it better to have cache size using number of entries

2014-08-19 Thread Chetan Mehrotra
if we can have a cache policy which can put up a max cap on memory taken and also allow limit of number of entries then that would give a more deterministic control on tuning the cache Chetan Mehrotra

Re: AW: Cleanup NodeStore and MK implementations (was: Re: AW: Confusions about API's and Flavours in the documentation ...)

2014-08-18 Thread Chetan Mehrotra
that this refactoring should be delayed (if that is to be done) for some time till we get more stability in the two NodeStore implementations. Chetan Mehrotra

Re: buildbot failure in ASF Buildbot on oak-trunk-win7

2014-08-12 Thread Chetan Mehrotra
(ContentRepositoryImpl.java:161) at org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:253) ... 43 more Chetan Mehrotra On Tue, Aug 12, 2014 at 1:00 PM, build...@apache.org wrote: The Buildbot has detected a new failure on builder oak-trunk-win7 while building ASF Buildbot. Full

Re: [Vote] Upgrading junit to 4.11

2014-08-05 Thread Chetan Mehrotra
be fine Chetan Mehrotra On Tue, Aug 5, 2014 at 3:40 PM, Davide Giannella dav...@apache.org wrote: Currently we use junit 4.10. By looking at the release notes of 4.11[0] there's a nice improvement on the Assume that we use, being able to provide a custom message. (0) https://github.com/junit

Re: Adding a timer in commons

2014-08-02 Thread Chetan Mehrotra
Hi Davide, Recently Ian pointed to Metrics [1] project which is related to such timing measurements. It might be helpful to use this (via a wrapper) to measure timings in critical areas in Oak. So have a look at that also Chetan Mehrotra [1] http://metrics.codahale.com/ On Sat, Aug 2, 2014

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.4

2014-08-01 Thread Chetan Mehrotra
+1 All checks ok Chetan Mehrotra On Fri, Aug 1, 2014 at 3:53 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: +1 Regards, Tommaso 2014-08-01 11:45 GMT+02:00 Thomas Mueller muel...@adobe.com: A candidate for the Jackrabbit Oak 1.0.4 release is available at: https

Re: Extending the IndexPlan with custom data

2014-07-31 Thread Chetan Mehrotra
with the suggestion of returning one plan per index. btw any plans to add hint support to force usage of specific index? Chetan Mehrotra

Re: Extending the IndexPlan with custom data

2014-07-31 Thread Chetan Mehrotra
it would be implementation specific Chetan Mehrotra

Order of property restrictions in Query Filter

2014-07-31 Thread Chetan Mehrotra
. The Boolean query created would maintain the order and might be faster if the result from first clause is small. Would it make sense to retain the order of property restrictions? Chetan Mehrotra

Re: h2 dependency still being embedded in oak-core

2014-07-30 Thread Chetan Mehrotra
This is being tracked via OAK-1708. Julian do we still require it or these can be removed now? Chetan Mehrotra On Wed, Jul 30, 2014 at 6:41 PM, Alex Parvulescu alex.parvule...@gmail.com wrote: Hi, I noticed that even if the h2 dependency is now included with a 'test' scope [0], we still

Re: buildbot failure in ASF Buildbot on oak-trunk

2014-07-18 Thread Chetan Mehrotra
was 23ms, measured granularity was 10.0ms) Chetan Mehrotra On Fri, Jul 18, 2014 at 4:34 PM, build...@apache.org wrote: The Buildbot has detected a new failure on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds/384

Avoiding intermediate saves while installing packages via File Vault

2014-07-04 Thread Chetan Mehrotra
a few calls to Item.save in vault codebase for the path taken by package installation. It might be possible to use a sub session to perform internal bookkeeping task by vault and use ther other session to save the package content and thus avoid intermediate save. Chetan Mehrotra [1] https

Re: Mongo connection in debug mode using Eclipse

2014-06-27 Thread Chetan Mehrotra
On Fri, Jun 27, 2014 at 3:42 PM, Raquel Neves raquel.ne...@alert-online.com wrote: Timed out while waiting for a server that matches AnyServerSelector Are you able to connect to Mongo via Mongo shell? Also can you try connecting with host set 127.0.0.1 Chetan Mehrotra

Re: Blob and Nodes interaction

2014-06-26 Thread Chetan Mehrotra
internal implementation details and you would have to refer to code for that. btw whats the higher level objective here. That might help us to clarify better Chetan Mehrotra On Wed, Jun 25, 2014 at 10:33 PM, Abhijit Mazumder abhijit.mazum...@gmail.com wrote: Hi, This is my first mail to Oak mailing

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.1

2014-06-17 Thread Chetan Mehrotra
: Failed with seed -255091622 at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.assertTrue(Assert.java:20) at org.apache.jackrabbit.oak.plugins.segment.CompactionMapTest.testCompactionMap(CompactionMapTest.java:89) And on running the testcase it indeed fails with that seed Chetan

Re: svn commit: r1603155 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java test/java/org/apache/jackrabbit/oak/plugins/documen

2014-06-17 Thread Chetan Mehrotra
(); +} +} +} +} + +} Interesting test approach Marcel!! Chetan Mehrotra

Re: Oak 1.0.1 release plan

2014-06-13 Thread Chetan Mehrotra
On Fri, Jun 13, 2014 at 4:47 AM, Jukka Zitting jukka.zitt...@gmail.com wrote: OAK-1645: Route find queries to Mongo secondary in MongoDocumentStore This part still needs to be tested completely so I have set the fix version now to 1.0.2 Chetan Mehrotra

Close method on NodeStore API

2014-06-13 Thread Chetan Mehrotra
Closeable 2. Have the actual implementations (i.e. SegmentNodeStore and DocumentNodeStore) implement Closeable and the close logic does an instanceof check to determine if the NodeStore has to be closed or not Which approach to take? Chetan Mehrotra

Re: oak-parent: DB2 dependency with system scope

2014-06-11 Thread Chetan Mehrotra
. OR refer to the jars (pre defined names) as part of Class-Path attribute of oak-run manifest and place the required jars in same directory. In that can you can just run the jar with java -jar Chetan Mehrotra On Wed, Jun 11, 2014 at 11:09 PM, Julian Reschke julian.resc...@gmx.de wrote: Hi, we

[jira] [Updated] (JCR-3788) S3DataStore require to set endpoint for thirdparty cloud provider (IDCF)

2014-06-10 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated JCR-3788: - Fix Version/s: (was: 2.7.5) 2.9 S3DataStore require to set endpoint

[jira] [Updated] (JCR-3788) S3DataStore require to set endpoint for thirdparty cloud provider (IDCF)

2014-06-10 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated JCR-3788: - Resolution: Fixed Assignee: Chetan Mehrotra Status: Resolved (was: Patch Available

Using PreAuthentication with Token creation

2014-06-05 Thread Chetan Mehrotra
And then access the token value from the passed credential attribute in session login call. Wanted to check if this approach is ok or it should be done in a different way? Chetan Mehrotra [1] http://jackrabbit.apache.org/oak/docs/security/authentication/preauthentication.html [2] http://svn.apache.org

Re: New Jackrabbit committer: Davide Giannella

2014-06-04 Thread Chetan Mehrotra
Welcome Davide !! Chetan Mehrotra On Wed, Jun 4, 2014 at 6:47 PM, Jukka Zitting jukka.zitt...@gmail.com wrote: Hi, Please welcome Davide Giannella as a new committer and PMC member of the Apache Jackrabbit project. The Jackrabbit PMC recently decided to offer Davide committership based

Re: Embedding Groovy in oak-run for Oak Shell (OAK-1805)

2014-05-27 Thread Chetan Mehrotra
benchmarking (possibly by including the oak-run classes only Various sub features in oak-run together do not still add much complexity and are neatly seperated via various main methods. So should be ok for now Chetan Mehrotra On Tue, May 27, 2014 at 7:17 PM, Michael Dürig mdue...@apache.org wrote

Re: Embedding Groovy in oak-run for Oak Shell (OAK-1805)

2014-05-27 Thread Chetan Mehrotra
them in OSGi would again be tricky Chetan Mehrotra On Tue, May 27, 2014 at 8:23 PM, Michael Dürig mdue...@apache.org wrote: On 27.5.14 4:48 , Jukka Zitting wrote: Hi, On Tue, May 27, 2014 at 10:36 AM, Michael Dürig mdue...@apache.org wrote: We can turn the jar in to an OSGi container

Re: Embedding Groovy in oak-run for Oak Shell (OAK-1805)

2014-05-22 Thread Chetan Mehrotra
a new module. Chetan Mehrotra

Re: My repository is not indexing PDFs, what am I missing?

2014-05-21 Thread Chetan Mehrotra
and then it should work fine Chetan Mehrotra On Wed, May 21, 2014 at 8:58 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: Hi, I'm upgrading the OakSlingRepositoryManager used for Sling tests to Oak 1.0, and it's not indexing PDFs anymore - it used to with oak 0.8. After uploading a text file

Re: How to activate a SecurityProvider

2014-05-20 Thread Chetan Mehrotra
On Tue, May 20, 2014 at 7:36 PM, Galo Gimenez galo.gime...@gmail.com wrote: I am running an old version of Felix, maybe that is the problem? Looks like you are using an old version of SCR. Try to run with more recent version of SCR. Chetan Mehrotra

Re: svn commit: r1587286 - in /jackrabbit/oak/trunk: oak-core/pom.xml oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java oak-parent/pom.xml

2014-05-19 Thread Chetan Mehrotra
For the record I have implemented a DataSource provider bundle [2] (based on above flow) as part of SLING-3574. That bundle can be used to configure a DataSource in OSGi env Chetan Mehrotra [1] https://issues.apache.org/jira/browse/SLING-3574 [2] https://github.com/chetanmeh/sling-datasource

Re: NodeStore and BlobStore configurations in OSGi

2014-05-19 Thread Chetan Mehrotra
Service Registry. If multiple BlobStore services are registered then you can possibly specify a specific one by configuring the 'blobStore.target' to the required OSGi service filter (DS 112.6 of OSGi Compedium) Chetan Mehrotra

Re: NodeStore and BlobStore configurations in OSGi

2014-05-19 Thread Chetan Mehrotra
specify a specific one by configuring the 'blobStore.target' to the required OSGi service filter (DS 112.6 of OSGi Compedium) Assuming same is true for NodeStore services. Did not get the query? btw I have update the docs at [1] (update should reflect on github in couple of hours) Chetan Mehrotra

Re: How to activate a SecurityProvider

2014-05-19 Thread Chetan Mehrotra
SecurityProvider should get registered. Do you have the Felix running with WebConsole. Whats the status of the 'org.apache.jackrabbit.oak.security.SecurityProviderImpl' Chetan Mehrotra On Sat, May 17, 2014 at 1:30 AM, Galo Gimenez galo.gime...@gmail.com wrote: Hello, I am setting up Oak

Lucene blob size different in trunk and 1.0 branch

2014-05-14 Thread Chetan Mehrotra
in 1.0 would cause upgrade issue. So should the change be reverted in trunk? Chetan Mehrotra [1] http://svn.apache.org/viewvc?view=revisionrevision=r1587430 [2] http://svn.apache.org/viewvc/jackrabbit/oak/branches/1.0/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene

Re: buildbot failure in ASF Buildbot on oak-trunk-win7

2014-05-13 Thread Chetan Mehrotra
) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Chetan Mehrotra On Tue, May 13, 2014 at 12:10 PM, build...@apache.org wrote: The Buildbot has detected a new failure on builder oak-trunk-win7 while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk-win7/builds/67

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.0

2014-05-12 Thread Chetan Mehrotra
[X] +1 Release this package as Apache Jackrabbit Oak 1.0.0 All tests passed and All checks ok. Chetan Mehrotra On Mon, May 12, 2014 at 2:15 PM, Davide Giannella giannella.dav...@gmail.com wrote: [X] +1 Release this package as Apache Jackrabbit Oak 1.0.0 Davide

Re: svn commit: r1560611 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/util/ oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/mongomk/ oak-jcr/sr

2014-05-04 Thread Chetan Mehrotra
' Chetan Mehrotra

[jira] [Updated] (JCR-3772) Local File cache is not reduced to zero size after specifying in confuguration

2014-04-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated JCR-3772: - Resolution: Fixed Assignee: Chetan Mehrotra Status: Resolved (was: Patch Available

Adding ProviderType and ConsumerType annotation to interfaces in exported packages

2014-04-24 Thread Chetan Mehrotra
into the list and set the right type Chetan Mehrotra [1] https://github.com/osgi/design/raw/master/rfcs/rfc0197/rfc-0197-OSGiPackageTypeAnnotations.pdf [2] https://issues.apache.org/jira/browse/OAK-1741?focusedCommentId=13979465#comment-13979465

Oak CI notifications not comming

2014-04-24 Thread Chetan Mehrotra
Hi, I was checking the CI status for Oak trunk and it seems build are not getting built at [1] and [2]. Do we have to enable it somehow? Chetan Mehrotra [1] https://travis-ci.org/apache/jackrabbit-oak/builds [2] http://ci.apache.org/builders/oak-trunk/

Re: plugin.document not exported in OSGi bundle

2014-04-22 Thread Chetan Mehrotra
DocumentNodeStore against NodeStore interface Chetan Mehrotra [1] http://jackrabbit.apache.org/oak/docs/osgi_config.html#DocumentNodeStore [2] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java On Tue

[jira] [Resolved] (JCR-3771) Pending async uploads fails to get uploaded on restart.

2014-04-20 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra resolved JCR-3771. -- Resolution: Fixed Assignee: Chetan Mehrotra Applied the patch in http://svn.apache.org

Review currently exported package version for 1.0 release

2014-04-17 Thread Chetan Mehrotra
and ensure they are consistent from there on. Also would helpful to review the list once i.e. if the package export is required for e.g in oak-solr-osgi exports quite abit but are probably not required. Chetan Mehrotra [1] https://issues.apache.org/jira/browse/OAK-1741

Re: Using Lucene indexes for property queries

2014-04-14 Thread Chetan Mehrotra
be acceptable. This would enable scenarios where traversal would be too costly and Lucene can still be used to provide required results in a lot lesser time. Chetan Mehrotra On Mon, Apr 14, 2014 at 2:33 PM, Thomas Mueller muel...@adobe.com wrote: Hi, In theory, the Lucene index could be used

Re: svn commit: r1587286 - in /jackrabbit/oak/trunk: oak-core/pom.xml oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java oak-parent/pom.xml

2014-04-14 Thread Chetan Mehrotra
of META-INF/services/java.sql.Driver [1]. For such cases fragment bundles can be avoided by having #1 monitor for such drivers and register them programatically 3. DocumentNodeStoreService should only have a reference to DataSource and use that Chetan Mehrotra [1] http://docs.oracle.com/javase/7

Using Lucene indexes for property queries

2014-04-13 Thread Chetan Mehrotra
he wants to use depending on the usecase. Chetan Mehrotra

Re: jackrabbit-oak build #4073: Errored

2014-04-10 Thread Chetan Mehrotra
I'm sorry but your test run exceeded 50.0 minutes. Build failure is due to TimeOut Chetan Mehrotra On Thu, Apr 10, 2014 at 11:49 AM, Travis CI ju...@apache.org wrote: Build Update for apache/jackrabbit-oak - Build: #4073 Status: Errored Duration

Re: Slow full text query performance and Lucene Index handling in Oak

2014-04-09 Thread Chetan Mehrotra
much understanding of Lucene internal can someone review the approach taken and see if there are some major issues with it Chetan Mehrotra [1] https://issues.apache.org/jira/secure/attachment/12639366/OAK-1702-shared-indexer.patch [2] https://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene

Re: Slow full text query performance and Lucene Index handling in Oak

2014-04-09 Thread Chetan Mehrotra
not sure if this a problem with the usecase taken. Or the Lucene Index cursor management should be improved as in many case the results would be multiple but the client code only makes use of initial few results Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main

Re: Slow full text query performance and Lucene Index handling in Oak

2014-04-09 Thread Chetan Mehrotra
1 5 5 6 7 68 10038 Profiling the result shows that quite a bit of time goes in org.apache.lucene.codecs.compressing.LZ4.decompress() (40%). This I think is part of Lucene 4.x and not present in 3.x. Any idea if I can disable compression? Chetan

Re: Slow full text query performance and Lucene Index handling in Oak

2014-04-09 Thread Chetan Mehrotra
Would look further Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/FieldFactory.java#L44 On Wed, Apr 9, 2014 at 7:15 PM, Alex Parvulescu alex.parvule...@gmail.com wrote: Aside from the compression

Slow full text query performance and Lucene Index handling in Oak

2014-04-08 Thread Chetan Mehrotra
can be accomodated on each node I think it would be better if the index is access from file system Are the above concerns valid and should we relook into how we are using Lucene in Oak? Chetan Mehrotra [1] https://issues.apache.org/jira/browse/OAK-1702 [2] https://github.com/apache/jackrabbit-oak

[jira] [Updated] (JCR-3754) [jackrabbit-aws-ext] Add retry logic to S3 asynchronous failed upload

2014-04-07 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated JCR-3754: - Resolution: Fixed Status: Resolved (was: Patch Available) Applied the patch in # http

[jira] [Updated] (JCR-3760) FileDataStore: reduce synchronization

2014-04-02 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated JCR-3760: - Fix Version/s: 2.7.6 FileDataStore: reduce synchronization

[jira] [Created] (JCR-3764) Provide an option to disable use of inUseMap in FileDataStore

2014-04-02 Thread Chetan Mehrotra (JIRA)
Chetan Mehrotra created JCR-3764: Summary: Provide an option to disable use of inUseMap in FileDataStore Key: JCR-3764 URL: https://issues.apache.org/jira/browse/JCR-3764 Project: Jackrabbit Content

Re: svn commit: r1577449 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/segment/ main/java/org/apache/jackrabbit/oak/plugins/segment/file/ main/java/org/apache/ja

2014-04-02 Thread Chetan Mehrotra
from node data. Yes it adds to the complexity of backup but then such a feature is required then that cost has to be paid. Default setups currently do not use FileDataStore or BlobStore with SegmentNodeStore. So as per defaults original design is still honored. Chetan Mehrotra

Re: svn commit: r1583285 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/ValueImpl.java

2014-04-02 Thread Chetan Mehrotra
to add a separate method for that. But note that not all Blob implementations have a blobId like in BlobStoreBlob. For now there is no strong requirement for that. If need arises would follow up this way Chetan Mehrotra

Re: Question regarding missing _lastRev recovery - OAK-1295

2014-04-02 Thread Chetan Mehrotra
to check the head revision - cluster lease time = 1 min - This is the time after a cluster lease would be renewed. So we need to decide the time interval for Job for detecting recovery condition Chetan Mehrotra On Wed, Apr 2, 2014 at 4:31 PM, Amit Jain am...@ieee.org wrote: Hi, 1) a cluster node

Re: svn commit: r1577449 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/segment/ main/java/org/apache/jackrabbit/oak/plugins/segment/file/ main/java/org/apache/ja

2014-04-02 Thread Chetan Mehrotra
currently is not read from NodeStore and in OSGi env is being provided by OSGi ConfigAdmin. And more other settings like Index are currently stored as content Chetan Mehrotra On Wed, Apr 2, 2014 at 3:49 PM, Michael Marth mma...@adobe.com wrote: On 02 Apr 2014, at 08:06, Jukka Zitting jukka.zitt

Re: jackrabbit-oak build #3994: Broken

2014-04-02 Thread Chetan Mehrotra
Test case failure on oak-solr Failed tests: testOffsetAndLimit(org.apache.jackrabbit.core.query.LimitAndOffsetTest): expected:1 but was:0 testOffsetAndLimitWithGetSize(org.apache.jackrabbit.core.query.LimitAndOffsetTest): expected:2 but was:0 Chetan Mehrotra On Wed, Apr 2, 2014 at 6:04 PM

Re: svn commit: r1583994 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/OakFileDataStore.java test/java/org/apache/jackrabbit/oak/plugins/blob/data

2014-04-02 Thread Chetan Mehrotra
to distinguish between active used blobs regards Chetan Chetan Mehrotra

Re: svn commit: r1583325 - in /jackrabbit/oak/trunk: oak-auth-external/pom.xml oak-core/pom.xml oak-jcr/pom.xml oak-mk-perf/pom.xml oak-mk/pom.xml oak-run/pom.xml oak-upgrade/pom.xml

2014-03-31 Thread Chetan Mehrotra
Might be simpler to define the version in oak-parent Chetan Mehrotra On Mon, Mar 31, 2014 at 6:57 PM, resc...@apache.org wrote: Author: reschke Date: Mon Mar 31 13:27:46 2014 New Revision: 1583325 URL: http://svn.apache.org/r1583325 Log: use the latest H2 DB throughout Modified

Re: svn commit: r1583325 - in /jackrabbit/oak/trunk: oak-auth-external/pom.xml oak-core/pom.xml oak-jcr/pom.xml oak-mk-perf/pom.xml oak-mk/pom.xml oak-run/pom.xml oak-upgrade/pom.xml

2014-03-31 Thread Chetan Mehrotra
You can define the version in dependencyManagement section and that would be inherited by child projects. For e.g. there are entries for junit, easymock etc. In child project you just define the groupId and artifactId Chetan Mehrotra On Mon, Mar 31, 2014 at 7:22 PM, Julian Reschke julian.resc

Re: svn commit: r1583285 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/ValueImpl.java

2014-03-31 Thread Chetan Mehrotra
+1. I also missed getting a clean way to get blobId from Blob. So adding this method would be useful in other cases also Chetan Mehrotra On Tue, Apr 1, 2014 at 8:05 AM, Jukka Zitting jukka.zitt...@gmail.com wrote: Hi, On Mon, Mar 31, 2014 at 3:25 PM, Michael Dürig mdue...@apache.org wrote

Re: [DocumentNodeStore] Clarify behaviour for Commit.getModified

2014-03-28 Thread Chetan Mehrotra
I think the intention of the method is to return a value in seconds with a five second resolution. Makes sense. Change the logic to use seconds and also fixed method names/constant to reflect that Chetan Mehrotra On Fri, Mar 28, 2014 at 3:28 PM, Marcel Reutegger mreut...@adobe.com wrote: Hi

Re: jackrabbit-oak build #3922: Errored

2014-03-28 Thread Chetan Mehrotra
Travis says I'm sorry but your test run exceeded 50.0 minutes. One possible solution is to split up your test run. - Chetan Mehrotra On Fri, Mar 28, 2014 at 4:49 PM, Travis CI ju...@apache.org wrote: Build Update for apache/jackrabbit-oak

Remove SynchronizedDocumentStoreWrapper

2014-03-27 Thread Chetan Mehrotra
they be removed. Further can we implement other wrapper via proxies as it increases work if new methods are to be added to DocumentStore Chetan Mehrotra

Re: Remove SynchronizedDocumentStoreWrapper

2014-03-27 Thread Chetan Mehrotra
); } } } } Chetan Mehrotra

Re: Remove SynchronizedDocumentStoreWrapper

2014-03-27 Thread Chetan Mehrotra
On Thu, Mar 27, 2014 at 4:00 PM, Julian Reschke julian.resc...@gmx.de wrote: We can kill the one in rdb (I didn't see the other one when I added it). Would do Chetan Mehrotra

Re: AbstractBlobStoreTest

2014-03-27 Thread Chetan Mehrotra
On Thu, Mar 27, 2014 at 10:08 PM, Julian Reschke julian.resc...@gmx.de wrote: if there's a reason not to It might effect test related to GC as GC logic would clean more than expected set of blobs Chetan Mehrotra

[DocumentNodeStore] Clarify behaviour for Commit.getModified

2014-03-27 Thread Chetan Mehrotra
Hi, Currently Commit.getModified has following impl - public static long getModified(long timestamp) { // 5 second resolution return timestamp / 1000 / 5; } - The result when treated as timestamp cause the time to set to 0 i.e. 1970 I intend to fix this with (looking

Re: jackrabbit-oak build #3838: Broken

2014-03-26 Thread Chetan Mehrotra
in target folder Chetan Mehrotra On Tue, Mar 25, 2014 at 6:20 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: On Tue, Mar 25, 2014 at 5:49 PM, Michael Dürig mdue...@apache.org wrote: CacheInvalidationIT Looking into it Chetan Mehrotra

Re: jackrabbit-oak build #3838: Broken

2014-03-26 Thread Chetan Mehrotra
Fixed the RDBDocumentStore to create file in target folder. However current approach would cause issue in test env. Would start a separate thread on that Chetan Mehrotra On Wed, Mar 26, 2014 at 12:52 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: I fixed that issue yesterday but build

Re: Request for feedback: OSGi Configuration for Query Limits (OAK-1571)

2014-03-26 Thread Chetan Mehrotra
Oak instance, right? For OSGi case yes Chetan Mehrotra On Wed, Mar 26, 2014 at 2:23 PM, Thomas Mueller muel...@adobe.com wrote: Hi, I'm trying to make some query settings (limits on the number of nodes read) configurable via OSGi. So far, I have a patch of about 100 KB, and this is just

Re: jackrabbit-oak build #3838: Broken

2014-03-25 Thread Chetan Mehrotra
On Tue, Mar 25, 2014 at 5:49 PM, Michael Dürig mdue...@apache.org wrote: CacheInvalidationIT Looking into it Chetan Mehrotra

Re: jackrabbit-oak build #3809: Broken

2014-03-24 Thread Chetan Mehrotra
My fault. Looking into it Chetan Mehrotra On Mon, Mar 24, 2014 at 11:58 AM, Travis CI ju...@apache.org wrote: Build Update for apache/jackrabbit-oak - Build: #3809 Status: Broken Duration: 444 seconds Commit: afb6c5335b46067a3ea43ce69c987a46d9a3fd38

[jira] [Commented] (JCR-3754) [jackrabbit-aws-ext] Add retry logic to S3 asynchronous failed upload

2014-03-20 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13941445#comment-13941445 ] Chetan Mehrotra commented on JCR-3754: -- Couple of comments wrt patch {code:java

Re: friendly reminder about license headers

2014-03-20 Thread Chetan Mehrotra
Roger that! For Java file IDE takes care of them. Probably we can just exclude test/resources from rat plugin? Most of the missing headers are reported in that probably Chetan Mehrotra On Thu, Mar 20, 2014 at 2:50 PM, Alex Parvulescu alex.parvule...@gmail.com wrote: Yes boys and girls, files

[jira] [Assigned] (JCR-3754) [jackrabbit-aws-ext] Add retry logic to S3 asynchronous failed upload

2014-03-19 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra reassigned JCR-3754: Assignee: Chetan Mehrotra [jackrabbit-aws-ext] Add retry logic to S3 asynchronous failed

[jira] [Updated] (JCR-3755) Export S3DataStore package to enable osgi resolution

2014-03-19 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated JCR-3755: - Affects Version/s: 2.7.5 Export S3DataStore package to enable osgi resolution

[jira] [Updated] (JCR-3755) Export S3DataStore package to enable osgi resolution

2014-03-19 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated JCR-3755: - Fix Version/s: 2.7.6 Export S3DataStore package to enable osgi resolution

<    1   2   3   4   5   6   7   8   >