Re: [Oak origin/1.4] Apache Jackrabbit Oak matrix - Build # 992 - Still Failing

2016-06-27 Thread Chetan Mehrotra
in trunk but not in branch? Chetan Mehrotra

Re: [VOTE] Release Apache Jackrabbit Oak 1.4.4

2016-06-27 Thread Chetan Mehrotra
On Mon, Jun 27, 2016 at 10:43 AM, Amit Jain <am...@apache.org> wrote: [X] +1 Release this package as Apache Jackrabbit Oak 1.4.4 Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-06-01 Thread Chetan Mehrotra
I have started a new mail thread around "Usecases around Binary handling in Oak" so as to first collect the kind of usecases we need to support. Once we decide that we can discuss the possible solution. So lets continue the discussion on that thread Chetan Mehrotra On Tue, May 17, 201

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-11 Thread Chetan Mehrotra
referred usecases then we implement them. Let me know if more details are required. If required I can put it up on a wiki page also. Chetan Mehrotra [1] http://markmail.org/thread/6mq4je75p64c5nyn#query:+page:1+mid:zv5dzsgmoegupd7l+state:results

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-11 Thread Chetan Mehrotra
k/jcr/Jcr.java#L190 Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-09 Thread Chetan Mehrotra
we can safely expose this file which would allow layers above to avoid spooling the content again locally for processing. And with callback boundary we can later do required cleanup Chetan Mehrotra On Mon, May 9, 2016 at 7:15 PM, Chetan Mehrotra <chetan.mehro...@gmail.com> wrote:

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-09 Thread Chetan Mehrotra
for later use Hopefully this should address some of the concerns raised in this thread. Looking forward to feedback :) Chetan Mehrotra On Mon, May 9, 2016 at 6:24 PM, Michael Dürig <mdue...@apache.org> wrote: > > > On 9.5.16 11:43 , Chetan Mehrotra wrote: > >> To highligh

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-09 Thread Chetan Mehrotra
suggest it people implement there own BlobStore (may be by extending ours) and provide this API there i.e. say which takes Blob id and provide the required details. This way we "outsource" the problem. Would that be acceptable? Chetan Mehrotra On Mon, May 9, 2016 at 2:28 PM, Michael Düri

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
e issue. So I am still not sure on the attack vector which we are defending against. Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
manage binary content along with its metadata Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
original proposed approach in OAK-1963 was like that i.e. introduce this access method on BlobStore which works on reference. But in that case client code would need to deal with BlobStore API. In either case access to actual binary storage data would be required Chetan Mehrotra On Thu, May 5, 2016 a

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
On Wed, May 4, 2016 at 10:07 PM, Ian Boston <i...@tfd.co.uk> wrote: > If the File or URL is writable, will writing to the location cause issues > for Oak ? > Yes that would cause problem. Expectation here is that code using a direct location needs to behave responsibly. Chetan Mehrotra

API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-03 Thread Chetan Mehrotra
it at Oak level as Blob instance are currently not bound to any session. So proposal is to place this in 'org.apache.jackrabbit.oak.api' package Kindly provide your feedback! Also any suggestion/guidance around how the access control be implemented Chetan Mehrotra [1] http://www.ibm.com/developerwor

Re: [VOTE] Please vote for the final name of oak-segment-next

2016-04-26 Thread Chetan Mehrotra
Missed sending nomination on earlier thread. If not late then one more proposal oak-segment-v2 This is somewhat similar to names used in Mongo mmapv1 and mmapv2. Chetan Mehrotra On Tue, Apr 26, 2016 at 2:32 PM, Tommaso Teofili <tommaso.teof...@gmail.com> wrote: > oak-segment

Re: [VOTE] Release Apache Jackrabbit Oak 1.2.14

2016-04-19 Thread Chetan Mehrotra
On Wed, Apr 20, 2016 at 10:25 AM, Amit Jain <am...@apache.org> wrote: > [ ] +1 Release this package as Apache Jackrabbit Oak 1.2.14 All checks ok Chetan Mehrotra

Re: svn commit: r1737349 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBConnectionHandler.java

2016-04-01 Thread Chetan Mehrotra
In this case it anyway does not matter much as remote call would have much more overhead. Suggestion here was more to have a consistent way of doing such things but not a hard requirement per se ... Chetan Mehrotra

Re: svn commit: r1737349 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBConnectionHandler.java

