Follow

Remove All My Data And Start Again?

To clear out all of the data, follow the steps below. Note that this removes all ingested data, and that the data can't be recovered.

Removing Analytic Data

Stop HBase:

stop-hbase.sh

Stop ingest, by running jps, finding the PID for the 'ingest' process and kilingl it.

Remove HBase data:

hadoop fs -rm -r /hbase

Remove ZooKeeper data:

rm -fr /opt/interset/data/hbase/zookeeper

Restart HBase:

start-hbase.sh

Rebuild the HBase schema:

cd /opt/interset/analytics/bin

./sql.sh --dbServer localhost --action migrate     

Restart ingest:

/opt/interset/analytics/bin/ingest.sh

At this point you have removed all log data. Note that if the analytics had previously been run and the data was visible in the reporting UI, then the reporting UI will continue to show the old data until the analytics phase is run again, even if new data is ingested.

After ingesting new data, you can either wait for the scheduled analytics phase to run (usually nightly), or you can run the analytics phase immediately:

/opt/interset/analytics/bin/cron/daily.sh

After the analytics phase completes, the reporting UI will automatically refresh to show the new data.

Removing User Data

The tenant and user login records are stored in /opt/interset/reporting/investigator-db.mv.db. To clear this data simply delete this file.

To recreate the file run:

cd /opt/interset/reporting

java -jar investigator-x.x.x.jar db migrate investigator.yml

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk