ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8071) Unable to start services after 1.6.1 -> 1.7.0 upgrade
Date Fri, 31 Oct 2014 22:32:34 GMT

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

Hudson commented on AMBARI-8071:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #781 (See [https://builds.apache.org/job/Ambari-trunk-Commit/781/])
AMBARI-8071. Unable to start services after 1.6.1 -> 1.7.0 upgrade. (Andrew O via mahadev)
(mahadev: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=41b37c414ed146ddaae8e16fdd650d22ccf524d4)
* ambari-common/src/main/python/resource_management/libraries/functions/format_jvm_option.py


> Unable to start services after 1.6.1 -> 1.7.0 upgrade
> -----------------------------------------------------
>
>                 Key: AMBARI-8071
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8071
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.7.0
>
>
> 1) Installed 1.6.1  
> 2) modified configs (like nn, dn heapsizes, rm heapsize, tez memory setting,
> etc)  
> 3) all saves and restarts fine  
> 4) stop all services, performed upgrade to 1.7.0  
> 5) All services show restart required.  
> 6) I attempt to start all and fails. HDFS, Mapreduce, tez and yarn clients
> installs all fail with the error below.
> If I attempt to refresh configs or restart just tez, it fails with "Host Role
> in invalid state".
>     
>     
>     
>     tderr:   /var/lib/ambari-agent/data/errors-52.txt
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py",
line 34, in <module>
>         BeforeAnyHook().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 122, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py",
line 26, in hook
>         import params
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py",
line 69, in <module>
>         namenode_opt_permsize = format_jvm_option("/configurations/hadoop-env/namenode_opt_permsize","128m")
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format_jvm_option.py",
line 31, in format_jvm_option
>         if not "m" in curr_dict:
>     TypeError: argument of type 'int' is not iterable
>     Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py',
'ANY', '/var/lib/ambari-agent/data/command-52.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY',
'/var/lib/ambari-agent/data/structured-out-52.json', 'INFO', '/var/lib/ambari-agent/data/tmp']
>     
>     stdout:   /var/lib/ambari-agent/data/output-52.txt
>     
>     Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py',
'ANY', '/var/lib/ambari-agent/data/command-52.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY',
'/var/lib/ambari-agent/data/structured-out-52.json', 'INFO', '/var/lib/ambari-agent/data/tmp']
>     
> If I attempt to just try to start namenode component specifically, this is
> what I get:
>     
>     
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
line 37, in <module>
>         BeforeStartHook().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 122, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
line 27, in hook
>         import params
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py",
line 136, in <module>
>         namenode_opt_permsize = format_jvm_option("/configurations/hadoop-env/namenode_opt_permsize","128m")
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format_jvm_option.py",
line 31, in format_jvm_option
>         if not "m" in curr_dict:
>     TypeError: argument of type 'int' is not iterable
>     



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

Mime
View raw message