[ 
https://issues.apache.org/jira/browse/AMBARI-23429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Srikanth Janardhan resolved AMBARI-23429.
-----------------------------------------
    Resolution: Fixed

> Not able to install METRICS_MONITOR
> -----------------------------------
>
>                 Key: AMBARI-23429
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23429
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Srikanth Janardhan
>            Assignee: Srikanth Janardhan
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> ambari version - 2.7.0.0-246
> metrics monitor installation failed due to below error
> {code}
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/metrics_monitor.py",
>  line 72, in <module>
>     AmsMonitor().execute()
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", 
> line 353, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/metrics_monitor.py",
>  line 28, in install
>     import params
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/params.py",
>  line 376, in <module>
>     if hbase_wal_dir and re.search("^file://|/", hbase_wal_dir): #If wal dir 
> is on local file system, create it.
> NameError: name 're' is not defined
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/metrics_monitor.py",
>  line 72, in <module>
>     AmsMonitor().execute()
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", 
> line 353, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/metrics_monitor.py",
>  line 28, in install
>     import params
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/params.py",
>  line 376, in <module>
>     if hbase_wal_dir and re.search("^file://|/", hbase_wal_dir): #If wal dir 
> is on local file system, create it.
> NameError: name 're' is not defined
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to