2016-04-01 Thread Chetan Mehrotra
")); final long start = PERFLOG.start(); Connection c = getDataSource().getConnection(); PERFLOG.end(start, 100, "Obtaining a new connection from {} ", ds); --- This would also avoid the call to System.currentTimeMillis() if debug log is not enabled Chetan Mehrotra

Re: parent pom env.OAK_INTEGRATION_TESTING

2016-03-22 Thread Chetan Mehrotra
On Tue, Mar 22, 2016 at 9:49 PM, Davide Giannella <dav...@apache.org> wrote: > I can't really recall why and if we use this. Its referred to in main README.md so as to allow a developer to always enable running of integration test Chetan Mehrotra

Re: oak-resilience

2016-03-07 Thread Chetan Mehrotra
Cool stuff Tomek! This was something which was discussed in last Oakathon so great to have a way to do resilience testing programatically. Would give it a try Chetan Mehrotra On Mon, Mar 7, 2016 at 1:49 PM, Stefan Egli <stefane...@apache.org> wrote: > Hi Tomek, > > Would also

Re: testing blob equality

2016-02-29 Thread Chetan Mehrotra
can be switched but I am afraid that it would not work as expected. In JackrabbitNodeState#createBlob determining the contentIdentity involves determining the length. You can give org.apache.jackrabbit.oak.upgrade.blob.LengthCachingDataStore a try (See OAK-2882 for details) Chetan Mehrotra

Re: R: info about jackrabbitoak.

2016-02-24 Thread Chetan Mehrotra
Container and have your code in the war access repository instance Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-examples/webapp

Re: svn commit: r1728341 - /jackrabbit/oak/trunk/oak-segment/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentGraph.java

2016-02-05 Thread Chetan Mehrotra
On Fri, Feb 5, 2016 at 2:54 PM, Michael Dürig <mdue...@apache.org> wrote: > There's always another library ;-) For utility stuff well almost ! Chetan Mehrotra

Re: svn commit: r1728341 - /jackrabbit/oak/trunk/oak-segment/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentGraph.java

2016-02-03 Thread Chetan Mehrotra
e.printStackTrace(pw); > +return sw.toString(); > +} finally { > +pw.close(); > +} > } > + May be use com.google.common.base.Throwables#getStackTraceAsString Chetan Mehrotra

Re: svn commit: r1727311 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/osgi/OsgiWhiteboard.java test/java/org/apache/jackrabbit/oak/osgi/OsgiWhiteboardTest.java

2016-01-29 Thread Chetan Mehrotra
On Fri, Jan 29, 2016 at 4:08 PM, Michael Dürig <mdue...@apache.org> wrote: > > Shouldn't we make this volatile? Ack. Would do that Chetan Mehrotra

Re: JUnit tests with FileDataStore

2016-01-27 Thread Chetan Mehrotra
To make use of FileDataStore you would need to configure a SegmentNodeStore as MemoryNodeStore does not allow plugging in custom BlobStore Have a look at snippet [1] for a possible approach Chetan Mehrotra [1] https://gist.github.com/chetanmeh/6242d0a7fe421955d456 On Wed, Jan 27, 2016 at 6:42

Re: Issue using the text extraction with lucene

2016-01-24 Thread Chetan Mehrotra
via the tool. Later extracted text would not be added. The primary aim was to speed up indexing time in migration. Chetan Mehrotra

Re: Issue using the text extraction with lucene

2016-01-23 Thread Chetan Mehrotra
ing commons-csv 1.0 [1] while Oak uses 1.1 and CSVFormat.withIgnoreSurroundingSpaces is added in v1.1. We tested it earlier with Tika 1.6. So you can try adding commons-csv jar as the first one in the classpath java -cp commons-csv-1.1.jar:tika-app-1.11.jar:oak-run-1.2.4.jar Chetan Mehrotra [1

Re: Restructure docs

2016-01-20 Thread Chetan Mehrotra
cess. Therefore > limiting the changes over there make things faster. I mostly do partial commit i.e. only the modified page and it ha worked well. Changing of left side menu is not a very frequent task and for that I think doing full deploy of site is fine for now Chetan Mehrotra

Re: svn commit: r1725250 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/atomic/ oak-core/src/test/java/org/apach

2016-01-18 Thread Chetan Mehrotra
return whiteboard.get(); > +} > +}; > +} Just curious about use of above approach. Is it for keeping the dependencies as non static or using final instance variable? If you mark references as static then all those bind and unbind method would not be required as by the time component is active the dependencies would be set. Chetan Mehrotra

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

