@Override
  public String[] getLocations() throws IOException {
    return isTableSplit ? tableSplit.getLocations() : snapshotSplit.getLocations();
  }
TODO: use TableSnapshotRegionSplit HBASE-11555 is fixed.
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseSplit.java