Export org.apache.jackrabbit.oak.cache package from oak-core (OAK-3598)

2015-11-08 Thread Chetan Mehrotra
for consumption by oak-lucene Chetan Mehrotra

Re: Why does oak-core import every package with an optional resolution?

2015-10-26 Thread Chetan Mehrotra
not be aware of drivers etc. So we can get rid of that @Julian - Thoughts? Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/commit/7f844d5cde52dc53c41cc01aad9079afb275438a On Mon, Oct 26, 2015 at 4:20 PM, Francesco Mari <mari.france...@gmail.com> wrote: > A friendly

Re: svn commit: r1710162 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak: api/PropertyState.java api/Tree.java api/Type.java api/package-info.java plugins/memory/ModifiedNo

2015-10-23 Thread Chetan Mehrotra
> } I am fine with removing dependency on Guava from API but not sure if we should remove it from implementation side Also it would be good to have a testcase to validate the above logic if we are removing dependency from a tested Guava utility method Chetan Mehrotra

Re: Reindexing problems

2015-10-21 Thread Chetan Mehrotra
started otherwise it would trigger large traversal if no index was present or previous revision of index is not usable (due to some corruption) Chetan Mehrotra On Wed, Oct 21, 2015 at 2:24 PM, Thomas Mueller <muel...@adobe.com> wrote: > Hi, > > If an index provider is (temporarily) n

Re: jackrabbit-oak build #6619: Errored

2015-10-12 Thread Chetan Mehrotra
rue(Assert.java:43) at org.junit.Assert.assertNull(Assert.java:551) at org.junit.Assert.assertNull(Assert.java:562) at org.apache.jackrabbit.oak.plugins.segment.CompactionMapTest.removeSome(CompactionMapTest.java:156) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ==

Re: svn commit: r1704844 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/counter/jmx/ oak-core/src/main/java/org/apache/jackrabbit/oak/query/ oak-core/src/ma

2015-09-24 Thread Chetan Mehrotra
On Thu, Sep 24, 2015 at 1:56 PM, Thomas Mueller <muel...@adobe.com> wrote: > what about getIndexCostInfo +1 Chetan Mehrotra

Re: svn commit: r1704844 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/counter/jmx/ oak-core/src/main/java/org/apache/jackrabbit/oak/query/ oak-core/src/ma

2015-09-23 Thread Chetan Mehrotra
g? May be we should name it better Chetan Mehrotra

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

2015-09-22 Thread Chetan Mehrotra
Hi Marcel, A short description of what was the fix would be very helpful for future reference! Chetan Mehrotra On Tue, Sep 22, 2015 at 9:00 PM, <mreut...@apache.org> wrote: > Author: mreutegg > Date: Tue Sep 22 15:30:08 2015 > New Revision: 1704655 > > URL: http://svn.

Re: JCR node name and non space whitespace chars like line break etc

2015-09-16 Thread Chetan Mehrotra
Opened OAK-3412 to track this issue. Chetan Mehrotra On Tue, Sep 15, 2015 at 3:24 PM, Julian Reschke <julian.resc...@gmx.de> wrote: > On 2015-09-15 10:03, Chetan Mehrotra wrote: >> >> If I change the code in Namespace#isValidLocalName to use >> Character#isWhitespac

Re: JCR node name and non space whitespace chars like line break etc

2015-09-15 Thread Chetan Mehrotra
? Chetan Mehrotra On Mon, Sep 14, 2015 at 4:13 PM, Chetan Mehrotra <chetan.mehro...@gmail.com> wrote: > Micheal Durig mentioned that this has been discussed earlier. So > going back in time this was discussed in OAK-1891 and thread [1]. Oak > used to prevent such nodes from getting

Re: JCR node name and non space whitespace chars like line break etc

