Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Hello! I have problem when I install flink in Hortonworks. Help to solve the problem
Apache Ambari Version 2.4.0.0 Hadoop 2.5
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.5/services/FLINK/package/scripts/flink.py", line 164, in <module>
Master().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.5/services/FLINK/package/scripts/flink.py", line 12, in install
import params
File "/var/lib/ambari-agent/cache/stacks/HDP/2.5/services/FLINK/package/scripts/params.py", line 5, in <module>
from resource_management.libraries.functions.version import format_hdp_stack_version
ImportError: cannot import name format_hdp_stack_version
Created 09-06-2016 03:18 PM
Created 09-05-2016 06:48 PM
I think the Ambari Plugin has been developed and tested against Ambari 2.3. Maybe its not compatible with the latest HDP release anymore. (See also: https://github.com/abajwa-hw/ambari-flink-service)
Created 09-06-2016 03:18 PM
Created 11-04-2016 07:21 PM
Had couple of issues:
1 recovering from bad install state: https://community.hortonworks.com/questions/607/how-do-you-remove-a-service-from-hdp-via-ambari.html helped.
2. still had an issue with ImportError: cannot import name format_hdp_stack_version removing that line helps: https://github.com/hananiel/hortonworks-flink