Support Questions

Find answers, ask questions, and share your expertise

Upgrade from HDF 3.0.2 to HDF- fails


I am upgrading HDF 3.0.2 to HDF 3.1.2 . I managed to upgrade ambari from to 2.7.0

But upgrade of HDF fails with the error :

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/", line 99, in <module>
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/", line 353, in execute
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/", line 39, in service_check
    import params
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/", line 284, in <module>
    for host in config['clusterHostInfo']['zookeeper_hosts']:
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/", line 73, in __getattr__
    raise Fail("Configuration parameter '" + + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'zookeeper_hosts' was not found in configurations dictionary!

Could someone give any suggestions?


Hi @Gulshan Agivetova ,

Ambari-2.7.0 can only manage HDF-3.2. so if you are using Ambari-2.7.0 you need to upgrade to HDF-3.2.

If you want to stick to HDF-3.1.2 you need to downgrade your ambari server to and upgrade only HDF not ambari.

Please refer to :

Hope this helps you. please accept answer if it did.


Hi @Akhil S Naik

Thanks for your reply!

Initially I was planning to upgrade to HDF-3.2, after successful upgrade of Ambari to 2.7.0, I registered new 3.2 version of HDF and tried to install it. But it didn't allow me, it said that: Directly upgrading to this version is not supported

So that's why I uninstalled the mpack for HDF-3.2 and installed HDF-3.1.2

So after that while trying to upgrade to HDF-3.1.2 I'm receiving the above error.

Can you please suggest what actions can I take. I want to upgrade to HDF-3.2.



@Akhil S Naik

As you see in this screen shot, It is not allowing me to install HDF-3.2 version, although the version on ambari is


What can you suggest?

Hi @Gulshan Agivetova ,

Sorry for late response. are you able to resolve this issue.