Golang 1.8+
Java 1.8.0_51
$ go get -d github.com/openinx/huker
$ cd $GOPATH/src/github.com/openinx/huker
$ make && make test
Let's bootstrap a pseudo-distribute Hadoop cluster under your local host, which means it'll start multiple services on one single host but listen different tcp ports.
- Start huker package manager
$ ./bin/huker start-pkg-manager
Note: Huker Package Manager will take serveral minutes to sync all release packages defined in ./conf/pkg.yaml
to your localhost, and all huker agent will download packages from huker package manager.
- Start a huker agent
$ ./bin/huker start-agent --dir /tmp/huker --file /tmp/agent01.db
After all release packages have been synced to your localhost successfully , Let's start following:
$ ./bin/huker bootstrap zookeeper test-zk zkServer
You can show your zkServer job status by:
$ ./bin/huker show zookeeper test-zk zkServer
Besides, you can find all your jobs by typing http://127.0.0.1:9001 in your browser.
$ ./bin/huker bootstrap hdfs test-hdfs namenode
$ ./bin/huker bootstrap hdfs test-hdfs datanode
$ ./bin/huker bootstrap yarn test-yarn resourcemanager
$ ./bin/huker bootstrap yarn test-yarn nodemanager
$ ./bin/huker bootstrap hbase test-hbase master
$ ./bin/huker bootstrap hbase test-hbase regionserver