Trying to install datastax opscenter - Failed to load application: cannot import name _parse
- by gansbrest
I'm not familiar with python, maybe someone could explain what's going on here?
ec2-user@prod-opscenter-01:~ % java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
ec2-user@prod-opscenter-01:~ % python -V
Python 2.6.8
ec2-user@prod-opscenter-01:~ % openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
And now the error
ec2-user@prod-opscenter-01:~ % sudo /etc/init.d/opscenterd start
Starting Cassandra cluster manager opscenterd
Starting opscenterdUnhandled Error
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 652, in run
runApp(config)
File "/usr/lib64/python2.6/site-packages/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 386, in run
self.application = self.createOrGetApplication()
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 451, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 462, in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/usr/lib64/python2.6/site-packages/twisted/application/service.py", line 405, in loadApplication
application = sob.loadValueFromFile(filename, 'application', passphrase)
File "/usr/lib64/python2.6/site-packages/twisted/persisted/sob.py", line 210, in loadValueFromFile
exec fileObj in d, d
File "bin/start_opscenter.py", line 1, in <module>
from opscenterd import opscenterd_tap
File "/usr/lib/python2.6/site-packages/opscenterd/opscenterd_tap.py", line 37, in <module>
File "/usr/lib/python2.6/site-packages/opscenterd/OpsCenterdService.py", line 13, in <module>
File "/usr/lib/python2.6/site-packages/opscenterd/ClusterServices.py", line 22, in <module>
File "/usr/lib/python2.6/site-packages/opscenterd/WebServer.py", line 40, in <module>
File "/usr/lib/python2.6/site-packages/opscenterd/Agents.py", line 18, in <module>
exceptions.ImportError: cannot import name _parse
Failed to load application: cannot import name _parse
Maybe there are open source alternatives to monitoring cassandra I should look at?
Thanks a lot