code: public void snapshot(byte[] snapshotName, byte[] tableName)
        throws IOException, IllegalArgumentException {
      snapshot(snapshotName, TableName.valueOf(tableName));
    }
docs: This is needed for the hbase shell.
  
  @param snapshotName a byte array object.
  @param tableName a byte array object.
  @throws IOException if any.