Re: Oak Metrics.
Hi, On 15 June 2017 at 11:42, Chetan Mehrotrawrote: > On Thu, Jun 15, 2017 at 2:55 PM, Ian Boston wrote: > > Is are the new Oak Metrics documented somewhere ? > > No because so far no one else asked for it and only I was making use > of them! Now that you asked would try to document it > perfect, thanks. > > > NRT_REFRESH_TIME > > That measures the time to refresh the index reader (see NRTIndex > class). Probably we should have a way to add description at time of > Metric creation. > Elsewhere I am trying to encourage doing that in JavaDoc using a @metric custom javadoc tag. I dont know if that will cause problems for Oaks build, but it should be possible to extract the documentation at a later date if required. IIUC the tag doesnt need to be formally implemented. In the case of repository stats all that would be required is the tag added to the existing javadoc. When the metric name is the class name, it becomes trivial to locate the documentation. Best Regards Ian > > Chetan Mehrotra >
BUILD FAILURE: Jackrabbit Oak - Build # 424 - Failure
The Apache Jenkins build system has built Jackrabbit Oak (build #424) Status: Failure Check console output at https://builds.apache.org/job/Jackrabbit%20Oak/424/ to view the results. Changes: [stillalex] OAK-6349 Randomized permission tests [mreutegg] OAK-6223: Expose socket keep-alive option Add documentation since when this option is available. [mreutegg] OAK-6354: Move DocumentNodeStoreMBean implementation in separate file [mreutegg] OAK-6351: Invalidate cache entries when getChildNodes() is aborted Test results: 21 tests failed. FAILED: org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.validateMigration[Suppress the warning] Error Message: javax.jcr.RepositoryException: Failed to copy content Stack Trace: java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content at org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.prepare(CopyCheckpointsTest.java:141) Caused by: javax.jcr.RepositoryException: Failed to copy content at org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.prepare(CopyCheckpointsTest.java:141) Caused by: java.lang.IllegalArgumentException at org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.prepare(CopyCheckpointsTest.java:141) FAILED: org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.validateMigration[Source data store defined, checkpoints migrated] Error Message: javax.jcr.RepositoryException: Failed to copy content Stack Trace: java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content at org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.prepare(CopyCheckpointsTest.java:141) Caused by: javax.jcr.RepositoryException: Failed to copy content at org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.prepare(CopyCheckpointsTest.java:141) Caused by: java.lang.IllegalArgumentException at org.apache.jackrabbit.oak.upgrade.CopyCheckpointsTest.prepare(CopyCheckpointsTest.java:141) FAILED: org.apache.jackrabbit.oak.upgrade.IgnoreMissingBinariesTest.validateMigration Error Message: javax.jcr.RepositoryException: Failed to copy content Stack Trace: java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content at org.apache.jackrabbit.oak.upgrade.IgnoreMissingBinariesTest.prepare(IgnoreMissingBinariesTest.java:63) Caused by: javax.jcr.RepositoryException: Failed to copy content at org.apache.jackrabbit.oak.upgrade.IgnoreMissingBinariesTest.prepare(IgnoreMissingBinariesTest.java:63) Caused by: java.lang.IllegalArgumentException at org.apache.jackrabbit.oak.upgrade.IgnoreMissingBinariesTest.prepare(IgnoreMissingBinariesTest.java:63) FAILED: org.apache.jackrabbit.oak.upgrade.UpgradeOldSegmentTest.upgradeFrom10 Error Message: javax.jcr.RepositoryException: Failed to copy content Stack Trace: java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content at org.apache.jackrabbit.oak.upgrade.UpgradeOldSegmentTest.upgradeFrom10(UpgradeOldSegmentTest.java:62) Caused by: javax.jcr.RepositoryException: Failed to copy content at org.apache.jackrabbit.oak.upgrade.UpgradeOldSegmentTest.upgradeFrom10(UpgradeOldSegmentTest.java:62) Caused by: java.lang.IllegalArgumentException at org.apache.jackrabbit.oak.upgrade.UpgradeOldSegmentTest.upgradeFrom10(UpgradeOldSegmentTest.java:62) FAILED: org.apache.jackrabbit.oak.upgrade.cli.SegmentTarToSegmentTest.validateMigration Error Message: javax.jcr.RepositoryException: Failed to copy content Stack Trace: java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content Caused by: javax.jcr.RepositoryException: Failed to copy content Caused by: java.lang.IllegalArgumentException FAILED: org.apache.jackrabbit.oak.upgrade.cli.SegmentToJdbcTest.validateMigration Error Message: javax.jcr.RepositoryException: Failed to copy content Stack Trace: java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content Caused by: javax.jcr.RepositoryException: Failed to copy content Caused by: java.lang.IllegalArgumentException FAILED: org.apache.jackrabbit.oak.upgrade.cli.SegmentToSegmentTarTest.validateMigration Error Message: javax.jcr.RepositoryException: Failed to copy content Stack Trace: java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content Caused by: javax.jcr.RepositoryException: Failed to copy content Caused by: java.lang.IllegalArgumentException FAILED: org.apache.jackrabbit.oak.upgrade.cli.SegmentToSegmentTarWithMissingDestinationDirectoryTest.validateMigration Error Message: javax.jcr.RepositoryException: Failed to copy content Stack Trace: java.lang.RuntimeException: javax.jcr.RepositoryException: Failed to copy content Caused by: javax.jcr.RepositoryException: Failed to copy content Caused by: java.lang.IllegalArgumentException FAILED: org.apache.jackrabbit.oak.upgrade.cli.SegmentToSegmentTest.validateMigration Error Message:
Re: Oak Metrics.
On Thu, Jun 15, 2017 at 2:55 PM, Ian Bostonwrote: > Is are the new Oak Metrics documented somewhere ? No because so far no one else asked for it and only I was making use of them! Now that you asked would try to document it > NRT_REFRESH_TIME That measures the time to refresh the index reader (see NRTIndex class). Probably we should have a way to add description at time of Metric creation. Chetan Mehrotra
Oak Metrics.
Hi, Is are the new Oak Metrics documented somewhere ? I see that [1] exists. Google returns 2 hits for NRT_REFRESH_TIME, oddly neither relevant. (now there will be 1 relevant hit, this thread) Is there 1 page where I can look for a description of all metrics in Oak. Best Regards Ian 1 https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/stats/RepositoryStatistics.java
Oak 1.7.2 release plan
Hello team, I'm planning to cut Oak next Monday BST. If there are any objections please let me know. Otherwise I will re-schedule any non-resolved issue for the next iteration. Thanks Davide