Merge pull request #25 from jucaf/development

Improvement
Merge pull request #27 from jucaf/development

Removing perl to check config
commentary typos
site.pp ready the work pass to cluster.pp
added Spark for realtime and batch
added kafka package based on [BIGTOP-989]
bd recipe for kafka
Added Spark 0.9.0 package.

The package buils, however this versions is not tested.

The result packages are:

spark-core-0.9.0-openbus0.0.1_1.noarch.rpm
spark-master-0.9.0-openbus0.0.1_1.noarch.rpm
spark-python-0.9.0-openbus0.0.1_1.noarch.rpm
spark-worker-0.9.0-openbus0.0.1_1.noarch.rpm

spark-core-0.9.0-openbus0.0.1_1.src.rpm

This version is based on BigTop 0.7.0 and fixed from Cloudera CDH-5.0.0b2.
Added package kafka, no tested:

kafka-0.8.0-openbus0.0.1_1.noarch.rpm

kafka-0.8.0-openbus0.0.1_1.src.rpm
removed bigtop label packages
Kafka 0.8.0 tested with fixed related with hardoded path
and so on.
vendor and packager added to kafka
Package created for [buildoop-github-#31] issue.

The server is located in:

/usr/lib/jsvcdaemon
/usr/lib/jsvcdaemon/jsvc
/usr/share/doc/jsvcdaemon-1.0.10
/usr/share/doc/jsvcdaemon-1.0.10/LICENSE.txt
/usr/share/doc/jsvcdaemon-1.0.10/NOTICE.txt
/usr/share/doc/jsvcdaemon-1.0.10/README
/usr/share/doc/jsvcdaemon-1.0.10/RELEASE-NOTES.txt
Fixed issue [buildoop-github-#32]

In hadoop-hdfs-datanode init script line 103 is
start_daemon -u $SVC_USER $EXEC_PATH --config "$CONF_DIR" stop $DAEMON_FLAGS

but should be the following:

if [ -n "$HADOOP_SECURE_DN_USER" ]; then
	TARGET_USER=root
else
	TARGET_USER=${HADOOP_DATANODE_USER:-hdfs}
fi
start_daemon -u $TARGET_USER $EXEC_PATH --config "$CONF_DIR" stop $DAEMON_FLAGS

The if statement control if is a secured cluster, if so it uses jsvc
which is launched by root not hdfs user
JSVC 1.0.13 new version

The commons-daemon jar files are dispatched by
hadoop-hdfs-2.2.0-openbus0.0.1_1.x86_64 package:

	/usr/lib/hadoop-hdfs/lib/commons-daemon-1.0.13.jar

This new version match with jar version
Merge remote-tracking branch 'upstream/master'