ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <>
Subject [jira] [Created] (AMBARI-21504) Restart of MR2 History Server failed due to null in immutable_paths
Date Mon, 17 Jul 2017 20:12:00 GMT
Vitaly Brodetskyi created AMBARI-21504:

             Summary: Restart of MR2 History Server failed due to null in immutable_paths
                 Key: AMBARI-21504
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.5.2
            Reporter: Vitaly Brodetskyi
            Assignee: Vitaly Brodetskyi
            Priority: Blocker
             Fix For: 2.5.2


* Installed Ambari 2.2 with Slider and services it required
* Upgraded Ambari to
* Registered HDP repo, installed packages
* Restarted services that needed restart
* Ran service checks
* Started upgrade

Result: _Restarting History Server_ step failed with 

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/YARN/",
line 134, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 329, in execute
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 841, in restart
    self.pre_upgrade_restart(env, upgrade_type=upgrade_type)
  File "/var/lib/ambari-agent/cache/common-services/YARN/",
line 85, in pre_upgrade_restart
    copy_to_hdfs("mapreduce", params.user_group, params.hdfs_user, skip=params.sysprep_skip_copy_tarballs_hdfs)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/",
line 256, in copy_to_hdfs
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 155, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 160,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 124,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/",
line 560, in action_create_on_execute
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/",
line 550, in action_delayed
    parsed_not_managed_paths = [HdfsResourceProvider.parse_path(path) for path in self.resource.immutable_paths]
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/",
line 519, in parse_path
    math_with_protocol_and_nn_url = re.match("[a-zA-Z]+://[^/]+(/.+)", path)
  File "/usr/lib64/python2.7/", line 137, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer

"hostLevelParams": {
"not_managed_hdfs_path_list": "[null,\"/mr-history/done\",\"/app-logs\"]",

Failure seems to be due to {{null}} value in the list.

This message was sent by Atlassian JIRA

View raw message