ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <>
Subject [jira] [Created] (AMBARI-21750) HDFS restart fails after migration if WebHDFS is disabled
Date Fri, 18 Aug 2017 00:22:01 GMT
Siddharth Wagle created AMBARI-21750:

             Summary: HDFS restart fails after migration if WebHDFS is disabled
                 Key: AMBARI-21750
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.5.2
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
            Priority: Critical
             Fix For: 2.5.2

- Install IOP 4.2.5 cluster with HDFS and ZK 
- Disable WebHDFS and Restart affected services
- Upgrade to Ambari 2.5.2 (latest build)
- Check the fast-hdfs-resource jar exists:
ls -l /var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/files/fast-hdfs-resource.jar
- Restart amabri agent. The file is deleted after restart.
- Results in the following error:
raceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/",
line 41, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 329, in execute
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/",
line 34, in hook
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/",
line 71, in setup_hadoop
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 166, 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/core/providers/", line
123, in action_create
    content = self._get_content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/", line
160, in _get_content
    return content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 52, in
    return self.get_content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 76, in
    raise Fail("{0} Source file {1} is not found".format(repr(self), path))
resource_management.core.exceptions.Fail: StaticFile('fast-hdfs-resource.jar') Source file
is not found

This message was sent by Atlassian JIRA

View raw message