Hadoop Single Node Cluster Unit test

Added files for unit test. And added Hbase service dependancies in blueprint
Steve, I have tried with some put update delete using expect, but there is some difficulty in that with exit code. Cant able to get exit code from expect if it exits with failure. 
Normally “jps" command is used to check running hbase services like HMaster and HRegionServer. If Hmaster and HRegionServer services runs, then it is confirmed that hbase installation was perfect and working fine.
ok, I will try it again with some other way of actual test for hbase.
 
On 25-Jun-2014, at 10:04 pm, Steve Morin <notifications@github.com> wrote:

> In test/unittest.sh:
> 
> > +
> > +echo "4. YARN"
> > +
> > +if [ "$R_MANAGER" == "true" ] && [ "$N_MANAGER" == "true" ] ; then
> > +        sudo -u hdfs yarn jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 16 1000 && result+=('4. [PASS] - YARN') || result+=('4. [FAIL] - YARN')
> > +else
> > +        result+=('4. [FAIL] - YARN');
> > +        EXIT_VALUE=1;
> > +fi
> > +
> > +
> > +
> > +echo "5. HBASE"
> > +echo "Identifying HMaster and HRegionServer..."
> > +if [ "$HMASTER" == "true" ] && [ "$HREGION" == "true" ] ; then
> > +        result+=('5. [PASS] - HBASE')
> We need to have a actual hbase test added here where we do things like put, update and delete a value from hbase.
> 
> —
> Reply to this email directly or view it on GitHub.
>