[maven-release-plugin] prepare release bento-cluster-1.0.0-rc2
[maven-release-plugin] prepare for next development iteration
Modify checkstyle to load suppressions by itself rather than relying on maven-checkstyle-plugin
CLUSTER-14. Adds RELEASE_NOTES.txt

Signed-off-by: Aaron Kimball <aaron@wibidata.com>
Adds RELEASE_NOTES.txt to assembly.
CLUSTER-4. Allow users to run port configuration utility at any time.

This commit modifies bento-cluster so that its port configuration utility
can be run by a user via the command `bento config`.  There are also
several changes for cleaner code / better looking output.

This commit also modifies bento-cluster so that "bento-managed" configuration
set via `bento config` is stored in XML files seperate from the main
Hadoop/HBase XML configuration files. The configuration utility now writes
empty Hadoop/HBase XML configuration files that include properties from the
bento-managed configuration files. This is done when the configuration files
are missing or when requested by the user via the flag --reset.

If bento-managed configuration resources exist, any port configuration
existing in those files will be used as the default values for ports by the
configuration utility. The flag --use-hadoop-defaults controls this behavior.

The utility will also prompt the user for port values, even if default ports
are open, when the flag --prompt is set.

Signed-off-by: Lee Sheng <lsheng@wibidata.com>
Editorial pass over release notes prior to release.
[maven-release-plugin] prepare release bento-cluster-1.0.0-rc3
[maven-release-plugin] prepare for next development iteration
KIJIMR-16. Configure commons-lang version in root pom.
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.

Signed-off-by: Aaron Kimball <aaron@wibidata.com>
CLUSTER-5. bento-cluster should not start if any ports are taken.

This commit modifies bento-cluster so that it does not start if any of the
configured ports are taken. To facilitate this, a new tool was added which
checks that all the ports are open. If the check fails, the bento script refuses
to start the clusters.

Signed-off-by: Aaron Kimball <aaron@wibidata.com>
CLUSTER-7. bento-cluster will not start if there are DNS problems with hostname and localhost.

This commit modifies bento-cluster to include a tool, DNSCheckingTool, that
accepts the result of running `hostname` as an argument. It then ensures
the following:

  1. That 'localhost' can be resolved to an IP address.
  2. That the passed hostname can be resolved to an IP address.
  3. That the addresses resolved match.

If any of these conditions are not met, bento-cluster will refuse to start.
This is to avoid errors bento-cluster encounters when /etc/hosts is misconfigured,
in particular when localhost and the machine's hostname map to different local
IP addresses (which is the default setup on fresh Ubuntu machines).

Signed-off-by: Lee Sheng <lsheng@wibidata.com>
CLUSTER-18: Bento needs a bento status command.

Implemented a bash portable method for checking the pid in the pid file.

Signed-off-by: Kiyan Ahmadizadeh <kiyan@wibidata.com>
CLUSTER-19. CLUSTER-7 breaks bento-cluster on Mac OS X.

The DNS checker tool (which ensures both localhost and the machine's hostname
resolve to the same IP and refuses to start bento-cluster if this is not the
case) does not function correctly on Mac OS X. This check is designed to avoid
a common problem on Ubuntu machines. This commit modifies the bento script so
that the DNS check is not performed on Mac OS X, so that bento-cluster again
functions correctly on those systems.

Signed-off-by: Chad Metcalf <chad@wibidata.com>
BENTO-15 (Part 2). bento script compatability with upgrade check-in.

This commit modifies the bento script such that it runs the script
upgrade-daemon-start.sh when bento-cluster starts, and upgrade-daemon-stop.sh
when bento-cluster stops. A script that handles generating a UUID for the user
(generate-uuid.sh) is also hooked in.  This is only done if the scripts are
present, indicating we are running in a Kiji BentoBox.

Signed-off-by: Aaron Kimball <aaron@wibidata.com>
Update release notes for release.
[maven-release-plugin] prepare release bento-cluster-1.0.0-rc4
[maven-release-plugin] prepare for next development iteration
Set versions for release.