2016-01-14 Thread Chetan Mehrotra
gt; > jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/BinaryImpl.java I see some changes to Blob/BinaryImpl. Are those change related to this issue? Most likely look like a noise but just wanted to confirm Chetan Mehrotra

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 653 - Failure

2016-01-05 Thread Chetan Mehrotra
va:82) Looks like commons-lang is not available in oak-jcr. Added it as a test dependency to see if this gets resolved Chetan Mehrotra

Re: svn commit: r1722496 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/ImporterImpl.java

2016-01-04 Thread Chetan Mehrotra
BesteffortTest) === It happens because `getDefinition(parent).isProtected()` has a side of effect of triggering an exception. With above code change that call is not made if 'pnImporter' is null and thus causes a change in behaviour. So better to revert that change. Chetan Mehrotra

JIRA issue not showing associated commits

2016-01-03 Thread Chetan Mehrotra
it got lost. Chetan Mehrotra

Re: Missing SessionStatistics Mbeans

2015-12-16 Thread Chetan Mehrotra
Hi Marc, Thanks for reporting this. It looks like a regression due to changes done for OAK-3477 (affect 1.3.11). Opened OAK-3802 for that. Chetan Mehrotra On Wed, Dec 16, 2015 at 9:51 PM, Marc Pfaff <pfa...@adobe.com> wrote: > Hi > > Using oak-1.3.11.r1716789, I have a situati

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

2015-12-16 Thread Chetan Mehrotra
TestCase.assertEquals(TestCase.java:269) > at > org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetRetrievalWithAnonymousUser(FacetTest.java:102) Looks like most failures are in new Facet tests @Tommaso - Can you have a look Chetan Mehrotra

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

2015-12-16 Thread Chetan Mehrotra
tor might have some race condition involve Chetan Mehrotra [1] https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/634/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/console

Re: Remove/Disable ordered property indexes in trunk

2015-12-11 Thread Chetan Mehrotra
On Thu, Dec 10, 2015 at 7:43 PM, Davide Giannella <dav...@apache.org> wrote: > Can any of you please file an issue and assign it to myself? Done with OAK-3768 Chetan Mehrotra

Re: Oak crypto API

2015-12-10 Thread Chetan Mehrotra
irement So how the encrypted key is created and managed is not a concern for Oak logic. For Oak it just need a way to get plain text credential given some opaque key data. Any method related to encrypting would not be used by other part of Oak so need not be part of API which we expose as extensio

Remove/Disable ordered property indexes in trunk

2015-12-10 Thread Chetan Mehrotra
is to be performed (say some change which touch all indexes) Thoughts? Chetan Mehrotra

Re: svn commit: r1718848 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java

2015-12-09 Thread Chetan Mehrotra
} > +return sb.toString(); > +} > + May be use com.google.common.base.Strings#repeat? Chetan Mehrotra

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.25

2015-12-07 Thread Chetan Mehrotra
On Tue, Dec 8, 2015 at 10:43 AM, Amit Jain <am...@apache.org> wrote: > [X] +1 Release this package as Apache Jackrabbit Oak 1.0.25 Chetan Mehrotra

Re: Safe read after write

2015-12-07 Thread Chetan Mehrotra
ode is found. if not it goes for sleep again. Such retry can be done for 'n' times before giving up Chetan Mehrotra [1] https://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/api/observation/JackrabbitEvent.html#isExternal()

Re: Safe read after write

2015-12-07 Thread Chetan Mehrotra
a message queue) and then other cluster nodes reacts to that then there is a chance that such a change would not have became visible on that cluster node. Currently there is no deterministic way other than introducing polling as part of queue consumer logic Chetan Mehrotra On Mon, Dec 7, 2015

Re: Lucene index speed

2015-12-07 Thread Chetan Mehrotra
ak to manage such thing on its own (@Stefan thoughts?). But as of now this is not possible. So only way out currently is to provide your own Whiteboard implementation which can handle such kind of singleton scheduled jobs. Doing this is certainly non trivial! Chetan Mehrotra [1] https://github.com/apach

Re: Lucene index speed

2015-12-07 Thread Chetan Mehrotra
> me that they should. Checkpoint are not meant to prevent contention. AsyncIndexer has an inbuilt "lease" support to prevent concurrent runs but there have been some issues like OAK-3436 which can result in complete reindexing at times! They should be addressed soon Chetan Mehrotra [1]

