kijiproject/bento-cluster — pull request #12 by lockoff (2013-01-29 03:09:54+00:00)
Title: CLUSTER-10. bento-cluster should print ports of services started.

This commit makes two modifications to bento-cluster:

1. bento-cluster now reports on the ports the NameNode, JobTracker, and Zookeeper
services are available on.
2. Ports / web addresses are reported both when the cluster is configured and when
the cluster starts.

To facilitate this, a new tool, PortReportingTool, has been created that can report
on the ports being used by bento-cluster. This tool runs after the cluster is configured
or the cluster is started. The new tool was needed to report on ports after the cluster
starts, because if this code was in MiniClusterTool itself, it would be gobbled up by
the bento script's redirection of cluster output.