Review Board 1.7.22

HBase-5741 ImportTsv does not check for table existence

Review Request #4700 - Created April 11, 2012 and updated

Himanshu Vashishtha
There is a bulk output option in the importtsv workload. It outputs the HFiles in a user defined directory. The current code assumes that a table with its name equal to the given output directory exists, and throws an exception otherwise. Here is a patch for creating a table in case it doesn't exist.
Added a new test for bulkoutput; All importtsv tests pass.
Review request changed
Updated (April 11, 2012, 7:01 p.m.)
Changes done as per Ted.
Ship it!
Posted (April 11, 2012, 8:26 p.m.)
Please attach new patch to JIRA after addressing minor comments.
The parentheses around hbaseAdmin.tableExists() are not needed.
Move this to line 263.
'bothered about' -> 'concerned with'