use profile.d instead of outputing to bashrc. run hbase with user 'hbase'.