HBase
  1. HBase
  2. HBASE-5856

byte <-> String is not consistent between HBaseAdmin and HRegionInfo

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.92.1
    • Fix Version/s: None
    • Component/s: Client
    • Labels:
      None

      Description

      In HBaseAdmin
      public void split(final String tableNameOrRegionName)
      throws IOException, InterruptedException

      { split(Bytes.toBytes(tableNameOrRegionName)); // string -> byte }

      In HRegionInfo
      this.regionNameStr = Bytes.toStringBinary(this.regionName); // byte -> string
      Should we use Bytes.toBytesBinary in HBaseAdmin ?

        Activity

        binlijin created issue -
        binlijin made changes -
        Field Original Value New Value
        Attachment HBASE-5856-0.92.patch [ 12523949 ]
        binlijin made changes -
        Affects Version/s 0.90.6 [ 12319200 ]
        binlijin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            binlijin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development