hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [28/51] [partial] hbase-site git commit: Published site at 82d554e3783372cc6b05489452c815b57c06f6cd.
Date Fri, 12 May 2017 15:00:02 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/709b8fcc/devapidocs/src-html/org/apache/hadoop/hbase/client/Admin.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/client/Admin.html b/devapidocs/src-html/org/apache/hadoop/hbase/client/Admin.html
index d77512a..de81692 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/client/Admin.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/client/Admin.html
@@ -1543,47 +1543,47 @@
 <span class="sourceLineNo">1535</span><a name="line.1535"></a>
 <span class="sourceLineNo">1536</span>  /**<a name="line.1536"></a>
 <span class="sourceLineNo">1537</span>   * Create a new table by cloning the snapshot content.<a name="line.1537"></a>
-<span class="sourceLineNo">1538</span>   * @param snapshotName name of the snapshot to be cloned<a name="line.1538"></a>
-<span class="sourceLineNo">1539</span>   * @param tableName name of the table where the snapshot will be restored<a name="line.1539"></a>
-<span class="sourceLineNo">1540</span>   * @param restoreAcl true to clone acl into newly created table<a name="line.1540"></a>
+<span class="sourceLineNo">1538</span>   *<a name="line.1538"></a>
+<span class="sourceLineNo">1539</span>   * @param snapshotName name of the snapshot to be cloned<a name="line.1539"></a>
+<span class="sourceLineNo">1540</span>   * @param tableName name of the table where the snapshot will be restored<a name="line.1540"></a>
 <span class="sourceLineNo">1541</span>   * @throws IOException if a remote or network exception occurs<a name="line.1541"></a>
 <span class="sourceLineNo">1542</span>   * @throws TableExistsException if table to be created already exists<a name="line.1542"></a>
 <span class="sourceLineNo">1543</span>   * @throws RestoreSnapshotException if snapshot failed to be cloned<a name="line.1543"></a>
 <span class="sourceLineNo">1544</span>   * @throws IllegalArgumentException if the specified table has not a valid name<a name="line.1544"></a>
 <span class="sourceLineNo">1545</span>   */<a name="line.1545"></a>
-<span class="sourceLineNo">1546</span>  void cloneSnapshot(final String snapshotName, final TableName tableName, final boolean restoreAcl)<a name="line.1546"></a>
+<span class="sourceLineNo">1546</span>  void cloneSnapshot(final String snapshotName, final TableName tableName)<a name="line.1546"></a>
 <span class="sourceLineNo">1547</span>      throws IOException, TableExistsException, RestoreSnapshotException;<a name="line.1547"></a>
 <span class="sourceLineNo">1548</span><a name="line.1548"></a>
 <span class="sourceLineNo">1549</span>  /**<a name="line.1549"></a>
-<span class="sourceLineNo">1550</span>   * Create a new table by cloning the snapshot content.<a name="line.1550"></a>
-<span class="sourceLineNo">1551</span>   *<a name="line.1551"></a>
-<span class="sourceLineNo">1552</span>   * @param snapshotName name of the snapshot to be cloned<a name="line.1552"></a>
-<span class="sourceLineNo">1553</span>   * @param tableName name of the table where the snapshot will be restored<a name="line.1553"></a>
-<span class="sourceLineNo">1554</span>   * @throws IOException if a remote or network exception occurs<a name="line.1554"></a>
-<span class="sourceLineNo">1555</span>   * @throws TableExistsException if table to be created already exists<a name="line.1555"></a>
-<span class="sourceLineNo">1556</span>   * @throws RestoreSnapshotException if snapshot failed to be cloned<a name="line.1556"></a>
-<span class="sourceLineNo">1557</span>   * @throws IllegalArgumentException if the specified table has not a valid name<a name="line.1557"></a>
-<span class="sourceLineNo">1558</span>   */<a name="line.1558"></a>
-<span class="sourceLineNo">1559</span>  void cloneSnapshot(final String snapshotName, final TableName tableName)<a name="line.1559"></a>
-<span class="sourceLineNo">1560</span>      throws IOException, TableExistsException, RestoreSnapshotException;<a name="line.1560"></a>
-<span class="sourceLineNo">1561</span><a name="line.1561"></a>
-<span class="sourceLineNo">1562</span>  /**<a name="line.1562"></a>
-<span class="sourceLineNo">1563</span>   * Create a new table by cloning the snapshot content, but does not block<a name="line.1563"></a>
-<span class="sourceLineNo">1564</span>   * and wait for it be completely cloned.<a name="line.1564"></a>
-<span class="sourceLineNo">1565</span>   * You can use Future.get(long, TimeUnit) to wait on the operation to complete.<a name="line.1565"></a>
-<span class="sourceLineNo">1566</span>   * It may throw ExecutionException if there was an error while executing the operation<a name="line.1566"></a>
-<span class="sourceLineNo">1567</span>   * or TimeoutException in case the wait timeout was not long enough to allow the<a name="line.1567"></a>
-<span class="sourceLineNo">1568</span>   * operation to complete.<a name="line.1568"></a>
+<span class="sourceLineNo">1550</span>   * Create a new table by cloning the snapshot content, but does not block<a name="line.1550"></a>
+<span class="sourceLineNo">1551</span>   * and wait for it be completely cloned.<a name="line.1551"></a>
+<span class="sourceLineNo">1552</span>   * You can use Future.get(long, TimeUnit) to wait on the operation to complete.<a name="line.1552"></a>
+<span class="sourceLineNo">1553</span>   * It may throw ExecutionException if there was an error while executing the operation<a name="line.1553"></a>
+<span class="sourceLineNo">1554</span>   * or TimeoutException in case the wait timeout was not long enough to allow the<a name="line.1554"></a>
+<span class="sourceLineNo">1555</span>   * operation to complete.<a name="line.1555"></a>
+<span class="sourceLineNo">1556</span>   *<a name="line.1556"></a>
+<span class="sourceLineNo">1557</span>   * @param snapshotName name of the snapshot to be cloned<a name="line.1557"></a>
+<span class="sourceLineNo">1558</span>   * @param tableName name of the table where the snapshot will be restored<a name="line.1558"></a>
+<span class="sourceLineNo">1559</span>   * @throws IOException if a remote or network exception occurs<a name="line.1559"></a>
+<span class="sourceLineNo">1560</span>   * @throws TableExistsException if table to be cloned already exists<a name="line.1560"></a>
+<span class="sourceLineNo">1561</span>   * @return the result of the async clone snapshot. You can use Future.get(long, TimeUnit)<a name="line.1561"></a>
+<span class="sourceLineNo">1562</span>   *    to wait on the operation to complete.<a name="line.1562"></a>
+<span class="sourceLineNo">1563</span>   */<a name="line.1563"></a>
+<span class="sourceLineNo">1564</span>  Future&lt;Void&gt; cloneSnapshotAsync(final String snapshotName, final TableName tableName)<a name="line.1564"></a>
+<span class="sourceLineNo">1565</span>      throws IOException, TableExistsException;<a name="line.1565"></a>
+<span class="sourceLineNo">1566</span><a name="line.1566"></a>
+<span class="sourceLineNo">1567</span>  /**<a name="line.1567"></a>
+<span class="sourceLineNo">1568</span>   * Execute a distributed procedure on a cluster.<a name="line.1568"></a>
 <span class="sourceLineNo">1569</span>   *<a name="line.1569"></a>
-<span class="sourceLineNo">1570</span>   * @param snapshotName name of the snapshot to be cloned<a name="line.1570"></a>
-<span class="sourceLineNo">1571</span>   * @param tableName name of the table where the snapshot will be restored<a name="line.1571"></a>
-<span class="sourceLineNo">1572</span>   * @throws IOException if a remote or network exception occurs<a name="line.1572"></a>
-<span class="sourceLineNo">1573</span>   * @throws TableExistsException if table to be cloned already exists<a name="line.1573"></a>
-<span class="sourceLineNo">1574</span>   * @return the result of the async clone snapshot. You can use Future.get(long, TimeUnit)<a name="line.1574"></a>
-<span class="sourceLineNo">1575</span>   *    to wait on the operation to complete.<a name="line.1575"></a>
+<span class="sourceLineNo">1570</span>   * @param signature A distributed procedure is uniquely identified by its signature (default the<a name="line.1570"></a>
+<span class="sourceLineNo">1571</span>   * root ZK node name of the procedure).<a name="line.1571"></a>
+<span class="sourceLineNo">1572</span>   * @param instance The instance name of the procedure. For some procedures, this parameter is<a name="line.1572"></a>
+<span class="sourceLineNo">1573</span>   * optional.<a name="line.1573"></a>
+<span class="sourceLineNo">1574</span>   * @param props Property/Value pairs of properties passing to the procedure<a name="line.1574"></a>
+<span class="sourceLineNo">1575</span>   * @throws IOException<a name="line.1575"></a>
 <span class="sourceLineNo">1576</span>   */<a name="line.1576"></a>
