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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development