Member since
06-23-2021
5
Posts
0
Kudos Received
0
Solutions
03-31-2023
06:30 AM
We are upgrading our cluster from HDP 2.6.5 to HDP-7.1.70 : During the upgrading process ( about 65 %), it fails to restart the mapreduce/historyserver with the below error. Unable to find a solution Any idea or help ? raceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/historyserver.py", line 126, in <module> HistoryServer().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 987, in restart self.stop(env, upgrade_type=upgrade_type) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/historyserver.py", line 47, in stop import params File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/params.py", line 29, in <module> from params_linux import * File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/params_linux.py", line 374, in <module> yarn_registry_dns_principal_name = yarn_registry_dns_principal_name.replace('_HOST', hostname.lower()) File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__ raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!") resource_management.core.exceptions.Fail: Configuration parameter 'yarn.registry-dns.principal' was not found in configurations dictionary!
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
12-14-2022
07:01 AM
After reboot clutser hadoop, a few services like yarn don't start anymore with the following message : resource_management.libraries.providers.hdfs_resource.WebHDFSCallException: Execution of 'curl -sS -L -w '%{http_code}' -X GET 'http://hostname: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/>
<br/> Any idea ? Thanks
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
11-15-2022
11:20 PM
I finally engaged Cloudera support. After checking the security value with the following command : /var/lib/ambari-server/resources/scripts/configs.py -l <ambari host fqdn> -t <port> -u admin -p <password> -n <cluster_name> -a get -c cluster-env | grep -i security_enabled, I was asked to disable the security_enabled : /var/lib/ambari-server/resources/scripts/configs.py -l <ambari host fqdn> -t <port> -u admin -p <password> -n <cluster_name> -a set -c cluster-env -k security_enabled -v false Then i was able to start ranger again Still have problem with infa_solr. I will engage support for that
... View more
11-08-2022
07:21 AM
After restarting all the services trough ambari, only two services don't start and are facing the same error : ranger and infrasolr /usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__
raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'kerberos-env' was not found in configurations dictionary! Any idea ? Thanks
... View more
Labels:
- Labels:
-
Apache Ranger
-
Apache Solr
-
Kerberos