Re: Safe read after write

2015-12-06 Thread Chetan Mehrotra
Does the above setup involves multiple Oak instances (say in separate JVM) or message producer and consumer of queue are use same Oak instance? Chetan Mehrotra On Thu, Dec 3, 2015 at 8:33 PM, <da...@butterdev.com> wrote: > I am using Oak with a DocumentNodeStore. I am storin

Re: New Oak Example - Standalone Runnable Example based on Spring Boot

2015-12-06 Thread Chetan Mehrotra
wider demand for such a usecase then it can be looked into Chetan Mehrotra

Re: Lucent index speed

2015-12-06 Thread Chetan Mehrotra
Hi Jim, How does the indexing performs if you say just run a single webapp node? Chetan Mehrotra On Sat, Dec 5, 2015 at 7:18 AM, Jim.Tully <jim.tu...@target.com> wrote: > We are using Oak embedded in a web application, and are now experiencing > significant delays in async in

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 586 - Failure

2015-12-03 Thread Chetan Mehrotra
The failure was in the execution of test in new oak-standalone module as some of the dependencies are only compatible with JDK 7. Skipped execution of test with 1717897 Chetan Mehrotra On Fri, Dec 4, 2015 at 10:14 AM, Apache Jenkins Server <jenk...@builds.apache.org> wrote: > The Apach

Re: Multiplexing Document Store

2015-12-02 Thread Chetan Mehrotra
not be affected and aware of multiplexing logic. May be I am missing something here? Chetan Mehrotra

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

2015-12-02 Thread Chetan Mehrotra
failure the above is a new one. Opened OAK-3719 for that Chetan Mehrotra

Re: Connect to remote repo with oak ?

2015-12-01 Thread Chetan Mehrotra
On Tue, Dec 1, 2015 at 3:26 PM, Rino van Wijngaarden <rino.van.wijngaar...@gmail.com> wrote: > But this gives problems in osgi, so how do i do this with oak? What is the problem and how are you running Oak. Is it via Sling? Chetan Mehrotra

Re: Multiplexing Document Store

