gluster/hadoop-glusterfs — pull request #45 by jayunit100 (2013-07-03 22:55:42+00:00)
Title: Git meta data bundled into shim logs

This commit set includes a snapshotted timestamp name to the jar that is build by the default package command, along with a very useful new feature: git version info embedded in the jar itself.

this version info will subsequently be printed when the shim runs. A dump of it is below.

I feedback or other commits to refine the log message encouraged, but I think this is sufficient.

=====================================
THIS IS WHAT THE LOGS LOOK LIKE NOW
=====================================

Confirmed that configuration properties from gluster were found , now creating dirs
13/07/03 18:49:41 INFO glusterfs.GlusterFileSystem: Initializing GlusterFS {git.commit.id.abbrev=420a1a8
git.commit.user.email=jayunit100@gmail.com
git.commit.message.full=Merge branch 'master' into snapshot

git.commit.id=420a1a811b4c32809e280d4f77b001d464ac3bb3
git.commit.message.short=Merge branch 'master' into snapshot
git.commit.user.name=jayunit100
git.build.user.name=jayunit100
git.commit.id.describe=0.0.4-11-g420a1a8-dirty
git.build.user.email=jayunit100@gmail.com
git.branch=snapshot
git.commit.time=03.07.2013 @ 18:36:17 EDT
git.build.time=03.07.2013 @ 18:49:39 EDT}
13/07/03 18:49:41 INFO fs.FileSystem: Gluster Output Buffering size configured to 1024 bytes.
13/07/03 18:49:41 INFO glusterfs.GlusterFileSystem: mount -t glusterfs jvyas.csb:/HadoopVol /tmp/gluster-test-mount-point/mount
[root@jvyas hadoop-glusterfs2]# git status
# On branch snapshot
# Your branch is ahead of 'master' by 3 commits.
#