2015-09-14 Thread Chetan Mehrotra
(see Namespace#isValidLocalName). However when that change was done the check initially used Character#isWhitespace and switched to using Character#isSpaceChar which is limited to very few checks. Now looks like isSpaceChar is returning false for '\n', '\r' etc not sure why. Chetan Mehrotra [0

JCR node name and non space whitespace chars like line break etc

2015-09-14 Thread Chetan Mehrotra
cause problem other. Specially when JR2 does not allow creation of such node names [1] So the question is Should Oak allow node names with non space whitespace chars like \t, \r etc Chetan Mehrotra [1] https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-spi-commons/src/main/java/org/apache

Re: Lucene Property Index and OR condition

2015-09-07 Thread Chetan Mehrotra
How did you performed the test? If you tested out with explain then current code in 1.0/1.2 return misleading result and this got fixed in trunk with OAK-2943. Technically Oak would convert the OR clause to a union query and then each part of union should then be able to make use of index. Chetan

Re: svn commit: r1700720 - in /jackrabbit/oak/trunk/oak-lucene/src: main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexEditorContext.java test/java/org/apache/jackrabbit/oak/jcr/query

2015-09-02 Thread Chetan Mehrotra
IndexDefinition#createAnalyzer which already creates a PerFieldAnalyzerWrapper. So would be better to move this logic there. Or you want to customize the analyzer for that field only during indexing. Chetan Mehrotra

Re: [VOTE] Epics in Jira

2015-09-01 Thread Chetan Mehrotra
+1 Chetan Mehrotra On Tue, Sep 1, 2015 at 1:10 PM, Davide Giannella <dav...@apache.org> wrote: > Hello team, > > some of us noticed we lack the epics in our jira so I raised an issue > asking whether that would be possible to have them. > > https://issues.apache.org

Re: New committer: Francesco Mari

2015-08-30 Thread Chetan Mehrotra
Welcome Francesco! Chetan Mehrotra On Fri, Aug 28, 2015 at 5:18 PM, Michael Dürig mdue...@apache.org wrote: Hi, Please welcome Francesco as a new committer and PMC member of the Apache Jackrabbit project. The Jackrabbit PMC recently decided to offer Francesco committership based on his

Re: persistent set of strings

2015-08-24 Thread Chetan Mehrotra
can think of some offheap solution. You can also look into using MVStore which is being used in DocumentNodeStore for persistent cache. Chetan Mehrotra [1] https://issues.apache.org/jira/browse/OAK-2882?focusedCommentId=14550198page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 335 - Still Failing

2015-08-19 Thread Chetan Mehrotra
the created repo. Fixed that now with rev http://svn.apache.org/r1696522. Hopefully this should fix the issue! Chetan Mehrotra

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 337 - Still Failing

2015-08-19 Thread Chetan Mehrotra
is not on svn but git as the git mirrors might lag behind! Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/commit/63c4a4db95b0f39f9ab27f499416c99c918a4955 On Wed, Aug 19, 2015 at 9:35 PM, Apache Jenkins Server jenk...@builds.apache.org wrote: The Apache Jenkins build system has built Apache

Recipe for using Oak in standalone environments

2015-08-18 Thread Chetan Mehrotra
in non OSGi env Chetan Mehrotra [1] http://jackrabbit.apache.org/oak/docs/construct.html [2] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-pojosr [3] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-examples/webapp [4] https://github.com/Clay-Ferguson/meta64 [5] https://github.com

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 331 - Still Failing

2015-08-16 Thread Chetan Mehrotra
) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:646) at org.apache.jackrabbit.oak.run.osgi.MBeanIntegrationTest.jmxIntegration(MBeanIntegrationTest.groovy:47) -- Chetan Mehrotra On Sat, Aug 15, 2015 at 10:39 AM, Apache Jenkins Server jenk...@builds.apache.org wrote: The Apache Jenkins build

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 324 - Still Failing

2015-08-11 Thread Chetan Mehrotra
the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :oak-blob-cloud Chetan Mehrotra On Wed, Aug 12, 2015 at 9:50 AM, Apache

Re: [Oak origin/1.0] Apache Jackrabbit Oak matrix - Build # 325 - Still Failing

