- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Unable to restart kafka broker
- Labels:
-
Apache Kafka
Created ‎08-14-2017 04:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am trying to restart one of my kafka broker for stale configuration due to ranger configuration changes.
However, one of the kafka broker is not coming up and is not throwing any error as well. I reverted back the ranger configuration but to no avail. The only error that i see is the below error in the ambari stderr output:
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/KAFKA/0.8.1/package/scripts/kafka_broker.py", line 129, in <module> KafkaBroker().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute method(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 685, in restart self.stop(env, upgrade_type=upgrade_type) File "/var/lib/ambari-agent/cache/common-services/KAFKA/0.8.1/package/scripts/kafka_broker.py", line 96, in stop import params File "/var/lib/ambari-agent/cache/common-services/KAFKA/0.8.1/package/scripts/params.py", line 181, in <module> enable_ranger_kafka = not is_empty(enable_ranger_kafka) and enable_ranger_kafka.lower() == 'yes' AttributeError: 'bool' object has no attribute 'lower'
Created ‎08-17-2017 07:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Aditya Gopal:
It looks like the version of python on this node has been changed to one where the method called is not available. Has there been a change or upgrade to the version of python installed on this particular node recently?
Thank you,
Jeff G.