-<span class="sourceLineNo">1577</span>  Future&lt;Void&gt; cloneSnapshotAsync(final String snapshotName, final TableName tableName)<a name="line.1577"></a>
-<span class="sourceLineNo">1578</span>      throws IOException, TableExistsException;<a name="line.1578"></a>
+<span class="sourceLineNo">1577</span>  void execProcedure(String signature, String instance, Map&lt;String, String&gt; props)<a name="line.1577"></a>
+<span class="sourceLineNo">1578</span>      throws IOException;<a name="line.1578"></a>
 <span class="sourceLineNo">1579</span><a name="line.1579"></a>
 <span class="sourceLineNo">1580</span>  /**<a name="line.1580"></a>
 <span class="sourceLineNo">1581</span>   * Execute a distributed procedure on a cluster.<a name="line.1581"></a>
@@ -1593,459 +1593,446 @@
 <span class="sourceLineNo">1585</span>   * @param instance The instance name of the procedure. For some procedures, this parameter is<a name="line.1585"></a>
 <span class="sourceLineNo">1586</span>   * optional.<a name="line.1586"></a>
 <span class="sourceLineNo">1587</span>   * @param props Property/Value pairs of properties passing to the procedure<a name="line.1587"></a>
-<span class="sourceLineNo">1588</span>   * @throws IOException<a name="line.1588"></a>
-<span class="sourceLineNo">1589</span>   */<a name="line.1589"></a>
-<span class="sourceLineNo">1590</span>  void execProcedure(String signature, String instance, Map&lt;String, String&gt; props)<a name="line.1590"></a>
-<span class="sourceLineNo">1591</span>      throws IOException;<a name="line.1591"></a>
-<span class="sourceLineNo">1592</span><a name="line.1592"></a>
-<span class="sourceLineNo">1593</span>  /**<a name="line.1593"></a>
-<span class="sourceLineNo">1594</span>   * Execute a distributed procedure on a cluster.<a name="line.1594"></a>
-<span class="sourceLineNo">1595</span>   *<a name="line.1595"></a>
-<span class="sourceLineNo">1596</span>   * @param signature A distributed procedure is uniquely identified by its signature (default the<a name="line.1596"></a>
-<span class="sourceLineNo">1597</span>   * root ZK node name of the procedure).<a name="line.1597"></a>
-<span class="sourceLineNo">1598</span>   * @param instance The instance name of the procedure. For some procedures, this parameter is<a name="line.1598"></a>
-<span class="sourceLineNo">1599</span>   * optional.<a name="line.1599"></a>
-<span class="sourceLineNo">1600</span>   * @param props Property/Value pairs of properties passing to the procedure<a name="line.1600"></a>
-<span class="sourceLineNo">1601</span>   * @return data returned after procedure execution. null if no return data.<a name="line.1601"></a>
-<span class="sourceLineNo">1602</span>   * @throws IOException<a name="line.1602"></a>
-<span class="sourceLineNo">1603</span>   */<a name="line.1603"></a>
-<span class="sourceLineNo">1604</span>  byte[] execProcedureWithRet(String signature, String instance, Map&lt;String, String&gt; props)<a name="line.1604"></a>
-<span class="sourceLineNo">1605</span>      throws IOException;<a name="line.1605"></a>
-<span class="sourceLineNo">1606</span><a name="line.1606"></a>
-<span class="sourceLineNo">1607</span>  /**<a name="line.1607"></a>
-<span class="sourceLineNo">1608</span>   * Check the current state of the specified procedure. There are three possible states: &lt;ol&gt;<a name="line.1608"></a>
-<span class="sourceLineNo">1609</span>   * &lt;li&gt;running - returns &lt;tt&gt;false&lt;/tt&gt;&lt;/li&gt; &lt;li&gt;finished - returns &lt;tt&gt;true&lt;/tt&gt;&lt;/li&gt;<a name="line.1609"></a>
-<span class="sourceLineNo">1610</span>   * &lt;li&gt;finished with error - throws the exception that caused the procedure to fail&lt;/li&gt; &lt;/ol&gt;<a name="line.1610"></a>
-<span class="sourceLineNo">1611</span>   *<a name="line.1611"></a>
-<span class="sourceLineNo">1612</span>   * @param signature The signature that uniquely identifies a procedure<a name="line.1612"></a>
-<span class="sourceLineNo">1613</span>   * @param instance The instance name of the procedure<a name="line.1613"></a>
-<span class="sourceLineNo">1614</span>   * @param props Property/Value pairs of properties passing to the procedure<a name="line.1614"></a>
-<span class="sourceLineNo">1615</span>   * @return true if the specified procedure is finished successfully, false if it is still running<a name="line.1615"></a>
-<span class="sourceLineNo">1616</span>   * @throws IOException if the specified procedure finished with error<a name="line.1616"></a>
-<span class="sourceLineNo">1617</span>   */<a name="line.1617"></a>
-<span class="sourceLineNo">1618</span>  boolean isProcedureFinished(String signature, String instance, Map&lt;String, String&gt; props)<a name="line.1618"></a>
-<span class="sourceLineNo">1619</span>      throws IOException;<a name="line.1619"></a>
-<span class="sourceLineNo">1620</span><a name="line.1620"></a>
-<span class="sourceLineNo">1621</span>  /**<a name="line.1621"></a>
-<span class="sourceLineNo">1622</span>   * List completed snapshots.<a name="line.1622"></a>
-<span class="sourceLineNo">1623</span>   *<a name="line.1623"></a>
-<span class="sourceLineNo">1624</span>   * @return a list of snapshot descriptors for completed snapshots<a name="line.1624"></a>
-<span class="sourceLineNo">1625</span>   * @throws IOException if a network error occurs<a name="line.1625"></a>
-<span class="sourceLineNo">1626</span>   */<a name="line.1626"></a>
-<span class="sourceLineNo">1627</span>  List&lt;SnapshotDescription&gt; listSnapshots() throws IOException;<a name="line.1627"></a>
-<span class="sourceLineNo">1628</span><a name="line.1628"></a>
-<span class="sourceLineNo">1629</span>  /**<a name="line.1629"></a>
-<span class="sourceLineNo">1630</span>   * List all the completed snapshots matching the given regular expression.<a name="line.1630"></a>
-<span class="sourceLineNo">1631</span>   *<a name="line.1631"></a>
-<span class="sourceLineNo">1632</span>   * @param regex The regular expression to match against<a name="line.1632"></a>
-<span class="sourceLineNo">1633</span>   * @return - returns a List of SnapshotDescription<a name="line.1633"></a>
-<span class="sourceLineNo">1634</span>   * @throws IOException if a remote or network exception occurs<a name="line.1634"></a>
-<span class="sourceLineNo">1635</span>   */<a name="line.1635"></a>
-<span class="sourceLineNo">1636</span>  List&lt;SnapshotDescription&gt; listSnapshots(String regex) throws IOException;<a name="line.1636"></a>
-<span class="sourceLineNo">1637</span><a name="line.1637"></a>
-<span class="sourceLineNo">1638</span>  /**<a name="line.1638"></a>
-<span class="sourceLineNo">1639</span>   * List all the completed snapshots matching the given pattern.<a name="line.1639"></a>
-<span class="sourceLineNo">1640</span>   *<a name="line.1640"></a>
-<span class="sourceLineNo">1641</span>   * @param pattern The compiled regular expression to match against<a name="line.1641"></a>
-<span class="sourceLineNo">1642</span>   * @return - returns a List of SnapshotDescription<a name="line.1642"></a>
-<span class="sourceLineNo">1643</span>   * @throws IOException if a remote or network exception occurs<a name="line.1643"></a>
-<span class="sourceLineNo">1644</span>   */<a name="line.1644"></a>
-<span class="sourceLineNo">1645</span>  List&lt;SnapshotDescription&gt; listSnapshots(Pattern pattern) throws IOException;<a name="line.1645"></a>
-<span class="sourceLineNo">1646</span><a name="line.1646"></a>
-<span class="sourceLineNo">1647</span>  /**<a name="line.1647"></a>
-<span class="sourceLineNo">1648</span>   * List all the completed snapshots matching the given table name regular expression and snapshot<a name="line.1648"></a>
-<span class="sourceLineNo">1649</span>   * name regular expression.<a name="line.1649"></a>
-<span class="sourceLineNo">1650</span>   * @param tableNameRegex The table name regular expression to match against<a name="line.1650"></a>
-<span class="sourceLineNo">1651</span>   * @param snapshotNameRegex The snapshot name regular expression to match against<a name="line.1651"></a>
-<span class="sourceLineNo">1652</span>   * @return - returns a List of completed SnapshotDescription<a name="line.1652"></a>
-<span class="sourceLineNo">1653</span>   * @throws IOException if a remote or network exception occurs<a name="line.1653"></a>
-<span class="sourceLineNo">1654</span>   */<a name="line.1654"></a>
-<span class="sourceLineNo">1655</span>  List&lt;SnapshotDescription&gt; listTableSnapshots(String tableNameRegex,<a name="line.1655"></a>
-<span class="sourceLineNo">1656</span>      String snapshotNameRegex) throws IOException;<a name="line.1656"></a>
-<span class="sourceLineNo">1657</span><a name="line.1657"></a>
-<span class="sourceLineNo">1658</span>  /**<a name="line.1658"></a>
-<span class="sourceLineNo">1659</span>   * List all the completed snapshots matching the given table name regular expression and snapshot<a name="line.1659"></a>
-<span class="sourceLineNo">1660</span>   * name regular expression.<a name="line.1660"></a>
-<span class="sourceLineNo">1661</span>   * @param tableNamePattern The compiled table name regular expression to match against<a name="line.1661"></a>
-<span class="sourceLineNo">1662</span>   * @param snapshotNamePattern The compiled snapshot name regular expression to match against<a name="line.1662"></a>
-<span class="sourceLineNo">1663</span>   * @return - returns a List of completed SnapshotDescription<a name="line.1663"></a>
-<span class="sourceLineNo">1664</span>   * @throws IOException if a remote or network exception occurs<a name="line.1664"></a>
-<span class="sourceLineNo">1665</span>   */<a name="line.1665"></a>
-<span class="sourceLineNo">1666</span>  List&lt;SnapshotDescription&gt; listTableSnapshots(Pattern tableNamePattern,<a name="line.1666"></a>
-<span class="sourceLineNo">1667</span>      Pattern snapshotNamePattern) throws IOException;<a name="line.1667"></a>
-<span class="sourceLineNo">1668</span><a name="line.1668"></a>
-<span class="sourceLineNo">1669</span>  /**<a name="line.1669"></a>
-<span class="sourceLineNo">1670</span>   * Delete an existing snapshot.<a name="line.1670"></a>
-<span class="sourceLineNo">1671</span>   *<a name="line.1671"></a>
-<span class="sourceLineNo">1672</span>   * @param snapshotName name of the snapshot<a name="line.1672"></a>
-<span class="sourceLineNo">1673</span>   * @throws IOException if a remote or network exception occurs<a name="line.1673"></a>
-<span class="sourceLineNo">1674</span>   */<a name="line.1674"></a>
-<span class="sourceLineNo">1675</span>  void deleteSnapshot(final byte[] snapshotName) throws IOException;<a name="line.1675"></a>
-<span class="sourceLineNo">1676</span><a name="line.1676"></a>
-<span class="sourceLineNo">1677</span>  /**<a name="line.1677"></a>
-<span class="sourceLineNo">1678</span>   * Delete an existing snapshot.<a name="line.1678"></a>
-<span class="sourceLineNo">1679</span>   *<a name="line.1679"></a>
-<span class="sourceLineNo">1680</span>   * @param snapshotName name of the snapshot<a name="line.1680"></a>
-<span class="sourceLineNo">1681</span>   * @throws IOException if a remote or network exception occurs<a name="line.1681"></a>
-<span class="sourceLineNo">1682</span>   */<a name="line.1682"></a>
-<span class="sourceLineNo">1683</span>  void deleteSnapshot(final String snapshotName) throws IOException;<a name="line.1683"></a>
-<span class="sourceLineNo">1684</span><a name="line.1684"></a>
-<span class="sourceLineNo">1685</span>  /**<a name="line.1685"></a>
-<span class="sourceLineNo">1686</span>   * Delete existing snapshots whose names match the pattern passed.<a name="line.1686"></a>
-<span class="sourceLineNo">1687</span>   *<a name="line.1687"></a>
-<span class="sourceLineNo">1688</span>   * @param regex The regular expression to match against<a name="line.1688"></a>
-<span class="sourceLineNo">1689</span>   * @throws IOException if a remote or network exception occurs<a name="line.1689"></a>
-<span class="sourceLineNo">1690</span>   */<a name="line.1690"></a>
-<span class="sourceLineNo">1691</span>  void deleteSnapshots(final String regex) throws IOException;<a name="line.1691"></a>
-<span class="sourceLineNo">1692</span><a name="line.1692"></a>
-<span class="sourceLineNo">1693</span>  /**<a name="line.1693"></a>
-<span class="sourceLineNo">1694</span>   * Delete existing snapshots whose names match the pattern passed.<a name="line.1694"></a>
-<span class="sourceLineNo">1695</span>   *<a name="line.1695"></a>
-<span class="sourceLineNo">1696</span>   * @param pattern pattern for names of the snapshot to match<a name="line.1696"></a>
-<span class="sourceLineNo">1697</span>   * @throws IOException if a remote or network exception occurs<a name="line.1697"></a>
-<span class="sourceLineNo">1698</span>   */<a name="line.1698"></a>
-<span class="sourceLineNo">1699</span>  void deleteSnapshots(final Pattern pattern) throws IOException;<a name="line.1699"></a>
-<span class="sourceLineNo">1700</span><a name="line.1700"></a>
-<span class="sourceLineNo">1701</span>  /**<a name="line.1701"></a>
-<span class="sourceLineNo">1702</span>   * Delete all existing snapshots matching the given table name regular expression and snapshot<a name="line.1702"></a>
-<span class="sourceLineNo">1703</span>   * name regular expression.<a name="line.1703"></a>
-<span class="sourceLineNo">1704</span>   * @param tableNameRegex The table name regular expression to match against<a name="line.1704"></a>
-<span class="sourceLineNo">1705</span>   * @param snapshotNameRegex The snapshot name regular expression to match against<a name="line.1705"></a>
-<span class="sourceLineNo">1706</span>   * @throws IOException if a remote or network exception occurs<a name="line.1706"></a>
-<span class="sourceLineNo">1707</span>   */<a name="line.1707"></a>
-<span class="sourceLineNo">1708</span>  void deleteTableSnapshots(String tableNameRegex, String snapshotNameRegex) throws IOException;<a name="line.1708"></a>
-<span class="sourceLineNo">1709</span><a name="line.1709"></a>
-<span class="sourceLineNo">1710</span>  /**<a name="line.1710"></a>
-<span class="sourceLineNo">1711</span>   * Delete all existing snapshots matching the given table name regular expression and snapshot<a name="line.1711"></a>
-<span class="sourceLineNo">1712</span>   * name regular expression.<a name="line.1712"></a>
-<span class="sourceLineNo">1713</span>   * @param tableNamePattern The compiled table name regular expression to match against<a name="line.1713"></a>
-<span class="sourceLineNo">1714</span>   * @param snapshotNamePattern The compiled snapshot name regular expression to match against<a name="line.1714"></a>
-<span class="sourceLineNo">1715</span>   * @throws IOException if a remote or network exception occurs<a name="line.1715"></a>
-<span class="sourceLineNo">1716</span>   */<a name="line.1716"></a>
-<span class="sourceLineNo">1717</span>  void deleteTableSnapshots(Pattern tableNamePattern, Pattern snapshotNamePattern)<a name="line.1717"></a>
-<span class="sourceLineNo">1718</span>      throws IOException;<a name="line.1718"></a>
-<span class="sourceLineNo">1719</span><a name="line.1719"></a>
-<span class="sourceLineNo">1720</span>  /**<a name="line.1720"></a>
-<span class="sourceLineNo">1721</span>   * Apply the new quota settings.<a name="line.1721"></a>
-<span class="sourceLineNo">1722</span>   *<a name="line.1722"></a>
-<span class="sourceLineNo">1723</span>   * @param quota the quota settings<a name="line.1723"></a>
-<span class="sourceLineNo">1724</span>   * @throws IOException if a remote or network exception occurs<a name="line.1724"></a>
-<span class="sourceLineNo">1725</span>   */<a name="line.1725"></a>
-<span class="sourceLineNo">1726</span>  void setQuota(final QuotaSettings quota) throws IOException;<a name="line.1726"></a>
-<span class="sourceLineNo">1727</span><a name="line.1727"></a>
-<span class="sourceLineNo">1728</span>  /**<a name="line.1728"></a>
-<span class="sourceLineNo">1729</span>   * Return a QuotaRetriever to list the quotas based on the filter.<a name="line.1729"></a>
-<span class="sourceLineNo">1730</span>   *<a name="line.1730"></a>
-<span class="sourceLineNo">1731</span>   * @param filter the quota settings filter<a name="line.1731"></a>
-<span class="sourceLineNo">1732</span>   * @return the quota retriever<a name="line.1732"></a>
-<span class="sourceLineNo">1733</span>   * @throws IOException if a remote or network exception occurs<a name="line.1733"></a>
-<span class="sourceLineNo">1734</span>   */<a name="line.1734"></a>
-<span class="sourceLineNo">1735</span>  QuotaRetriever getQuotaRetriever(final QuotaFilter filter) throws IOException;<a name="line.1735"></a>
-<span class="sourceLineNo">1736</span><a name="line.1736"></a>
-<span class="sourceLineNo">1737</span>  /**<a name="line.1737"></a>
-<span class="sourceLineNo">1738</span>   * Creates and returns a {@link com.google.protobuf.RpcChannel} instance connected to the active<a name="line.1738"></a>
-<span class="sourceLineNo">1739</span>   * master. &lt;p&gt; The obtained {@link com.google.protobuf.RpcChannel} instance can be used to access<a name="line.1739"></a>
-<span class="sourceLineNo">1740</span>   * a published coprocessor {@link com.google.protobuf.Service} using standard protobuf service<a name="line.1740"></a>
-<span class="sourceLineNo">1741</span>   * invocations: &lt;/p&gt; &lt;div style="background-color: #cccccc; padding: 2px"&gt;<a name="line.1741"></a>
-<span class="sourceLineNo">1742</span>   * &lt;blockquote&gt;&lt;pre&gt;<a name="line.1742"></a>
-<span class="sourceLineNo">1743</span>   * CoprocessorRpcChannel channel = myAdmin.coprocessorService();<a name="line.1743"></a>
-<span class="sourceLineNo">1744</span>   * MyService.BlockingInterface service = MyService.newBlockingStub(channel);<a name="line.1744"></a>
-<span class="sourceLineNo">1745</span>   * MyCallRequest request = MyCallRequest.newBuilder()<a name="line.1745"></a>
-<span class="sourceLineNo">1746</span>   *     ...<a name="line.1746"></a>
-<span class="sourceLineNo">1747</span>   *     .build();<a name="line.1747"></a>
-<span class="sourceLineNo">1748</span>   * MyCallResponse response = service.myCall(null, request);<a name="line.1748"></a>
-<span class="sourceLineNo">1749</span>   * &lt;/pre&gt;&lt;/blockquote&gt;&lt;/div&gt;<a name="line.1749"></a>
-<span class="sourceLineNo">1750</span>   *<a name="line.1750"></a>
-<span class="sourceLineNo">1751</span>   * @return A MasterCoprocessorRpcChannel instance<a name="line.1751"></a>
-<span class="sourceLineNo">1752</span>   */<a name="line.1752"></a>
-<span class="sourceLineNo">1753</span>  CoprocessorRpcChannel coprocessorService();<a name="line.1753"></a>
-<span class="sourceLineNo">1754</span><a name="line.1754"></a>
-<span class="sourceLineNo">1755</span><a name="line.1755"></a>
-<span class="sourceLineNo">1756</span>  /**<a name="line.1756"></a>
-<span class="sourceLineNo">1757</span>   * Creates and returns a {@link com.google.protobuf.RpcChannel} instance<a name="line.1757"></a>
-<span class="sourceLineNo">1758</span>   * connected to the passed region server.<a name="line.1758"></a>
-<span class="sourceLineNo">1759</span>   *<a name="line.1759"></a>
-<span class="sourceLineNo">1760</span>   * &lt;p&gt;<a name="line.1760"></a>
-<span class="sourceLineNo">1761</span>   * The obtained {@link com.google.protobuf.RpcChannel} instance can be used to access a published<a name="line.1761"></a>
-<span class="sourceLineNo">1762</span>   * coprocessor {@link com.google.protobuf.Service} using standard protobuf service invocations:<a name="line.1762"></a>
-<span class="sourceLineNo">1763</span>   * &lt;/p&gt;<a name="line.1763"></a>
-<span class="sourceLineNo">1764</span>   *<a name="line.1764"></a>
-<span class="sourceLineNo">1765</span>   * &lt;div style="background-color: #cccccc; padding: 2px"&gt;<a name="line.1765"></a>
-<span class="sourceLineNo">1766</span>   * &lt;blockquote&gt;&lt;pre&gt;<a name="line.1766"></a>
-<span class="sourceLineNo">1767</span>   * CoprocessorRpcChannel channel = myAdmin.coprocessorService(serverName);<a name="line.1767"></a>
-<span class="sourceLineNo">1768</span>   * MyService.BlockingInterface service = MyService.newBlockingStub(channel);<a name="line.1768"></a>
-<span class="sourceLineNo">1769</span>   * MyCallRequest request = MyCallRequest.newBuilder()<a name="line.1769"></a>
-<span class="sourceLineNo">1770</span>   *     ...<a name="line.1770"></a>
-<span class="sourceLineNo">1771</span>   *     .build();<a name="line.1771"></a>
-<span class="sourceLineNo">1772</span>   * MyCallResponse response = service.myCall(null, request);<a name="line.1772"></a>
-<span class="sourceLineNo">1773</span>   * &lt;/pre&gt;&lt;/blockquote&gt;&lt;/div&gt;<a name="line.1773"></a>
-<span class="sourceLineNo">1774</span>   *<a name="line.1774"></a>
-<span class="sourceLineNo">1775</span>   * @param sn the server name to which the endpoint call is made<a name="line.1775"></a>
-<span class="sourceLineNo">1776</span>   * @return A RegionServerCoprocessorRpcChannel instance<a name="line.1776"></a>
-<span class="sourceLineNo">1777</span>   */<a name="line.1777"></a>
-<span class="sourceLineNo">1778</span>  CoprocessorRpcChannel coprocessorService(ServerName sn);<a name="line.1778"></a>
-<span class="sourceLineNo">1779</span><a name="line.1779"></a>
-<span class="sourceLineNo">1780</span><a name="line.1780"></a>
-<span class="sourceLineNo">1781</span>  /**<a name="line.1781"></a>
-<span class="sourceLineNo">1782</span>   * Update the configuration and trigger an online config change<a name="line.1782"></a>
-<span class="sourceLineNo">1783</span>   * on the regionserver<a name="line.1783"></a>
-<span class="sourceLineNo">1784</span>   * @param server : The server whose config needs to be updated.<a name="line.1784"></a>
-<span class="sourceLineNo">1785</span>   * @throws IOException<a name="line.1785"></a>
-<span class="sourceLineNo">1786</span>   */<a name="line.1786"></a>
-<span class="sourceLineNo">1787</span>  void updateConfiguration(ServerName server) throws IOException;<a name="line.1787"></a>
-<span class="sourceLineNo">1788</span><a name="line.1788"></a>
-<span class="sourceLineNo">1789</span><a name="line.1789"></a>
-<span class="sourceLineNo">1790</span>  /**<a name="line.1790"></a>
-<span class="sourceLineNo">1791</span>   * Update the configuration and trigger an online config change<a name="line.1791"></a>
-<span class="sourceLineNo">1792</span>   * on all the regionservers<a name="line.1792"></a>
-<span class="sourceLineNo">1793</span>   * @throws IOException<a name="line.1793"></a>
-<span class="sourceLineNo">1794</span>   */<a name="line.1794"></a>
-<span class="sourceLineNo">1795</span>  void updateConfiguration() throws IOException;<a name="line.1795"></a>
-<span class="sourceLineNo">1796</span><a name="line.1796"></a>
-<span class="sourceLineNo">1797</span>  /**<a name="line.1797"></a>
-<span class="sourceLineNo">1798</span>   * Get the info port of the current master if one is available.<a name="line.1798"></a>
-<span class="sourceLineNo">1799</span>   * @return master info port<a name="line.1799"></a>
-<span class="sourceLineNo">1800</span>   * @throws IOException<a name="line.1800"></a>
-<span class="sourceLineNo">1801</span>   */<a name="line.1801"></a>
-<span class="sourceLineNo">1802</span>  public int getMasterInfoPort() throws IOException;<a name="line.1802"></a>
-<span class="sourceLineNo">1803</span><a name="line.1803"></a>
-<span class="sourceLineNo">1804</span>  /**<a name="line.1804"></a>
-<span class="sourceLineNo">1805</span>   * Compact a table. Asynchronous operation.<a name="line.1805"></a>
-<span class="sourceLineNo">1806</span>   *<a name="line.1806"></a>
-<span class="sourceLineNo">1807</span>   * @param tableName table to compact<a name="line.1807"></a>
-<span class="sourceLineNo">1808</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1808"></a>
-<span class="sourceLineNo">1809</span>   * @throws IOException<a name="line.1809"></a>
-<span class="sourceLineNo">1810</span>   * @throws InterruptedException<a name="line.1810"></a>
-<span class="sourceLineNo">1811</span>   */<a name="line.1811"></a>
-<span class="sourceLineNo">1812</span>  void compact(final TableName tableName, CompactType compactType)<a name="line.1812"></a>
-<span class="sourceLineNo">1813</span>    throws IOException, InterruptedException;<a name="line.1813"></a>
-<span class="sourceLineNo">1814</span><a name="line.1814"></a>
-<span class="sourceLineNo">1815</span>  /**<a name="line.1815"></a>
-<span class="sourceLineNo">1816</span>   * Compact a column family within a table. Asynchronous operation.<a name="line.1816"></a>
-<span class="sourceLineNo">1817</span>   *<a name="line.1817"></a>
-<span class="sourceLineNo">1818</span>   * @param tableName table to compact<a name="line.1818"></a>
-<span class="sourceLineNo">1819</span>   * @param columnFamily column family within a table<a name="line.1819"></a>
-<span class="sourceLineNo">1820</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1820"></a>
-<span class="sourceLineNo">1821</span>   * @throws IOException if not a mob column family or if a remote or network exception occurs<a name="line.1821"></a>
-<span class="sourceLineNo">1822</span>   * @throws InterruptedException<a name="line.1822"></a>
-<span class="sourceLineNo">1823</span>   */<a name="line.1823"></a>
-<span class="sourceLineNo">1824</span>  void compact(final TableName tableName, final byte[] columnFamily, CompactType compactType)<a name="line.1824"></a>
-<span class="sourceLineNo">1825</span>    throws IOException, InterruptedException;<a name="line.1825"></a>
-<span class="sourceLineNo">1826</span><a name="line.1826"></a>
-<span class="sourceLineNo">1827</span>  /**<a name="line.1827"></a>
-<span class="sourceLineNo">1828</span>   * Major compact a table. Asynchronous operation.<a name="line.1828"></a>
-<span class="sourceLineNo">1829</span>   *<a name="line.1829"></a>
-<span class="sourceLineNo">1830</span>   * @param tableName table to compact<a name="line.1830"></a>
-<span class="sourceLineNo">1831</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1831"></a>
-<span class="sourceLineNo">1832</span>   * @throws IOException<a name="line.1832"></a>
-<span class="sourceLineNo">1833</span>   * @throws InterruptedException<a name="line.1833"></a>
-<span class="sourceLineNo">1834</span>   */<a name="line.1834"></a>
-<span class="sourceLineNo">1835</span>  void majorCompact(final TableName tableName, CompactType compactType)<a name="line.1835"></a>
-<span class="sourceLineNo">1836</span>    throws IOException, InterruptedException;<a name="line.1836"></a>
-<span class="sourceLineNo">1837</span><a name="line.1837"></a>
-<span class="sourceLineNo">1838</span>  /**<a name="line.1838"></a>
-<span class="sourceLineNo">1839</span>   * Major compact a column family within a table. Asynchronous operation.<a name="line.1839"></a>
-<span class="sourceLineNo">1840</span>   *<a name="line.1840"></a>
-<span class="sourceLineNo">1841</span>   * @param tableName table to compact<a name="line.1841"></a>
-<span class="sourceLineNo">1842</span>   * @param columnFamily column family within a table<a name="line.1842"></a>
-<span class="sourceLineNo">1843</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1843"></a>
-<span class="sourceLineNo">1844</span>   * @throws IOException if not a mob column family or if a remote or network exception occurs<a name="line.1844"></a>
-<span class="sourceLineNo">1845</span>   * @throws InterruptedException<a name="line.1845"></a>
-<span class="sourceLineNo">1846</span>   */<a name="line.1846"></a>
-<span class="sourceLineNo">1847</span>  void majorCompact(final TableName tableName, final byte[] columnFamily, CompactType compactType)<a name="line.1847"></a>
-<span class="sourceLineNo">1848</span>    throws IOException, InterruptedException;<a name="line.1848"></a>
-<span class="sourceLineNo">1849</span><a name="line.1849"></a>
-<span class="sourceLineNo">1850</span>  /**<a name="line.1850"></a>
-<span class="sourceLineNo">1851</span>   * Get the current compaction state of a table. It could be in a compaction, or none.<a name="line.1851"></a>
-<span class="sourceLineNo">1852</span>   *<a name="line.1852"></a>
-<span class="sourceLineNo">1853</span>   * @param tableName table to examine<a name="line.1853"></a>
-<span class="sourceLineNo">1854</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1854"></a>
-<span class="sourceLineNo">1855</span>   * @return the current compaction state<a name="line.1855"></a>
-<span class="sourceLineNo">1856</span>   * @throws IOException if a remote or network exception occurs<a name="line.1856"></a>
-<span class="sourceLineNo">1857</span>   */<a name="line.1857"></a>
-<span class="sourceLineNo">1858</span>  CompactionState getCompactionState(final TableName tableName,<a name="line.1858"></a>
-<span class="sourceLineNo">1859</span>    CompactType compactType) throws IOException;<a name="line.1859"></a>
-<span class="sourceLineNo">1860</span><a name="line.1860"></a>
-<span class="sourceLineNo">1861</span>  /**<a name="line.1861"></a>
-<span class="sourceLineNo">1862</span>   * Return the set of supported security capabilities.<a name="line.1862"></a>
-<span class="sourceLineNo">1863</span>   * @throws IOException<a name="line.1863"></a>
-<span class="sourceLineNo">1864</span>   * @throws UnsupportedOperationException<a name="line.1864"></a>
-<span class="sourceLineNo">1865</span>   */<a name="line.1865"></a>
-<span class="sourceLineNo">1866</span>  List&lt;SecurityCapability&gt; getSecurityCapabilities() throws IOException;<a name="line.1866"></a>
-<span class="sourceLineNo">1867</span><a name="line.1867"></a>
-<span class="sourceLineNo">1868</span>  /**<a name="line.1868"></a>
-<span class="sourceLineNo">1869</span>   * Turn the Split or Merge switches on or off.<a name="line.1869"></a>
-<span class="sourceLineNo">1870</span>   *<a name="line.1870"></a>
-<span class="sourceLineNo">1871</span>   * @param enabled enabled or not<a name="line.1871"></a>
-<span class="sourceLineNo">1872</span>   * @param synchronous If true, it waits until current split() call, if outstanding, to return.<a name="line.1872"></a>
-<span class="sourceLineNo">1873</span>   * @param switchTypes switchType list {@link MasterSwitchType}<a name="line.1873"></a>
-<span class="sourceLineNo">1874</span>   * @return Previous switch value array<a name="line.1874"></a>
-<span class="sourceLineNo">1875</span>   */<a name="line.1875"></a>
-<span class="sourceLineNo">1876</span>  boolean[] setSplitOrMergeEnabled(final boolean enabled, final boolean synchronous,<a name="line.1876"></a>
-<span class="sourceLineNo">1877</span>                                   final MasterSwitchType... switchTypes) throws IOException;<a name="line.1877"></a>
-<span class="sourceLineNo">1878</span><a name="line.1878"></a>
-<span class="sourceLineNo">1879</span>  /**<a name="line.1879"></a>
-<span class="sourceLineNo">1880</span>   * Query the current state of the switch<a name="line.1880"></a>
-<span class="sourceLineNo">1881</span>   *<a name="line.1881"></a>
-<span class="sourceLineNo">1882</span>   * @return true if the switch is enabled, false otherwise.<a name="line.1882"></a>
-<span class="sourceLineNo">1883</span>   */<a name="line.1883"></a>
-<span class="sourceLineNo">1884</span>  boolean isSplitOrMergeEnabled(final MasterSwitchType switchType) throws IOException;<a name="line.1884"></a>
-<span class="sourceLineNo">1885</span><a name="line.1885"></a>
-<span class="sourceLineNo">1886</span>  /**<a name="line.1886"></a>
-<span class="sourceLineNo">1887</span>   * Add a new replication peer for replicating data to slave cluster<a name="line.1887"></a>
-<span class="sourceLineNo">1888</span>   * @param peerId a short name that identifies the peer<a name="line.1888"></a>
-<span class="sourceLineNo">1889</span>   * @param peerConfig configuration for the replication slave cluster<a name="line.1889"></a>
-<span class="sourceLineNo">1890</span>   * @throws IOException<a name="line.1890"></a>
-<span class="sourceLineNo">1891</span>   */<a name="line.1891"></a>
-<span class="sourceLineNo">1892</span>  default void addReplicationPeer(final String peerId, final ReplicationPeerConfig peerConfig)<a name="line.1892"></a>
-<span class="sourceLineNo">1893</span>      throws IOException {<a name="line.1893"></a>
-<span class="sourceLineNo">1894</span>  }<a name="line.1894"></a>
-<span class="sourceLineNo">1895</span><a name="line.1895"></a>
-<span class="sourceLineNo">1896</span>  /**<a name="line.1896"></a>
-<span class="sourceLineNo">1897</span>   * Remove a peer and stop the replication<a name="line.1897"></a>
-<span class="sourceLineNo">1898</span>   * @param peerId a short name that identifies the peer<a name="line.1898"></a>
-<span class="sourceLineNo">1899</span>   * @throws IOException<a name="line.1899"></a>
-<span class="sourceLineNo">1900</span>   */<a name="line.1900"></a>
-<span class="sourceLineNo">1901</span>  default void removeReplicationPeer(final String peerId) throws IOException {<a name="line.1901"></a>
-<span class="sourceLineNo">1902</span>  }<a name="line.1902"></a>
-<span class="sourceLineNo">1903</span><a name="line.1903"></a>
-<span class="sourceLineNo">1904</span>  /**<a name="line.1904"></a>
-<span class="sourceLineNo">1905</span>   * Restart the replication stream to the specified peer<a name="line.1905"></a>
-<span class="sourceLineNo">1906</span>   * @param peerId a short name that identifies the peer<a name="line.1906"></a>
-<span class="sourceLineNo">1907</span>   * @throws IOException<a name="line.1907"></a>
-<span class="sourceLineNo">1908</span>   */<a name="line.1908"></a>
-<span class="sourceLineNo">1909</span>  default void enableReplicationPeer(final String peerId) throws IOException {<a name="line.1909"></a>
-<span class="sourceLineNo">1910</span>  }<a name="line.1910"></a>
-<span class="sourceLineNo">1911</span><a name="line.1911"></a>
-<span class="sourceLineNo">1912</span>  /**<a name="line.1912"></a>
-<span class="sourceLineNo">1913</span>   * Stop the replication stream to the specified peer<a name="line.1913"></a>
-<span class="sourceLineNo">1914</span>   * @param peerId a short name that identifies the peer<a name="line.1914"></a>
-<span class="sourceLineNo">1915</span>   * @throws IOException<a name="line.1915"></a>
-<span class="sourceLineNo">1916</span>   */<a name="line.1916"></a>
-<span class="sourceLineNo">1917</span>  default void disableReplicationPeer(final String peerId) throws IOException {<a name="line.1917"></a>
-<span class="sourceLineNo">1918</span>  }<a name="line.1918"></a>
-<span class="sourceLineNo">1919</span><a name="line.1919"></a>
-<span class="sourceLineNo">1920</span>  /**<a name="line.1920"></a>
-<span class="sourceLineNo">1921</span>   * Returns the configured ReplicationPeerConfig for the specified peer<a name="line.1921"></a>
-<span class="sourceLineNo">1922</span>   * @param peerId a short name that identifies the peer<a name="line.1922"></a>
-<span class="sourceLineNo">1923</span>   * @return ReplicationPeerConfig for the peer<a name="line.1923"></a>
-<span class="sourceLineNo">1924</span>   * @throws IOException<a name="line.1924"></a>
-<span class="sourceLineNo">1925</span>   */<a name="line.1925"></a>
-<span class="sourceLineNo">1926</span>  default ReplicationPeerConfig getReplicationPeerConfig(final String peerId) throws IOException {<a name="line.1926"></a>
-<span class="sourceLineNo">1927</span>    return new ReplicationPeerConfig();<a name="line.1927"></a>
-<span class="sourceLineNo">1928</span>  }<a name="line.1928"></a>
-<span class="sourceLineNo">1929</span><a name="line.1929"></a>
-<span class="sourceLineNo">1930</span>  /**<a name="line.1930"></a>
-<span class="sourceLineNo">1931</span>   * Update the peerConfig for the specified peer<a name="line.1931"></a>
-<span class="sourceLineNo">1932</span>   * @param peerId a short name that identifies the peer<a name="line.1932"></a>
-<span class="sourceLineNo">1933</span>   * @param peerConfig new config for the peer<a name="line.1933"></a>
-<span class="sourceLineNo">1934</span>   * @throws IOException<a name="line.1934"></a>
-<span class="sourceLineNo">1935</span>   */<a name="line.1935"></a>
-<span class="sourceLineNo">1936</span>  default void updateReplicationPeerConfig(final String peerId,<a name="line.1936"></a>
-<span class="sourceLineNo">1937</span>      final ReplicationPeerConfig peerConfig) throws IOException {<a name="line.1937"></a>
-<span class="sourceLineNo">1938</span>  }<a name="line.1938"></a>
-<span class="sourceLineNo">1939</span><a name="line.1939"></a>
-<span class="sourceLineNo">1940</span>  /**<a name="line.1940"></a>
-<span class="sourceLineNo">1941</span>   * Append the replicable table-cf config of the specified peer<a name="line.1941"></a>
-<span class="sourceLineNo">1942</span>   * @param id a short that identifies the cluster<a name="line.1942"></a>
-<span class="sourceLineNo">1943</span>   * @param tableCfs A map from tableName to column family names<a name="line.1943"></a>
-<span class="sourceLineNo">1944</span>   * @throws ReplicationException<a name="line.1944"></a>
-<span class="sourceLineNo">1945</span>   * @throws IOException<a name="line.1945"></a>
-<span class="sourceLineNo">1946</span>   */<a name="line.1946"></a>
-<span class="sourceLineNo">1947</span>  default void appendReplicationPeerTableCFs(String id,<a name="line.1947"></a>
-<span class="sourceLineNo">1948</span>      Map&lt;TableName, ? extends Collection&lt;String&gt;&gt; tableCfs) throws ReplicationException,<a name="line.1948"></a>
-<span class="sourceLineNo">1949</span>      IOException {<a name="line.1949"></a>
-<span class="sourceLineNo">1950</span>  }<a name="line.1950"></a>
-<span class="sourceLineNo">1951</span><a name="line.1951"></a>
-<span class="sourceLineNo">1952</span>  /**<a name="line.1952"></a>
-<span class="sourceLineNo">1953</span>   * Remove some table-cfs from config of the specified peer<a name="line.1953"></a>
-<span class="sourceLineNo">1954</span>   * @param id a short name that identifies the cluster<a name="line.1954"></a>
-<span class="sourceLineNo">1955</span>   * @param tableCfs A map from tableName to column family names<a name="line.1955"></a>
-<span class="sourceLineNo">1956</span>   * @throws ReplicationException<a name="line.1956"></a>
-<span class="sourceLineNo">1957</span>   * @throws IOException<a name="line.1957"></a>
-<span class="sourceLineNo">1958</span>   */<a name="line.1958"></a>
-<span class="sourceLineNo">1959</span>  default void removeReplicationPeerTableCFs(String id,<a name="line.1959"></a>
-<span class="sourceLineNo">1960</span>      Map&lt;TableName, ? extends Collection&lt;String&gt;&gt; tableCfs) throws ReplicationException,<a name="line.1960"></a>
-<span class="sourceLineNo">1961</span>      IOException {<a name="line.1961"></a>
-<span class="sourceLineNo">1962</span>  }<a name="line.1962"></a>
-<span class="sourceLineNo">1963</span><a name="line.1963"></a>
-<span class="sourceLineNo">1964</span>  /**<a name="line.1964"></a>
-<span class="sourceLineNo">1965</span>   * Return a list of replication peers.<a name="line.1965"></a>
-<span class="sourceLineNo">1966</span>   * @return a list of replication peers description<a name="line.1966"></a>
-<span class="sourceLineNo">1967</span>   * @throws IOException<a name="line.1967"></a>
-<span class="sourceLineNo">1968</span>   */<a name="line.1968"></a>
-<span class="sourceLineNo">1969</span>  default List&lt;ReplicationPeerDescription&gt; listReplicationPeers() throws IOException {<a name="line.1969"></a>
-<span class="sourceLineNo">1970</span>    return new ArrayList&lt;&gt;();<a name="line.1970"></a>
-<span class="sourceLineNo">1971</span>  }<a name="line.1971"></a>
-<span class="sourceLineNo">1972</span><a name="line.1972"></a>
-<span class="sourceLineNo">1973</span>  /**<a name="line.1973"></a>
-<span class="sourceLineNo">1974</span>   * Return a list of replication peers.<a name="line.1974"></a>
-<span class="sourceLineNo">1975</span>   * @param regex The regular expression to match peer id<a name="line.1975"></a>
-<span class="sourceLineNo">1976</span>   * @return a list of replication peers description<a name="line.1976"></a>
-<span class="sourceLineNo">1977</span>   * @throws IOException<a name="line.1977"></a>
-<span class="sourceLineNo">1978</span>   */<a name="line.1978"></a>
-<span class="sourceLineNo">1979</span>  default List&lt;ReplicationPeerDescription&gt; listReplicationPeers(String regex) throws IOException {<a name="line.1979"></a>
-<span class="sourceLineNo">1980</span>    return new ArrayList&lt;&gt;();<a name="line.1980"></a>
-<span class="sourceLineNo">1981</span>  }<a name="line.1981"></a>
-<span class="sourceLineNo">1982</span><a name="line.1982"></a>
-<span class="sourceLineNo">1983</span>  /**<a name="line.1983"></a>
-<span class="sourceLineNo">1984</span>   * Return a list of replication peers.<a name="line.1984"></a>
-<span class="sourceLineNo">1985</span>   * @param pattern The compiled regular expression to match peer id<a name="line.1985"></a>
-<span class="sourceLineNo">1986</span>   * @return a list of replication peers description<a name="line.1986"></a>
-<span class="sourceLineNo">1987</span>   * @throws IOException<a name="line.1987"></a>
-<span class="sourceLineNo">1988</span>   */<a name="line.1988"></a>
-<span class="sourceLineNo">1989</span>  default List&lt;ReplicationPeerDescription&gt; listReplicationPeers(Pattern pattern) throws IOException {<a name="line.1989"></a>
-<span class="sourceLineNo">1990</span>    return new ArrayList&lt;&gt;();<a name="line.1990"></a>
-<span class="sourceLineNo">1991</span>  }<a name="line.1991"></a>
-<span class="sourceLineNo">1992</span><a name="line.1992"></a>
-<span class="sourceLineNo">1993</span>  /**<a name="line.1993"></a>
-<span class="sourceLineNo">1994</span>   * Mark a region server as draining to prevent additional regions from getting assigned to it.<a name="line.1994"></a>
-<span class="sourceLineNo">1995</span>   * @param servers List of region servers to drain.<a name="line.1995"></a>
-<span class="sourceLineNo">1996</span>   */<a name="line.1996"></a>
-<span class="sourceLineNo">1997</span>  void drainRegionServers(List&lt;ServerName&gt; servers) throws IOException;<a name="line.1997"></a>
-<span class="sourceLineNo">1998</span><a name="line.1998"></a>
-<span class="sourceLineNo">1999</span>  /**<a name="line.1999"></a>
-<span class="sourceLineNo">2000</span>   * List region servers marked as draining to not get additional regions assigned to them.<a name="line.2000"></a>
-<span class="sourceLineNo">2001</span>   * @return List of draining region servers.<a name="line.2001"></a>
-<span class="sourceLineNo">2002</span>   */<a name="line.2002"></a>
-<span class="sourceLineNo">2003</span>  List&lt;ServerName&gt; listDrainingRegionServers() throws IOException;<a name="line.2003"></a>
-<span class="sourceLineNo">2004</span><a name="line.2004"></a>
-<span class="sourceLineNo">2005</span>  /**<a name="line.2005"></a>
-<span class="sourceLineNo">2006</span>   * Remove drain from a region server to allow additional regions assignments.<a name="line.2006"></a>
-<span class="sourceLineNo">2007</span>   * @param servers List of region servers to remove drain from.<a name="line.2007"></a>
+<span class="sourceLineNo">1588</span>   * @return data returned after procedure execution. null if no return data.<a name="line.1588"></a>
+<span class="sourceLineNo">1589</span>   * @throws IOException<a name="line.1589"></a>
+<span class="sourceLineNo">1590</span>   */<a name="line.1590"></a>
+<span class="sourceLineNo">1591</span>  byte[] execProcedureWithRet(String signature, String instance, Map&lt;String, String&gt; props)<a name="line.1591"></a>
+<span class="sourceLineNo">1592</span>      throws IOException;<a name="line.1592"></a>
+<span class="sourceLineNo">1593</span><a name="line.1593"></a>
+<span class="sourceLineNo">1594</span>  /**<a name="line.1594"></a>
+<span class="sourceLineNo">1595</span>   * Check the current state of the specified procedure. There are three possible states: &lt;ol&gt;<a name="line.1595"></a>
+<span class="sourceLineNo">1596</span>   * &lt;li&gt;running - returns &lt;tt&gt;false&lt;/tt&gt;&lt;/li&gt; &lt;li&gt;finished - returns &lt;tt&gt;true&lt;/tt&gt;&lt;/li&gt;<a name="line.1596"></a>
+<span class="sourceLineNo">1597</span>   * &lt;li&gt;finished with error - throws the exception that caused the procedure to fail&lt;/li&gt; &lt;/ol&gt;<a name="line.1597"></a>
+<span class="sourceLineNo">1598</span>   *<a name="line.1598"></a>
+<span class="sourceLineNo">1599</span>   * @param signature The signature that uniquely identifies a procedure<a name="line.1599"></a>
+<span class="sourceLineNo">1600</span>   * @param instance The instance name of the procedure<a name="line.1600"></a>
+<span class="sourceLineNo">1601</span>   * @param props Property/Value pairs of properties passing to the procedure<a name="line.1601"></a>
+<span class="sourceLineNo">1602</span>   * @return true if the specified procedure is finished successfully, false if it is still running<a name="line.1602"></a>
+<span class="sourceLineNo">1603</span>   * @throws IOException if the specified procedure finished with error<a name="line.1603"></a>
+<span class="sourceLineNo">1604</span>   */<a name="line.1604"></a>
+<span class="sourceLineNo">1605</span>  boolean isProcedureFinished(String signature, String instance, Map&lt;String, String&gt; props)<a name="line.1605"></a>
+<span class="sourceLineNo">1606</span>      throws IOException;<a name="line.1606"></a>
+<span class="sourceLineNo">1607</span><a name="line.1607"></a>
+<span class="sourceLineNo">1608</span>  /**<a name="line.1608"></a>
+<span class="sourceLineNo">1609</span>   * List completed snapshots.<a name="line.1609"></a>
+<span class="sourceLineNo">1610</span>   *<a name="line.1610"></a>
+<span class="sourceLineNo">1611</span>   * @return a list of snapshot descriptors for completed snapshots<a name="line.1611"></a>
+<span class="sourceLineNo">1612</span>   * @throws IOException if a network error occurs<a name="line.1612"></a>
+<span class="sourceLineNo">1613</span>   */<a name="line.1613"></a>
+<span class="sourceLineNo">1614</span>  List&lt;SnapshotDescription&gt; listSnapshots() throws IOException;<a name="line.1614"></a>
+<span class="sourceLineNo">1615</span><a name="line.1615"></a>
+<span class="sourceLineNo">1616</span>  /**<a name="line.1616"></a>
+<span class="sourceLineNo">1617</span>   * List all the completed snapshots matching the given regular expression.<a name="line.1617"></a>
+<span class="sourceLineNo">1618</span>   *<a name="line.1618"></a>
+<span class="sourceLineNo">1619</span>   * @param regex The regular expression to match against<a name="line.1619"></a>
+<span class="sourceLineNo">1620</span>   * @return - returns a List of SnapshotDescription<a name="line.1620"></a>
+<span class="sourceLineNo">1621</span>   * @throws IOException if a remote or network exception occurs<a name="line.1621"></a>
+<span class="sourceLineNo">1622</span>   */<a name="line.1622"></a>
+<span class="sourceLineNo">1623</span>  List&lt;SnapshotDescription&gt; listSnapshots(String regex) throws IOException;<a name="line.1623"></a>
+<span class="sourceLineNo">1624</span><a name="line.1624"></a>
+<span class="sourceLineNo">1625</span>  /**<a name="line.1625"></a>
+<span class="sourceLineNo">1626</span>   * List all the completed snapshots matching the given pattern.<a name="line.1626"></a>
+<span class="sourceLineNo">1627</span>   *<a name="line.1627"></a>
+<span class="sourceLineNo">1628</span>   * @param pattern The compiled regular expression to match against<a name="line.1628"></a>
+<span class="sourceLineNo">1629</span>   * @return - returns a List of SnapshotDescription<a name="line.1629"></a>
+<span class="sourceLineNo">1630</span>   * @throws IOException if a remote or network exception occurs<a name="line.1630"></a>
+<span class="sourceLineNo">1631</span>   */<a name="line.1631"></a>
+<span class="sourceLineNo">1632</span>  List&lt;SnapshotDescription&gt; listSnapshots(Pattern pattern) throws IOException;<a name="line.1632"></a>
+<span class="sourceLineNo">1633</span><a name="line.1633"></a>
+<span class="sourceLineNo">1634</span>  /**<a name="line.1634"></a>
+<span class="sourceLineNo">1635</span>   * List all the completed snapshots matching the given table name regular expression and snapshot<a name="line.1635"></a>
+<span class="sourceLineNo">1636</span>   * name regular expression.<a name="line.1636"></a>
+<span class="sourceLineNo">1637</span>   * @param tableNameRegex The table name regular expression to match against<a name="line.1637"></a>
+<span class="sourceLineNo">1638</span>   * @param snapshotNameRegex The snapshot name regular expression to match against<a name="line.1638"></a>
+<span class="sourceLineNo">1639</span>   * @return - returns a List of completed SnapshotDescription<a name="line.1639"></a>
+<span class="sourceLineNo">1640</span>   * @throws IOException if a remote or network exception occurs<a name="line.1640"></a>
+<span class="sourceLineNo">1641</span>   */<a name="line.1641"></a>
+<span class="sourceLineNo">1642</span>  List&lt;SnapshotDescription&gt; listTableSnapshots(String tableNameRegex,<a name="line.1642"></a>
+<span class="sourceLineNo">1643</span>      String snapshotNameRegex) throws IOException;<a name="line.1643"></a>
+<span class="sourceLineNo">1644</span><a name="line.1644"></a>
+<span class="sourceLineNo">1645</span>  /**<a name="line.1645"></a>
+<span class="sourceLineNo">1646</span>   * List all the completed snapshots matching the given table name regular expression and snapshot<a name="line.1646"></a>
+<span class="sourceLineNo">1647</span>   * name regular expression.<a name="line.1647"></a>
+<span class="sourceLineNo">1648</span>   * @param tableNamePattern The compiled table name regular expression to match against<a name="line.1648"></a>
+<span class="sourceLineNo">1649</span>   * @param snapshotNamePattern The compiled snapshot name regular expression to match against<a name="line.1649"></a>
+<span class="sourceLineNo">1650</span>   * @return - returns a List of completed SnapshotDescription<a name="line.1650"></a>
+<span class="sourceLineNo">1651</span>   * @throws IOException if a remote or network exception occurs<a name="line.1651"></a>
+<span class="sourceLineNo">1652</span>   */<a name="line.1652"></a>
+<span class="sourceLineNo">1653</span>  List&lt;SnapshotDescription&gt; listTableSnapshots(Pattern tableNamePattern,<a name="line.1653"></a>
+<span class="sourceLineNo">1654</span>      Pattern snapshotNamePattern) throws IOException;<a name="line.1654"></a>
+<span class="sourceLineNo">1655</span><a name="line.1655"></a>
+<span class="sourceLineNo">1656</span>  /**<a name="line.1656"></a>
+<span class="sourceLineNo">1657</span>   * Delete an existing snapshot.<a name="line.1657"></a>
+<span class="sourceLineNo">1658</span>   *<a name="line.1658"></a>
+<span class="sourceLineNo">1659</span>   * @param snapshotName name of the snapshot<a name="line.1659"></a>
+<span class="sourceLineNo">1660</span>   * @throws IOException if a remote or network exception occurs<a name="line.1660"></a>
+<span class="sourceLineNo">1661</span>   */<a name="line.1661"></a>
+<span class="sourceLineNo">1662</span>  void deleteSnapshot(final byte[] snapshotName) throws IOException;<a name="line.1662"></a>
+<span class="sourceLineNo">1663</span><a name="line.1663"></a>
+<span class="sourceLineNo">1664</span>  /**<a name="line.1664"></a>
+<span class="sourceLineNo">1665</span>   * Delete an existing snapshot.<a name="line.1665"></a>
+<span class="sourceLineNo">1666</span>   *<a name="line.1666"></a>
+<span class="sourceLineNo">1667</span>   * @param snapshotName name of the snapshot<a name="line.1667"></a>
+<span class="sourceLineNo">1668</span>   * @throws IOException if a remote or network exception occurs<a name="line.1668"></a>
+<span class="sourceLineNo">1669</span>   */<a name="line.1669"></a>
+<span class="sourceLineNo">1670</span>  void deleteSnapshot(final String snapshotName) throws IOException;<a name="line.1670"></a>
+<span class="sourceLineNo">1671</span><a name="line.1671"></a>
+<span class="sourceLineNo">1672</span>  /**<a name="line.1672"></a>
+<span class="sourceLineNo">1673</span>   * Delete existing snapshots whose names match the pattern passed.<a name="line.1673"></a>
+<span class="sourceLineNo">1674</span>   *<a name="line.1674"></a>
+<span class="sourceLineNo">1675</span>   * @param regex The regular expression to match against<a name="line.1675"></a>
+<span class="sourceLineNo">1676</span>   * @throws IOException if a remote or network exception occurs<a name="line.1676"></a>
+<span class="sourceLineNo">1677</span>   */<a name="line.1677"></a>
+<span class="sourceLineNo">1678</span>  void deleteSnapshots(final String regex) throws IOException;<a name="line.1678"></a>
+<span class="sourceLineNo">1679</span><a name="line.1679"></a>
+<span class="sourceLineNo">1680</span>  /**<a name="line.1680"></a>
+<span class="sourceLineNo">1681</span>   * Delete existing snapshots whose names match the pattern passed.<a name="line.1681"></a>
+<span class="sourceLineNo">1682</span>   *<a name="line.1682"></a>
+<span class="sourceLineNo">1683</span>   * @param pattern pattern for names of the snapshot to match<a name="line.1683"></a>
+<span class="sourceLineNo">1684</span>   * @throws IOException if a remote or network exception occurs<a name="line.1684"></a>
+<span class="sourceLineNo">1685</span>   */<a name="line.1685"></a>
+<span class="sourceLineNo">1686</span>  void deleteSnapshots(final Pattern pattern) throws IOException;<a name="line.1686"></a>
+<span class="sourceLineNo">1687</span><a name="line.1687"></a>
+<span class="sourceLineNo">1688</span>  /**<a name="line.1688"></a>
+<span class="sourceLineNo">1689</span>   * Delete all existing snapshots matching the given table name regular expression and snapshot<a name="line.1689"></a>
+<span class="sourceLineNo">1690</span>   * name regular expression.<a name="line.1690"></a>
+<span class="sourceLineNo">1691</span>   * @param tableNameRegex The table name regular expression to match against<a name="line.1691"></a>
+<span class="sourceLineNo">1692</span>   * @param snapshotNameRegex The snapshot name regular expression to match against<a name="line.1692"></a>
+<span class="sourceLineNo">1693</span>   * @throws IOException if a remote or network exception occurs<a name="line.1693"></a>
+<span class="sourceLineNo">1694</span>   */<a name="line.1694"></a>
+<span class="sourceLineNo">1695</span>  void deleteTableSnapshots(String tableNameRegex, String snapshotNameRegex) throws IOException;<a name="line.1695"></a>
+<span class="sourceLineNo">1696</span><a name="line.1696"></a>
+<span class="sourceLineNo">1697</span>  /**<a name="line.1697"></a>
+<span class="sourceLineNo">1698</span>   * Delete all existing snapshots matching the given table name regular expression and snapshot<a name="line.1698"></a>
+<span class="sourceLineNo">1699</span>   * name regular expression.<a name="line.1699"></a>
+<span class="sourceLineNo">1700</span>   * @param tableNamePattern The compiled table name regular expression to match against<a name="line.1700"></a>
+<span class="sourceLineNo">1701</span>   * @param snapshotNamePattern The compiled snapshot name regular expression to match against<a name="line.1701"></a>
+<span class="sourceLineNo">1702</span>   * @throws IOException if a remote or network exception occurs<a name="line.1702"></a>
+<span class="sourceLineNo">1703</span>   */<a name="line.1703"></a>
+<span class="sourceLineNo">1704</span>  void deleteTableSnapshots(Pattern tableNamePattern, Pattern snapshotNamePattern)<a name="line.1704"></a>
+<span class="sourceLineNo">1705</span>      throws IOException;<a name="line.1705"></a>
+<span class="sourceLineNo">1706</span><a name="line.1706"></a>
+<span class="sourceLineNo">1707</span>  /**<a name="line.1707"></a>
+<span class="sourceLineNo">1708</span>   * Apply the new quota settings.<a name="line.1708"></a>
+<span class="sourceLineNo">1709</span>   *<a name="line.1709"></a>
+<span class="sourceLineNo">1710</span>   * @param quota the quota settings<a name="line.1710"></a>
+<span class="sourceLineNo">1711</span>   * @throws IOException if a remote or network exception occurs<a name="line.1711"></a>
+<span class="sourceLineNo">1712</span>   */<a name="line.1712"></a>
+<span class="sourceLineNo">1713</span>  void setQuota(final QuotaSettings quota) throws IOException;<a name="line.1713"></a>
+<span class="sourceLineNo">1714</span><a name="line.1714"></a>
+<span class="sourceLineNo">1715</span>  /**<a name="line.1715"></a>
+<span class="sourceLineNo">1716</span>   * Return a QuotaRetriever to list the quotas based on the filter.<a name="line.1716"></a>
+<span class="sourceLineNo">1717</span>   *<a name="line.1717"></a>
+<span class="sourceLineNo">1718</span>   * @param filter the quota settings filter<a name="line.1718"></a>
+<span class="sourceLineNo">1719</span>   * @return the quota retriever<a name="line.1719"></a>
+<span class="sourceLineNo">1720</span>   * @throws IOException if a remote or network exception occurs<a name="line.1720"></a>
+<span class="sourceLineNo">1721</span>   */<a name="line.1721"></a>
+<span class="sourceLineNo">1722</span>  QuotaRetriever getQuotaRetriever(final QuotaFilter filter) throws IOException;<a name="line.1722"></a>
+<span class="sourceLineNo">1723</span><a name="line.1723"></a>
+<span class="sourceLineNo">1724</span>  /**<a name="line.1724"></a>
+<span class="sourceLineNo">1725</span>   * Creates and returns a {@link com.google.protobuf.RpcChannel} instance connected to the active<a name="line.1725"></a>
+<span class="sourceLineNo">1726</span>   * master. &lt;p&gt; The obtained {@link com.google.protobuf.RpcChannel} instance can be used to access<a name="line.1726"></a>
+<span class="sourceLineNo">1727</span>   * a published coprocessor {@link com.google.protobuf.Service} using standard protobuf service<a name="line.1727"></a>
+<span class="sourceLineNo">1728</span>   * invocations: &lt;/p&gt; &lt;div style="background-color: #cccccc; padding: 2px"&gt;<a name="line.1728"></a>
+<span class="sourceLineNo">1729</span>   * &lt;blockquote&gt;&lt;pre&gt;<a name="line.1729"></a>
+<span class="sourceLineNo">1730</span>   * CoprocessorRpcChannel channel = myAdmin.coprocessorService();<a name="line.1730"></a>
+<span class="sourceLineNo">1731</span>   * MyService.BlockingInterface service = MyService.newBlockingStub(channel);<a name="line.1731"></a>
+<span class="sourceLineNo">1732</span>   * MyCallRequest request = MyCallRequest.newBuilder()<a name="line.1732"></a>
+<span class="sourceLineNo">1733</span>   *     ...<a name="line.1733"></a>
+<span class="sourceLineNo">1734</span>   *     .build();<a name="line.1734"></a>
+<span class="sourceLineNo">1735</span>   * MyCallResponse response = service.myCall(null, request);<a name="line.1735"></a>
+<span class="sourceLineNo">1736</span>   * &lt;/pre&gt;&lt;/blockquote&gt;&lt;/div&gt;<a name="line.1736"></a>
+<span class="sourceLineNo">1737</span>   *<a name="line.1737"></a>
+<span class="sourceLineNo">1738</span>   * @return A MasterCoprocessorRpcChannel instance<a name="line.1738"></a>
+<span class="sourceLineNo">1739</span>   */<a name="line.1739"></a>
+<span class="sourceLineNo">1740</span>  CoprocessorRpcChannel coprocessorService();<a name="line.1740"></a>
+<span class="sourceLineNo">1741</span><a name="line.1741"></a>
+<span class="sourceLineNo">1742</span><a name="line.1742"></a>
+<span class="sourceLineNo">1743</span>  /**<a name="line.1743"></a>
+<span class="sourceLineNo">1744</span>   * Creates and returns a {@link com.google.protobuf.RpcChannel} instance<a name="line.1744"></a>
+<span class="sourceLineNo">1745</span>   * connected to the passed region server.<a name="line.1745"></a>
+<span class="sourceLineNo">1746</span>   *<a name="line.1746"></a>
+<span class="sourceLineNo">1747</span>   * &lt;p&gt;<a name="line.1747"></a>
+<span class="sourceLineNo">1748</span>   * The obtained {@link com.google.protobuf.RpcChannel} instance can be used to access a published<a name="line.1748"></a>
+<span class="sourceLineNo">1749</span>   * coprocessor {@link com.google.protobuf.Service} using standard protobuf service invocations:<a name="line.1749"></a>
+<span class="sourceLineNo">1750</span>   * &lt;/p&gt;<a name="line.1750"></a>
+<span class="sourceLineNo">1751</span>   *<a name="line.1751"></a>
+<span class="sourceLineNo">1752</span>   * &lt;div style="background-color: #cccccc; padding: 2px"&gt;<a name="line.1752"></a>
+<span class="sourceLineNo">1753</span>   * &lt;blockquote&gt;&lt;pre&gt;<a name="line.1753"></a>
+<span class="sourceLineNo">1754</span>   * CoprocessorRpcChannel channel = myAdmin.coprocessorService(serverName);<a name="line.1754"></a>
+<span class="sourceLineNo">1755</span>   * MyService.BlockingInterface service = MyService.newBlockingStub(channel);<a name="line.1755"></a>
+<span class="sourceLineNo">1756</span>   * MyCallRequest request = MyCallRequest.newBuilder()<a name="line.1756"></a>
+<span class="sourceLineNo">1757</span>   *     ...<a name="line.1757"></a>
+<span class="sourceLineNo">1758</span>   *     .build();<a name="line.1758"></a>
+<span class="sourceLineNo">1759</span>   * MyCallResponse response = service.myCall(null, request);<a name="line.1759"></a>
+<span class="sourceLineNo">1760</span>   * &lt;/pre&gt;&lt;/blockquote&gt;&lt;/div&gt;<a name="line.1760"></a>
+<span class="sourceLineNo">1761</span>   *<a name="line.1761"></a>
+<span class="sourceLineNo">1762</span>   * @param sn the server name to which the endpoint call is made<a name="line.1762"></a>
+<span class="sourceLineNo">1763</span>   * @return A RegionServerCoprocessorRpcChannel instance<a name="line.1763"></a>
+<span class="sourceLineNo">1764</span>   */<a name="line.1764"></a>
+<span class="sourceLineNo">1765</span>  CoprocessorRpcChannel coprocessorService(ServerName sn);<a name="line.1765"></a>
+<span class="sourceLineNo">1766</span><a name="line.1766"></a>
+<span class="sourceLineNo">1767</span><a name="line.1767"></a>
+<span class="sourceLineNo">1768</span>  /**<a name="line.1768"></a>
+<span class="sourceLineNo">1769</span>   * Update the configuration and trigger an online config change<a name="line.1769"></a>
+<span class="sourceLineNo">1770</span>   * on the regionserver<a name="line.1770"></a>
+<span class="sourceLineNo">1771</span>   * @param server : The server whose config needs to be updated.<a name="line.1771"></a>
+<span class="sourceLineNo">1772</span>   * @throws IOException<a name="line.1772"></a>
+<span class="sourceLineNo">1773</span>   */<a name="line.1773"></a>
+<span class="sourceLineNo">1774</span>  void updateConfiguration(ServerName server) throws IOException;<a name="line.1774"></a>
+<span class="sourceLineNo">1775</span><a name="line.1775"></a>
+<span class="sourceLineNo">1776</span><a name="line.1776"></a>
+<span class="sourceLineNo">1777</span>  /**<a name="line.1777"></a>
+<span class="sourceLineNo">1778</span>   * Update the configuration and trigger an online config change<a name="line.1778"></a>
+<span class="sourceLineNo">1779</span>   * on all the regionservers<a name="line.1779"></a>
+<span class="sourceLineNo">1780</span>   * @throws IOException<a name="line.1780"></a>
+<span class="sourceLineNo">1781</span>   */<a name="line.1781"></a>
+<span class="sourceLineNo">1782</span>  void updateConfiguration() throws IOException;<a name="line.1782"></a>
+<span class="sourceLineNo">1783</span><a name="line.1783"></a>
+<span class="sourceLineNo">1784</span>  /**<a name="line.1784"></a>
+<span class="sourceLineNo">1785</span>   * Get the info port of the current master if one is available.<a name="line.1785"></a>
+<span class="sourceLineNo">1786</span>   * @return master info port<a name="line.1786"></a>
+<span class="sourceLineNo">1787</span>   * @throws IOException<a name="line.1787"></a>
+<span class="sourceLineNo">1788</span>   */<a name="line.1788"></a>
+<span class="sourceLineNo">1789</span>  public int getMasterInfoPort() throws IOException;<a name="line.1789"></a>
+<span class="sourceLineNo">1790</span><a name="line.1790"></a>
+<span class="sourceLineNo">1791</span>  /**<a name="line.1791"></a>
+<span class="sourceLineNo">1792</span>   * Compact a table. Asynchronous operation.<a name="line.1792"></a>
+<span class="sourceLineNo">1793</span>   *<a name="line.1793"></a>
+<span class="sourceLineNo">1794</span>   * @param tableName table to compact<a name="line.1794"></a>
+<span class="sourceLineNo">1795</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1795"></a>
+<span class="sourceLineNo">1796</span>   * @throws IOException<a name="line.1796"></a>
+<span class="sourceLineNo">1797</span>   * @throws InterruptedException<a name="line.1797"></a>
+<span class="sourceLineNo">1798</span>   */<a name="line.1798"></a>
+<span class="sourceLineNo">1799</span>  void compact(final TableName tableName, CompactType compactType)<a name="line.1799"></a>
+<span class="sourceLineNo">1800</span>    throws IOException, InterruptedException;<a name="line.1800"></a>
+<span class="sourceLineNo">1801</span><a name="line.1801"></a>
+<span class="sourceLineNo">1802</span>  /**<a name="line.1802"></a>
+<span class="sourceLineNo">1803</span>   * Compact a column family within a table. Asynchronous operation.<a name="line.1803"></a>
+<span class="sourceLineNo">1804</span>   *<a name="line.1804"></a>
+<span class="sourceLineNo">1805</span>   * @param tableName table to compact<a name="line.1805"></a>
+<span class="sourceLineNo">1806</span>   * @param columnFamily column family within a table<a name="line.1806"></a>
+<span class="sourceLineNo">1807</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1807"></a>
+<span class="sourceLineNo">1808</span>   * @throws IOException if not a mob column family or if a remote or network exception occurs<a name="line.1808"></a>
+<span class="sourceLineNo">1809</span>   * @throws InterruptedException<a name="line.1809"></a>
+<span class="sourceLineNo">1810</span>   */<a name="line.1810"></a>
+<span class="sourceLineNo">1811</span>  void compact(final TableName tableName, final byte[] columnFamily, CompactType compactType)<a name="line.1811"></a>
+<span class="sourceLineNo">1812</span>    throws IOException, InterruptedException;<a name="line.1812"></a>
+<span class="sourceLineNo">1813</span><a name="line.1813"></a>
+<span class="sourceLineNo">1814</span>  /**<a name="line.1814"></a>
+<span class="sourceLineNo">1815</span>   * Major compact a table. Asynchronous operation.<a name="line.1815"></a>
+<span class="sourceLineNo">1816</span>   *<a name="line.1816"></a>
+<span class="sourceLineNo">1817</span>   * @param tableName table to compact<a name="line.1817"></a>
+<span class="sourceLineNo">1818</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1818"></a>
+<span class="sourceLineNo">1819</span>   * @throws IOException<a name="line.1819"></a>
+<span class="sourceLineNo">1820</span>   * @throws InterruptedException<a name="line.1820"></a>
+<span class="sourceLineNo">1821</span>   */<a name="line.1821"></a>
+<span class="sourceLineNo">1822</span>  void majorCompact(final TableName tableName, CompactType compactType)<a name="line.1822"></a>
+<span class="sourceLineNo">1823</span>    throws IOException, InterruptedException;<a name="line.1823"></a>
+<span class="sourceLineNo">1824</span><a name="line.1824"></a>
+<span class="sourceLineNo">1825</span>  /**<a name="line.1825"></a>
+<span class="sourceLineNo">1826</span>   * Major compact a column family within a table. Asynchronous operation.<a name="line.1826"></a>
+<span class="sourceLineNo">1827</span>   *<a name="line.1827"></a>
+<span class="sourceLineNo">1828</span>   * @param tableName table to compact<a name="line.1828"></a>
+<span class="sourceLineNo">1829</span>   * @param columnFamily column family within a table<a name="line.1829"></a>
+<span class="sourceLineNo">1830</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1830"></a>
+<span class="sourceLineNo">1831</span>   * @throws IOException if not a mob column family or if a remote or network exception occurs<a name="line.1831"></a>
+<span class="sourceLineNo">1832</span>   * @throws InterruptedException<a name="line.1832"></a>
+<span class="sourceLineNo">1833</span>   */<a name="line.1833"></a>
+<span class="sourceLineNo">1834</span>  void majorCompact(final TableName tableName, final byte[] columnFamily, CompactType compactType)<a name="line.1834"></a>
+<span class="sourceLineNo">1835</span>    throws IOException, InterruptedException;<a name="line.1835"></a>
+<span class="sourceLineNo">1836</span><a name="line.1836"></a>
+<span class="sourceLineNo">1837</span>  /**<a name="line.1837"></a>
+<span class="sourceLineNo">1838</span>   * Get the current compaction state of a table. It could be in a compaction, or none.<a name="line.1838"></a>
+<span class="sourceLineNo">1839</span>   *<a name="line.1839"></a>
+<span class="sourceLineNo">1840</span>   * @param tableName table to examine<a name="line.1840"></a>
+<span class="sourceLineNo">1841</span>   * @param compactType {@link org.apache.hadoop.hbase.client.CompactType}<a name="line.1841"></a>
+<span class="sourceLineNo">1842</span>   * @return the current compaction state<a name="line.1842"></a>
+<span class="sourceLineNo">1843</span>   * @throws IOException if a remote or network exception occurs<a name="line.1843"></a>
+<span class="sourceLineNo">1844</span>   */<a name="line.1844"></a>
+<span class="sourceLineNo">1845</span>  CompactionState getCompactionState(final TableName tableName,<a name="line.1845"></a>
+<span class="sourceLineNo">1846</span>    CompactType compactType) throws IOException;<a name="line.1846"></a>
+<span class="sourceLineNo">1847</span><a name="line.1847"></a>
+<span class="sourceLineNo">1848</span>  /**<a name="line.1848"></a>
+<span class="sourceLineNo">1849</span>   * Return the set of supported security capabilities.<a name="line.1849"></a>
+<span class="sourceLineNo">1850</span>   * @throws IOException<a name="line.1850"></a>
+<span class="sourceLineNo">1851</span>   * @throws UnsupportedOperationException<a name="line.1851"></a>
+<span class="sourceLineNo">1852</span>   */<a name="line.1852"></a>
+<span class="sourceLineNo">1853</span>  List&lt;SecurityCapability&gt; getSecurityCapabilities() throws IOException;<a name="line.1853"></a>
+<span class="sourceLineNo">1854</span><a name="line.1854"></a>
+<span class="sourceLineNo">1855</span>  /**<a name="line.1855"></a>
+<span class="sourceLineNo">1856</span>   * Turn the Split or Merge switches on or off.<a name="line.1856"></a>
+<span class="sourceLineNo">1857</span>   *<a name="line.1857"></a>
+<span class="sourceLineNo">1858</span>   * @param enabled enabled or not<a name="line.1858"></a>
+<span class="sourceLineNo">1859</span>   * @param synchronous If true, it waits until current split() call, if outstanding, to return.<a name="line.1859"></a>
+<span class="sourceLineNo">1860</span>   * @param switchTypes switchType list {@link MasterSwitchType}<a name="line.1860"></a>
+<span class="sourceLineNo">1861</span>   * @return Previous switch value array<a name="line.1861"></a>
+<span class="sourceLineNo">1862</span>   */<a name="line.1862"></a>
+<span class="sourceLineNo">1863</span>  boolean[] setSplitOrMergeEnabled(final boolean enabled, final boolean synchronous,<a name="line.1863"></a>
+<span class="sourceLineNo">1864</span>                                   final MasterSwitchType... switchTypes) throws IOException;<a name="line.1864"></a>
+<span class="sourceLineNo">1865</span><a name="line.1865"></a>
+<span class="sourceLineNo">1866</span>  /**<a name="line.1866"></a>
+<span class="sourceLineNo">1867</span>   * Query the current state of the switch<a name="line.1867"></a>
+<span class="sourceLineNo">1868</span>   *<a name="line.1868"></a>
+<span class="sourceLineNo">1869</span>   * @return true if the switch is enabled, false otherwise.<a name="line.1869"></a>
+<span class="sourceLineNo">1870</span>   */<a name="line.1870"></a>
+<span class="sourceLineNo">1871</span>  boolean isSplitOrMergeEnabled(final MasterSwitchType switchType) throws IOException;<a name="line.1871"></a>
+<span class="sourceLineNo">1872</span><a name="line.1872"></a>
+<span class="sourceLineNo">1873</span>  /**<a name="line.1873"></a>
+<span class="sourceLineNo">1874</span>   * Add a new replication peer for replicating data to slave cluster<a name="line.1874"></a>
+<span class="sourceLineNo">1875</span>   * @param peerId a short name that identifies the peer<a name="line.1875"></a>
+<span class="sourceLineNo">1876</span>   * @param peerConfig configuration for the replication slave cluster<a name="line.1876"></a>
+<span class="sourceLineNo">1877</span>   * @throws IOException<a name="line.1877"></a>
+<span class="sourceLineNo">1878</span>   */<a name="line.1878"></a>
+<span class="sourceLineNo">1879</span>  default void addReplicationPeer(final String peerId, final ReplicationPeerConfig peerConfig)<a name="line.1879"></a>
+<span class="sourceLineNo">1880</span>      throws IOException {<a name="line.1880"></a>
+<span class="sourceLineNo">1881</span>  }<a name="line.1881"></a>
+<span class="sourceLineNo">1882</span><a name="line.1882"></a>
+<span class="sourceLineNo">1883</span>  /**<a name="line.1883"></a>
+<span class="sourceLineNo">1884</span>   * Remove a peer and stop the replication<a name="line.1884"></a>
+<span class="sourceLineNo">1885</span>   * @param peerId a short name that identifies the peer<a name="line.1885"></a>
+<span class="sourceLineNo">1886</span>   * @throws IOException<a name="line.1886"></a>
+<span class="sourceLineNo">1887</span>   */<a name="line.1887"></a>
+<span class="sourceLineNo">1888</span>  default void removeReplicationPeer(final String peerId) throws IOException {<a name="line.1888"></a>
+<span class="sourceLineNo">1889</span>  }<a name="line.1889"></a>
+<span class="sourceLineNo">1890</span><a name="line.1890"></a>
+<span class="sourceLineNo">1891</span>  /**<a name="line.1891"></a>
+<span class="sourceLineNo">1892</span>   * Restart the replication stream to the specified peer<a name="line.1892"></a>
+<span class="sourceLineNo">1893</span>   * @param peerId a short name that identifies the peer<a name="line.1893"></a>
+<span class="sourceLineNo">1894</span>   * @throws IOException<a name="line.1894"></a>
+<span class="sourceLineNo">1895</span>   */<a name="line.1895"></a>
+<span class="sourceLineNo">1896</span>  default void enableReplicationPeer(final String peerId) throws IOException {<a name="line.1896"></a>
+<span class="sourceLineNo">1897</span>  }<a name="line.1897"></a>
+<span class="sourceLineNo">1898</span><a name="line.1898"></a>
+<span class="sourceLineNo">1899</span>  /**<a name="line.1899"></a>
+<span class="sourceLineNo">1900</span>   * Stop the replication stream to the specified peer<a name="line.1900"></a>
+<span class="sourceLineNo">1901</span>   * @param peerId a short name that identifies the peer<a name="line.1901"></a>
+<span class="sourceLineNo">1902</span>   * @throws IOException<a name="line.1902"></a>
+<span class="sourceLineNo">1903</span>   */<a name="line.1903"></a>
+<span class="sourceLineNo">1904</span>  default void disableReplicationPeer(final String peerId) throws IOException {<a name="line.1904"></a>
+<span class="sourceLineNo">1905</span>  }<a name="line.1905"></a>
+<span class="sourceLineNo">1906</span><a name="line.1906"></a>
+<span class="sourceLineNo">1907</span>  /**<a name="line.1907"></a>
+<span class="sourceLineNo">1908</span>   * Returns the configured ReplicationPeerConfig for the specified peer<a name="line.1908"></a>
+<span class="sourceLineNo">1909</span>   * @param peerId a short name that identifies the peer<a name="line.1909"></a>
+<span class="sourceLineNo">1910</span>   * @return ReplicationPeerConfig for the peer<a name="line.1910"></a>
+<span class="sourceLineNo">1911</span>   * @throws IOException<a name="line.1911"></a>
+<span class="sourceLineNo">1912</span>   */<a name="line.1912"></a>
+<span class="sourceLineNo">1913</span>  default ReplicationPeerConfig getReplicationPeerConfig(final String peerId) throws IOException {<a name="line.1913"></a>
+<span class="sourceLineNo">1914</span>    return new ReplicationPeerConfig();<a name="line.1914"></a>
+<span class="sourceLineNo">1915</span>  }<a name="line.1915"></a>
+<span class="sourceLineNo">1916</span><a name="line.1916"></a>
+<span class="sourceLineNo">1917</span>  /**<a name="line.1917"></a>
+<span class="sourceLineNo">1918</span>   * Update the peerConfig for the specified peer<a name="line.1918"></a>
+<span class="sourceLineNo">1919</span>   * @param peerId a short name that identifies the peer<a name="line.1919"></a>
+<span class="sourceLineNo">1920</span>   * @param peerConfig new config for the peer<a name="line.1920"></a>
+<span class="sourceLineNo">1921</span>   * @throws IOException<a name="line.1921"></a>
+<span class="sourceLineNo">1922</span>   */<a name="line.1922"></a>
+<span class="sourceLineNo">1923</span>  default void updateReplicationPeerConfig(final String peerId,<a name="line.1923"></a>
+<span class="sourceLineNo">1924</span>      final ReplicationPeerConfig peerConfig) throws IOException {<a name="line.1924"></a>
+<span class="sourceLineNo">1925</span>  }<a name="line.1925"></a>
+<span class="sourceLineNo">1926</span><a name="line.1926"></a>
+<span class="sourceLineNo">1927</span>  /**<a name="line.1927"></a>
+<span class="sourceLineNo">1928</span>   * Append the replicable table-cf config of the specified peer<a name="line.1928"></a>
+<span class="sourceLineNo">1929</span>   * @param id a short that identifies the cluster<a name="line.1929"></a>
+<span class="sourceLineNo">1930</span>   * @param tableCfs A map from tableName to column family names<a name="line.1930"></a>
+<span class="sourceLineNo">1931</span>   * @throws ReplicationException<a name="line.1931"></a>
+<span class="sourceLineNo">1932</span>   * @throws IOException<a name="line.1932"></a>
+<span class="sourceLineNo">1933</span>   */<a name="line.1933"></a>
+<span class="sourceLineNo">1934</span>  default void appendReplicationPeerTableCFs(String id,<a name="line.1934"></a>
+<span class="sourceLineNo">1935</span>      Map&lt;TableName, ? extends Collection&lt;String&gt;&gt; tableCfs) throws ReplicationException,<a name="line.1935"></a>
+<span class="sourceLineNo">1936</span>      IOException {<a name="line.1936"></a>
+<span class="sourceLineNo">1937</span>  }<a name="line.1937"></a>
+<span class="sourceLineNo">1938</span><a name="line.1938"></a>
+<span class="sourceLineNo">1939</span>  /**<a name="line.1939"></a>
+<span class="sourceLineNo">1940</span>   * Remove some table-cfs from config of the specified peer<a name="line.1940"></a>
+<span class="sourceLineNo">1941</span>   * @param id a short name that identifies the cluster<a name="line.1941"></a>
+<span class="sourceLineNo">1942</span>   * @param tableCfs A map from tableName to column family names<a name="line.1942"></a>
+<span class="sourceLineNo">1943</span>   * @throws ReplicationException<a name="line.1943"></a>
+<span class="sourceLineNo">1944</span>   * @throws IOException<a name="line.1944"></a>
+<span class="sourceLineNo">1945</span>   */<a name="line.1945"></a>
+<span class="sourceLineNo">1946</span>  default void removeReplicationPeerTableCFs(String id,<a name="line.1946"></a>
+<span class="sourceLineNo">1947</span>      Map&lt;TableName, ? extends Collection&lt;String&gt;&gt; tableCfs) throws ReplicationException,<a name="line.1947"></a>
+<span class="sourceLineNo">1948</span>      IOException {<a name="line.1948"></a>
+<span class="sourceLineNo">1949</span>  }<a name="line.1949"></a>
+<span class="sourceLineNo">1950</span><a name="line.1950"></a>
+<span class="sourceLineNo">1951</span>  /**<a name="line.1951"></a>
+<span class="sourceLineNo">1952</span>   * Return a list of replic

<TRUNCATED>

Mime
View raw message