2015-08-11 Thread Chetan Mehrotra
Now the compile passes but 55 test fail. Majority of them from Solr. Opened OAK-3215 to track that Chetan Mehrotra On Wed, Aug 12, 2015 at 10:38 AM, Apache Jenkins Server jenk...@builds.apache.org wrote: The Apache Jenkins build system has built Apache Jackrabbit Oak matrix (build #325

Re: build failure due to oak-pojosr ??

2015-08-10 Thread Chetan Mehrotra
Looks like some issue with my recent work. Would have a look. Thanks for filing the issue and marking current one as ignored! Chetan Mehrotra On Mon, Aug 10, 2015 at 2:02 PM, Angela Schreiber anch...@adobe.com wrote: hi i get the following failures in oak-pojosr. is it only me? anybody

Re: Copy jackrabbit-webapp module to Oak as oak-webapp

2015-08-06 Thread Chetan Mehrotra
. So should the final location be oak/oak-example/webapp ? I can then move the current copy to that place. I have some local commit now in my git-svn. Once I am done I would commit then to current place and then move them to final place. Would that be OK? Chetan Mehrotra

Updating a single page on the site

2015-08-06 Thread Chetan Mehrotra
. Then go to oak-doc/target/scmpublish-checkout 4. and directly commit the changed html files via svn commit This is also documented under oak-doc/README.md [1] and has proved to be a faster approach for me compared to building and deploying the whole site Chetan Mehrotra [1] https://github.com

Re: [VOTE] Release Apache Jackrabbit 2.10.2

2015-08-06 Thread Chetan Mehrotra
On Thu, Aug 6, 2015 at 2:21 PM, Angela Schreiber anch...@adobe.com wrote: i am fine... quite frankly i am surprised to see that there is no 2.10 branch. I think this was discussed earlier [1]. Looks like we would have to revisit that decision and continue with stable/unstable releases Chetan

Copy jackrabbit-webapp module to Oak as oak-webapp

2015-08-05 Thread Chetan Mehrotra
and that to with most basic setup. I would like to modify this module to use oak-pojorsr [2] to configure complete Oak stack as we do it in Sling. For that I would like to copy this module to oak under oak-webapp and then refactor it to run complete Oak stack. Thoughts? Chetan Mehrotra [1] https

Re: Copy jackrabbit-webapp module to Oak as oak-webapp

2015-08-05 Thread Chetan Mehrotra
configures the webdav servlet and JCR Remoting which work with any repository implementation and thus should work with Oak. Chetan Mehrotra

Re: 1.3.4 cut

2015-08-03 Thread Chetan Mehrotra
Hi Davide, It would be helpful if while moving the bugs to next version we do not add any comment like 'Bulk Move to xxx'. This would reduce the unnecessary noise in bug comment history. Recently this was discussed on DL at [1] Chetan Mehrotra [1] http://markmail.org/thread/2jvphlkdw4eqaxdh

Re: JCR + MongoDb + Lucene Holy Grail Finally Found

2015-08-02 Thread Chetan Mehrotra
config in non OSGi env like say war deployment. Need to get some time to finish it and adopt the standalone web example to use that Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-pojosr On Sun, Aug 2, 2015 at 11:26 PM, Clay Ferguson wcl...@gmail.com wrote: Fellow

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.18

2015-07-31 Thread Chetan Mehrotra
! org.apache.jackrabbit.oak.api.CommitFailedException: OakLucene0003: Failed to index the node /test Thats a known issue on Windows OAK-3072. Not a blocker for this release Chetan Mehrotra

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.18

2015-07-31 Thread Chetan Mehrotra
+1 Chetan Mehrotra On Fri, Jul 31, 2015 at 3:44 PM, Alex Parvulescu alex.parvule...@gmail.com wrote: [X] +1 Release this package as Apache Jackrabbit Oak 1.0.18 On Fri, Jul 31, 2015 at 11:01 AM, Amit Jain am...@apache.org wrote: A candidate for the Jackrabbit Oak 1.0.18 release is available

Do not add comments when bulk moves are performed in JIRA

2015-07-29 Thread Chetan Mehrotra
Hi Team, Currently most of the issues scheduled for 1.3.x release have comments like 'Bulk Move to xxx'. This creates unnecessary noise in the comment log. Would it be possible to move the issues to next version silently i.e. just get fix version changed and not add any comment Chetan Mehrotra

Re: [discuss] Near real time search to account for latency in background indexing

2015-07-24 Thread Chetan Mehrotra
an Observor so as to not add cost to commit call. Observor would listen only for local changes and would invoke IndexUpdate on the diff Chetan Mehrotra

Re: [discuss] Near real time search to account for latency in background indexing

2015-07-24 Thread Chetan Mehrotra
and then decide to invest in such a feature! Chetan Mehrotra

Re: [discuss] Near real time search to account for latency in background indexing

2015-07-24 Thread Chetan Mehrotra
compliment it. Chetan Mehrotra On Fri, Jul 24, 2015 at 1:01 PM, Ian Boston i...@tfd.co.uk wrote: Hi Chetan, The overall approach looks ok. Some questions about indexing. How will you deal with JVM failure ? and related. How frequently will commits to the persisted index be performed ? I

Re: [discuss] Near real time search to account for latency in background indexing

2015-07-24 Thread Chetan Mehrotra
for a single node deployment when TarMK is used but would still have a lag as based on frequency of AsyncIndexer which we are seeing is having delays of upto 10-20 sec and may vary. For cluster where indexing is happening on a single node it cannot be used. Chetan Mehrotra

Re: [discuss] Near real time search to account for latency in background indexing

2015-07-24 Thread Chetan Mehrotra
Query - Lucene Query mapping logic getting reused as is. But yes it would be an interesting approach where instead of doing this as Lucene query index level QE can work with both indexes and combine the results. So an aspect to keep in mind Chetan Mehrotra

Re: Cleanup Callback to IndexEditor in case of exception in processing

2015-07-23 Thread Chetan Mehrotra
like a success callback. If we can get both then much better! Chetan Mehrotra

[discuss] Near real time search to account for latency in background indexing

2015-07-23 Thread Chetan Mehrotra
to support this hybrid model for same index type - So something to be looked into Thoughts? Chetan Mehrotra NRT - Near real Time is technically a Lucene term https://wiki.apache.org/lucene-java/NearRealtimeSearch. However using here as approach is bit similar! [2] Such a merged cursor

Re: svn commit: r1692367 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java

2015-07-23 Thread Chetan Mehrotra
On Thu, Jul 23, 2015 at 3:08 PM, thom...@apache.org wrote: OAK-260 Avoid the Turkish Locale Problem So the fix version is ... ;) Chetan Mehrotra

