my hadoop cluster works well from the administrator account . namenode and datanode.
there is a unix script shipped with hadoop that runs name node and data node . i have made a bat file that uses bash and causes this script to run .

but when I try to run it as a service only name node runs as system and it doesnot cause datanode to run . and I am not getting any error or logs or interrupt ?