This is a known issue impacting NSX Intelligence 1.2.0.
Currently, there is no resolution.
Workaround:
Change the context compaction job frequency run weekly so its interval does not overlap with currently running ingestion jobs.
VMware also recommends to proactively run this command:
- Use this command:
vim /etc/cron.d/pace_rollup_task
- Add a new line to the end of the file similar to:
MAILTO=""
0 2 * * * upace /opt/vmware/pace/druid-config/reindex-cf.py -f /opt/vmware/pace/druid-config/reindex-cf-template.json -d correlated_flow -g "day" -n 1 --guard-interval-days 1 -s /opt/vmware/pace/druid-config/rollup_success_correlated_flow
0 3 * * * upace /opt/vmware/pace/druid-config/reindex-cf.py -f /opt/vmware/pace/druid-config/reindex-cf-template.json -d correlated_flow_viz -g "day" -n 1 --guard-interval-days 1 -s /opt/vmware/pace/druid-config/rollup_success_correlated_flow_viz
0 * * * * upace /opt/vmware/pace/druid-config/reindex-cf.py -f /opt/vmware/pace/druid-config/reindex-cf-template.json -d correlated_flow -g "hour" -n 1
0 5 * * 0 upace /opt/vmware/pace/druid-config/reindex-cf.py -f /opt/vmware/pace/druid-config/reindex-cf-template.json -d correlated_flow -g "week" -n 7 --guard-interval-days 1 -s /opt/vmware/pace/druid-config/rollup_success_correlated_flow_weekly
0 6 * * 0 upace /opt/vmware/pace/druid-config/reindex-cf.py -f /opt/vmware/pace/druid-config/reindex-cf-template.json -d correlated_flow_viz -g "week" -n 7 --guard-interval-days 7 -s /opt/vmware/pace/druid-config/rollup_success_correlated_flow_viz_weekly
~
~
- Restart the cron service with this command:
/etc/init.d/cron restart
Note: Wait for up to 24 hours until the roll up job is scheduled.
To mitigate the issue caused by late or early timestamps, run these commands:
- Navigate to the druid config folder:
cd /opt/vmware/pace/druid-config
- Open the druid kafka ingestion file for correlated flow viz:
vim correlated_flow_visualization_kafka_supervisor.json
- Search for the string "ioConfig":
/ioConfig
- Add two new items "lateMessageRejectionPeriod":"PT30M" and "earlyMessageRejectionPeriod":"PT30M" in the bracket.
For example:
"ioConfig": {"topic": "correlated_flow", "lateMessageRejectionPeriod":"PT30M", "earlyMessageRejectionPeriod":"PT30M", "replicas": 1, "taskCount": 1, "taskDuration": "PT10M",
- Save and Exit:
ESC then :wq!
- POST the updated json to druid:
curl -XPOST -H'Content-Type: application/json' -d @correlated_flow_visualization_kafka_supervisor.json http://localhost:8090/druid/indexer/v1/supervisor
- Open the druid kafka ingestion file for correlated flow:
vim correlated_flow_kafka_supervisor.json
- Search for the string "ioConfig":
/ioConfig
- Add two new items "lateMessageRejectionPeriod":"PT30M" and "earlyMessageRejectionPeriod":"PT30M" in the bracket. For example
"ioConfig": {"topic": "correlated_flow", "lateMessageRejectionPeriod":"PT30M", "earlyMessageRejectionPeriod":"PT30M", "replicas": 1, "taskCount": 1, "taskDuration": "PT10M",
- Save and Exit:
ESC, then :wq!
- POST the updated json to druid:
curl -XPOST -H'Content-Type: application/json' -d @correlated_flow_kafka_supervisor.json http://localhost:8090/druid/indexer/v1/supervisor