Re: svn commit: r1692177 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins: blob/BlobStoreBlob.java document/DocumentNodeStore.java

2015-07-22 Thread Chetan Mehrotra
takes care of that. So probably we use that here So if we plan to support such case then we cleanup this part first and then fix it. wdyt? Chetan Mehrotra

Re: svn commit: r1692177 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins: blob/BlobStoreBlob.java document/DocumentNodeStore.java

2015-07-22 Thread Chetan Mehrotra
On Wed, Jul 22, 2015 at 8:01 PM, Manfred Baedke manfred.bae...@gmail.com wrote: verifying that the BlobStoreBlob in question comes from this very instance. It shouldn't use equals(), though. Makes sense. Lets discuss this via patch on the bug itself then! Chetan Mehrotra

Re: svn commit: r1692177 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins: blob/BlobStoreBlob.java document/DocumentNodeStore.java

2015-07-21 Thread Chetan Mehrotra
to support equality for BlobStore instance. So would like to understand the usecase preferably with a testcase. May be the problem affect SegmentNodeStore also (not sure though) Chetan Mehrotra

Re: svn commit: r1692177 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins: blob/BlobStoreBlob.java document/DocumentNodeStore.java

2015-07-21 Thread Chetan Mehrotra
Also note that its possible that later we may be wrapping the BlobStore instance. For example add a wrapper for monitioring and in such a case this equality condition might fail. A more stable fix would be to check with registered BlobStore weather it knows the given blobId or not. Chetan Mehrotra

Re: New committer: Stefan Egli

2015-07-20 Thread Chetan Mehrotra
Welcome Stefan! Chetan Mehrotra On Mon, Jul 20, 2015 at 1:56 PM, Michael Dürig mdue...@apache.org wrote: Hi, Please welcome Stefan as a new committer and PMC member of the Apache Jackrabbit project. The Jackrabbit PMC recently decided to offer Stefan committership based on his

Utility method for show time duration in words

2015-07-14 Thread Chetan Mehrotra
on others common lang classes so copying would be tricky 2. Guava Stopwatch private method [2] - Guava Stopwatch internally has such a method but its not exposed. Probably we can copy that and expose that in oak-commons. Thoughts? Chetan Mehrotra [1] https://github.com/apache/commons-lang/blob/master

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

2015-07-14 Thread Chetan Mehrotra
logging then probably the whole block should be within isDebugEnabled check + LOG.debug(insert of + ids + failed, ex); Instead of using concatenation it would be better to use placeholders like LOG.debug(insert of {} failed,ids, ex); Chetan Mehrotra

Re: RDBDocumentStore using same table schema for all collections

