[jira] [Updated] (AMBARI-21750) HDFS restart fails after migration if WebHDFS is disabled

2017-08-17 Thread Siddharth Wagle (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-21750:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Pushed to branch-2.5

> HDFS restart fails after migration if WebHDFS is disabled
> -
>
> Key: AMBARI-21750
> URL: https://issues.apache.org/jira/browse/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
>
> Attachments: AMBARI-21750.patch
>
>
> *STR*:
> - 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:
> {code}
> ls -l 
> /var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/files/fast-hdfs-resource.jar
> {code}
> - Restart amabri agent. The file is deleted after restart.
> - Results in the following error:
> {code}
> raceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/hook.py",
>  line 41, in 
> BeforeStartHook().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 329, in execute
> method(env)
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/hook.py",
>  line 34, in hook
> setup_hadoop()
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/shared_initialization.py",
>  line 71, in setup_hadoop
> content=StaticFile("fast-hdfs-resource.jar")
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
> line 166, in __init__
> self.env.run()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 160, in run
> self.run_action(resource, action)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 124, in run_action
> provider_action()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 123, in action_create
> content = self._get_content()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 160, in _get_content
> return content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
> line 52, in __call__
> return self.get_content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
> line 76, in get_content
> 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 
> /var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/files/fast-hdfs-resource.jar
>  is not found
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21750) HDFS restart fails after migration if WebHDFS is disabled

2017-08-17 Thread Siddharth Wagle (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-21750:
-
Attachment: AMBARI-21750.patch

> HDFS restart fails after migration if WebHDFS is disabled
> -
>
> Key: AMBARI-21750
> URL: https://issues.apache.org/jira/browse/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
>
> Attachments: AMBARI-21750.patch
>
>
> *STR*:
> - 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:
> {code}
> ls -l 
> /var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/files/fast-hdfs-resource.jar
> {code}
> - Restart amabri agent. The file is deleted after restart.
> - Results in the following error:
> {code}
> raceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/hook.py",
>  line 41, in 
> BeforeStartHook().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 329, in execute
> method(env)
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/hook.py",
>  line 34, in hook
> setup_hadoop()
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/shared_initialization.py",
>  line 71, in setup_hadoop
> content=StaticFile("fast-hdfs-resource.jar")
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
> line 166, in __init__
> self.env.run()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 160, in run
> self.run_action(resource, action)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 124, in run_action
> provider_action()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 123, in action_create
> content = self._get_content()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 160, in _get_content
> return content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
> line 52, in __call__
> return self.get_content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
> line 76, in get_content
> 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 
> /var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/files/fast-hdfs-resource.jar
>  is not found
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-21750) HDFS restart fails after migration if WebHDFS is disabled

2017-08-17 Thread Siddharth Wagle (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-21750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-21750:
-
Status: Patch Available  (was: Open)

> HDFS restart fails after migration if WebHDFS is disabled
> -
>
> Key: AMBARI-21750
> URL: https://issues.apache.org/jira/browse/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
>
> Attachments: AMBARI-21750.patch
>
>
> *STR*:
> - 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:
> {code}
> ls -l 
> /var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/files/fast-hdfs-resource.jar
> {code}
> - Restart amabri agent. The file is deleted after restart.
> - Results in the following error:
> {code}
> raceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/hook.py",
>  line 41, in 
> BeforeStartHook().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 329, in execute
> method(env)
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/hook.py",
>  line 34, in hook
> setup_hadoop()
>   File 
> "/var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/scripts/shared_initialization.py",
>  line 71, in setup_hadoop
> content=StaticFile("fast-hdfs-resource.jar")
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
> line 166, in __init__
> self.env.run()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 160, in run
> self.run_action(resource, action)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 124, in run_action
> provider_action()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 123, in action_create
> content = self._get_content()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 160, in _get_content
> return content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
> line 52, in __call__
> return self.get_content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
> line 76, in get_content
> 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 
> /var/lib/ambari-agent/cache/stacks/BigInsights/4.2.5/hooks/before-START/files/fast-hdfs-resource.jar
>  is not found
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)