Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import name format_hdp_stack_version #4

Closed
ildarmf opened this issue Sep 3, 2016 · 3 comments
Closed

Cannot import name format_hdp_stack_version #4

ildarmf opened this issue Sep 3, 2016 · 3 comments

Comments

@ildarmf
Copy link

ildarmf commented Sep 3, 2016

Hello! I have problem when I install flink in Hortonworks. Help to solve the problem

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

@ildarmf
Copy link
Author

ildarmf commented Sep 5, 2016

Apache Ambari Version 2.4.0.0
Hadoop 2.5

@ildarmf
Copy link
Author

ildarmf commented Sep 6, 2016

@ildarmf ildarmf closed this as completed Sep 6, 2016
@abourakba
Copy link

Most of the people will consult the page and the repo is no more available.
According to this page : Symantec/ambari-cassandra-service#11
In params.py You should replace format_hdp_stack_version by format_stack_version
Credits goes to @juan-echeverria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants