You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/07/10 07:53:00 UTC
[jira] [Commented] (AMBARI-24268) yarn params not found in
Ambaripreupload.py
[ https://issues.apache.org/jira/browse/AMBARI-24268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538208#comment-16538208 ]
Hudson commented on AMBARI-24268:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9599 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9599/])
AMBARI-24268. fix preupload script references, clean imports (#1724) (6454655+adoroszlai: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=6c46a0b54d300e4036737fcb6bc4f099b173acfd])
* (edit) ambari-server/src/main/resources/scripts/Ambaripreupload.py
> yarn params not found in Ambaripreupload.py
> -------------------------------------------
>
> Key: AMBARI-24268
> URL: https://issues.apache.org/jira/browse/AMBARI-24268
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.0
> Reporter: Gabor Boros
> Assignee: Gabor Boros
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 2.7.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Running Ambari preupload script is throwing errors because of invalid yarn parameter references:
>
> {noformat}
> [root@c7301 ~]# /var/lib/ambari-server/resources/scripts/Ambaripreupload.py
> 2018-07-09 12:28:04,121 - call['/usr/bin/hdp-select status hadoop-mapreduce-historyserver > /tmp/tmpimy0Rf'] {}
> 2018-07-09 12:28:04,149 - call returned (0, '')
> Returning fs.defaultFS -> hdfs://c7301.ambari.apache.org:8020
> 2018-07-09 12:28:04,154 - Creating /usr/hdp/3.0.0.0-1621/hadoop-yarn/lib/service-dep.tar.gz
> Traceback (most recent call last):
> File "/var/lib/ambari-server/resources/scripts/Ambaripreupload.py", line 360, in <module>
> create_yarn_service_tarball()
> File "/var/lib/ambari-server/resources/scripts/Ambaripreupload.py", line 317, in create_yarn_service_tarball
> folders = [yarn_home_dir, yarn_lib_dir, hdfs_home_dir, hdfs_lib_dir, hadoop_home_dir, hadoop_lib_dir]
> NameError: global name 'yarn_home_dir' is not defined{noformat}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)