<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: After enable kerberos, most of the service cannot be started for HDP Sandbox 2.6.4 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-enable-kerberos-most-of-the-service-cannot-be-started/m-p/214146#M77006</link>
    <description>&lt;P&gt;Yes, it works. thanks &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;But the preperty should be added to Customer core-site, not Advanced core-site&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Ambari&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;HDFS&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Configs&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;Custom&lt;/STRONG&gt; &lt;STRONG&gt;core-site &amp;gt; Add Property.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Seems this config cause many similar issues, why HDP does not add this to config for enable kerberos automatically ?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 16:49:48 GMT</pubDate>
    <dc:creator>vincent_hu</dc:creator>
    <dc:date>2018-04-10T16:49:48Z</dc:date>
    <item>
      <title>After enable kerberos, most of the service cannot be started for HDP Sandbox 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-enable-kerberos-most-of-the-service-cannot-be-started/m-p/214144#M77004</link>
      <description>&lt;P&gt;
	I'm installing a HDP 2.6.4 sandbox in Azure for testing. I install the the sandbox and everything is ok.&lt;/P&gt;&lt;P&gt;
	Then I enable kerberos, seems everything works ok but failed in the last step: start service. It show the it cannot start the Timeline Server .&lt;/P&gt;&lt;P&gt;The kerberos server is ok, for it is used for some existing Mongo DB and CDH kerberos authentication for a long time.&lt;/P&gt;&lt;P&gt;Below is the detail error log, anyone has idea/suggestion for this type error ? I'm very appreciate for your input and comments.&lt;/P&gt;&lt;P&gt;==========================Timeline Server=====================&lt;/P&gt;&lt;P&gt;
	resource_management.libraries.providers.hdfs_resource.WebHDFSCallException: Execution of 'curl -sS -L -w '%{http_code}' -X PUT --negotiate -u : '&lt;A href="http://sandbox-hdp.hortonworks.com:50070/webhdfs/v1/ats/done?op=SETPERMISSION&amp;amp;permission=755" target="_blank"&gt;http://sandbox-hdp.hortonworks.com:50070/webhdfs/v1/ats/done?op=SETPERMISSION&amp;amp;permission=755&lt;/A&gt;'' returned status_code=403. &lt;/P&gt;&lt;P&gt;
{ "RemoteException": { &lt;/P&gt;&lt;P&gt;    "exception": "AccessControlException", &lt;/P&gt;&lt;P&gt;
    "javaClassName": "org.apache.hadoop.security.AccessControlException", &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
    "message": "Permission denied. user=dr.who is not the owner of inode=done" &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  }}&lt;/P&gt;&lt;P&gt;And I find many other services have not been started , so I try to start them manually, but all failed.&lt;/P&gt;&lt;P&gt;==========================MapReduce2 - History Server=====================&lt;/P&gt;&lt;P&gt;2018-04-09 05:43:31,271 INFO  service.AbstractService (AbstractService.java:noteFailure(272)) - &lt;STRONG&gt;Service org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager failed in state INITED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Error creating done directory: [hdfs://sandbox-hdp.hortonworks.com:8020/mr-history/done]
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Error creating done directory: [hdfs://sandbox-hdp.hortonworks.com:8020/mr-history/done]
&lt;/STRONG&gt;at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.tryCreatingHistoryDirs(HistoryFileManager.java:639)
at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.createHistoryDirs(HistoryFileManager.java:585)
at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.serviceInit(HistoryFileManager.java:550)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.mapreduce.v2.hs.JobHistory.serviceInit(JobHistory.java:94)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.serviceInit(JobHistoryServer.java:143)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.launchJobHistoryServer(JobHistoryServer.java:221)
at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.main(JobHistoryServer.java:231) &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Caused by: java.io.IOException: Failed on local exception: java.io.IOException: Server asks us to fall back to SIMPLE auth, but this client is configured to only allow secure connections&lt;/STRONG&gt;.; Host Details : local host is: "sandbox-hdp.hortonworks.com/172.17.0.2"; destination host is: "sandbox-hdp.hortonworks.com":8020; 
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:785)
at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1558)
at org.apache.hadoop.ipc.Client.call(Client.java:1498)
at org.apache.hadoop.ipc.Client.call(Client.java:1398)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)
at com.sun.proxy.$Proxy9.getFileInfo(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:823)&lt;/P&gt;&lt;P&gt;===============================Yarn - Resource Manager======================&lt;/P&gt;&lt;P&gt;2018-04-09 06:25:39,146 INFO  security.UserGroupInformation (UserGroupInformation.java:loginUserFromKeytab(1101)) - Login successful for user rm/sandbox-hdp.hortonworks.com@TICQUEST.CLOUDAPP.NET using keytab file /etc/security/keytabs/rm.service.keytab&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;2018-04-09 06:25:55,933 INFO  service.AbstractService (AbstractService.java:noteFailure(272)) - &lt;STRONG&gt;Service org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl failed in state STARTED; cause: java.io.IOException: Failed on local exception: java.io.IOException: Server asks us to fall back to SIMPLE auth, but this client is configured to only allow secure connections.&lt;/STRONG&gt;; Host Details : local host is: "sandbox-hdp.hortonworks.com/172.17.0.2"; destination host is: "sandbox-hdp.hortonworks.com":8020; 
java.io.IOException: Failed on local exception: java.io.IOException: Server asks us to fall back to SIMPLE auth, but this client is configured to only allow secure connections.; Host Details : local host is: "sandbox-hdp.hortonworks.com/172.17.0.2"; destination host is: "sandbox-hdp.hortonworks.com":8020; 
at &lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt; 2018-04-09 06:25:55,938 INFO  service.AbstractService (AbstractService.java:noteFailure(272)) - &lt;STRONG&gt;Service org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsPublisher failed in state STARTED; cause: org.apache.hadoop.service.ServiceStateException: java.io.IOException: Failed on local exception: java.io.IOException: Server asks us to fall back to SIMPLE auth, but this client is configured to only allow secure connections.&lt;/STRONG&gt;; Host Details : local host is: "sandbox-hdp.hortonworks.com/172.17.0.2"; destination host is: "sandbox-hdp.hortonworks.com":8020; 
org.apache.hadoop.service.ServiceStateException: java.io.IOException: Failed on local exception: java.io.IOException: Server asks us to fall back to SIMPLE auth, but this client is configured to only allow secure connections.; Host Details : local host is: "sandbox-hdp.hortonworks.com/172.17.0.2"; destination host is: "sandbox-hdp.hortonworks.com":8020; 
at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59)
at org.apache.hadoop.service.AbstractService.start(AbstractService.java:204)
at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
at &lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:05:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-enable-kerberos-most-of-the-service-cannot-be-started/m-p/214144#M77004</guid>
      <dc:creator>vincent_hu</dc:creator>
      <dc:date>2022-09-16T13:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: After enable kerberos, most of the service cannot be started for HDP Sandbox 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-enable-kerberos-most-of-the-service-cannot-be-started/m-p/214145#M77005</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Vincent Hu"&gt; @Vincent Hu&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please do the following if the cluster is managed by Ambari, this should be added in:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Ambari&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;HDFS&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Configurations&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;Advanced&lt;/STRONG&gt; &lt;STRONG&gt;core-site &amp;gt; Add Property&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;hadoop.http.staticuser.user=yarn&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Restart  any stale service  and retry &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 21:33:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-enable-kerberos-most-of-the-service-cannot-be-started/m-p/214145#M77005</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-09T21:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: After enable kerberos, most of the service cannot be started for HDP Sandbox 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-enable-kerberos-most-of-the-service-cannot-be-started/m-p/214146#M77006</link>
      <description>&lt;P&gt;Yes, it works. thanks &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;But the preperty should be added to Customer core-site, not Advanced core-site&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Ambari&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;HDFS&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Configs&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;Custom&lt;/STRONG&gt; &lt;STRONG&gt;core-site &amp;gt; Add Property.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Seems this config cause many similar issues, why HDP does not add this to config for enable kerberos automatically ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 16:49:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-enable-kerberos-most-of-the-service-cannot-be-started/m-p/214146#M77006</guid>
      <dc:creator>vincent_hu</dc:creator>
      <dc:date>2018-04-10T16:49:48Z</dc:date>
    </item>
  </channel>
</rss>

