View Repair Crawl Activities (DRAFT) |
This procedure describes how to view repair crawl activities in Lattus for a single namespace. To determine if a crawl is running for another namespace, repeat the procedure for each namespace you want to check.
# qshell
In[]: q.dss.manage.listNameSpaces().keys()
Out[]: ['_metastorebackup', 'data1', '_osis_model_backup']
In []: q.dss.manage.showNameSpace('data1')['master_node_id']
Out[]: 4
In []: q.dss.manage.showStorageDaemon(4)['address'].split(':')[0]
Out[]: '10.10.1.43'
exit()
# ssh 10.10.1.43
# cd /opt/qbase3/var/log/dss/storagedaemons/<id>/
# less node.log
# grep "loop start" node.log
# grep "loop end" node.log
If you see “loop start” and no “loop end” then a repair crawl is still running.
In []: q.dss.manage.showStorageDaemon(4)['address'].split(':')[0]) for sd in [ (ns, q.dss.manage.show)
Out[]:
[('_metastorebackup', 9, '10.10.1.45'),
('data1', 4, '10.10.1.43'),
('_osis_model_backup', 10, '10.10.1.46')]
This page was generated by the BrainKeeper Enterprise Wiki, © 2018 |