2015-07-13 Thread Chetan Mehrotra
specific approaches for creating sparse index. Currently RDBDocumentStore stores some default value if no value is specified. It might be better to store null there [1] Each *document*? Did you mean collection? Yes I meant collection there. Chetan Mehrotra [1] http://stackoverflow.com/questions

Re: svn commit: r1690861 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/SelectorImpl.java

2015-07-13 Thread Chetan Mehrotra
If this looks like a bug (which it appears to be) then it would be better if we create an issue for this and have that merged to branches also Chetan Mehrotra On Tue, Jul 14, 2015 at 9:28 AM, dbros...@apache.org wrote: Author: dbrosius Date: Tue Jul 14 03:58:28 2015 New Revision: 1690861

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.17

2015-07-10 Thread Chetan Mehrotra
+1. All checks passed Chetan Mehrotra On Fri, Jul 10, 2015 at 1:28 PM, Davide Giannella dav...@apache.org wrote: [X] +1 Release this package as Apache Jackrabbit Oak 1.0.17 Davide

Re: /oak:index (DocumentNodeStore)

2015-07-09 Thread Chetan Mehrotra
indexing property 'foo' you need to index it for every revision Chetan Mehrotra

RDBDocumentStore using same table schema for all collections

2015-07-09 Thread Chetan Mehrotra
schema. Chetan Mehrotra

Managing backport work for issues fixed in trunk

2015-07-03 Thread Chetan Mehrotra
For issues to be merged to 1.0 and 1.2 branches. Then later we can query for such issues. Thoughts? Chetan Mehrotra

Re: Baseline warnings

2015-07-01 Thread Chetan Mehrotra
ones we are seeing the error ... may be introduce later Chetan Mehrotra

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 236 - Still Failing

2015-07-01 Thread Chetan Mehrotra
(AbstractLifeCycle.java:64) at org.apache.jackrabbit.oak.remote.http.handler.RemoteServer.start(RemoteServer.java:54) at org.apache.jackrabbit.oak.remote.http.handler.RemoteServerIT.setUp(RemoteServerIT.java:134) Chetan Mehrotra On Thu, Jul 2, 2015 at 9:51 AM, Apache Jenkins Server jenk...@builds.apache.org wrote

Re: OSGi configuration lookup

2015-06-30 Thread Chetan Mehrotra
On Tue, Jun 30, 2015 at 12:00 PM, Francesco Mari mari.france...@gmail.com wrote: I suggest to fix OAK-3022 maintaining exactly the same behaviour, and without changing the SegmentNodeStoreService Makes sense. They are two different issue Chetan Mehrotra

Re: OSGi configuration lookup

2015-06-29 Thread Chetan Mehrotra
-Doak.mongo.uri) which would supercede the one packaged by default. This simplifies the testing. Chetan Mehrotra On Mon, Jun 29, 2015 at 7:01 PM, Davide Giannella dav...@apache.org wrote: On 29/06/2015 10:22, Francesco Mari wrote: ... Is it possible - or does it make sense - to make this behaviour

Re: OSGi configuration lookup

2015-06-29 Thread Chetan Mehrotra
namespaceing. For e.g. if the property name is 'cache' then when reading from fwk then 'oak.documentstore.cache' would be used oak.mongo.uri and oak.mongo.db are spacial cased though and not follow this rule. Chetan Mehrotra On Tue, Jun 30, 2015 at 2:55 AM, Francesco Mari mari.france...@gmail.com wrote

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 232 - Still Failing

2015-06-29 Thread Chetan Mehrotra
) at org.apache.jackrabbit.oak.remote.http.handler.RemoteServerIT.load(RemoteServerIT.java:119) at org.apache.jackrabbit.oak.remote.http.handler.RemoteServerIT.testPatchLastRevisionAddMultiPathProperty(RemoteServerIT.java:1199) - Chetan Mehrotra On Tue, Jun 30, 2015 at 10:11 AM, Apache Jenkins Server jenk

Re: [Observation] Question on local events reported as external

2015-06-25 Thread Chetan Mehrotra
to external. There are two solutions 1. Throttle the commits - CommitRateLimiter 2. Have a non limiting queue - Then you end up with OOM if gap in processing rate is large Chetan Mehrotra On Thu, Jun 25, 2015 at 8:47 PM, Marius Petria mpet...@adobe.com wrote: Hi, I understand that under high

