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: 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

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

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

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

Using Lucene indexes for property queries

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

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

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: 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

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: 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

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: 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

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: 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

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: 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: Embedding Groovy in oak-run for Oak Shell (OAK-1805)

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

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

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: 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

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: [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: 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: 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: 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

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: 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: [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: 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] 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: 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: 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: [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: 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: 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: [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

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: 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

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: 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

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

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

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

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: 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

AggregateIndex and Solr

2014-10-08 Thread Chetan Mehrotra
options 1. Make SolrQueryIndex implement AdvanceQueryIndex and thus AdvanceFulltextQueryIndex 2. OR Duplicate AggregateIndex to have one impl for AdvanceQueryIndex and other for QueryIndex Doing #1 should not take much effort but still a change in existing impl. Which route to take? Chetan

Re: AggregateIndex and Solr

2014-10-08 Thread Chetan Mehrotra
on with Lucene index related work (OAK-2005). Would it be ok if I do #1 i.e. Make SolrQueryIndex implement AdvanceQueryIndex and thus AdvanceFulltextQueryIndex bit later. Thoughts? Chetan Mehrotra On Wed, Oct 8, 2014 at 3:12 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: Hi Chetan, I think no. 1

Re: buildbot failure in ASF Buildbot on oak-trunk

2014-10-08 Thread Chetan Mehrotra
Failure was because build bot picked only one change. For the build to pass all 3 changes need to be picked up Chetan Mehrotra On Wed, Oct 8, 2014 at 4:10 PM, build...@apache.org wrote: The Buildbot has detected a new failure on builder oak-trunk while building ASF Buildbot. Full details

Re: AggregateIndex and Solr

2014-10-08 Thread Chetan Mehrotra
After discussing it Tomomaso offline would be going with option #3. Opened OAK-2168 to track changes required in SolrIndex to support AdvanceQueryIndex and later AggregateIndex Chetan Mehrotra On Wed, Oct 8, 2014 at 3:20 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: Hi Tommaso, also

Re: svn commit: r1630156 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/document/ test/java/org/apache/jackrabbit/oak/plugins/document/

2014-10-09 Thread Chetan Mehrotra
Thats simple and precise solution to a nasty problem. :) Chetan Mehrotra On Wed, Oct 8, 2014 at 9:29 PM, mreut...@apache.org wrote: Author: mreutegg Date: Wed Oct 8 15:59:30 2014 New Revision: 1630156 URL: http://svn.apache.org/r1630156 Log: OAK-2144: Intermittent Node not found

Using IndexPlan to determine Index path

2014-10-09 Thread Chetan Mehrotra
impl and add required meta info like index path in that 2. Have some way of passing a payload in the IndexPlan itself which an index impl can use to manage such info Chetan Mehrotra [1] https://github.com/chetanmeh/jackrabbit-oak/compare/chetanmeh:trunk...OAK-2005?diff=split#diff-12 [2] http

Re: Using IndexPlan to determine Index path

2014-10-09 Thread Chetan Mehrotra
the right Lucene index Chetan Mehrotra [3] http://markmail.org/message/jjrkz7x7vwzunypa On Thu, Oct 9, 2014 at 4:40 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: Hi, While working on Lucene property index support I need to modify the logic to support multiple Lucene Index definitions

Re: Using IndexPlan to determine Index path

2014-10-10 Thread Chetan Mehrotra
attached to IndexPlan instance. If I go extension route then I would need to decorate an existing IndexPlan instance so quite a bit of redundant code. So would prefer an attribute based approach. Thoughts? Chetan Mehrotra On Fri, Oct 10, 2014 at 2:21 PM, Alex Parvulescu alex.parvule...@gmail.com

Reindex and external indexes - Possibility of stale index data

2014-10-12 Thread Chetan Mehrotra
with persistence set to filesystem then I think currently we do not the remove the existing index data which might lead to index containing stale data. Should we provide any sort of callback for indexers when reindex is requested? Chetan Mehrotra

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

2014-10-13 Thread Chetan Mehrotra
: Failed to delete E:\slave14\oak-trunk-win7\build\oak-mk-api\target\oak-mk-api-1.1-SNAPSHOT.jar - [Help 1] [ Chetan Mehrotra On Mon, Oct 13, 2014 at 4:09 PM, build...@apache.org wrote: The Buildbot has detected a new failure on builder oak-trunk-win7 while building ASF

Re: svn commit: r1631967 - /jackrabbit/oak/trunk/oak-tarmk-failover/pom.xml

2014-10-15 Thread Chetan Mehrotra
May be better to exclude all under osgi-conf from license check excludeosgi-conf/**/*.*/exclude Chetan Mehrotra On Wed, Oct 15, 2014 at 1:39 PM, alexparvule...@apache.org wrote: Author: alexparvulescu Date: Wed Oct 15 08:09:01 2014 New Revision: 1631967 URL: http://svn.apache.org/r1631967

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

2014-10-15 Thread Chetan Mehrotra
, /test/n15, /test/n79, /test/n23, /test/n81, /test/n80, /test/n56, /test/n18, /test/n52, /test/n13, /test/n31, /test/n1, /test/n43, /test/n16, /test/n78, /test/n8, /test/n26, /test/n87, /test/n83, /test/n65] Oops. Would look into it now Chetan Mehrotra

Oak documentation and features added in specific versions

2014-10-15 Thread Chetan Mehrotra
that its a 1.0.8+ feature 3. OR Have the docs at apache site include version in url. http://jackrabbit.apache.org/oak/1.0.8/docs/osgi_config.html Chetan Mehrotra

Does Lucene modifies existing file in an index

2014-10-20 Thread Chetan Mehrotra
files are used then any file would never be modified and only new files would be created Chetan Mehrotra PS: Probably the question is more appropriate for Lucene DL but checking here first to see if something in Oak is different from default

Re: Does Lucene modifies existing file in an index

2014-10-20 Thread Chetan Mehrotra
.cfs - 955 _0.cfe - 194 segments.gen - 20 segments_1 - 81 _0.si - 266 - Chetan Mehrotra [1] http://svn.apache.org/r1633123 On Mon, Oct 20, 2014 at 5:34 PM, Thomas Mueller muel...@adobe.com wrote: Hi, This blog post is interesting: they are using a physical switch (similar

Re: Reindex and external indexes - Possibility of stale index data

2014-10-21 Thread Chetan Mehrotra
of that time to create a directory as you suggested above and reclaim old directory Chetan Mehrotra On Mon, Oct 13, 2014 at 2:33 PM, Thomas Mueller muel...@adobe.com wrote: Hi, Then would use that UUID as the prefix ... Sorry, that should be Then would use that _time_ as the prefix ... - I

CopyInReadDirectory and local filesystem path

2014-10-21 Thread Chetan Mehrotra
but then need to be sure if mapping the JCR path to filesystem (only for index data) would be safe to use? Chetan Mehrotra

Re: Reindex and external indexes - Possibility of stale index data

2014-10-21 Thread Chetan Mehrotra
purpose Chetan Mehrotra

Re: CopyInReadDirectory and local filesystem path

2014-10-21 Thread Chetan Mehrotra
the mapping via JMX Chetan Mehrotra

Re: Reindex and external indexes - Possibility of stale index data

2014-10-21 Thread Chetan Mehrotra
of the node which is not seen as removed in trunk. What I need is just a way to differentiate index state for a reindex call and that can be managed easily via storing the creation time in the index definition node which works easily with existing logic Chetan Mehrotra On Tue, Oct 21, 2014 at 1:51

Re: Does Lucene modifies existing file in an index

2014-10-27 Thread Chetan Mehrotra
readerPooling=false perThreadHardLimitMB=1945 useCompoundFile=true -- Chetan Mehrotra [1] http://svn.apache.org/r1634504

Re: Reindex and external indexes - Possibility of stale index data

2014-10-27 Thread Chetan Mehrotra
this is not a big issue as only binary references constitute state of the unmerged branch. If such an issue is identified later then we can look into implementing above mentioned mechanism Opened OAK-2229 for this Chetan Mehrotra On Tue, Oct 21, 2014 at 3:09 PM, Thomas Mueller muel...@adobe.com wrote: Hi

[svn] Merge all changes done in one module to branch

2014-10-29 Thread Chetan Mehrotra
Hi Team, I need to merge all changes done in oak-lucene so far to branches/1.0/oak-lucene. Is it possible to do via direct command (kind of [1]) or I would need to figure out all revisions done in oak-lucene and specify them explicilty with svn merge command? Chetan Mehrotra [1] http

Re: [svn] Merge all changes done in one module to branch

2014-10-30 Thread Chetan Mehrotra
On Thu, Oct 30, 2014 at 2:20 PM, Marcel Reutegger mreut...@adobe.com wrote: I think merging explicit revisions is the only clean solution. it is quite a bit of work, but makes sure we have the mergeinfo tracked. Thats what I feared. Would do it the right (hard!) way then. Chetan Mehrotra

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.8

2014-11-02 Thread Chetan Mehrotra
+1. All checks ok. Chetan Mehrotra On Mon, Nov 3, 2014 at 9:54 AM, Amit Jain am...@ieee.org wrote: On Sat, Nov 1, 2014 at 2:23 AM, Alex Parvulescu alexparvule...@apache.org wrote: Please vote on releasing this package as Apache Jackrabbit Oak 1.0.8. The vote is open for the next 72 hours

Lucene Property Index Documentation updated

2014-11-04 Thread Chetan Mehrotra
Hi Team, I have updated the query documentation to provide details about various features supported as part of Lucene Property Index at [1]. Kindly review it once to see if it captures the information correctly Chetan Mehrotra [1] http://jackrabbit.apache.org/oak/docs/query/lucene.html

Re: Lucene Property Index Documentation updated

2014-11-04 Thread Chetan Mehrotra
! Chetan Mehrotra

<    1   2   3   4   5   6   7   >