hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1393168 - in /hbase/trunk: hbase-common/src/main/java/org/apache/hadoop/hbase/ hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/ hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/metrics/ hbase-hadoop2-compat/src/main/j...
Date Tue, 02 Oct 2012 20:42:57 GMT
Author: stack
Date: Tue Oct  2 20:42:55 2012
New Revision: 1393168

URL: http://svn.apache.org/viewvc?rev=1393168&view=rev
Log:
HBASE-6926 Cleanup some of the javadoc warnings

Modified:
    hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
    hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
    hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockType.java
    hbase/trunk/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseMetricsSourceImpl.java
    hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ClusterId.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseException.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseIOException.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HServerInfo.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/MasterAdminProtocol.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionTransition.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HConnection.java

Modified: hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java (original)
+++ hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java Tue Oct
 2 20:42:55 2012
@@ -543,11 +543,11 @@ public final class HConstants {
   /**
    * Parameter name for unique identifier for this {@link org.apache.hadoop.conf.Configuration}
    * instance. If there are two or more {@link org.apache.hadoop.conf.Configuration} instances
that,
-   * for all intents and purposes, are the same except for their instance ids,
-   * then they will not be able to share the same {@link org.apache.hadoop.hbase.client.HConnection}
instance.
-   * On the other hand, even if the instance ids are the same, it could result
-   * in non-shared {@link org.apache.hadoop.hbase.client.HConnection}
-   * instances if some of the other connection parameters differ.
+   * for all intents and purposes, are the same except for their instance ids, then they
will not be
+   * able to share the same org.apache.hadoop.hbase.client.HConnection instance. On the other
hand,
+   * even if the instance ids are the same, it could result in non-shared
+   * org.apache.hadoop.hbase.client.HConnection instances if some of the other connection
parameters
+   * differ.
    */
   public static String HBASE_CLIENT_INSTANCE_ID = "hbase.client.instance.id";
 

Modified: hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java (original)
+++ hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java Tue Oct 
2 20:42:55 2012
@@ -41,30 +41,25 @@ import org.apache.hadoop.io.Writable;
 import com.google.common.primitives.Longs;
 
 /**
- * An HBase Key/Value.  This is the fundamental HBase Type.
- *
- * <p>If being used client-side, the primary methods to access individual fields
- * are {@link #getRow()}, {@link #getFamily()}, {@link #getQualifier()},
- * {@link #getTimestamp()}, and {@link #getValue()}.  These methods allocate new
- * byte arrays and return copies. Avoid their use server-side.
- *
- * <p>Instances of this class are immutable.  They do not implement Comparable
- * but Comparators are provided.  Comparators change with context,
- * whether user table or a catalog table comparison.  Its critical you use the
- * appropriate comparator.  There are Comparators for KeyValue instances and
- * then for just the Key portion of a KeyValue used mostly by {@link HFile}.
- *
- * <p>KeyValue wraps a byte array and takes offsets and lengths into passed
- * array at where to start interpreting the content as KeyValue.  The KeyValue
- * format inside a byte array is:
- * <code>&lt;keylength> &lt;valuelength> &lt;key> &lt;value></code>
- * Key is further decomposed as:
+ * An HBase Key/Value. This is the fundamental HBase Type.
+ * <p>
+ * If being used client-side, the primary methods to access individual fields are {@link
#getRow()},
+ * {@link #getFamily()}, {@link #getQualifier()}, {@link #getTimestamp()}, and {@link #getValue()}.
+ * These methods allocate new byte arrays and return copies. Avoid their use server-side.
+ * <p>
+ * Instances of this class are immutable. They do not implement Comparable but Comparators
are
+ * provided. Comparators change with context, whether user table or a catalog table comparison.
Its
+ * critical you use the appropriate comparator. There are Comparators for KeyValue instances
and
+ * then for just the Key portion of a KeyValue used mostly by HFile.
+ * <p>
+ * KeyValue wraps a byte array and takes offsets and lengths into passed array at where to
start
+ * interpreting the content as KeyValue. The KeyValue format inside a byte array is:
+ * <code>&lt;keylength> &lt;valuelength> &lt;key> &lt;value></code>
Key is further decomposed as:
  * <code>&lt;rowlength> &lt;row> &lt;columnfamilylength> &lt;columnfamily>
&lt;columnqualifier> &lt;timestamp> &lt;keytype></code>
- * The <code>rowlength</code> maximum is <code>Short.MAX_SIZE</code>,
- * column family length maximum is
- * <code>Byte.MAX_SIZE</code>, and column qualifier + key length must
- * be < <code>Integer.MAX_SIZE</code>.
- * The column does not contain the family/qualifier delimiter, {@link #COLUMN_FAMILY_DELIMITER}
+ * The <code>rowlength</code> maximum is <code>Short.MAX_SIZE</code>,
column family length maximum
+ * is <code>Byte.MAX_SIZE</code>, and column qualifier + key length must be <
+ * <code>Integer.MAX_SIZE</code>. The column does not contain the family/qualifier
delimiter,
+ * {@link #COLUMN_FAMILY_DELIMITER}
  */
 @InterfaceAudience.Public
 @InterfaceStability.Evolving

Modified: hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockType.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockType.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockType.java
(original)
+++ hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockType.java
Tue Oct  2 20:42:55 2012
@@ -29,9 +29,8 @@ import org.apache.hadoop.classification.
 import org.apache.hadoop.hbase.util.Bytes;
 
 /**
- * Various types of {@link HFile} blocks. Ordinal values of these enum constants
- * must not be relied upon. The values in the enum appear in the order they
- * appear in a version 2 {@link HFile}.
+ * Various types of HFile blocks. Ordinal values of these enum constants must not be relied
upon.
+ * The values in the enum appear in the order they appear in a version 2 HFile.
  */
 @InterfaceAudience.Private
 public enum BlockType {

Modified: hbase/trunk/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseMetricsSourceImpl.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseMetricsSourceImpl.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseMetricsSourceImpl.java
(original)
+++ hbase/trunk/hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseMetricsSourceImpl.java
Tue Oct  2 20:42:55 2012
@@ -167,7 +167,7 @@ public class BaseMetricsSourceImpl imple
 
   /**
    * Used to get at the DynamicMetricsRegistry.
-   * @return
+   * @return DynamicMetricsRegistry
    */
   protected DynamicMetricsRegistry getMetricsRegistry() {
     return metricsRegistry;

Modified: hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java
(original)
+++ hbase/trunk/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java
Tue Oct  2 20:42:55 2012
@@ -414,7 +414,6 @@ public class DynamicMetricsRegistry {
    *
    * @param gaugeName              name of the gauge to create or get.
    * @param potentialStartingValue value of the new gauge if we have to create it.
-   * @return
    */
   public MutableGaugeLong getLongGauge(String gaugeName, long potentialStartingValue) {
     //Try and get the guage.
@@ -450,7 +449,6 @@ public class DynamicMetricsRegistry {
    *
    * @param counterName            Name of the counter to get
    * @param potentialStartingValue starting value if we have to create a new counter
-   * @return
    */
   public MutableCounterLong getLongCounter(String counterName, long potentialStartingValue)
{
     //See getLongGauge for description on how this works.

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ClusterId.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ClusterId.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ClusterId.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ClusterId.java Tue Oct
 2 20:42:55 2012
@@ -58,7 +58,7 @@ public class ClusterId {
    * @param bytes A pb serialized {@link ClusterId} instance with pb magic prefix
    * @return An instance of {@link ClusterId} made from <code>bytes</code>
    * @throws DeserializationException
-   * @see {@link #toByteArray()}
+   * @see #toByteArray()
    */
   public static ClusterId parseFrom(final byte [] bytes) throws DeserializationException
{
     if (ProtobufUtil.isPBMagicPrefix(bytes)) {

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseException.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseException.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseException.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseException.java Tue
Oct  2 20:42:55 2012
@@ -21,7 +21,7 @@ import org.apache.hadoop.classification.
 
 /**
  * Base checked exception in HBase.
- * @see https://issues.apache.org/jira/browse/HBASE-5796
+ * @see <a href="https://issues.apache.org/jira/browse/HBASE-5796">HBASE-5796</a>
  */
 @SuppressWarnings("serial")
 @InterfaceAudience.Private

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseIOException.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseIOException.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseIOException.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseIOException.java Tue
Oct  2 20:42:55 2012
@@ -35,23 +35,14 @@ public class HBaseIOException extends IO
     super();
   }
 
-  /**
-   * {@inheritDoc}
-   */
   public HBaseIOException(String message) {
     super(message);
   }
 
-  /**
-   * {@inheritDoc}
-   **/
   public HBaseIOException(String message, Throwable cause) {
       super(message, cause);
   }
 
-  /**
-   * {@inheritDoc}
-   */
   public HBaseIOException(Throwable cause) {
       super(cause);
   }}

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
Tue Oct  2 20:42:55 2012
@@ -1086,7 +1086,7 @@ public class HColumnDescriptor implement
 
   /**
    * @return This instance serialized with pb with pb magic prefix
-   * @see {@link #parseFrom(byte[])}
+   * @see #parseFrom(byte[])
    */
   public byte [] toByteArray() {
     return ProtobufUtil.prependPBMagic(convert().toByteArray());
@@ -1096,7 +1096,7 @@ public class HColumnDescriptor implement
    * @param bytes A pb serialized {@link HColumnDescriptor} instance with pb magic prefix
    * @return An instance of {@link HColumnDescriptor} made from <code>bytes</code>
    * @throws DeserializationException
-   * @see {@link #toByteArray()}
+   * @see #toByteArray()
    */
   public static HColumnDescriptor parseFrom(final byte [] bytes) throws DeserializationException
{
     if (!ProtobufUtil.isPBMagicPrefix(bytes)) throw new DeserializationException("No magic");

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java Tue Oct
 2 20:42:55 2012
@@ -731,8 +731,8 @@ public class HRegionInfo implements Comp
   }
 
   /**
-   * @deprecated Use protobuf deserialization instead. See {@link #parseFrom(byte[])} and
-   * {@link #parseFrom(FSDataInputStream)}
+   * @deprecated Use protobuf deserialization instead. 
+   * @see #parseFrom(byte[])
    */
   @Deprecated
   public void readFields(DataInput in) throws IOException {
@@ -914,7 +914,7 @@ public class HRegionInfo implements Comp
 
   /**
    * @return This instance serialized as protobuf w/ a magic pb prefix.
-   * @see #parseFrom(byte[]);
+   * @see #parseFrom(byte[])
    */
   public byte [] toByteArray() {
     byte [] bytes = convert().toByteArray();
@@ -924,7 +924,7 @@ public class HRegionInfo implements Comp
   /**
    * @param bytes
    * @return A deserialized {@link HRegionInfo} or null if we failed deserialize or passed
bytes null
-   * @see {@link #toByteArray()}
+   * @see #toByteArray()
    */
   public static HRegionInfo parseFromOrNull(final byte [] bytes) {
     if (bytes == null || bytes.length <= 0) return null;
@@ -939,7 +939,7 @@ public class HRegionInfo implements Comp
    * @param bytes A pb RegionInfo serialized with a pb magic prefix.
    * @return A deserialized {@link HRegionInfo}
    * @throws DeserializationException
-   * @see {@link #toByteArray()}
+   * @see #toByteArray()
    */
   public static HRegionInfo parseFrom(final byte [] bytes) throws DeserializationException
{
     if (ProtobufUtil.isPBMagicPrefix(bytes)) {
@@ -967,7 +967,7 @@ public class HRegionInfo implements Comp
    * the pb mergeDelimitedFrom (w/o the delimiter, pb reads to EOF which may not be what
you want).
    * @return This instance serialized as a delimited protobuf w/ a magic pb prefix.
    * @throws IOException
-   * @see {@link #toByteArray()}
+   * @see #toByteArray()
    */
   public byte [] toDelimitedByteArray() throws IOException {
     return ProtobufUtil.toDelimitedByteArray(convert());
@@ -1096,7 +1096,7 @@ public class HRegionInfo implements Comp
    * @param infos HRegionInfo objects to serialize
    * @return This instance serialized as a delimited protobuf w/ a magic pb prefix.
    * @throws IOException
-   * @see {@link #toByteArray()}
+   * @see #toByteArray()
    */
   public static byte[] toDelimitedByteArray(HRegionInfo... infos) throws IOException {
     byte[][] bytes = new byte[infos.length][];

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HServerInfo.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HServerInfo.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HServerInfo.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HServerInfo.java Tue Oct
 2 20:42:55 2012
@@ -33,11 +33,11 @@ import org.apache.hadoop.io.WritableComp
  * {@link HServerAddress}, its webui port, and its server startcode.  It was
  * used to pass meta info about a server across an RPC but we've since made
  * it so regionserver info is up in ZooKeeper and so this class is on its
- * way out. It used to carry {@link HServerLoad} but as off HBase 0.92.0, the
+ * way out. It used to carry HServerLoad but as off HBase 0.92.0, the
  * HServerLoad is passed independent of this class. Also, we now no longer pass
  * the webui from regionserver to master (TODO: Fix).
  * @deprecated Use {@link InetSocketAddress} and or {@link ServerName} and or
- * {@link HServerLoad}
+ * HServerLoad
  */
 public class HServerInfo extends VersionedWritable
 implements WritableComparable<HServerInfo> {

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java Tue
Oct  2 20:42:55 2012
@@ -899,7 +899,7 @@ public class HTableDescriptor implements
   /**
    * <em> INTERNAL </em> This method is a part of {@link WritableComparable}
interface 
    * and is used for serialization of the HTableDescriptor over RPC
-   * @deprecated Writables are going away.  Use pb {@link #toByteArray()(byte[])} instead.
+   * @deprecated Writables are going away.  Use pb {@link #toByteArray(byte[])} instead.
    */
   @Deprecated
   @Override
@@ -1231,7 +1231,7 @@ public class HTableDescriptor implements
 
   /**
    * @return This instance serialized with pb with pb magic prefix
-   * @see {@link #parseFrom(byte[])}
+   * @see #parseFrom(byte[])
    */
   public byte [] toByteArray() {
     return ProtobufUtil.prependPBMagic(convert().toByteArray());
@@ -1242,7 +1242,7 @@ public class HTableDescriptor implements
    * @return An instance of {@link HTableDescriptor} made from <code>bytes</code>
    * @throws DeserializationException
    * @throws IOException 
-   * @see {@link #toByteArray()}
+   * @see #toByteArray()
    */
   public static HTableDescriptor parseFrom(final byte [] bytes)
   throws DeserializationException, IOException {

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/MasterAdminProtocol.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/MasterAdminProtocol.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/MasterAdminProtocol.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/MasterAdminProtocol.java
Tue Oct  2 20:42:55 2012
@@ -153,7 +153,7 @@ public interface MasterAdminProtocol ext
   /**
    * Unassign a region from current hosting regionserver.  Region will then be
    * assigned to a regionserver chosen at random.  Region could be reassigned
-   * back to the same server.  Use {@link #moveRegion(RpcController,MoveRegionRequest}
+   * back to the same server.  Use {@link #moveRegion(RpcController,MoveRegionRequest)}
    * if you want to control the region movement.
    * @param controller Unused (set to null).
    * @param req The request that contains:<br>

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionTransition.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionTransition.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionTransition.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionTransition.java Tue
Oct  2 20:42:55 2012
@@ -31,7 +31,7 @@ import com.google.protobuf.InvalidProtoc
  * Current state of a region in transition.  Holds state of a region as it moves through
the
  * steps that take it from offline to open, etc.  Used by regionserver, master, and zk packages.
  * Encapsulates protobuf serialization/deserialization so we don't leak generated pb outside
this
- * class.  Create an instance using {@link #createRegionTransition(EventType, byte[], ServerName)}.
+ * class.  Create an instance using createRegionTransition(EventType, byte[], ServerName).
  * <p>Immutable
  */
 @InterfaceAudience.Private
@@ -85,7 +85,6 @@ public class RegionTransition {
    * @param regionName
    * @param sn
    * @return a serialized pb {@link RegionTransition}
-   * @see #parseRegionTransition(byte[])
    */
   public static RegionTransition createRegionTransition(final EventType type,
       final byte [] regionName, final ServerName sn) {
@@ -98,7 +97,6 @@ public class RegionTransition {
    * @param sn
    * @param payload May be null
    * @return a serialized pb {@link RegionTransition}
-   * @see #parseRegionTransition(byte[])
    */
   public static RegionTransition createRegionTransition(final EventType type,
       final byte [] regionName, final ServerName sn, final byte [] payload) {

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
Tue Oct  2 20:42:55 2012
@@ -458,7 +458,7 @@ public class HBaseAdmin implements Abort
   /**
    * Creates a new table but does not block and wait for it to come online.
    * Asynchronous operation.  To check if the table exists, use
-   * {@link: #isTableAvailable} -- it is not safe to create an HTable
+   * {@link: #isTableAvailable()} -- it is not safe to create an HTable
    * instance to this table before it is available.
    * Note : Avoid passing empty split key.
    * @param desc table descriptor for table

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HConnection.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HConnection.java?rev=1393168&r1=1393167&r2=1393168&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HConnection.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HConnection.java
Tue Oct  2 20:42:55 2012
@@ -252,7 +252,6 @@ public interface HConnection extends Abo
    * @return an object of type T
    * @throws IOException if a remote or network exception occurs
    * @throws RuntimeException other unspecified error
-   * @deprecated Use {@link HConnectionManager#withoutRetries(ServerCallable)}
    */
   @Deprecated
   public <T> T getRegionServerWithRetries(ServerCallable<T> callable)
@@ -266,7 +265,6 @@ public interface HConnection extends Abo
    * @return an object of type T
    * @throws IOException if a remote or network exception occurs
    * @throws RuntimeException other unspecified error
-   * @deprecated Use {@link HConnectionManager#withoutRetries(ServerCallable)}
    */
   @Deprecated
   public <T> T getRegionServerWithoutRetries(ServerCallable<T> callable)



Mime
View raw message