-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45425/
-----------------------------------------------------------

Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-15614
    https://issues.apache.org/jira/browse/AMBARI-15614


Repository: ambari


Description
-------

Traceback (most recent call last):
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py",
 line 147, in <module>
        ApplicationTimelineServer().execute()
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 219, in execute
        method(env)
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py",
 line 43, in start
        self.configure(env) # FOR SECURITY
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py",
 line 54, in configure
        yarn(name='apptimelineserver')
      File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", 
line 89, in thunk
        return fn(*args, **kwargs)
      File 
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py",
 line 268, in yarn
        mode=0755
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
line 154, in __init__
        self.env.run()
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
line 158, in run
        self.run_action(resource, action)
      File 
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
line 121, in run_action
        provider_action()
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
 line 461, in action_create_on_execute
        self.action_delayed("create")
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
 line 458, in action_delayed
        self.get_hdfs_resource_executor().action_delayed(action_name, self)
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
 line 246, in action_delayed
        main_resource.resource.security_enabled, 
main_resource.resource.logoutput)
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
 line 133, in __init__
        security_enabled, run_user)
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/namenode_ha_utils.py",
 line 155, in get_property_for_active_namenode
        active_namenodes = get_namenode_states(hdfs_site, security_enabled, 
run_user)[0]
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/namenode_ha_utils.py",
 line 60, in get_namenode_states
        return doRetries(hdfs_site, security_enabled, run_user)
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py",
 line 48, in wrapper
        return function(*args, **kwargs)
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/namenode_ha_utils.py",
 line 48, in doRetries
        active_namenodes, standby_namenodes, unknown_namenodes = 
get_namenode_states_noretries(hdfs_site, security_enabled, run_user)
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/namenode_ha_utils.py",
 line 71, in get_namenode_states_noretries
        nn_unique_ids_key = 'dfs.ha.namenodes.' + name_service
    TypeError: cannot concatenate 'str' and 'int' objects


Diffs
-----

  
ambari-common/src/main/python/resource_management/libraries/functions/expect.py 
PRE-CREATION 
  
ambari-common/src/main/python/resource_management/libraries/script/config_dictionary.py
 e893503 
  
ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
 7da0ea2 
  
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
 e5c092e 
  
ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py
 681e3ee 
  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/params_linux.py
 d3a97e7 
  
ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
 63509b8 
  
ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params_linux.py
 1067ba7 
  
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
 9b0a195 
  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
 9fa3cd4 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
 481b588 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_windows.py
 5610019 
  
ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/params.py
 270a5ac 
  
ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/params.py
 422c686 
  
ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py
 4f9dac6 
  
ambari-server/src/main/resources/common-services/MAHOUT/1.0.0.2.3/package/scripts/params.py
 7a0de63 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
 06d4e22 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
 4a62e4d 
  
ambari-server/src/main/resources/common-services/PIG/0.12.0.2.0/package/scripts/params_linux.py
 707a7a4 
  
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
 507c00e 
  
ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/params.py
 ae4591e 
  
ambari-server/src/main/resources/common-services/SLIDER/0.60.0.2.2/package/scripts/params.py
 cc08a6f 
  
ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py
 c07eefe 
  
ambari-server/src/main/resources/common-services/SQOOP/1.4.4.2.0/package/scripts/params_linux.py
 b2b0816 
  
ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/params_linux.py
 944244a 
  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
 52f42b0 
  
ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/params.py
 bf546d0 
  
ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/params_linux.py
 5a1b129 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/params.py
 cd04492 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
 e4cad39 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py
 4d559dc 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
 24fa11f 
  ambari-server/src/test/python/custom_actions/test_ru_execute_tasks.py 6147b87 
  ambari-server/src/test/python/custom_actions/test_ru_set_all.py b2c2543 

Diff: https://reviews.apache.org/r/45425/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to