hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1512518 - in /hbase/branches/0.95: hbase-client/src/main/java/org/apache/hadoop/hbase/client/ hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ hbase-server/src/main/java/org/apache/hadoop/hbase/master/ hbase-server/src/main/jav...
Date Fri, 09 Aug 2013 22:48:47 GMT
Author: stack
Date: Fri Aug  9 22:48:46 2013
New Revision: 1512518

URL: http://svn.apache.org/r1512518
Log:
HBASE-9181 Fix javadoc warnings introduce by namespaces

Modified:
    hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
    hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterServices.java
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableNamespaceManager.java
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/FileCleanerDelegate.java
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java

Modified: hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java?rev=1512518&r1=1512517&r2=1512518&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
(original)
+++ hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
Fri Aug  9 22:48:46 2013
@@ -2110,7 +2110,7 @@ public class HBaseAdmin implements Abort
   /**
    * Get a namespace descriptor by name
    * @param name name of namespace descriptor
-   * @return
+   * @return A descriptor
    * @throws IOException
    */
   public NamespaceDescriptor getNamespaceDescriptor(final String name) throws IOException
{
@@ -2128,7 +2128,7 @@ public class HBaseAdmin implements Abort
 
   /**
    * List available namespace descriptors
-   * @return
+   * @return List of descriptors
    * @throws IOException
    */
   public NamespaceDescriptor[] listNamespaceDescriptors() throws IOException {
@@ -2152,7 +2152,7 @@ public class HBaseAdmin implements Abort
   /**
    * Get list of table descriptors by namespace
    * @param name namespace name
-   * @return
+   * @return A descriptor
    * @throws IOException
    */
   public HTableDescriptor[] getTableDescriptorsByNamespace(final String name) throws IOException
{
@@ -2270,7 +2270,7 @@ public class HBaseAdmin implements Abort
 
   /**
    * Get tableDescriptors
-   * @param tableNames List of table names
+   * @param names List of table names
    * @return HTD[] the tableDescriptor
    * @throws IOException if a remote or network exception occurs
    */
@@ -2453,8 +2453,7 @@ public class HBaseAdmin implements Abort
     * snapshot with the same name (even a different type or with different parameters) will
fail with
     * a {@link SnapshotCreationException} indicating the duplicate naming.
     * <p>
-    * Snapshot names follow the same naming constraints as tables in HBase. See
-    * {@link HTableDescriptor#isLegalTableName(byte[])}.
+    * Snapshot names follow the same naming constraints as tables in HBase.
     * @param snapshotName name of the snapshot to be created
     * @param tableName name of the table for which snapshot is created
     * @throws IOException if a remote or network exception occurs

Modified: hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java?rev=1512518&r1=1512517&r2=1512518&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java
(original)
+++ hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java
Fri Aug  9 22:48:46 2013
@@ -461,10 +461,10 @@ public final class RequestConverter {
     builder.setScannerId(scannerId);
     return builder.build();
   }
-  
+
   /**
    * Create a protocol buffer ScanRequest for a scanner id
-   * 
+   *
    * @param scannerId
    * @param numberOfRows
    * @param closeScanner
@@ -1073,7 +1073,7 @@ public final class RequestConverter {
   /**
    * Creates a protocol buffer ModifyTableRequest
    *
-   * @param table
+   * @param tableName
    * @param hTableDesc
    * @return a ModifyTableRequest
    */

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterServices.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterServices.java?rev=1512518&r1=1512517&r2=1512518&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterServices.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterServices.java
Fri Aug  9 22:48:46 2013
@@ -215,14 +215,14 @@ public interface MasterServices extends 
   /**
    * Get a namespace descriptor by name
    * @param name name of namespace descriptor
-   * @return
+   * @return A descriptor
    * @throws IOException
    */
   public NamespaceDescriptor getNamespaceDescriptor(String name) throws IOException;
 
   /**
    * List available namespace descriptors
-   * @return
+   * @return A descriptor
    * @throws IOException
    */
   public List<NamespaceDescriptor> listNamespaceDescriptors() throws IOException;
@@ -230,7 +230,7 @@ public interface MasterServices extends 
   /**
    * Get list of table descriptors by namespace
    * @param name namespace name
-   * @return
+   * @return A descriptor
    * @throws IOException
    */
   public List<HTableDescriptor> getTableDescriptorsByNamespace(String name) throws
IOException;

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableNamespaceManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableNamespaceManager.java?rev=1512518&r1=1512517&r2=1512518&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableNamespaceManager.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableNamespaceManager.java
Fri Aug  9 22:48:46 2013
@@ -51,7 +51,7 @@ import org.apache.hadoop.hbase.util.FSUt
 
 /**
  * This is a helper class used to manage the namespace
- * metadata that is stored in {@see HConstants.NAMESPACE_TABLE_NAME}
+ * metadata that is stored in TableName.NAMESPACE_TABLE_NAME
  * It also mirrors updates to the ZK store by forwarding updates to
  * {@link org.apache.hadoop.hbase.ZKNamespaceManager}
  */

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/FileCleanerDelegate.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/FileCleanerDelegate.java?rev=1512518&r1=1512517&r2=1512518&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/FileCleanerDelegate.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/cleaner/FileCleanerDelegate.java
Fri Aug  9 22:48:46 2013
@@ -31,7 +31,6 @@ import org.apache.hadoop.hbase.Stoppable
 public interface FileCleanerDelegate extends Configurable, Stoppable {
   /**
    * Should the master delete the file or keep it?
-   * @param file full path to the file to check
    * @param fStat file status of the file to check
    * @return <tt>true</tt> if the file is deletable, <tt>false</tt>
if not
    */

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java?rev=1512518&r1=1512517&r2=1512518&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
Fri Aug  9 22:48:46 2013
@@ -1136,7 +1136,6 @@ public abstract class FSUtils {
    * the table directory under
    * path rootdir
    *
-   * @param rootdir qualified path of HBase root directory
    * @param tablePath path of table
    * @return {@link org.apache.hadoop.fs.Path} for table
    */



Mime
View raw message