hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8486) IS_ROOT isnt needed in HTableDescriptor.
Date Thu, 27 Apr 2017 19:19:04 GMT

     [ https://issues.apache.org/jira/browse/HBASE-8486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Busbey updated HBASE-8486:
-------------------------------
    Status: Open  (was: Patch Available)

+1 after fixing this one thing:

{code}
 /**
    * <em>INTERNAL</em> Used by rest interface to access this metadata attribute
-   * which denotes if the table is a -ROOT- region or not.
-   */
-  public static final String IS_ROOT = "IS_ROOT";
-  private static final Bytes IS_ROOT_KEY
-          = new Bytes(Bytes.toBytes(IS_ROOT));
-
-  /**
-   * <em>INTERNAL</em> Used by rest interface to access this metadata attribute
-   * which denotes if it is a catalog table, either <code> hbase:meta </code>
or <code> -ROOT-
-   * </code>.
+   * which denotes if it is a catalog table, either <code> hbase:meta </code>.
    */
   public static final String IS_META = "IS_META";
{code}

rather than relying on saying "INTERNAL" in the javadocs, we should annotate this with IA.Private.

> IS_ROOT isnt needed in HTableDescriptor.
> ----------------------------------------
>
>                 Key: HBASE-8486
>                 URL: https://issues.apache.org/jira/browse/HBASE-8486
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Elliott Clark
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.0.0
>
>         Attachments: HBASE-8486.v0.patch, hlogptr-v1.patch
>
>
> HTableDescriptor has several vestigial references to the root region.  We should clean
these up.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message