Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10646

The evaluation layer that helps sizing Cassandra is broken

    XMLWordPrintable

    Details

    • Sprint:
      Horizon - April 3rd 2019, Horizon - April 10th 2019

      Description

      As described on NMS-8334, the evaluation layer was designed to help sizing Cassandra cluster (although it can be used to size the underlying storage when using RRDtool or JRobin).

      Typically, this feature is enabled by creating the following system property:

       org.opennms.timeseries.strategy=evaluate
      

      This was working perfectly fine on Meridian 2016, Meridian 2017, Meridian 2018, and recent Horizons, from H18 until H22. Currently, the feature is not working on H23, and if it is enabled, OpenNMS won't start.

      The problem was due to some refactoring that involve renaming the application contexts for persistence. That means, the fix is as easy as renaming:

      features/timeseries-evaluate/src/main/resources/META-INF/opennms/applicationContext-evaluate.xml -> features/timeseries-evaluate/src/main/resources/META-INF/opennms/applicationContext-timeseries-evaluate.xml
      

      With that fix, if the package features/timeseries-evaluate is recompiled, and then place the JAR on $OPENNMS_HOME/lib, H23 works as expected. Attached you'll find a patched JAR for H23.0.4.

        Attachments

          Activity

            People

            • Assignee:
              cgorantla Chandra Gorantla
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: