Support Questions

Find answers, ask questions, and share your expertise

Can not start secure datanode - can not find JSVC daemon loader

avatar

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.

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":

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

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).

Did I install jsvc incorrectly?

1 ACCEPTED SOLUTION

avatar
1 REPLY 1

avatar

@Andreas Knapp - I think you accidentally asked the same question twice:

https://community.hortonworks.com/questions/104437/can-not-start-secure-datanode-can-not-find-jsvc-d...

Can you please close this one.