http://git-wip-us.apache.org/repos/asf/hbase-site/blob/854846a5/devapidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html 
b/devapidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
index d19914b..cbbd63f 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
@@ -545,364 +545,356 @@
 <span class="sourceLineNo">537</span>  }<a name="line.537"></a>
 <span class="sourceLineNo">538</span><a name="line.538"></a>
 <span class="sourceLineNo">539</span>  /**<a name="line.539"></a>
-<span class="sourceLineNo">540</span>   * Return true if there are at least 
one cf whose replication scope is serial.<a name="line.540"></a>
+<span class="sourceLineNo">540</span>   * Returns the configured replicas per 
region<a name="line.540"></a>
 <span class="sourceLineNo">541</span>   */<a name="line.541"></a>
 <span class="sourceLineNo">542</span>  @Override<a name="line.542"></a>
-<span class="sourceLineNo">543</span>  public boolean 
hasSerialReplicationScope() {<a name="line.543"></a>
-<span class="sourceLineNo">544</span>    return 
delegatee.hasSerialReplicationScope();<a name="line.544"></a>
+<span class="sourceLineNo">543</span>  public int getRegionReplication() {<a 
name="line.543"></a>
+<span class="sourceLineNo">544</span>    return 
delegatee.getRegionReplication();<a name="line.544"></a>
 <span class="sourceLineNo">545</span>  }<a name="line.545"></a>
 <span class="sourceLineNo">546</span><a name="line.546"></a>
 <span class="sourceLineNo">547</span>  /**<a name="line.547"></a>
-<span class="sourceLineNo">548</span>   * Returns the configured replicas per 
region<a name="line.548"></a>
-<span class="sourceLineNo">549</span>   */<a name="line.549"></a>
-<span class="sourceLineNo">550</span>  @Override<a name="line.550"></a>
-<span class="sourceLineNo">551</span>  public int getRegionReplication() {<a 
name="line.551"></a>
-<span class="sourceLineNo">552</span>    return 
delegatee.getRegionReplication();<a name="line.552"></a>
-<span class="sourceLineNo">553</span>  }<a name="line.553"></a>
-<span class="sourceLineNo">554</span><a name="line.554"></a>
-<span class="sourceLineNo">555</span>  /**<a name="line.555"></a>
-<span class="sourceLineNo">556</span>   * Sets the number of replicas per 
region.<a name="line.556"></a>
-<span class="sourceLineNo">557</span>   * @param regionReplication the 
replication factor per region<a name="line.557"></a>
-<span class="sourceLineNo">558</span>   */<a name="line.558"></a>
-<span class="sourceLineNo">559</span>  public HTableDescriptor 
setRegionReplication(int regionReplication) {<a name="line.559"></a>
-<span class="sourceLineNo">560</span>    
getDelegateeForModification().setRegionReplication(regionReplication);<a 
name="line.560"></a>
-<span class="sourceLineNo">561</span>    return this;<a name="line.561"></a>
-<span class="sourceLineNo">562</span>  }<a name="line.562"></a>
-<span class="sourceLineNo">563</span><a name="line.563"></a>
-<span class="sourceLineNo">564</span>  /**<a name="line.564"></a>
-<span class="sourceLineNo">565</span>   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0.<a name="line.565"></a>
-<span class="sourceLineNo">566</span>   *             Use {@link 
#hasRegionMemStoreReplication()} instead<a name="line.566"></a>
+<span class="sourceLineNo">548</span>   * Sets the number of replicas per 
region.<a name="line.548"></a>
+<span class="sourceLineNo">549</span>   * @param regionReplication the 
replication factor per region<a name="line.549"></a>
+<span class="sourceLineNo">550</span>   */<a name="line.550"></a>
+<span class="sourceLineNo">551</span>  public HTableDescriptor 
setRegionReplication(int regionReplication) {<a name="line.551"></a>
+<span class="sourceLineNo">552</span>    
getDelegateeForModification().setRegionReplication(regionReplication);<a 
name="line.552"></a>
+<span class="sourceLineNo">553</span>    return this;<a name="line.553"></a>
+<span class="sourceLineNo">554</span>  }<a name="line.554"></a>
+<span class="sourceLineNo">555</span><a name="line.555"></a>
+<span class="sourceLineNo">556</span>  /**<a name="line.556"></a>
+<span class="sourceLineNo">557</span>   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0.<a name="line.557"></a>
+<span class="sourceLineNo">558</span>   *             Use {@link 
#hasRegionMemStoreReplication()} instead<a name="line.558"></a>
+<span class="sourceLineNo">559</span>   */<a name="line.559"></a>
+<span class="sourceLineNo">560</span>  @Deprecated<a name="line.560"></a>
+<span class="sourceLineNo">561</span>  public boolean 
hasRegionMemstoreReplication() {<a name="line.561"></a>
+<span class="sourceLineNo">562</span>    return 
hasRegionMemStoreReplication();<a name="line.562"></a>
+<span class="sourceLineNo">563</span>  }<a name="line.563"></a>
+<span class="sourceLineNo">564</span><a name="line.564"></a>
+<span class="sourceLineNo">565</span>  /**<a name="line.565"></a>
+<span class="sourceLineNo">566</span>   * @return true if the read-replicas 
memstore replication is enabled.<a name="line.566"></a>
 <span class="sourceLineNo">567</span>   */<a name="line.567"></a>
-<span class="sourceLineNo">568</span>  @Deprecated<a name="line.568"></a>
-<span class="sourceLineNo">569</span>  public boolean 
hasRegionMemstoreReplication() {<a name="line.569"></a>
-<span class="sourceLineNo">570</span>    return 
hasRegionMemStoreReplication();<a name="line.570"></a>
+<span class="sourceLineNo">568</span>  @Override<a name="line.568"></a>
+<span class="sourceLineNo">569</span>  public boolean 
hasRegionMemStoreReplication() {<a name="line.569"></a>
+<span class="sourceLineNo">570</span>    return 
delegatee.hasRegionMemStoreReplication();<a name="line.570"></a>
 <span class="sourceLineNo">571</span>  }<a name="line.571"></a>
 <span class="sourceLineNo">572</span><a name="line.572"></a>
 <span class="sourceLineNo">573</span>  /**<a name="line.573"></a>
-<span class="sourceLineNo">574</span>   * @return true if the read-replicas 
memstore replication is enabled.<a name="line.574"></a>
-<span class="sourceLineNo">575</span>   */<a name="line.575"></a>
-<span class="sourceLineNo">576</span>  @Override<a name="line.576"></a>
-<span class="sourceLineNo">577</span>  public boolean 
hasRegionMemStoreReplication() {<a name="line.577"></a>
-<span class="sourceLineNo">578</span>    return 
delegatee.hasRegionMemStoreReplication();<a name="line.578"></a>
-<span class="sourceLineNo">579</span>  }<a name="line.579"></a>
-<span class="sourceLineNo">580</span><a name="line.580"></a>
-<span class="sourceLineNo">581</span>  /**<a name="line.581"></a>
-<span class="sourceLineNo">582</span>   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0.<a name="line.582"></a>
-<span class="sourceLineNo">583</span>   *             Use {@link 
#setRegionMemStoreReplication(boolean)} instead<a name="line.583"></a>
-<span class="sourceLineNo">584</span>   */<a name="line.584"></a>
-<span class="sourceLineNo">585</span>  @Deprecated<a name="line.585"></a>
-<span class="sourceLineNo">586</span>  public HTableDescriptor 
setRegionMemstoreReplication(boolean memstoreReplication) {<a 
name="line.586"></a>
-<span class="sourceLineNo">587</span>    return 
setRegionMemStoreReplication(memstoreReplication);<a name="line.587"></a>
-<span class="sourceLineNo">588</span>  }<a name="line.588"></a>
-<span class="sourceLineNo">589</span><a name="line.589"></a>
-<span class="sourceLineNo">590</span>  /**<a name="line.590"></a>
-<span class="sourceLineNo">591</span>   * Enable or Disable the memstore 
replication from the primary region to the replicas.<a name="line.591"></a>
-<span class="sourceLineNo">592</span>   * The replication will be used only 
for meta operations (e.g. flush, compaction, ...)<a name="line.592"></a>
-<span class="sourceLineNo">593</span>   *<a name="line.593"></a>
-<span class="sourceLineNo">594</span>   * @param memstoreReplication true if 
the new data written to the primary region<a name="line.594"></a>
-<span class="sourceLineNo">595</span>   *                                 
should be replicated.<a name="line.595"></a>
-<span class="sourceLineNo">596</span>   *                            false if 
the secondaries can tollerate to have new<a name="line.596"></a>
-<span class="sourceLineNo">597</span>   *                                  
data only when the primary flushes the memstore.<a name="line.597"></a>
-<span class="sourceLineNo">598</span>   */<a name="line.598"></a>
-<span class="sourceLineNo">599</span>  public HTableDescriptor 
setRegionMemStoreReplication(boolean memstoreReplication) {<a 
name="line.599"></a>
-<span class="sourceLineNo">600</span>    
getDelegateeForModification().setRegionMemStoreReplication(memstoreReplication);<a
 name="line.600"></a>
-<span class="sourceLineNo">601</span>    return this;<a name="line.601"></a>
-<span class="sourceLineNo">602</span>  }<a name="line.602"></a>
-<span class="sourceLineNo">603</span><a name="line.603"></a>
-<span class="sourceLineNo">604</span>  public HTableDescriptor setPriority(int 
priority) {<a name="line.604"></a>
-<span class="sourceLineNo">605</span>    
getDelegateeForModification().setPriority(priority);<a name="line.605"></a>
-<span class="sourceLineNo">606</span>    return this;<a name="line.606"></a>
-<span class="sourceLineNo">607</span>  }<a name="line.607"></a>
-<span class="sourceLineNo">608</span><a name="line.608"></a>
-<span class="sourceLineNo">609</span>  @Override<a name="line.609"></a>
-<span class="sourceLineNo">610</span>  public int getPriority() {<a 
name="line.610"></a>
-<span class="sourceLineNo">611</span>    return delegatee.getPriority();<a 
name="line.611"></a>
-<span class="sourceLineNo">612</span>  }<a name="line.612"></a>
-<span class="sourceLineNo">613</span><a name="line.613"></a>
-<span class="sourceLineNo">614</span>  /**<a name="line.614"></a>
-<span class="sourceLineNo">615</span>   * Returns all the column family names 
of the current table. The map of<a name="line.615"></a>
-<span class="sourceLineNo">616</span>   * HTableDescriptor contains mapping of 
family name to HColumnDescriptors.<a name="line.616"></a>
-<span class="sourceLineNo">617</span>   * This returns all the keys of the 
family map which represents the column<a name="line.617"></a>
-<span class="sourceLineNo">618</span>   * family names of the table.<a 
name="line.618"></a>
-<span class="sourceLineNo">619</span>   *<a name="line.619"></a>
-<span class="sourceLineNo">620</span>   * @return Immutable sorted set of the 
keys of the families.<a name="line.620"></a>
-<span class="sourceLineNo">621</span>   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0<a name="line.621"></a>
-<span class="sourceLineNo">622</span>   *             (&lt;a 
href="https://issues.apache.org/jira/browse/HBASE-18008"&gt;HBASE-18008&lt;/a&gt;).<a
 name="line.622"></a>
-<span class="sourceLineNo">623</span>   *             Use {@link 
#getColumnFamilyNames()}.<a name="line.623"></a>
-<span class="sourceLineNo">624</span>   */<a name="line.624"></a>
-<span class="sourceLineNo">625</span>  @Deprecated<a name="line.625"></a>
-<span class="sourceLineNo">626</span>  public Set&lt;byte[]&gt; 
getFamiliesKeys() {<a name="line.626"></a>
-<span class="sourceLineNo">627</span>    return 
delegatee.getColumnFamilyNames();<a name="line.627"></a>
-<span class="sourceLineNo">628</span>  }<a name="line.628"></a>
-<span class="sourceLineNo">629</span><a name="line.629"></a>
-<span class="sourceLineNo">630</span>  /**<a name="line.630"></a>
-<span class="sourceLineNo">631</span>   * Returns the count of the column 
families of the table.<a name="line.631"></a>
-<span class="sourceLineNo">632</span>   *<a name="line.632"></a>
-<span class="sourceLineNo">633</span>   * @return Count of column families of 
the table<a name="line.633"></a>
-<span class="sourceLineNo">634</span>   */<a name="line.634"></a>
-<span class="sourceLineNo">635</span>  @Override<a name="line.635"></a>
-<span class="sourceLineNo">636</span>  public int getColumnFamilyCount() {<a 
name="line.636"></a>
-<span class="sourceLineNo">637</span>    return 
delegatee.getColumnFamilyCount();<a name="line.637"></a>
-<span class="sourceLineNo">638</span>  }<a name="line.638"></a>
-<span class="sourceLineNo">639</span><a name="line.639"></a>
-<span class="sourceLineNo">640</span>  /**<a name="line.640"></a>
-<span class="sourceLineNo">641</span>   * Returns an array all the {@link 
HColumnDescriptor} of the column families<a name="line.641"></a>
-<span class="sourceLineNo">642</span>   * of the table.<a name="line.642"></a>
-<span class="sourceLineNo">643</span>   *<a name="line.643"></a>
-<span class="sourceLineNo">644</span>   * @return Array of all the 
HColumnDescriptors of the current table<a name="line.644"></a>
-<span class="sourceLineNo">645</span>   *<a name="line.645"></a>
-<span class="sourceLineNo">646</span>   * @see #getFamilies()<a 
name="line.646"></a>
-<span class="sourceLineNo">647</span>   */<a name="line.647"></a>
-<span class="sourceLineNo">648</span>  @Deprecated<a name="line.648"></a>
-<span class="sourceLineNo">649</span>  @Override<a name="line.649"></a>
-<span class="sourceLineNo">650</span>  public HColumnDescriptor[] 
getColumnFamilies() {<a name="line.650"></a>
-<span class="sourceLineNo">651</span>    return 
Stream.of(delegatee.getColumnFamilies())<a name="line.651"></a>
-<span class="sourceLineNo">652</span>            
.map(this::toHColumnDescriptor)<a name="line.652"></a>
-<span class="sourceLineNo">653</span>            .toArray(size -&gt; new 
HColumnDescriptor[size]);<a name="line.653"></a>
-<span class="sourceLineNo">654</span>  }<a name="line.654"></a>
-<span class="sourceLineNo">655</span><a name="line.655"></a>
-<span class="sourceLineNo">656</span>  /**<a name="line.656"></a>
-<span class="sourceLineNo">657</span>   * Returns the HColumnDescriptor for a 
specific column family with name as<a name="line.657"></a>
-<span class="sourceLineNo">658</span>   * specified by the parameter column.<a 
name="line.658"></a>
-<span class="sourceLineNo">659</span>   * @param column Column family name<a 
name="line.659"></a>
-<span class="sourceLineNo">660</span>   * @return Column descriptor for the 
passed family name or the family on<a name="line.660"></a>
-<span class="sourceLineNo">661</span>   * passed in column.<a 
name="line.661"></a>
-<span class="sourceLineNo">662</span>   * @deprecated Use {@link 
#getColumnFamily(byte[])}.<a name="line.662"></a>
-<span class="sourceLineNo">663</span>   */<a name="line.663"></a>
-<span class="sourceLineNo">664</span>  @Deprecated<a name="line.664"></a>
-<span class="sourceLineNo">665</span>  public HColumnDescriptor 
getFamily(final byte[] column) {<a name="line.665"></a>
-<span class="sourceLineNo">666</span>    return 
toHColumnDescriptor(delegatee.getColumnFamily(column));<a name="line.666"></a>
-<span class="sourceLineNo">667</span>  }<a name="line.667"></a>
-<span class="sourceLineNo">668</span><a name="line.668"></a>
-<span class="sourceLineNo">669</span><a name="line.669"></a>
-<span class="sourceLineNo">670</span>  /**<a name="line.670"></a>
-<span class="sourceLineNo">671</span>   * Removes the HColumnDescriptor with 
name specified by the parameter column<a name="line.671"></a>
-<span class="sourceLineNo">672</span>   * from the table descriptor<a 
name="line.672"></a>
-<span class="sourceLineNo">673</span>   *<a name="line.673"></a>
-<span class="sourceLineNo">674</span>   * @param column Name of the column 
family to be removed.<a name="line.674"></a>
-<span class="sourceLineNo">675</span>   * @return Column descriptor for the 
passed family name or the family on<a name="line.675"></a>
-<span class="sourceLineNo">676</span>   * passed in column.<a 
name="line.676"></a>
-<span class="sourceLineNo">677</span>   */<a name="line.677"></a>
-<span class="sourceLineNo">678</span>  public HColumnDescriptor 
removeFamily(final byte [] column) {<a name="line.678"></a>
-<span class="sourceLineNo">679</span>    return 
toHColumnDescriptor(getDelegateeForModification().removeColumnFamily(column));<a
 name="line.679"></a>
-<span class="sourceLineNo">680</span>  }<a name="line.680"></a>
-<span class="sourceLineNo">681</span><a name="line.681"></a>
-<span class="sourceLineNo">682</span>  /**<a name="line.682"></a>
-<span class="sourceLineNo">683</span>   * Return a HColumnDescriptor for user 
to keep the compatibility as much as possible.<a name="line.683"></a>
-<span class="sourceLineNo">684</span>   * @param desc read-only 
ColumnFamilyDescriptor<a name="line.684"></a>
-<span class="sourceLineNo">685</span>   * @return The older implementation of 
ColumnFamilyDescriptor<a name="line.685"></a>
-<span class="sourceLineNo">686</span>   */<a name="line.686"></a>
-<span class="sourceLineNo">687</span>  protected HColumnDescriptor 
toHColumnDescriptor(ColumnFamilyDescriptor desc) {<a name="line.687"></a>
-<span class="sourceLineNo">688</span>    if (desc == null) {<a 
name="line.688"></a>
-<span class="sourceLineNo">689</span>      return null;<a name="line.689"></a>
-<span class="sourceLineNo">690</span>    } else if (desc instanceof 
ModifyableColumnFamilyDescriptor) {<a name="line.690"></a>
-<span class="sourceLineNo">691</span>      return new 
HColumnDescriptor((ModifyableColumnFamilyDescriptor) desc);<a 
name="line.691"></a>
-<span class="sourceLineNo">692</span>    } else if (desc instanceof 
HColumnDescriptor) {<a name="line.692"></a>
-<span class="sourceLineNo">693</span>      return (HColumnDescriptor) desc;<a 
name="line.693"></a>
-<span class="sourceLineNo">694</span>    } else {<a name="line.694"></a>
-<span class="sourceLineNo">695</span>      return new HColumnDescriptor(new 
ModifyableColumnFamilyDescriptor(desc));<a name="line.695"></a>
-<span class="sourceLineNo">696</span>    }<a name="line.696"></a>
-<span class="sourceLineNo">697</span>  }<a name="line.697"></a>
-<span class="sourceLineNo">698</span><a name="line.698"></a>
-<span class="sourceLineNo">699</span>  /**<a name="line.699"></a>
-<span class="sourceLineNo">700</span>   * Add a table coprocessor to this 
table. The coprocessor<a name="line.700"></a>
-<span class="sourceLineNo">701</span>   * type must be 
org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.701"></a>
-<span class="sourceLineNo">702</span>   * It won't check if the class can be 
loaded or not.<a name="line.702"></a>
-<span class="sourceLineNo">703</span>   * Whether a coprocessor is loadable or 
not will be determined when<a name="line.703"></a>
-<span class="sourceLineNo">704</span>   * a region is opened.<a 
name="line.704"></a>
-<span class="sourceLineNo">705</span>   * @param className Full class name.<a 
name="line.705"></a>
-<span class="sourceLineNo">706</span>   * @throws IOException<a 
name="line.706"></a>
-<span class="sourceLineNo">707</span>   */<a name="line.707"></a>
-<span class="sourceLineNo">708</span>  public HTableDescriptor 
addCoprocessor(String className) throws IOException {<a name="line.708"></a>
-<span class="sourceLineNo">709</span>    
getDelegateeForModification().addCoprocessor(className);<a name="line.709"></a>
-<span class="sourceLineNo">710</span>    return this;<a name="line.710"></a>
-<span class="sourceLineNo">711</span>  }<a name="line.711"></a>
-<span class="sourceLineNo">712</span><a name="line.712"></a>
-<span class="sourceLineNo">713</span>  /**<a name="line.713"></a>
-<span class="sourceLineNo">714</span>   * Add a table coprocessor to this 
table. The coprocessor<a name="line.714"></a>
-<span class="sourceLineNo">715</span>   * type must be 
org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.715"></a>
-<span class="sourceLineNo">716</span>   * It won't check if the class can be 
loaded or not.<a name="line.716"></a>
-<span class="sourceLineNo">717</span>   * Whether a coprocessor is loadable or 
not will be determined when<a name="line.717"></a>
-<span class="sourceLineNo">718</span>   * a region is opened.<a 
name="line.718"></a>
-<span class="sourceLineNo">719</span>   * @param jarFilePath Path of the jar 
file. If it's null, the class will be<a name="line.719"></a>
-<span class="sourceLineNo">720</span>   * loaded from default classloader.<a 
name="line.720"></a>
-<span class="sourceLineNo">721</span>   * @param className Full class name.<a 
name="line.721"></a>
-<span class="sourceLineNo">722</span>   * @param priority Priority<a 
name="line.722"></a>
-<span class="sourceLineNo">723</span>   * @param kvs Arbitrary key-value 
parameter pairs passed into the coprocessor.<a name="line.723"></a>
-<span class="sourceLineNo">724</span>   * @throws IOException<a 
name="line.724"></a>
-<span class="sourceLineNo">725</span>   */<a name="line.725"></a>
-<span class="sourceLineNo">726</span>  public HTableDescriptor 
addCoprocessor(String className, Path jarFilePath,<a name="line.726"></a>
-<span class="sourceLineNo">727</span>                             int 
priority, final Map&lt;String, String&gt; kvs)<a name="line.727"></a>
-<span class="sourceLineNo">728</span>  throws IOException {<a 
name="line.728"></a>
-<span class="sourceLineNo">729</span>    
getDelegateeForModification().addCoprocessor(className, jarFilePath, priority, 
kvs);<a name="line.729"></a>
-<span class="sourceLineNo">730</span>    return this;<a name="line.730"></a>
-<span class="sourceLineNo">731</span>  }<a name="line.731"></a>
-<span class="sourceLineNo">732</span><a name="line.732"></a>
-<span class="sourceLineNo">733</span>  /**<a name="line.733"></a>
-<span class="sourceLineNo">734</span>   * Add a table coprocessor to this 
table. The coprocessor<a name="line.734"></a>
-<span class="sourceLineNo">735</span>   * type must be 
org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.735"></a>
-<span class="sourceLineNo">736</span>   * It won't check if the class can be 
loaded or not.<a name="line.736"></a>
-<span class="sourceLineNo">737</span>   * Whether a coprocessor is loadable or 
not will be determined when<a name="line.737"></a>
-<span class="sourceLineNo">738</span>   * a region is opened.<a 
name="line.738"></a>
-<span class="sourceLineNo">739</span>   * @param specStr The Coprocessor 
specification all in in one String formatted so matches<a name="line.739"></a>
-<span class="sourceLineNo">740</span>   * {@link 
HConstants#CP_HTD_ATTR_VALUE_PATTERN}<a name="line.740"></a>
-<span class="sourceLineNo">741</span>   * @throws IOException<a 
name="line.741"></a>
-<span class="sourceLineNo">742</span>   */<a name="line.742"></a>
-<span class="sourceLineNo">743</span>  public HTableDescriptor 
addCoprocessorWithSpec(final String specStr) throws IOException {<a 
name="line.743"></a>
-<span class="sourceLineNo">744</span>    
getDelegateeForModification().addCoprocessorWithSpec(specStr);<a 
name="line.744"></a>
-<span class="sourceLineNo">745</span>    return this;<a name="line.745"></a>
-<span class="sourceLineNo">746</span>  }<a name="line.746"></a>
-<span class="sourceLineNo">747</span><a name="line.747"></a>
-<span class="sourceLineNo">748</span>  /**<a name="line.748"></a>
-<span class="sourceLineNo">749</span>   * Check if the table has an attached 
co-processor represented by the name className<a name="line.749"></a>
-<span class="sourceLineNo">750</span>   *<a name="line.750"></a>
-<span class="sourceLineNo">751</span>   * @param classNameToMatch - Class name 
of the co-processor<a name="line.751"></a>
-<span class="sourceLineNo">752</span>   * @return true of the table has a 
co-processor className<a name="line.752"></a>
-<span class="sourceLineNo">753</span>   */<a name="line.753"></a>
-<span class="sourceLineNo">754</span>  @Override<a name="line.754"></a>
-<span class="sourceLineNo">755</span>  public boolean hasCoprocessor(String 
classNameToMatch) {<a name="line.755"></a>
-<span class="sourceLineNo">756</span>    return 
delegatee.hasCoprocessor(classNameToMatch);<a name="line.756"></a>
-<span class="sourceLineNo">757</span>  }<a name="line.757"></a>
-<span class="sourceLineNo">758</span><a name="line.758"></a>
-<span class="sourceLineNo">759</span>  /**<a name="line.759"></a>
-<span class="sourceLineNo">760</span>   * Return the list of attached 
co-processor represented by their name className<a name="line.760"></a>
-<span class="sourceLineNo">761</span>   *<a name="line.761"></a>
-<span class="sourceLineNo">762</span>   * @return The list of co-processors 
classNames<a name="line.762"></a>
-<span class="sourceLineNo">763</span>   */<a name="line.763"></a>
-<span class="sourceLineNo">764</span>  @Override<a name="line.764"></a>
-<span class="sourceLineNo">765</span>  public List&lt;String&gt; 
getCoprocessors() {<a name="line.765"></a>
-<span class="sourceLineNo">766</span>    return delegatee.getCoprocessors();<a 
name="line.766"></a>
+<span class="sourceLineNo">574</span>   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0.<a name="line.574"></a>
+<span class="sourceLineNo">575</span>   *             Use {@link 
#setRegionMemStoreReplication(boolean)} instead<a name="line.575"></a>
+<span class="sourceLineNo">576</span>   */<a name="line.576"></a>
+<span class="sourceLineNo">577</span>  @Deprecated<a name="line.577"></a>
+<span class="sourceLineNo">578</span>  public HTableDescriptor 
setRegionMemstoreReplication(boolean memstoreReplication) {<a 
name="line.578"></a>
+<span class="sourceLineNo">579</span>    return 
setRegionMemStoreReplication(memstoreReplication);<a name="line.579"></a>
+<span class="sourceLineNo">580</span>  }<a name="line.580"></a>
+<span class="sourceLineNo">581</span><a name="line.581"></a>
+<span class="sourceLineNo">582</span>  /**<a name="line.582"></a>
+<span class="sourceLineNo">583</span>   * Enable or Disable the memstore 
replication from the primary region to the replicas.<a name="line.583"></a>
+<span class="sourceLineNo">584</span>   * The replication will be used only 
for meta operations (e.g. flush, compaction, ...)<a name="line.584"></a>
+<span class="sourceLineNo">585</span>   *<a name="line.585"></a>
+<span class="sourceLineNo">586</span>   * @param memstoreReplication true if 
the new data written to the primary region<a name="line.586"></a>
+<span class="sourceLineNo">587</span>   *                                 
should be replicated.<a name="line.587"></a>
+<span class="sourceLineNo">588</span>   *                            false if 
the secondaries can tollerate to have new<a name="line.588"></a>
+<span class="sourceLineNo">589</span>   *                                  
data only when the primary flushes the memstore.<a name="line.589"></a>
+<span class="sourceLineNo">590</span>   */<a name="line.590"></a>
+<span class="sourceLineNo">591</span>  public HTableDescriptor 
setRegionMemStoreReplication(boolean memstoreReplication) {<a 
name="line.591"></a>
+<span class="sourceLineNo">592</span>    
getDelegateeForModification().setRegionMemStoreReplication(memstoreReplication);<a
 name="line.592"></a>
+<span class="sourceLineNo">593</span>    return this;<a name="line.593"></a>
+<span class="sourceLineNo">594</span>  }<a name="line.594"></a>
+<span class="sourceLineNo">595</span><a name="line.595"></a>
+<span class="sourceLineNo">596</span>  public HTableDescriptor setPriority(int 
priority) {<a name="line.596"></a>
+<span class="sourceLineNo">597</span>    
getDelegateeForModification().setPriority(priority);<a name="line.597"></a>
+<span class="sourceLineNo">598</span>    return this;<a name="line.598"></a>
+<span class="sourceLineNo">599</span>  }<a name="line.599"></a>
+<span class="sourceLineNo">600</span><a name="line.600"></a>
+<span class="sourceLineNo">601</span>  @Override<a name="line.601"></a>
+<span class="sourceLineNo">602</span>  public int getPriority() {<a 
name="line.602"></a>
+<span class="sourceLineNo">603</span>    return delegatee.getPriority();<a 
name="line.603"></a>
+<span class="sourceLineNo">604</span>  }<a name="line.604"></a>
+<span class="sourceLineNo">605</span><a name="line.605"></a>
+<span class="sourceLineNo">606</span>  /**<a name="line.606"></a>
+<span class="sourceLineNo">607</span>   * Returns all the column family names 
of the current table. The map of<a name="line.607"></a>
+<span class="sourceLineNo">608</span>   * HTableDescriptor contains mapping of 
family name to HColumnDescriptors.<a name="line.608"></a>
+<span class="sourceLineNo">609</span>   * This returns all the keys of the 
family map which represents the column<a name="line.609"></a>
+<span class="sourceLineNo">610</span>   * family names of the table.<a 
name="line.610"></a>
+<span class="sourceLineNo">611</span>   *<a name="line.611"></a>
+<span class="sourceLineNo">612</span>   * @return Immutable sorted set of the 
keys of the families.<a name="line.612"></a>
+<span class="sourceLineNo">613</span>   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0<a name="line.613"></a>
+<span class="sourceLineNo">614</span>   *             (&lt;a 
href="https://issues.apache.org/jira/browse/HBASE-18008"&gt;HBASE-18008&lt;/a&gt;).<a
 name="line.614"></a>
+<span class="sourceLineNo">615</span>   *             Use {@link 
#getColumnFamilyNames()}.<a name="line.615"></a>
+<span class="sourceLineNo">616</span>   */<a name="line.616"></a>
+<span class="sourceLineNo">617</span>  @Deprecated<a name="line.617"></a>
+<span class="sourceLineNo">618</span>  public Set&lt;byte[]&gt; 
getFamiliesKeys() {<a name="line.618"></a>
+<span class="sourceLineNo">619</span>    return 
delegatee.getColumnFamilyNames();<a name="line.619"></a>
+<span class="sourceLineNo">620</span>  }<a name="line.620"></a>
+<span class="sourceLineNo">621</span><a name="line.621"></a>
+<span class="sourceLineNo">622</span>  /**<a name="line.622"></a>
+<span class="sourceLineNo">623</span>   * Returns the count of the column 
families of the table.<a name="line.623"></a>
+<span class="sourceLineNo">624</span>   *<a name="line.624"></a>
+<span class="sourceLineNo">625</span>   * @return Count of column families of 
the table<a name="line.625"></a>
+<span class="sourceLineNo">626</span>   */<a name="line.626"></a>
+<span class="sourceLineNo">627</span>  @Override<a name="line.627"></a>
+<span class="sourceLineNo">628</span>  public int getColumnFamilyCount() {<a 
name="line.628"></a>
+<span class="sourceLineNo">629</span>    return 
delegatee.getColumnFamilyCount();<a name="line.629"></a>
+<span class="sourceLineNo">630</span>  }<a name="line.630"></a>
+<span class="sourceLineNo">631</span><a name="line.631"></a>
+<span class="sourceLineNo">632</span>  /**<a name="line.632"></a>
+<span class="sourceLineNo">633</span>   * Returns an array all the {@link 
HColumnDescriptor} of the column families<a name="line.633"></a>
+<span class="sourceLineNo">634</span>   * of the table.<a name="line.634"></a>
+<span class="sourceLineNo">635</span>   *<a name="line.635"></a>
+<span class="sourceLineNo">636</span>   * @return Array of all the 
HColumnDescriptors of the current table<a name="line.636"></a>
+<span class="sourceLineNo">637</span>   *<a name="line.637"></a>
+<span class="sourceLineNo">638</span>   * @see #getFamilies()<a 
name="line.638"></a>
+<span class="sourceLineNo">639</span>   */<a name="line.639"></a>
+<span class="sourceLineNo">640</span>  @Deprecated<a name="line.640"></a>
+<span class="sourceLineNo">641</span>  @Override<a name="line.641"></a>
+<span class="sourceLineNo">642</span>  public HColumnDescriptor[] 
getColumnFamilies() {<a name="line.642"></a>
+<span class="sourceLineNo">643</span>    return 
Stream.of(delegatee.getColumnFamilies())<a name="line.643"></a>
+<span class="sourceLineNo">644</span>            
.map(this::toHColumnDescriptor)<a name="line.644"></a>
+<span class="sourceLineNo">645</span>            .toArray(size -&gt; new 
HColumnDescriptor[size]);<a name="line.645"></a>
+<span class="sourceLineNo">646</span>  }<a name="line.646"></a>
+<span class="sourceLineNo">647</span><a name="line.647"></a>
+<span class="sourceLineNo">648</span>  /**<a name="line.648"></a>
+<span class="sourceLineNo">649</span>   * Returns the HColumnDescriptor for a 
specific column family with name as<a name="line.649"></a>
+<span class="sourceLineNo">650</span>   * specified by the parameter column.<a 
name="line.650"></a>
+<span class="sourceLineNo">651</span>   * @param column Column family name<a 
name="line.651"></a>
+<span class="sourceLineNo">652</span>   * @return Column descriptor for the 
passed family name or the family on<a name="line.652"></a>
+<span class="sourceLineNo">653</span>   * passed in column.<a 
name="line.653"></a>
+<span class="sourceLineNo">654</span>   * @deprecated Use {@link 
#getColumnFamily(byte[])}.<a name="line.654"></a>
+<span class="sourceLineNo">655</span>   */<a name="line.655"></a>
+<span class="sourceLineNo">656</span>  @Deprecated<a name="line.656"></a>
+<span class="sourceLineNo">657</span>  public HColumnDescriptor 
getFamily(final byte[] column) {<a name="line.657"></a>
+<span class="sourceLineNo">658</span>    return 
toHColumnDescriptor(delegatee.getColumnFamily(column));<a name="line.658"></a>
+<span class="sourceLineNo">659</span>  }<a name="line.659"></a>
+<span class="sourceLineNo">660</span><a name="line.660"></a>
+<span class="sourceLineNo">661</span><a name="line.661"></a>
+<span class="sourceLineNo">662</span>  /**<a name="line.662"></a>
+<span class="sourceLineNo">663</span>   * Removes the HColumnDescriptor with 
name specified by the parameter column<a name="line.663"></a>
+<span class="sourceLineNo">664</span>   * from the table descriptor<a 
name="line.664"></a>
+<span class="sourceLineNo">665</span>   *<a name="line.665"></a>
+<span class="sourceLineNo">666</span>   * @param column Name of the column 
family to be removed.<a name="line.666"></a>
+<span class="sourceLineNo">667</span>   * @return Column descriptor for the 
passed family name or the family on<a name="line.667"></a>
+<span class="sourceLineNo">668</span>   * passed in column.<a 
name="line.668"></a>
+<span class="sourceLineNo">669</span>   */<a name="line.669"></a>
+<span class="sourceLineNo">670</span>  public HColumnDescriptor 
removeFamily(final byte [] column) {<a name="line.670"></a>
+<span class="sourceLineNo">671</span>    return 
toHColumnDescriptor(getDelegateeForModification().removeColumnFamily(column));<a
 name="line.671"></a>
+<span class="sourceLineNo">672</span>  }<a name="line.672"></a>
+<span class="sourceLineNo">673</span><a name="line.673"></a>
+<span class="sourceLineNo">674</span>  /**<a name="line.674"></a>
+<span class="sourceLineNo">675</span>   * Return a HColumnDescriptor for user 
to keep the compatibility as much as possible.<a name="line.675"></a>
+<span class="sourceLineNo">676</span>   * @param desc read-only 
ColumnFamilyDescriptor<a name="line.676"></a>
+<span class="sourceLineNo">677</span>   * @return The older implementation of 
ColumnFamilyDescriptor<a name="line.677"></a>
+<span class="sourceLineNo">678</span>   */<a name="line.678"></a>
+<span class="sourceLineNo">679</span>  protected HColumnDescriptor 
toHColumnDescriptor(ColumnFamilyDescriptor desc) {<a name="line.679"></a>
+<span class="sourceLineNo">680</span>    if (desc == null) {<a 
name="line.680"></a>
+<span class="sourceLineNo">681</span>      return null;<a name="line.681"></a>
+<span class="sourceLineNo">682</span>    } else if (desc instanceof 
ModifyableColumnFamilyDescriptor) {<a name="line.682"></a>
+<span class="sourceLineNo">683</span>      return new 
HColumnDescriptor((ModifyableColumnFamilyDescriptor) desc);<a 
name="line.683"></a>
+<span class="sourceLineNo">684</span>    } else if (desc instanceof 
HColumnDescriptor) {<a name="line.684"></a>
+<span class="sourceLineNo">685</span>      return (HColumnDescriptor) desc;<a 
name="line.685"></a>
+<span class="sourceLineNo">686</span>    } else {<a name="line.686"></a>
+<span class="sourceLineNo">687</span>      return new HColumnDescriptor(new 
ModifyableColumnFamilyDescriptor(desc));<a name="line.687"></a>
+<span class="sourceLineNo">688</span>    }<a name="line.688"></a>
+<span class="sourceLineNo">689</span>  }<a name="line.689"></a>
+<span class="sourceLineNo">690</span><a name="line.690"></a>
+<span class="sourceLineNo">691</span>  /**<a name="line.691"></a>
+<span class="sourceLineNo">692</span>   * Add a table coprocessor to this 
table. The coprocessor<a name="line.692"></a>
+<span class="sourceLineNo">693</span>   * type must be 
org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.693"></a>
+<span class="sourceLineNo">694</span>   * It won't check if the class can be 
loaded or not.<a name="line.694"></a>
+<span class="sourceLineNo">695</span>   * Whether a coprocessor is loadable or 
not will be determined when<a name="line.695"></a>
+<span class="sourceLineNo">696</span>   * a region is opened.<a 
name="line.696"></a>
+<span class="sourceLineNo">697</span>   * @param className Full class name.<a 
name="line.697"></a>
+<span class="sourceLineNo">698</span>   * @throws IOException<a 
name="line.698"></a>
+<span class="sourceLineNo">699</span>   */<a name="line.699"></a>
+<span class="sourceLineNo">700</span>  public HTableDescriptor 
addCoprocessor(String className) throws IOException {<a name="line.700"></a>
+<span class="sourceLineNo">701</span>    
getDelegateeForModification().addCoprocessor(className);<a name="line.701"></a>
+<span class="sourceLineNo">702</span>    return this;<a name="line.702"></a>
+<span class="sourceLineNo">703</span>  }<a name="line.703"></a>
+<span class="sourceLineNo">704</span><a name="line.704"></a>
+<span class="sourceLineNo">705</span>  /**<a name="line.705"></a>
+<span class="sourceLineNo">706</span>   * Add a table coprocessor to this 
table. The coprocessor<a name="line.706"></a>
+<span class="sourceLineNo">707</span>   * type must be 
org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.707"></a>
+<span class="sourceLineNo">708</span>   * It won't check if the class can be 
loaded or not.<a name="line.708"></a>
+<span class="sourceLineNo">709</span>   * Whether a coprocessor is loadable or 
not will be determined when<a name="line.709"></a>
+<span class="sourceLineNo">710</span>   * a region is opened.<a 
name="line.710"></a>
+<span class="sourceLineNo">711</span>   * @param jarFilePath Path of the jar 
file. If it's null, the class will be<a name="line.711"></a>
+<span class="sourceLineNo">712</span>   * loaded from default classloader.<a 
name="line.712"></a>
+<span class="sourceLineNo">713</span>   * @param className Full class name.<a 
name="line.713"></a>
+<span class="sourceLineNo">714</span>   * @param priority Priority<a 
name="line.714"></a>
+<span class="sourceLineNo">715</span>   * @param kvs Arbitrary key-value 
parameter pairs passed into the coprocessor.<a name="line.715"></a>
+<span class="sourceLineNo">716</span>   * @throws IOException<a 
name="line.716"></a>
+<span class="sourceLineNo">717</span>   */<a name="line.717"></a>
+<span class="sourceLineNo">718</span>  public HTableDescriptor 
addCoprocessor(String className, Path jarFilePath,<a name="line.718"></a>
+<span class="sourceLineNo">719</span>                             int 
priority, final Map&lt;String, String&gt; kvs)<a name="line.719"></a>
+<span class="sourceLineNo">720</span>  throws IOException {<a 
name="line.720"></a>
+<span class="sourceLineNo">721</span>    
getDelegateeForModification().addCoprocessor(className, jarFilePath, priority, 
kvs);<a name="line.721"></a>
+<span class="sourceLineNo">722</span>    return this;<a name="line.722"></a>
+<span class="sourceLineNo">723</span>  }<a name="line.723"></a>
+<span class="sourceLineNo">724</span><a name="line.724"></a>
+<span class="sourceLineNo">725</span>  /**<a name="line.725"></a>
+<span class="sourceLineNo">726</span>   * Add a table coprocessor to this 
table. The coprocessor<a name="line.726"></a>
+<span class="sourceLineNo">727</span>   * type must be 
org.apache.hadoop.hbase.coprocessor.RegionCoprocessor.<a name="line.727"></a>
+<span class="sourceLineNo">728</span>   * It won't check if the class can be 
loaded or not.<a name="line.728"></a>
+<span class="sourceLineNo">729</span>   * Whether a coprocessor is loadable or 
not will be determined when<a name="line.729"></a>
+<span class="sourceLineNo">730</span>   * a region is opened.<a 
name="line.730"></a>
+<span class="sourceLineNo">731</span>   * @param specStr The Coprocessor 
specification all in in one String formatted so matches<a name="line.731"></a>
+<span class="sourceLineNo">732</span>   * {@link 
HConstants#CP_HTD_ATTR_VALUE_PATTERN}<a name="line.732"></a>
+<span class="sourceLineNo">733</span>   * @throws IOException<a 
name="line.733"></a>
+<span class="sourceLineNo">734</span>   */<a name="line.734"></a>
+<span class="sourceLineNo">735</span>  public HTableDescriptor 
addCoprocessorWithSpec(final String specStr) throws IOException {<a 
name="line.735"></a>
+<span class="sourceLineNo">736</span>    
getDelegateeForModification().addCoprocessorWithSpec(specStr);<a 
name="line.736"></a>
+<span class="sourceLineNo">737</span>    return this;<a name="line.737"></a>
+<span class="sourceLineNo">738</span>  }<a name="line.738"></a>
+<span class="sourceLineNo">739</span><a name="line.739"></a>
+<span class="sourceLineNo">740</span>  /**<a name="line.740"></a>
+<span class="sourceLineNo">741</span>   * Check if the table has an attached 
co-processor represented by the name className<a name="line.741"></a>
+<span class="sourceLineNo">742</span>   *<a name="line.742"></a>
+<span class="sourceLineNo">743</span>   * @param classNameToMatch - Class name 
of the co-processor<a name="line.743"></a>
+<span class="sourceLineNo">744</span>   * @return true of the table has a 
co-processor className<a name="line.744"></a>
+<span class="sourceLineNo">745</span>   */<a name="line.745"></a>
+<span class="sourceLineNo">746</span>  @Override<a name="line.746"></a>
+<span class="sourceLineNo">747</span>  public boolean hasCoprocessor(String 
classNameToMatch) {<a name="line.747"></a>
+<span class="sourceLineNo">748</span>    return 
delegatee.hasCoprocessor(classNameToMatch);<a name="line.748"></a>
+<span class="sourceLineNo">749</span>  }<a name="line.749"></a>
+<span class="sourceLineNo">750</span><a name="line.750"></a>
+<span class="sourceLineNo">751</span>  /**<a name="line.751"></a>
+<span class="sourceLineNo">752</span>   * Return the list of attached 
co-processor represented by their name className<a name="line.752"></a>
+<span class="sourceLineNo">753</span>   *<a name="line.753"></a>
+<span class="sourceLineNo">754</span>   * @return The list of co-processors 
classNames<a name="line.754"></a>
+<span class="sourceLineNo">755</span>   */<a name="line.755"></a>
+<span class="sourceLineNo">756</span>  @Override<a name="line.756"></a>
+<span class="sourceLineNo">757</span>  public List&lt;String&gt; 
getCoprocessors() {<a name="line.757"></a>
+<span class="sourceLineNo">758</span>    return delegatee.getCoprocessors();<a 
name="line.758"></a>
+<span class="sourceLineNo">759</span>  }<a name="line.759"></a>
+<span class="sourceLineNo">760</span><a name="line.760"></a>
+<span class="sourceLineNo">761</span>  /**<a name="line.761"></a>
+<span class="sourceLineNo">762</span>   * Remove a coprocessor from those set 
on the table<a name="line.762"></a>
+<span class="sourceLineNo">763</span>   * @param className Class name of the 
co-processor<a name="line.763"></a>
+<span class="sourceLineNo">764</span>   */<a name="line.764"></a>
+<span class="sourceLineNo">765</span>  public void removeCoprocessor(String 
className) {<a name="line.765"></a>
+<span class="sourceLineNo">766</span>    
getDelegateeForModification().removeCoprocessor(className);<a 
name="line.766"></a>
 <span class="sourceLineNo">767</span>  }<a name="line.767"></a>
 <span class="sourceLineNo">768</span><a name="line.768"></a>
-<span class="sourceLineNo">769</span>  /**<a name="line.769"></a>
-<span class="sourceLineNo">770</span>   * Remove a coprocessor from those set 
on the table<a name="line.770"></a>
-<span class="sourceLineNo">771</span>   * @param className Class name of the 
co-processor<a name="line.771"></a>
-<span class="sourceLineNo">772</span>   */<a name="line.772"></a>
-<span class="sourceLineNo">773</span>  public void removeCoprocessor(String 
className) {<a name="line.773"></a>
-<span class="sourceLineNo">774</span>    
getDelegateeForModification().removeCoprocessor(className);<a 
name="line.774"></a>
-<span class="sourceLineNo">775</span>  }<a name="line.775"></a>
+<span class="sourceLineNo">769</span>  public final static String 
NAMESPACE_FAMILY_INFO = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO;<a 
name="line.769"></a>
+<span class="sourceLineNo">770</span>  public final static byte[] 
NAMESPACE_FAMILY_INFO_BYTES = 
TableDescriptorBuilder.NAMESPACE_FAMILY_INFO_BYTES;<a name="line.770"></a>
+<span class="sourceLineNo">771</span>  public final static byte[] 
NAMESPACE_COL_DESC_BYTES = TableDescriptorBuilder.NAMESPACE_COL_DESC_BYTES;<a 
name="line.771"></a>
+<span class="sourceLineNo">772</span><a name="line.772"></a>
+<span class="sourceLineNo">773</span>  /** Table descriptor for namespace 
table */<a name="line.773"></a>
+<span class="sourceLineNo">774</span>  public static final HTableDescriptor 
NAMESPACE_TABLEDESC<a name="line.774"></a>
+<span class="sourceLineNo">775</span>    = new 
HTableDescriptor(TableDescriptorBuilder.NAMESPACE_TABLEDESC);<a 
name="line.775"></a>
 <span class="sourceLineNo">776</span><a name="line.776"></a>
-<span class="sourceLineNo">777</span>  public final static String 
NAMESPACE_FAMILY_INFO = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO;<a 
name="line.777"></a>
-<span class="sourceLineNo">778</span>  public final static byte[] 
NAMESPACE_FAMILY_INFO_BYTES = 
TableDescriptorBuilder.NAMESPACE_FAMILY_INFO_BYTES;<a name="line.778"></a>
-<span class="sourceLineNo">779</span>  public final static byte[] 
NAMESPACE_COL_DESC_BYTES = TableDescriptorBuilder.NAMESPACE_COL_DESC_BYTES;<a 
name="line.779"></a>
-<span class="sourceLineNo">780</span><a name="line.780"></a>
-<span class="sourceLineNo">781</span>  /** Table descriptor for namespace 
table */<a name="line.781"></a>
-<span class="sourceLineNo">782</span>  public static final HTableDescriptor 
NAMESPACE_TABLEDESC<a name="line.782"></a>
-<span class="sourceLineNo">783</span>    = new 
HTableDescriptor(TableDescriptorBuilder.NAMESPACE_TABLEDESC);<a 
name="line.783"></a>
-<span class="sourceLineNo">784</span><a name="line.784"></a>
-<span class="sourceLineNo">785</span>  @Deprecated<a name="line.785"></a>
-<span class="sourceLineNo">786</span>  public HTableDescriptor setOwner(User 
owner) {<a name="line.786"></a>
-<span class="sourceLineNo">787</span>    
getDelegateeForModification().setOwner(owner);<a name="line.787"></a>
-<span class="sourceLineNo">788</span>    return this;<a name="line.788"></a>
-<span class="sourceLineNo">789</span>  }<a name="line.789"></a>
-<span class="sourceLineNo">790</span><a name="line.790"></a>
-<span class="sourceLineNo">791</span>  // used by 
admin.rb:alter(table_name,*args) to update owner.<a name="line.791"></a>
-<span class="sourceLineNo">792</span>  @Deprecated<a name="line.792"></a>
-<span class="sourceLineNo">793</span>  public HTableDescriptor 
setOwnerString(String ownerString) {<a name="line.793"></a>
-<span class="sourceLineNo">794</span>    
getDelegateeForModification().setOwnerString(ownerString);<a 
name="line.794"></a>
-<span class="sourceLineNo">795</span>    return this;<a name="line.795"></a>
-<span class="sourceLineNo">796</span>  }<a name="line.796"></a>
-<span class="sourceLineNo">797</span><a name="line.797"></a>
-<span class="sourceLineNo">798</span>  @Override<a name="line.798"></a>
-<span class="sourceLineNo">799</span>  @Deprecated<a name="line.799"></a>
-<span class="sourceLineNo">800</span>  public String getOwnerString() {<a 
name="line.800"></a>
-<span class="sourceLineNo">801</span>    return delegatee.getOwnerString();<a 
name="line.801"></a>
+<span class="sourceLineNo">777</span>  @Deprecated<a name="line.777"></a>
+<span class="sourceLineNo">778</span>  public HTableDescriptor setOwner(User 
owner) {<a name="line.778"></a>
+<span class="sourceLineNo">779</span>    
getDelegateeForModification().setOwner(owner);<a name="line.779"></a>
+<span class="sourceLineNo">780</span>    return this;<a name="line.780"></a>
+<span class="sourceLineNo">781</span>  }<a name="line.781"></a>
+<span class="sourceLineNo">782</span><a name="line.782"></a>
+<span class="sourceLineNo">783</span>  // used by 
admin.rb:alter(table_name,*args) to update owner.<a name="line.783"></a>
+<span class="sourceLineNo">784</span>  @Deprecated<a name="line.784"></a>
+<span class="sourceLineNo">785</span>  public HTableDescriptor 
setOwnerString(String ownerString) {<a name="line.785"></a>
+<span class="sourceLineNo">786</span>    
getDelegateeForModification().setOwnerString(ownerString);<a 
name="line.786"></a>
+<span class="sourceLineNo">787</span>    return this;<a name="line.787"></a>
+<span class="sourceLineNo">788</span>  }<a name="line.788"></a>
+<span class="sourceLineNo">789</span><a name="line.789"></a>
+<span class="sourceLineNo">790</span>  @Override<a name="line.790"></a>
+<span class="sourceLineNo">791</span>  @Deprecated<a name="line.791"></a>
+<span class="sourceLineNo">792</span>  public String getOwnerString() {<a 
name="line.792"></a>
+<span class="sourceLineNo">793</span>    return delegatee.getOwnerString();<a 
name="line.793"></a>
+<span class="sourceLineNo">794</span>  }<a name="line.794"></a>
+<span class="sourceLineNo">795</span><a name="line.795"></a>
+<span class="sourceLineNo">796</span>  /**<a name="line.796"></a>
+<span class="sourceLineNo">797</span>   * @return This instance serialized 
with pb with pb magic prefix<a name="line.797"></a>
+<span class="sourceLineNo">798</span>   * @see #parseFrom(byte[])<a 
name="line.798"></a>
+<span class="sourceLineNo">799</span>   */<a name="line.799"></a>
+<span class="sourceLineNo">800</span>  public byte[] toByteArray() {<a 
name="line.800"></a>
+<span class="sourceLineNo">801</span>    return 
TableDescriptorBuilder.toByteArray(delegatee);<a name="line.801"></a>
 <span class="sourceLineNo">802</span>  }<a name="line.802"></a>
 <span class="sourceLineNo">803</span><a name="line.803"></a>
 <span class="sourceLineNo">804</span>  /**<a name="line.804"></a>
-<span class="sourceLineNo">805</span>   * @return This instance serialized 
with pb with pb magic prefix<a name="line.805"></a>
-<span class="sourceLineNo">806</span>   * @see #parseFrom(byte[])<a 
name="line.806"></a>
-<span class="sourceLineNo">807</span>   */<a name="line.807"></a>
-<span class="sourceLineNo">808</span>  public byte[] toByteArray() {<a 
name="line.808"></a>
-<span class="sourceLineNo">809</span>    return 
TableDescriptorBuilder.toByteArray(delegatee);<a name="line.809"></a>
-<span class="sourceLineNo">810</span>  }<a name="line.810"></a>
-<span class="sourceLineNo">811</span><a name="line.811"></a>
-<span class="sourceLineNo">812</span>  /**<a name="line.812"></a>
-<span class="sourceLineNo">813</span>   * @param bytes A pb serialized {@link 
HTableDescriptor} instance with pb magic prefix<a name="line.813"></a>
-<span class="sourceLineNo">814</span>   * @return An instance of {@link 
HTableDescriptor} made from &lt;code&gt;bytes&lt;/code&gt;<a 
name="line.814"></a>
-<span class="sourceLineNo">815</span>   * @throws DeserializationException<a 
name="line.815"></a>
-<span class="sourceLineNo">816</span>   * @throws IOException<a 
name="line.816"></a>
-<span class="sourceLineNo">817</span>   * @see #toByteArray()<a 
name="line.817"></a>
-<span class="sourceLineNo">818</span>   */<a name="line.818"></a>
-<span class="sourceLineNo">819</span>  public static HTableDescriptor 
parseFrom(final byte [] bytes)<a name="line.819"></a>
-<span class="sourceLineNo">820</span>  throws DeserializationException, 
IOException {<a name="line.820"></a>
-<span class="sourceLineNo">821</span>    TableDescriptor desc = 
TableDescriptorBuilder.parseFrom(bytes);<a name="line.821"></a>
-<span class="sourceLineNo">822</span>    if (desc instanceof 
ModifyableTableDescriptor) {<a name="line.822"></a>
-<span class="sourceLineNo">823</span>      return new 
HTableDescriptor((ModifyableTableDescriptor) desc);<a name="line.823"></a>
-<span class="sourceLineNo">824</span>    } else {<a name="line.824"></a>
-<span class="sourceLineNo">825</span>      return new 
HTableDescriptor(desc);<a name="line.825"></a>
-<span class="sourceLineNo">826</span>    }<a name="line.826"></a>
-<span class="sourceLineNo">827</span>  }<a name="line.827"></a>
-<span class="sourceLineNo">828</span><a name="line.828"></a>
-<span class="sourceLineNo">829</span>  /**<a name="line.829"></a>
-<span class="sourceLineNo">830</span>   * Getter for accessing the 
configuration value by key<a name="line.830"></a>
-<span class="sourceLineNo">831</span>   */<a name="line.831"></a>
-<span class="sourceLineNo">832</span>  public String 
getConfigurationValue(String key) {<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    return delegatee.getValue(key);<a 
name="line.833"></a>
-<span class="sourceLineNo">834</span>  }<a name="line.834"></a>
-<span class="sourceLineNo">835</span><a name="line.835"></a>
-<span class="sourceLineNo">836</span>  /**<a name="line.836"></a>
-<span class="sourceLineNo">837</span>   * Getter for fetching an unmodifiable 
map.<a name="line.837"></a>
-<span class="sourceLineNo">838</span>   */<a name="line.838"></a>
-<span class="sourceLineNo">839</span>  public Map&lt;String, String&gt; 
getConfiguration() {<a name="line.839"></a>
-<span class="sourceLineNo">840</span>    return 
delegatee.getValues().entrySet().stream()<a name="line.840"></a>
-<span class="sourceLineNo">841</span>            .collect(Collectors.toMap(<a 
name="line.841"></a>
-<span class="sourceLineNo">842</span>                    e -&gt; 
Bytes.toString(e.getKey().get(), e.getKey().getOffset(), 
e.getKey().getLength()),<a name="line.842"></a>
-<span class="sourceLineNo">843</span>                    e -&gt; 
Bytes.toString(e.getValue().get(), e.getValue().getOffset(), 
e.getValue().getLength())<a name="line.843"></a>
-<span class="sourceLineNo">844</span>            ));<a name="line.844"></a>
-<span class="sourceLineNo">845</span>  }<a name="line.845"></a>
-<span class="sourceLineNo">846</span><a name="line.846"></a>
-<span class="sourceLineNo">847</span>  /**<a name="line.847"></a>
-<span class="sourceLineNo">848</span>   * Setter for storing a configuration 
setting in map.<a name="line.848"></a>
-<span class="sourceLineNo">849</span>   * @param key Config key. Same as XML 
config key e.g. hbase.something.or.other.<a name="line.849"></a>
-<span class="sourceLineNo">850</span>   * @param value String value. If null, 
removes the setting.<a name="line.850"></a>
+<span class="sourceLineNo">805</span>   * @param bytes A pb serialized {@link 
HTableDescriptor} instance with pb magic prefix<a name="line.805"></a>
+<span class="sourceLineNo">806</span>   * @return An instance of {@link 
HTableDescriptor} made from &lt;code&gt;bytes&lt;/code&gt;<a 
name="line.806"></a>
+<span class="sourceLineNo">807</span>   * @throws DeserializationException<a 
name="line.807"></a>
+<span class="sourceLineNo">808</span>   * @throws IOException<a 
name="line.808"></a>
+<span class="sourceLineNo">809</span>   * @see #toByteArray()<a 
name="line.809"></a>
+<span class="sourceLineNo">810</span>   */<a name="line.810"></a>
+<span class="sourceLineNo">811</span>  public static HTableDescriptor 
parseFrom(final byte [] bytes)<a name="line.811"></a>
+<span class="sourceLineNo">812</span>  throws DeserializationException, 
IOException {<a name="line.812"></a>
+<span class="sourceLineNo">813</span>    TableDescriptor desc = 
TableDescriptorBuilder.parseFrom(bytes);<a name="line.813"></a>
+<span class="sourceLineNo">814</span>    if (desc instanceof 
ModifyableTableDescriptor) {<a name="line.814"></a>
+<span class="sourceLineNo">815</span>      return new 
HTableDescriptor((ModifyableTableDescriptor) desc);<a name="line.815"></a>
+<span class="sourceLineNo">816</span>    } else {<a name="line.816"></a>
+<span class="sourceLineNo">817</span>      return new 
HTableDescriptor(desc);<a name="line.817"></a>
+<span class="sourceLineNo">818</span>    }<a name="line.818"></a>
+<span class="sourceLineNo">819</span>  }<a name="line.819"></a>
+<span class="sourceLineNo">820</span><a name="line.820"></a>
+<span class="sourceLineNo">821</span>  /**<a name="line.821"></a>
+<span class="sourceLineNo">822</span>   * Getter for accessing the 
configuration value by key<a name="line.822"></a>
+<span class="sourceLineNo">823</span>   */<a name="line.823"></a>
+<span class="sourceLineNo">824</span>  public String 
getConfigurationValue(String key) {<a name="line.824"></a>
+<span class="sourceLineNo">825</span>    return delegatee.getValue(key);<a 
name="line.825"></a>
+<span class="sourceLineNo">826</span>  }<a name="line.826"></a>
+<span class="sourceLineNo">827</span><a name="line.827"></a>
+<span class="sourceLineNo">828</span>  /**<a name="line.828"></a>
+<span class="sourceLineNo">829</span>   * Getter for fetching an unmodifiable 
map.<a name="line.829"></a>
+<span class="sourceLineNo">830</span>   */<a name="line.830"></a>
+<span class="sourceLineNo">831</span>  public Map&lt;String, String&gt; 
getConfiguration() {<a name="line.831"></a>
+<span class="sourceLineNo">832</span>    return 
delegatee.getValues().entrySet().stream()<a name="line.832"></a>
+<span class="sourceLineNo">833</span>            .collect(Collectors.toMap(<a 
name="line.833"></a>
+<span class="sourceLineNo">834</span>                    e -&gt; 
Bytes.toString(e.getKey().get(), e.getKey().getOffset(), 
e.getKey().getLength()),<a name="line.834"></a>
+<span class="sourceLineNo">835</span>                    e -&gt; 
Bytes.toString(e.getValue().get(), e.getValue().getOffset(), 
e.getValue().getLength())<a name="line.835"></a>
+<span class="sourceLineNo">836</span>            ));<a name="line.836"></a>
+<span class="sourceLineNo">837</span>  }<a name="line.837"></a>
+<span class="sourceLineNo">838</span><a name="line.838"></a>
+<span class="sourceLineNo">839</span>  /**<a name="line.839"></a>
+<span class="sourceLineNo">840</span>   * Setter for storing a configuration 
setting in map.<a name="line.840"></a>
+<span class="sourceLineNo">841</span>   * @param key Config key. Same as XML 
config key e.g. hbase.something.or.other.<a name="line.841"></a>
+<span class="sourceLineNo">842</span>   * @param value String value. If null, 
removes the setting.<a name="line.842"></a>
+<span class="sourceLineNo">843</span>   */<a name="line.843"></a>
+<span class="sourceLineNo">844</span>  public HTableDescriptor 
setConfiguration(String key, String value) {<a name="line.844"></a>
+<span class="sourceLineNo">845</span>    
getDelegateeForModification().setValue(key, value);<a name="line.845"></a>
+<span class="sourceLineNo">846</span>    return this;<a name="line.846"></a>
+<span class="sourceLineNo">847</span>  }<a name="line.847"></a>
+<span class="sourceLineNo">848</span><a name="line.848"></a>
+<span class="sourceLineNo">849</span>  /**<a name="line.849"></a>
+<span class="sourceLineNo">850</span>   * Remove a config setting represented 
by the key from the map<a name="line.850"></a>
 <span class="sourceLineNo">851</span>   */<a name="line.851"></a>
-<span class="sourceLineNo">852</span>  public HTableDescriptor 
setConfiguration(String key, String value) {<a name="line.852"></a>
-<span class="sourceLineNo">853</span>    
getDelegateeForModification().setValue(key, value);<a name="line.853"></a>
-<span class="sourceLineNo">854</span>    return this;<a name="line.854"></a>
-<span class="sourceLineNo">855</span>  }<a name="line.855"></a>
-<span class="sourceLineNo">856</span><a name="line.856"></a>
-<span class="sourceLineNo">857</span>  /**<a name="line.857"></a>
-<span class="sourceLineNo">858</span>   * Remove a config setting represented 
by the key from the map<a name="line.858"></a>
-<span class="sourceLineNo">859</span>   */<a name="line.859"></a>
-<span class="sourceLineNo">860</span>  public void removeConfiguration(final 
String key) {<a name="line.860"></a>
-<span class="sourceLineNo">861</span>    
getDelegateeForModification().removeValue(Bytes.toBytes(key));<a 
name="line.861"></a>
-<span class="sourceLineNo">862</span>  }<a name="line.862"></a>
-<span class="sourceLineNo">863</span><a name="line.863"></a>
-<span class="sourceLineNo">864</span>  @Override<a name="line.864"></a>
-<span class="sourceLineNo">865</span>  public Bytes getValue(Bytes key) {<a 
name="line.865"></a>
-<span class="sourceLineNo">866</span>    return delegatee.getValue(key);<a 
name="line.866"></a>
-<span class="sourceLineNo">867</span>  }<a name="line.867"></a>
-<span class="sourceLineNo">868</span><a name="line.868"></a>
-<span class="sourceLineNo">869</span>  @Override<a name="line.869"></a>
-<span class="sourceLineNo">870</span>  public String getValue(String key) {<a 
name="line.870"></a>
-<span class="sourceLineNo">871</span>    return delegatee.getValue(key);<a 
name="line.871"></a>
-<span class="sourceLineNo">872</span>  }<a name="line.872"></a>
-<span class="sourceLineNo">873</span><a name="line.873"></a>
-<span class="sourceLineNo">874</span>  @Override<a name="line.874"></a>
-<span class="sourceLineNo">875</span>  public byte[] getValue(byte[] key) {<a 
name="line.875"></a>
-<span class="sourceLineNo">876</span>    return delegatee.getValue(key);<a 
name="line.876"></a>
-<span class="sourceLineNo">877</span>  }<a name="line.877"></a>
-<span class="sourceLineNo">878</span><a name="line.878"></a>
-<span class="sourceLineNo">879</span>  @Override<a name="line.879"></a>
-<span class="sourceLineNo">880</span>  public Set&lt;byte[]&gt; 
getColumnFamilyNames() {<a name="line.880"></a>
-<span class="sourceLineNo">881</span>    return 
delegatee.getColumnFamilyNames();<a name="line.881"></a>
-<span class="sourceLineNo">882</span>  }<a name="line.882"></a>
-<span class="sourceLineNo">883</span><a name="line.883"></a>
-<span class="sourceLineNo">884</span>  @Override<a name="line.884"></a>
-<span class="sourceLineNo">885</span>  public boolean hasColumnFamily(byte[] 
name) {<a name="line.885"></a>
-<span class="sourceLineNo">886</span>    return 
delegatee.hasColumnFamily(name);<a name="line.886"></a>
-<span class="sourceLineNo">887</span>  }<a name="line.887"></a>
-<span class="sourceLineNo">888</span><a name="line.888"></a>
-<span class="sourceLineNo">889</span>  @Override<a name="line.889"></a>
-<span class="sourceLineNo">890</span>  public ColumnFamilyDescriptor 
getColumnFamily(byte[] name) {<a name="line.890"></a>
-<span class="sourceLineNo">891</span>    return 
delegatee.getColumnFamily(name);<a name="line.891"></a>
-<span class="sourceLineNo">892</span>  }<a name="line.892"></a>
-<span class="sourceLineNo">893</span><a name="line.893"></a>
-<span class="sourceLineNo">894</span>  protected ModifyableTableDescriptor 
getDelegateeForModification() {<a name="line.894"></a>
-<span class="sourceLineNo">895</span>    return delegatee;<a 
name="line.895"></a>
-<span class="sourceLineNo">896</span>  }<a name="line.896"></a>
-<span class="sourceLineNo">897</span>}<a name="line.897"></a>
+<span class="sourceLineNo">852</span>  public void removeConfiguration(final 
String key) {<a name="line.852"></a>
+<span class="sourceLineNo">853</span>    
getDelegateeForModification().removeValue(Bytes.toBytes(key));<a 
name="line.853"></a>
+<span class="sourceLineNo">854</span>  }<a name="line.854"></a>
+<span class="sourceLineNo">855</span><a name="line.855"></a>
+<span class="sourceLineNo">856</span>  @Override<a name="line.856"></a>
+<span class="sourceLineNo">857</span>  public Bytes getValue(Bytes key) {<a 
name="line.857"></a>
+<span class="sourceLineNo">858</span>    return delegatee.getValue(key);<a 
name="line.858"></a>
+<span class="sourceLineNo">859</span>  }<a name="line.859"></a>
+<span class="sourceLineNo">860</span><a name="line.860"></a>
+<span class="sourceLineNo">861</span>  @Override<a name="line.861"></a>
+<span class="sourceLineNo">862</span>  public String getValue(String key) {<a 
name="line.862"></a>
+<span class="sourceLineNo">863</span>    return delegatee.getValue(key);<a 
name="line.863"></a>
+<span class="sourceLineNo">864</span>  }<a name="line.864"></a>
+<span class="sourceLineNo">865</span><a name="line.865"></a>
+<span class="sourceLineNo">866</span>  @Override<a name="line.866"></a>
+<span class="sourceLineNo">867</span>  public byte[] getValue(byte[] key) {<a 
name="line.867"></a>
+<span class="sourceLineNo">868</span>    return delegatee.getValue(key);<a 
name="line.868"></a>
+<span class="sourceLineNo">869</span>  }<a name="line.869"></a>
+<span class="sourceLineNo">870</span><a name="line.870"></a>
+<span class="sourceLineNo">871</span>  @Override<a name="line.871"></a>
+<span class="sourceLineNo">872</span>  public Set&lt;byte[]&gt; 
getColumnFamilyNames() {<a name="line.872"></a>
+<span class="sourceLineNo">873</span>    return 
delegatee.getColumnFamilyNames();<a name="line.873"></a>
+<span class="sourceLineNo">874</span>  }<a name="line.874"></a>
+<span class="sourceLineNo">875</span><a name="line.875"></a>
+<span class="sourceLineNo">876</span>  @Override<a name="line.876"></a>
+<span class="sourceLineNo">877</span>  public boolean hasColumnFamily(byte[] 
name) {<a name="line.877"></a>
+<span class="sourceLineNo">878</span>    return 
delegatee.hasColumnFamily(name);<a name="line.878"></a>
+<span class="sourceLineNo">879</span>  }<a name="line.879"></a>
+<span class="sourceLineNo">880</span><a name="line.880"></a>
+<span class="sourceLineNo">881</span>  @Override<a name="line.881"></a>
+<span class="sourceLineNo">882</span>  public ColumnFamilyDescriptor 
getColumnFamily(byte[] name) {<a name="line.882"></a>
+<span class="sourceLineNo">883</span>    return 
delegatee.getColumnFamily(name);<a name="line.883"></a>
+<span class="sourceLineNo">884</span>  }<a name="line.884"></a>
+<span class="sourceLineNo">885</span><a name="line.885"></a>
+<span class="sourceLineNo">886</span>  protected ModifyableTableDescriptor 
getDelegateeForModification() {<a name="line.886"></a>
+<span class="sourceLineNo">887</span>    return delegatee;<a 
name="line.887"></a>
+<span class="sourceLineNo">888</span>  }<a name="line.888"></a>
+<span class="sourceLineNo">889</span>}<a name="line.889"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/854846a5/devapidocs/src-html/org/apache/hadoop/hbase/Version.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html 
b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html
index d29ccd9..71b6351 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html
@@ -16,11 +16,11 @@
 <span class="sourceLineNo">008</span>@InterfaceAudience.Private<a 
name="line.8"></a>
 <span class="sourceLineNo">009</span>public class Version {<a 
name="line.9"></a>
 <span class="sourceLineNo">010</span>  public static final String version = 
"3.0.0-SNAPSHOT";<a name="line.10"></a>
-<span class="sourceLineNo">011</span>  public static final String revision = 
"756cccecffef3a64ae328022ae47fc1d1087dc6c";<a name="line.11"></a>
+<span class="sourceLineNo">011</span>  public static final String revision = 
"45bbee4905fb031259c935502444c729b32ddac8";<a name="line.11"></a>
 <span class="sourceLineNo">012</span>  public static final String user = 
"jenkins";<a name="line.12"></a>
-<span class="sourceLineNo">013</span>  public static final String date = "Fri 
Mar  9 14:41:44 UTC 2018";<a name="line.13"></a>
+<span class="sourceLineNo">013</span>  public static final String date = "Sat 
Mar 10 14:41:51 UTC 2018";<a name="line.13"></a>
 <span class="sourceLineNo">014</span>  public static final String url = 
"git://asf920.gq1.ygridcore.net/home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase";<a
 name="line.14"></a>
-<span class="sourceLineNo">015</span>  public static final String srcChecksum 
= "0f9300beed31df559c6f8426993e753e";<a name="line.15"></a>
+<span class="sourceLineNo">015</span>  public static final String srcChecksum 
= "ab48fe70c3185997530bec793561bd68";<a name="line.15"></a>
 <span class="sourceLineNo">016</span>}<a name="line.16"></a>
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/854846a5/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptor.html
----------------------------------------------------------------------
diff --git 
a/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptor.html 
b/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptor.html
index b437410..5c7f221 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptor.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptor.html
@@ -32,7 +32,7 @@
 <span class="sourceLineNo">024</span>import java.util.Iterator;<a 
name="line.24"></a>
 <span class="sourceLineNo">025</span>import java.util.Map;<a 
name="line.25"></a>
 <span class="sourceLineNo">026</span>import java.util.Set;<a 
name="line.26"></a>
-<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">027</span>import java.util.stream.Stream;<a 
name="line.27"></a>
 <span class="sourceLineNo">028</span>import 
org.apache.hadoop.hbase.HConstants;<a name="line.28"></a>
 <span class="sourceLineNo">029</span>import 
org.apache.hadoop.hbase.TableName;<a name="line.29"></a>
 <span class="sourceLineNo">030</span>import 
org.apache.hadoop.hbase.util.Bytes;<a name="line.30"></a>
@@ -240,75 +240,79 @@
 <span class="sourceLineNo">232</span>  boolean 
hasRegionMemStoreReplication();<a name="line.232"></a>
 <span class="sourceLineNo">233</span><a name="line.233"></a>
 <span class="sourceLineNo">234</span>  /**<a name="line.234"></a>
-<span class="sourceLineNo">235</span>   * @return true if there are at least 
one cf whose replication scope is serial.<a name="line.235"></a>
-<span class="sourceLineNo">236</span>   */<a name="line.236"></a>
-<span class="sourceLineNo">237</span>  boolean hasSerialReplicationScope();<a 
name="line.237"></a>
-<span class="sourceLineNo">238</span><a name="line.238"></a>
-<span class="sourceLineNo">239</span>  /**<a name="line.239"></a>
-<span class="sourceLineNo">240</span>   * Check if the compaction enable flag 
of the table is true. If flag is false<a name="line.240"></a>
-<span class="sourceLineNo">241</span>   * then no minor/major compactions will 
be done in real.<a name="line.241"></a>
-<span class="sourceLineNo">242</span>   *<a name="line.242"></a>
-<span class="sourceLineNo">243</span>   * @return true if table compaction 
enabled<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   */<a name="line.244"></a>
-<span class="sourceLineNo">245</span>  boolean isCompactionEnabled();<a 
name="line.245"></a>
-<span class="sourceLineNo">246</span><a name="line.246"></a>
-<span class="sourceLineNo">247</span>  /**<a name="line.247"></a>
-<span class="sourceLineNo">248</span>   * Checks if this table is &lt;code&gt; 
hbase:meta &lt;/code&gt; region.<a name="line.248"></a>
-<span class="sourceLineNo">249</span>   *<a name="line.249"></a>
-<span class="sourceLineNo">250</span>   * @return true if this table is 
&lt;code&gt; hbase:meta &lt;/code&gt; region<a name="line.250"></a>
-<span class="sourceLineNo">251</span>   */<a name="line.251"></a>
-<span class="sourceLineNo">252</span>  boolean isMetaRegion();<a 
name="line.252"></a>
-<span class="sourceLineNo">253</span><a name="line.253"></a>
-<span class="sourceLineNo">254</span>  /**<a name="line.254"></a>
-<span class="sourceLineNo">255</span>   * Checks if the table is a 
&lt;code&gt;hbase:meta&lt;/code&gt; table<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   *<a name="line.256"></a>
-<span class="sourceLineNo">257</span>   * @return true if table is 
&lt;code&gt; hbase:meta &lt;/code&gt; region.<a name="line.257"></a>
-<span class="sourceLineNo">258</span>   */<a name="line.258"></a>
-<span class="sourceLineNo">259</span>  boolean isMetaTable();<a 
name="line.259"></a>
-<span class="sourceLineNo">260</span><a name="line.260"></a>
-<span class="sourceLineNo">261</span>  /**<a name="line.261"></a>
-<span class="sourceLineNo">262</span>   * Check if normalization enable flag 
of the table is true. If flag is false<a name="line.262"></a>
-<span class="sourceLineNo">263</span>   * then no region normalizer won't 
attempt to normalize this table.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>   *<a name="line.264"></a>
-<span class="sourceLineNo">265</span>   * @return true if region normalization 
is enabled for this table<a name="line.265"></a>
-<span class="sourceLineNo">266</span>   */<a name="line.266"></a>
-<span class="sourceLineNo">267</span>  boolean isNormalizationEnabled();<a 
name="line.267"></a>
-<span class="sourceLineNo">268</span><a name="line.268"></a>
-<span class="sourceLineNo">269</span>  /**<a name="line.269"></a>
-<span class="sourceLineNo">270</span>   * Check if the readOnly flag of the 
table is set. If the readOnly flag is set<a name="line.270"></a>
-<span class="sourceLineNo">271</span>   * then the contents of the table can 
only be read from but not modified.<a name="line.271"></a>
-<span class="sourceLineNo">272</span>   *<a name="line.272"></a>
-<span class="sourceLineNo">273</span>   * @return true if all columns in the 
table should be read only<a name="line.273"></a>
-<span class="sourceLineNo">274</span>   */<a name="line.274"></a>
-<span class="sourceLineNo">275</span>  boolean isReadOnly();<a 
name="line.275"></a>
-<span class="sourceLineNo">276</span><a name="line.276"></a>
-<span class="sourceLineNo">277</span>  /**<a name="line.277"></a>
-<span class="sourceLineNo">278</span>   * Check if the table's cfs' 
replication scope matched with the replication state<a name="line.278"></a>
-<span class="sourceLineNo">279</span>   * @param enabled replication state<a 
name="line.279"></a>
-<span class="sourceLineNo">280</span>   * @return true if matched, otherwise 
false<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   */<a name="line.281"></a>
-<span class="sourceLineNo">282</span>  default boolean 
matchReplicationScope(boolean enabled) {<a name="line.282"></a>
-<span class="sourceLineNo">283</span>    boolean hasEnabled = false;<a 
name="line.283"></a>
-<span class="sourceLineNo">284</span>    boolean hasDisabled = false;<a 
name="line.284"></a>
-<span class="sourceLineNo">285</span><a name="line.285"></a>
-<span class="sourceLineNo">286</span>    for (ColumnFamilyDescriptor cf : 
getColumnFamilies()) {<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      if (cf.getScope() != 
HConstants.REPLICATION_SCOPE_GLOBAL &amp;&amp;<a name="line.287"></a>
-<span class="sourceLineNo">288</span>        cf.getScope() != 
HConstants.REPLICATION_SCOPE_SERIAL) {<a name="line.288"></a>
-<span class="sourceLineNo">289</span>        hasDisabled = true;<a 
name="line.289"></a>
-<span class="sourceLineNo">290</span>      } else {<a name="line.290"></a>
-<span class="sourceLineNo">291</span>        hasEnabled = true;<a 
name="line.291"></a>
-<span class="sourceLineNo">292</span>      }<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
-<span class="sourceLineNo">294</span><a name="line.294"></a>
-<span class="sourceLineNo">295</span>    if (hasEnabled &amp;&amp; 
hasDisabled) {<a name="line.295"></a>
-<span class="sourceLineNo">296</span>      return false;<a name="line.296"></a>
+<span class="sourceLineNo">235</span>   * Check if the compaction enable flag 
of the table is true. If flag is false<a name="line.235"></a>
+<span class="sourceLineNo">236</span>   * then no minor/major compactions will 
be done in real.<a name="line.236"></a>
+<span class="sourceLineNo">237</span>   *<a name="line.237"></a>
+<span class="sourceLineNo">238</span>   * @return true if table compaction 
enabled<a name="line.238"></a>
+<span class="sourceLineNo">239</span>   */<a name="line.239"></a>
+<span class="sourceLineNo">240</span>  boolean isCompactionEnabled();<a 
name="line.240"></a>
+<span class="sourceLineNo">241</span><a name="line.241"></a>
+<span class="sourceLineNo">242</span>  /**<a name="line.242"></a>
+<span class="sourceLineNo">243</span>   * Checks if this table is &lt;code&gt; 
hbase:meta &lt;/code&gt; region.<a name="line.243"></a>
+<span class="sourceLineNo">244</span>   *<a name="line.244"></a>
+<span class="sourceLineNo">245</span>   * @return true if this table is 
&lt;code&gt; hbase:meta &lt;/code&gt; region<a name="line.245"></a>
+<span class="sourceLineNo">246</span>   */<a name="line.246"></a>
+<span class="sourceLineNo">247</span>  boolean isMetaRegion();<a 
name="line.247"></a>
+<span class="sourceLineNo">248</span><a name="line.248"></a>
+<span class="sourceLineNo">249</span>  /**<a name="line.249"></a>
+<span class="sourceLineNo">250</span>   * Checks if the table is a 
&lt;code&gt;hbase:meta&lt;/code&gt; table<a name="line.250"></a>
+<span class="sourceLineNo">251</span>   *<a name="line.251"></a>
+<span class="sourceLineNo">252</span>   * @return true if table is 
&lt;code&gt; hbase:meta &lt;/code&gt; region.<a name="line.252"></a>
+<span class="sourceLineNo">253</span>   */<a name="line.253"></a>
+<span class="sourceLineNo">254</span>  boolean isMetaTable();<a 
name="line.254"></a>
+<span class="sourceLineNo">255</span><a name="line.255"></a>
+<span class="sourceLineNo">256</span>  /**<a name="line.256"></a>
+<span class="sourceLineNo">257</span>   * Check if normalization enable flag 
of the table is true. If flag is false<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   * then no region normalizer won't 
attempt to normalize this table.<a name="line.258"></a>
+<span class="sourceLineNo">259</span>   *<a name="line.259"></a>
+<span class="sourceLineNo">260</span>   * @return true if region normalization 
is enabled for this table<a name="line.260"></a>
+<span class="sourceLineNo">261</span>   */<a name="line.261"></a>
+<span class="sourceLineNo">262</span>  boolean isNormalizationEnabled();<a 
name="line.262"></a>
+<span class="sourceLineNo">263</span><a name="line.263"></a>
+<span class="sourceLineNo">264</span>  /**<a name="line.264"></a>
+<span class="sourceLineNo">265</span>   * Check if the readOnly flag of the 
table is set. If the readOnly flag is set<a name="line.265"></a>
+<span class="sourceLineNo">266</span>   * then the contents of the table can 
only be read from but not modified.<a name="line.266"></a>
+<span class="sourceLineNo">267</span>   *<a name="line.267"></a>
+<span class="sourceLineNo">268</span>   * @return true if all columns in the 
table should be read only<a name="line.268"></a>
+<span class="sourceLineNo">269</span>   */<a name="line.269"></a>
+<span class="sourceLineNo">270</span>  boolean isReadOnly();<a 
name="line.270"></a>
+<span class="sourceLineNo">271</span><a name="line.271"></a>
+<span class="sourceLineNo">272</span>  /**<a name="line.272"></a>
+<span class="sourceLineNo">273</span>   * Check if any of the table's cfs' 
replication scope are set to<a name="line.273"></a>
+<span class="sourceLineNo">274</span>   * {@link 
HConstants#REPLICATION_SCOPE_GLOBAL}.<a name="line.274"></a>
+<span class="sourceLineNo">275</span>   * @return {@code true} if we have, 
otherwise {@code false}.<a name="line.275"></a>
+<span class="sourceLineNo">276</span>   */<a name="line.276"></a>
+<span class="sourceLineNo">277</span>  default boolean 
hasGlobalReplicationScope() {<a name="line.277"></a>
+<span class="sourceLineNo">278</span>    return 
Stream.of(getColumnFamilies())<a name="line.278"></a>
+<span class="sourceLineNo">279</span>      .anyMatch(cf -&gt; cf.getScope() == 
HConstants.REPLICATION_SCOPE_GLOBAL);<a name="line.279"></a>
+<span class="sourceLineNo">280</span>  }<a name="line.280"></a>
+<span class="sourceLineNo">281</span><a name="line.281"></a>
+<span class="sourceLineNo">282</span>  /**<a name="line.282"></a>
+<span class="sourceLineNo">283</span>   * Check if the table's cfs' 
replication scope matched with the replication state<a name="line.283"></a>
+<span class="sourceLineNo">284</span>   * @param enabled replication state<a 
name="line.284"></a>
+<span class="sourceLineNo">285</span>   * @return true if matched, otherwise 
false<a name="line.285"></a>
+<span class="sourceLineNo">286</span>   */<a name="line.286"></a>
+<span class="sourceLineNo">287</span>  default boolean 
matchReplicationScope(boolean enabled) {<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    boolean hasEnabled = false;<a 
name="line.288"></a>
+<span class="sourceLineNo">289</span>    boolean hasDisabled = false;<a 
name="line.289"></a>
+<span class="sourceLineNo">290</span><a name="line.290"></a>
+<span class="sourceLineNo">291</span>    for (ColumnFamilyDescriptor cf : 
getColumnFamilies()) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      if (cf.getScope() != 
HConstants.REPLICATION_SCOPE_GLOBAL) {<a name="line.292"></a>
+<span class="sourceLineNo">293</span>        hasDisabled = true;<a 
name="line.293"></a>
+<span class="sourceLineNo">294</span>      } else {<a name="line.294"></a>
+<span class="sourceLineNo">295</span>        hasEnabled = true;<a 
name="line.295"></a>
+<span class="sourceLineNo">296</span>      }<a name="line.296"></a>
 <span class="sourceLineNo">297</span>    }<a name="line.297"></a>
-<span class="sourceLineNo">298</span>    if (hasEnabled) {<a 
name="line.298"></a>
-<span class="sourceLineNo">299</span>      return enabled;<a 
name="line.299"></a>
-<span class="sourceLineNo">300</span>    }<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    return !enabled;<a 
name="line.301"></a>
-<span class="sourceLineNo">302</span>  }<a name="line.302"></a>
-<span class="sourceLineNo">303</span>}<a name="line.303"></a>
+<span class="sourceLineNo">298</span><a name="line.298"></a>
+<span class="sourceLineNo">299</span>    if (hasEnabled &amp;&amp; 
hasDisabled) {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      return false;<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    }<a name="line.301"></a>
+<span class="sourceLineNo">302</span>    if (hasEnabled) {<a 
name="line.302"></a>
+<span class="sourceLineNo">303</span>      return enabled;<a 
name="line.303"></a>
+<span class="sourceLineNo">304</span>    }<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    return !enabled;<a 
name="line.305"></a>
+<span class="sourceLineNo">306</span>  }<a name="line.306"></a>
+<span class="sourceLineNo">307</span>}<a name="line.307"></a>
 
 
 

Reply via email to