The reason you must use jsvc, is to start as root and then bind to privilleged ports. Secure Datanode won't run on non privilleged port (i.e. >1024).
The advantages are, users on your machine cannot take this port and pretend they're DN. Only root can. Like you, I don't think this should be mandatory, but it is now. On Mon, Nov 18, 2013 at 11:42 AM, lei liu <[email protected]> wrote: > When I use the hadoop security, I must use jsvc to start datanode. Why > must use jsvc to start datanode? What are the advantages do that? > > Thanks, > > LiuLei >
