Hi,

for our developers I would like to write a few lines of Java code that, given a base directory, sets up an HDFS filesystem, initializes it, if it is not there yet and then starts the service(s) in process. This is to run on each developer's machine, probably within a tomcat instance. I don't want to do this (if I don't have to) in a bunch of shell scripts.

Could anyone point to code samples that do similar things or give any other hints that make this easier than to look at what the Command line tools do and reverse engineer it from there?

Thanks in advance,

Robert

Reply via email to