Re: [Observation] Question on local events reported as external

2015-06-25 Thread Chetan Mehrotra
* to react can continue to work. Though there is no gurantee that they see *each* local change. Chetan Mehrotra

Re: Observation: External vs local - Load distribution

2015-06-17 Thread Chetan Mehrotra
Just ensure that your Observer is fast as its invoked the critical path. This would probably end up with a design similar to Background Observer. May be better option would be to allow BO have non bounded queue. Chetan Mehrotra On Wed, Jun 17, 2015 at 2:05 PM, Carsten Ziegeler cziege

Re: Observation: External vs local - Load distribution

2015-06-15 Thread Chetan Mehrotra
that at *any* cost that you can used a different impl which uses say LinkedBlockingQueue and does not enforce any limit. That would be similar to how JcrResourceListener works which uses an unbound in memory queue Chetan Mehrotra

Re: MongoDB collections in MongoDocumentStore

2015-06-12 Thread Chetan Mehrotra
:/a the query is like $query: { _id: { $gt: 2:/a/, $lt: 2:/a0 } Chetan Mehrotra

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.15

2015-06-12 Thread Chetan Mehrotra
On Fri, Jun 12, 2015 at 1:56 PM, Amit Jain am...@ieee.org wrote: [ ] +1 Release this package as Apache Jackrabbit Oak 1.0.15 All checks ok Chetan Mehrotra

Re: MongoDB collections in MongoDocumentStore

2015-06-12 Thread Chetan Mehrotra
for children of 1:/a would be become tricky Chetan Mehrotra

Re: MongoDB collections in MongoDocumentStore

2015-06-12 Thread Chetan Mehrotra
collection into separate database on same server then we can look further there Chetan Mehrotra

Re: LazyInputStream does not uses BufferedInputStream while creating stream from underlying File

2015-05-21 Thread Chetan Mehrotra
On Thu, May 21, 2015 at 1:31 PM, Thomas Mueller muel...@adobe.com wrote: Yes, it would be better if we wrap it somewhere (not necessarily right there, but somewhere I think we can do that in DataStoreBlobStore. Right? Chetan Mehrotra

LazyInputStream does not uses BufferedInputStream while creating stream from underlying File

2015-05-21 Thread Chetan Mehrotra
it in the buffered variant? Chetan Mehrotra [1] https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/LazyFileInputStream.java#L102

Re: LazyInputStream does not uses BufferedInputStream while creating stream from underlying File

2015-05-21 Thread Chetan Mehrotra
Opened OAK-2898 to track this. Testing that passed stream at Oak/JCR level is buffered would indeed be tricky! Chetan Mehrotra On Thu, May 21, 2015 at 2:16 PM, Thomas Mueller muel...@adobe.com wrote: Hi, Sure. We should probably have some kind of test case to ensure the stream is wrapped

Re: Build failed in Jenkins: Apache Jackrabbit Oak matrix » latest1.7,Ubuntu,DOCUMENT_NS,unittesting #139

2015-05-21 Thread Chetan Mehrotra
) Chetan Mehrotra

Re: Build failed in Jenkins: Apache Jackrabbit Oak matrix » jdk-1.6u45,Ubuntu,DOCUMENT_NS,unittesting #139

2015-05-21 Thread Chetan Mehrotra
(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) Chetan Mehrotra On Fri, May 22, 2015 at 9:48 AM, Apache Jenkins Server jenk...@builds.apache.org wrote: See https://builds.apache.org/job/Apache%20Jackrabbit

Re: Faster indexing of binary files - For migration and incremental async indexing

2015-05-20 Thread Chetan Mehrotra
Opened OAK-2892 to track this Chetan Mehrotra On Wed, May 20, 2015 at 2:45 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: On Wed, May 20, 2015 at 2:34 PM, Ian Boston i...@tfd.co.uk wrote: And does that apply to all BlobStore implementations including those that use Mongo

Making release notes more meaningfull and usefull to end users

2015-05-20 Thread Chetan Mehrotra
further! Chetan Mehrotra [1] https://svn.apache.org/repos/asf/jackrabbit/oak/tags/jackrabbit-oak-1.0.13/RELEASE-NOTES.txt [2] https://lucene.apache.org/core/4_1_0/changes/Changes.html#4.1.0.new_features [3] https://code.google.com/p/guava-libraries/wiki/Release18 [4] http://lucene.apache.org/solr

[docs] Add inner links directly to side bar in Oak Docs

2015-05-20 Thread Chetan Mehrotra
where Persistent Cache doc is referred. Unless we restructure the site like say Apache Drill [4] (which shows nested link in side bar) I think we should also refer to all such inner links directly. Thoughts? Chetan Mehrotra [1] http://jackrabbit.apache.org/oak/docs/ [2] http://jackrabbit.apache.org

Re: svn commit: r1679959 - in /jackrabbit/oak/trunk: oak-commons/ oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/benchmark/ oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/segmen

2015-05-18 Thread Chetan Mehrotra
be made part of commons/test and move this dependency to test scope Chetan Mehrotra

Keeping Oak documentation upto date - Use label 'docs-impacting'

2015-05-05 Thread Chetan Mehrotra
of that to update the release notes and also ensure that documentation gets updated Chetan Mehrotra

Re: svn commit: r1676235 - in /jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak: ContinuousRevisionGCTest.java benchmark/BenchmarkRunner.java benchmark/RevisionGCTest.java

2015-04-27 Thread Chetan Mehrotra
struggled to get hold of underlying NodeStore from given Oak instance. May be we should expose it as part of API itself. After each Oak instance would always be back by NodeStore Chetan Mehrotra

Re: Active deletion of 'deleted' Lucene index files from DataStore without relying on full scale Blob GC

2015-04-24 Thread Chetan Mehrotra
To avoid missing this issue opened OAK-2808. Data collected from recent runs suggest that this aspect would need to be looked into going forward Chetan Mehrotra On Tue, Mar 10, 2015 at 9:49 PM, Thomas Mueller muel...@adobe.com wrote: Hi, I think removing binaries directly without going though

Re: Quickest way of running oak to validate DocumentNodeStore mbeans

2015-04-23 Thread Chetan Mehrotra
for registration in another way in oak-run? Aah yup those would get missed out in non OSGi runs. To see them in non OSGi env you would have to make use of oak-pojosr module. Launch repo using that and then have it running. Might require some more tweaks Chetan Mehrotra

Re: Quickest way of running oak to validate DocumentNodeStore mbeans

2015-04-22 Thread Chetan Mehrotra
oak = .. oak.with(ManagementFactory.getPlatformMBeanServer()); This would lead to registration of MBean Chetan Mehrotra On Wed, Apr 22, 2015 at 6:37 PM, Robert Munteanu romb...@apache.org wrote: Hi, I've built Oak from trunk and want to access the DocumentNodeStoreMBean. I see

Re: svn commit: r1674107 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditorProvider.java

2015-04-20 Thread Chetan Mehrotra
())); It would be better to make use of PerfLogger here Chetan Mehrotra

