Hadoop Single Node Cluster Unit test

Added files for unit test. And added Hbase service dependancies in blueprint
ok, let see. if command line utilities won’t work, we can go for java class.

On 26-Jun-2014, at 1:42 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')
> Maybe we have to write a simple java class if the command line utilities won't work
> 
> —
> Reply to this email directly or view it on GitHub.
>