2015-12-01 Thread Chetan Mehrotra
cumentNodeStore the multiplexing breaks down. > Code that reads and writes to /jcr:system/** does this. Can you provide a testcase on Robert's branch illustrating the problem? That would help to understand the problem you are facing better Chetan Mehrotra On Fri, Oct 30, 2015 at 4:32 PM, Ian Boston &l

Re: [discuss] persisting cluster (view) id for discovery-lite-descriptor

2015-11-26 Thread Chetan Mehrotra
rlap so keep that usecase also in mind Chetan Mehrotra

Re: BasicDocumentStore.testInterestingStrings failure on MongoDB after OAK-3651

2015-11-26 Thread Chetan Mehrotra
try would be fetched from cache itself. Now with above change the cache actually gets invalidated and hence the issue surfaces. So may be a real issue Chetan Mehrotra On Thu, Nov 26, 2015 at 4:35 PM, Robert Munteanu <romb...@apache.org> wrote: > Hi, > > I get consistent test failures

Re: [discuss] persisting cluster (view) id for discovery-lite-descriptor

2015-11-25 Thread Chetan Mehrotra
id using File based approach. This would reduce operational complexity Chetan Mehrotra On Wed, Nov 25, 2015 at 6:23 PM, Stefan Egli <stefane...@apache.org> wrote: > Right, I'm not sure it is indeed a requirement. But without automatic > support it might get forgotten and thus th

Re: [discuss] persisting cluster (view) id for discovery-lite-descriptor

2015-11-25 Thread Chetan Mehrotra
c failover support. For such cases we can allow passing the id as a system/framework property also Chetan Mehrotra

Re: svn commit: r1715773 [1/2] - in /jackrabbit/oak/trunk: oak-core/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/metric/ oak-core/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/ o

2015-11-24 Thread Chetan Mehrotra
Removed the method with 1716101 Chetan Mehrotra On Tue, Nov 24, 2015 at 2:45 PM, Michael Dürig <mdue...@apache.org> wrote: > > > On 24.11.15 10:09 , Chetan Mehrotra wrote: >> >> On Tue, Nov 24, 2015 at 2:35 PM, Michael Dürig <mdue...@apache.org> wrote: >

Re: [jira] [Updated] (OAK-3632) Incorrect Value Conversion upon Node.setProperty and Node.setValue

2015-11-24 Thread Chetan Mehrotra
On Tue, Nov 24, 2015 at 2:55 PM, Marcel Reutegger <mreut...@adobe.com> wrote: > I quickly checked JIRA and it seems we can also 'unrelease' > a version if needed. > > What do others think? Should we changed the release process [0] > accordingly? +1 Chetan Mehrotra

Re: Test failures in o.a.j.o.spi.whiteboard.WhiteboardUtilsTest

2015-11-24 Thread Chetan Mehrotra
On Tue, Nov 24, 2015 at 4:36 PM, Francesco Mari <mari.france...@gmail.com> wrote: > Maven home: /usr/local/Cellar/maven32/3.2.5/libexec > Java version: 1.8.0_65, vendor: Oracle Corporation I am on JDK 1.7.0_55 and there it passes. Would try it on JDK 8 Chetan Mehrotra

Re: Test failures in o.a.j.o.spi.whiteboard.WhiteboardUtilsTest

2015-11-24 Thread Chetan Mehrotra
Looks like on JDK 8 the MBean interface has to be public for MBean registration to work. Done that with 1716110 @Francesco - Can you try again with updated trunk? Chetan Mehrotra On Tue, Nov 24, 2015 at 4:58 PM, Chetan Mehrotra <chetan.mehro...@gmail.com> wrote: > On Tue, Nov 24, 201

Re: jackrabbit-oak build #6910: Broken

2015-11-23 Thread Chetan Mehrotra
/metric/StatisticsProviderFactory.java:[59,54] error: illegal forward reference Chetan Mehrotra On Mon, Nov 23, 2015 at 5:31 PM, Travis CI <ju...@apache.org> wrote: > Build Update for apache/jackrabbit-oak > - > > Build: #6910 > Status: Broken >

Enabling use of Metrics in Oak to simplify and improve stats collection (OAK-3654)

2015-11-19 Thread Chetan Mehrotra
. By default only TimeSeries based data would be collected. Kindly have a look at OAK-3654 and provide your inputs there! Chetan Mehrotra [1] http://metrics.dropwizard.io/ [2] http://metrics.dropwizard.io/3.1.0/getting-started/

Re: Threading Question

2015-11-17 Thread Chetan Mehrotra
Have a look at webapp example [1] for suggested setup. The repository should be created once and then reused. Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-examples/webapp On Wed, Nov 18, 2015 at 4:02 AM, David Marginian <da...@davidmarginian.com> wrote: &

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.24

2015-11-16 Thread Chetan Mehrotra
[X] +1 Release this package as Apache Jackrabbit Oak 1.0.24 Chetan Mehrotra

Re: Oak releases and profiles

2015-11-16 Thread Chetan Mehrotra
Was this change done? I just ran the check-release script for 1.2.8 and it did not executed any test Chetan Mehrotra On Mon, Sep 7, 2015 at 6:31 PM, Davide Giannella <dav...@apache.org> wrote: > On 07/09/2015 11:08, Marcel Reutegger wrote: >> ... >> I would like to rever

Re: [VOTE] Release Apache Jackrabbit Oak 1.2.8

2015-11-16 Thread Chetan Mehrotra
Looks like running check-release.sh for 1.2.8 build (or 1.2 branch) is not triggering testcase. It looks like Marcel raised this earlier also at [1]. Would followup there Chetan Mehrotra [1] http://markmail.org/thread/f5uvng2b2yvqu7ix On Tue, Nov 17, 2015 at 12:49 AM, Julian Reschke

Re: [VOTE] Release Apache Jackrabbit Oak 1.2.8

2015-11-16 Thread Chetan Mehrotra
80) Probably these are intermittent failures. However bit unsure for B) - As there exception comes just in the OakInitializer.initialize call which should be single threaded. So not sure why there was a conflict Chetan Mehrotra [1] https://paste.apache.org/ngsL On Tue, Nov 17, 2015 at 10:42 AM, Chetan Mehr

Re: Oak 1.3.10 release plan

2015-11-09 Thread Chetan Mehrotra
Hi Davide, I am working on OAK-3092 and hope to get it done by today. So can the release be delayed a bit to include this change? Chetan Mehrotra On Thu, Nov 5, 2015 at 9:37 PM, Davide Giannella <dav...@apache.org> wrote: > Hello team, > > I'm planning to cut Oak 1.3.10 next Mon

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

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

<    1   2   3   4   5   6   7   >