docs: private static int rename(final HBaseClient client,
                              final byte[] table,
                              final short idwidth,
                              final String[] args) {
      final String kind = args[1];
      final String oldname = args[2];
      final String newname = args[3];
      final UniqueId uid = new UniqueId(client, table, kind, (int) idwidth);
      try {
        uid.rename(oldname, newname);
      } catch (HBaseException e) {
        LOG.error("error while processing renaming " + oldname
                  + " to " + newname, e);
        return 3;
      } catch (NoSuchUniqueName e) {
        LOG.error(e.getMessage());
        return 1;
      }
      System.out.println(kind + ' ' + oldname + " -> " + newname);
      return 0;
    }