[
https://issues.apache.org/jira/browse/AMBARI-17216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Onischuk updated AMBARI-17216:
-------------------------------------
Description:
STR:
1. Deploy HDP 2.4 on Ambari2.2.2.0
2. Enable NN and RM HAs
3. Enable security
4. Perform ambari upgrade to 2.4.0
Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
line 287, in <module>
Resourcemanager().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 257, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
line 124, in start
self.wait_for_dfs_directories_created(params.entity_groupfs_store_dir,
params.entity_groupfs_active_dir)
File
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
line 244, in wait_for_dfs_directories_created
self.wait_for_dfs_directory_created(dir_path, ignored_dfs_dirs)
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py",
line 55, in wrapper
return function(*args, **kwargs)
File
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
line 266, in wait_for_dfs_directory_created
list_status = util.run_command(dir_path, 'GETFILESTATUS', method='GET',
ignore_status_codes=['404'], assertable_result=False)
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
line 191, in run_command
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w
'%{http_code}' -X GET --negotiate -u :
'http://os-r6-kdfyi-nat-s-ru242to25rhel6secha-12.openstacklocal:50070/webhdfs/v1/ats/done/?op=GETFILESTATUS&user.name=hdfs''
returned status_code=401.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 401 Authentication required</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /webhdfs/v1/ats/done/. Reason:
<pre> Authentication required</pre></p><hr /><i><small>Powered by
Jetty://</small></i><br/>
was:
STR:
1. Deploy HDP 2.4 on Ambari2.2.2.0
2. Enable NN and RM HAs
3. Enable security
4. Perform ambari upgrade to 2.4.0
Cluster: 172.22.93.94:8080 - os-r6-kdfyi-nat-s-ru242to25rhel6secha - 48h
Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
line 287, in <module>
Resourcemanager().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 257, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
line 124, in start
self.wait_for_dfs_directories_created(params.entity_groupfs_store_dir,
params.entity_groupfs_active_dir)
File
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
line 244, in wait_for_dfs_directories_created
self.wait_for_dfs_directory_created(dir_path, ignored_dfs_dirs)
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py",
line 55, in wrapper
return function(*args, **kwargs)
File
"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
line 266, in wait_for_dfs_directory_created
list_status = util.run_command(dir_path, 'GETFILESTATUS', method='GET',
ignore_status_codes=['404'], assertable_result=False)
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
line 191, in run_command
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w
'%{http_code}' -X GET --negotiate -u :
'http://os-r6-kdfyi-nat-s-ru242to25rhel6secha-12.openstacklocal:50070/webhdfs/v1/ats/done/?op=GETFILESTATUS&user.name=hdfs''
returned status_code=401.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 401 Authentication required</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /webhdfs/v1/ats/done/. Reason:
<pre> Authentication required</pre></p><hr /><i><small>Powered by
Jetty://</small></i><br/>
> One of RM failed to start after ambaru upgrade in secure cluster [Upgrade]
> --------------------------------------------------------------------------
>
> Key: AMBARI-17216
> URL: https://issues.apache.org/jira/browse/AMBARI-17216
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.4.0
>
> Attachments: AMBARI-17216.patch
>
>
> STR:
> 1. Deploy HDP 2.4 on Ambari2.2.2.0
> 2. Enable NN and RM HAs
> 3. Enable security
> 4. Perform ambari upgrade to 2.4.0
>
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
> line 287, in <module>
> Resourcemanager().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 257, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
> line 124, in start
>
> self.wait_for_dfs_directories_created(params.entity_groupfs_store_dir,
> params.entity_groupfs_active_dir)
> File
> "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
> line 244, in wait_for_dfs_directories_created
> self.wait_for_dfs_directory_created(dir_path, ignored_dfs_dirs)
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py",
> line 55, in wrapper
> return function(*args, **kwargs)
> File
> "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py",
> line 266, in wait_for_dfs_directory_created
> list_status = util.run_command(dir_path, 'GETFILESTATUS',
> method='GET', ignore_status_codes=['404'], assertable_result=False)
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
> line 191, in run_command
> raise Fail(err_msg)
> resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w
> '%{http_code}' -X GET --negotiate -u :
> 'http://os-r6-kdfyi-nat-s-ru242to25rhel6secha-12.openstacklocal:50070/webhdfs/v1/ats/done/?op=GETFILESTATUS&user.name=hdfs''
> returned status_code=401.
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>Error 401 Authentication required</title>
> </head>
> <body><h2>HTTP ERROR 401</h2>
> <p>Problem accessing /webhdfs/v1/ats/done/. Reason:
> <pre> Authentication required</pre></p><hr /><i><small>Powered by
> Jetty://</small></i><br/>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)