Skip to main content
dch44
Silver ⭐️⭐️
December 14, 2022
Solved

after reboot unable to start yarn

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

Kartik_Agarwal
Platinum ⭐️
December 18, 2022

Possible solution: 

1. Recreate Keytabs
2. Start Yarn from CLI and fix Ambari issue

https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.6.2/bk_command-line-upgrade/content/start-yarn-mr-25.html

 Kindly provide the below output for further investigation.

curl -sS -L -w '%{http_code}' -X GET -d '' -H 'Content-Length: 0' --negotiate -u : 'http://hostname:50070/webhdfs/v1/ats/done?op=GETFILESTATUS

 

1 reply

Kartik_Agarwal
Platinum ⭐️
Platinum ⭐️
December 18, 2022

Possible solution: 

1. Recreate Keytabs
2. Start Yarn from CLI and fix Ambari issue

https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.6.2/bk_command-line-upgrade/content/start-yarn-mr-25.html

 Kindly provide the below output for further investigation.

curl -sS -L -w '%{http_code}' -X GET -d '' -H 'Content-Length: 0' --negotiate -u : 'http://hostname:50070/webhdfs/v1/ats/done?op=GETFILESTATUS

 

Translate