Hadoop HBase check

this seems prone to race exploits, especially since /tmp is world writable.
I'd try to avoid using a file if possible.