Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: ambari install fails with NameError: name 'functions' is not defined

$
0
0

I fixed the issue by adding the bold lines in the corresponding files..

from resource_management.libraries.functions.version import format_hdp_stack_version, compare_versions
<b>from resource_management.libraries import *</b>
from resource_management import *
import status_params

/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py
<b>from resource_management.libraries import *</b>
from resource_management import *

/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py
<b>from resource_management.libraries import *</b>
from resource_management import *

/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/PIG/package/scripts/params.py
<b>from resource_management.libraries import *</b>
from resource_management import *

/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/TEZ/package/scripts/params.py
<b>from resource_management.libraries import *</b>
from resource_management import *


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>