<?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: Can not start secure datanode - can not find JSVC daemon loader in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Can-not-start-secure-datanode-can-not-find-JSVC-daemon/m-p/183810#M145970</link>
    <description>&lt;P&gt;I finally solved it by myself by not using JSVC but using SASL instead as described in the &lt;A href="https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/SecureMode.html#Secure_DataNode"&gt;official Apache documentation&lt;/A&gt; and in the &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_hdfs_admin_tools/content/configuring_datanode_sasl.html"&gt;HWX docu&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I've created a single node Hadoop cluster using Docker which is on &lt;A href="https://github.com/Knappek/docker-hadoop-secure"&gt;Github&lt;/A&gt; and &lt;A href="https://hub.docker.com/r/knappek/hadoop-secure/"&gt;Dockerhub&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2017 12:47:58 GMT</pubDate>
    <dc:creator>andreas_knapp</dc:creator>
    <dc:date>2017-06-19T12:47:58Z</dc:date>
    <item>
      <title>Can not start secure datanode - can not find JSVC daemon loader</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-not-start-secure-datanode-can-not-find-JSVC-daemon/m-p/183809#M145969</link>
      <description>&lt;P&gt;
	I have set up a single node Hadoop cluster (not HDP) where I want to enable Kerberos. Namenode and secondary Namenode start fine, but Datanode does not start. &lt;/P&gt;&lt;P&gt;
	I try to start it via JSVC. When executing "start-secure-dns.sh" to start Datanode in a secure mode I don't get an output and it also does not log to the datanode log file. But I can see the following in "jsvc.err":&lt;/P&gt;&lt;PRE&gt;23/05/2017 01:12:59 1279 jsvc.exec error: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader
23/05/2017 01:12:59 1257 jsvc.exec error: Service exit with a return value of 1
&lt;/PRE&gt;&lt;P&gt;I have installed JSVC via paket manager with "yum install jsvc" and I export the JSVC_HOME properly (I verified this by setting a wrong JSVC_HOME where I get an error when executing the starting script).&lt;/P&gt;&lt;P&gt;Did I install jsvc incorrectly?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 03:08:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-not-start-secure-datanode-can-not-find-JSVC-daemon/m-p/183809#M145969</guid>
      <dc:creator>andreas_knapp</dc:creator>
      <dc:date>2017-05-24T03:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start secure datanode - can not find JSVC daemon loader</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-not-start-secure-datanode-can-not-find-JSVC-daemon/m-p/183810#M145970</link>
      <description>&lt;P&gt;I finally solved it by myself by not using JSVC but using SASL instead as described in the &lt;A href="https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/SecureMode.html#Secure_DataNode"&gt;official Apache documentation&lt;/A&gt; and in the &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_hdfs_admin_tools/content/configuring_datanode_sasl.html"&gt;HWX docu&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I've created a single node Hadoop cluster using Docker which is on &lt;A href="https://github.com/Knappek/docker-hadoop-secure"&gt;Github&lt;/A&gt; and &lt;A href="https://hub.docker.com/r/knappek/hadoop-secure/"&gt;Dockerhub&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 12:47:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-not-start-secure-datanode-can-not-find-JSVC-daemon/m-p/183810#M145970</guid>
      <dc:creator>andreas_knapp</dc:creator>
      <dc:date>2017-06-19T12:47:58Z</dc:date>
    </item>
  </channel>
</rss>