Re: TokenLoginModule Spring

2015-04-14 Thread Chetan Mehrotra
ContentRepository via RepositoryImpl. Something like RepositoryImpl implements OakRepository and have it provide accessor for the backing content repo instance Chetan Mehrotra

[jira] [Commented] (JCR-3865) Use markdown to generate Jackrabbit Site

2015-04-08 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14486716#comment-14486716 ] Chetan Mehrotra commented on JCR-3865: -- bq. note that the site only updates

Re: jackrabbit-oak build #5374: Broken

2015-04-07 Thread Chetan Mehrotra
Added LogDumper rule with OAK-2721. Now you can make use of that in those test which fail intermittently to get better details around the failure Chetan Mehrotra On Thu, Apr 2, 2015 at 3:21 PM, Chetan Mehrotra chetan.mehro...@gmail.com wrote: I implemented something on that line to get logs

PropertyIndex handle large deletions : Possible optimization

2015-04-06 Thread Chetan Mehrotra
. LuceneIndexEditor takes a similar approach [1] by issuing a PrefixQuery to drop all Lucene documents under that path Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexEditor.java#L230-255

Re: jackrabbit-oak build #5374: Broken

2015-04-02 Thread Chetan Mehrotra
rendered in Jenkins. So along with failure stacktrace you can see what all logs were captured in that run Chetan Mehrotra [1] https://plus.google.com/+ChetanMehrotra/posts/Ao1w9SACKSh On Thu, Apr 2, 2015 at 2:43 PM, Davide Giannella dav...@apache.org wrote: On 01/04/2015 07:29, Marcel Reutegger

