[
https://issues.apache.org/jira/browse/AMBARI-23429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426160#comment-16426160
]
Hudson commented on AMBARI-23429:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8983 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8983/])
AMBARI-23429 Added missing imports (rlevas:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=45076eb19e373cd18f48372e68833c70f40a728d])
* (edit)
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
> 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)