ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-18152) 'ambari-server --help' not working
Date Tue, 16 Aug 2016 20:26:20 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-18152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423333#comment-15423333
] 

Hudson commented on AMBARI-18152:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5534 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5534/])
AMBARI-18152: 'ambari-server --help' not working (nsomasundaram: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ff4b2c4bed5582b455f78055aec4f9e2a0284704])
* (edit) ambari-server/src/main/python/ambari_server/serverConfiguration.py
* (edit) ambari-server/sbin/ambari-server


> 'ambari-server --help' not working
> ----------------------------------
>
>                 Key: AMBARI-18152
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18152
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: rb51123.patch
>
>
> The {{--help}} command is not working in ambari-server-2.4.0.0-1139 
> {noformat}
> [root@revo1 tmp]# ambari-server --hash
> 4512811263e2b168d03ad56430a73e418ce8a7a7
> [root@revo1 tmp]# ambari-server --help
> Using python  /usr/bin/python
> Usage: /usr/sbin/ambari-server.py
>         {start|stop|restart|setup|setup-jce|upgrade|status|upgradestack|setup-ldap|sync-ldap|set-current|setup-security|setup-sso|refresh-stack-hash|backup|restore|update-host-names|enable-stack|check-database|db-cleanup}
[options]
>         Use /usr/sbin/ambari-server.py <action> --help to get details on options
available.
>         Or, simply invoke ambari-server.py --help to print the options.
> [root@revo1 tmp]# /usr/sbin/ambari-server.py --help
> Could not read "/etc/ambari-server/conf/ambari.properties": 'ROOT'
> ERROR: Error getting ambari properties
> Traceback (most recent call last):
>   File "/usr/sbin/ambari-server.py", line 33, in <module>
>     from ambari_server.dbConfiguration import DATABASE_NAMES, LINUX_DBMS_KEYS_LIST
>   File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration.py", line 28,
in <module>
>     from ambari_server.serverConfiguration import decrypt_password_for_alias, get_ambari_properties,
get_is_secure, \
>   File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line
552, in <module>
>     configDefaults = ServerConfigDefaults()
>   File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line
469, in __init__
>     super(ServerConfigDefaultsLinux, self).__init__()
>   File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line
349, in __init__
>     self.PID_DIR = properties.get_property(PID_DIR_PROPERTY)
> AttributeError: 'int' object has no attribute 'get_property'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message