[DISCUSS] Enable CopyOnRead feature for Lucene indexes by default

2015-03-31 Thread Chetan Mehrotra
. I would like to enable this feature by default now [1]. Both in trunk and in branch. Would it be fine to do that? Chetan Mehrotra [1] https://issues.apache.org/jira/browse/OAK-2708

Re: New committer: Shashank Gupta

2015-03-25 Thread Chetan Mehrotra
Welcome Shashank! Chetan Mehrotra On Thu, Mar 26, 2015 at 8:56 AM, Amit Jain am...@apache.org wrote: Welcome Shashank!! On Thu, Mar 26, 2015 at 2:20 AM, Michael Dürig mdue...@apache.org wrote: Hi, Please welcome Shashank Gupta as a new committer and PMC member of the Apache Jackrabbit

[jira] [Commented] (JCR-3862) [FileDataStore]: deleteRecord leaves the parent directories empty

2015-03-23 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14375782#comment-14375782 ] Chetan Mehrotra commented on JCR-3862: -- +1. Patch looks fine [FileDataStore

Re: svn commit: r1668034 - in /jackrabbit/oak/trunk/oak-lucene: ./ src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/ src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/score/ src

2015-03-20 Thread Chetan Mehrotra
On Fri, Mar 20, 2015 at 8:22 PM, thom...@apache.org wrote: +@Activate +private void activate() { +scorerProviderMap.clear(); +} Probably this should only be done in deactivate Chetan Mehrotra

Re: svn commit: r1667590 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/VersionGCDeletionTest.java

2015-03-18 Thread Chetan Mehrotra
Interesting way for test case scenario construction Marcel ! Chetan Mehrotra On Wed, Mar 18, 2015 at 10:38 PM, mreut...@apache.org wrote: Author: mreutegg Date: Wed Mar 18 17:08:59 2015 New Revision: 1667590 URL: http://svn.apache.org/r1667590 Log: OAK-2420: DocumentNodeStore revision GC

Re: Slow running test for oak-lucene and Lucene Suggestor getting created by default

2015-03-12 Thread Chetan Mehrotra
Thanks Tommaso!. Let see how the next build runs http://ci.apache.org/builders/oak-trunk/builds/1144 Chetan Mehrotra On Thu, Mar 12, 2015 at 2:36 PM, Tommaso Teofili tommaso.teof...@gmail.com wrote: I've created https://issues.apache.org/jira/browse/OAK-2611 to track the mentioned issue

Re: svn commit: r1666220 - in /jackrabbit/oak/trunk: oak-commons/ oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/ oak-commons/src/test/java/org/apache/jackrabbit/oak/commons/sort/ oa

2015-03-12 Thread Chetan Mehrotra
Looks like Closer closes the closeables in LIFO manner due to which directory containing that file got deleted first. I have change the logic now. Let me know if the test passes for you on Windows Chetan Mehrotra On Thu, Mar 12, 2015 at 10:21 PM, Julian Reschke julian.resc...@gmx.de wrote

Slow running test for oak-lucene and Lucene Suggestor getting created by default

2015-03-12 Thread Chetan Mehrotra
suggestor should only be built if the index has that feature enabled? For example for normal lucene-property index building up the suggestor would not be useful Chetan Mehrotra [0] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index

Re: Active deletion of 'deleted' Lucene index files from DataStore without relying on full scale Blob GC

2015-03-10 Thread Chetan Mehrotra
property and then extract the blobId which can be then be deleted via direct invocation GarbageCollectableBlobStore API. For Segment I am not sure how to easily read previous revisions of given NodeState Chetan Mehrotra

Re: Active deletion of 'deleted' Lucene index files from DataStore without relying on full scale Blob GC

2015-03-10 Thread Chetan Mehrotra
to start at root references for all previous revisions and then read along the required path from those root segments to collect previous revisions. Would that work? Chetan Mehrotra

Re: Parallelize text extraction from binary fields

2015-03-10 Thread Chetan Mehrotra
instance' based design? Chetan Mehrotra On Tue, Mar 10, 2015 at 1:15 PM, Ian Boston i...@tfd.co.uk wrote: Hi, Is Oak already single instance when it comes to the identification and storage of binaries ? Are the existing TextExtractors also single instance ? By Single instance I mean, 1 copy

<    1   2   3   4   5   6   7   8   >