Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26964

Fix java import in admin.rb

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-3
    • shell
    • None

    Description

      The java_import for MobCompactPartitionPolicy in admin.rb is missed, which cause an error message for creating table.

      hbase:006:0> create 't2', {NAME => 'f', IS_MOB => true, MOB_THRESHOLD => 1000000, MOB_COMPACT_PARTITION_POLICY => 'weekly'}
      ERROR: uninitialized constant Hbase::Admin::MobCompactPartitionPolicy
      Did you mean?  Hbase::Admin::MOB_COMPACT_PARTITION_POLICY
      For usage try 'help "create"'
      Took 0.6897 seconds
      hbase:007:0> 

      Attachments

        Issue Links

          Activity

            People

              liangxs Xuesen Liang
              liangxs Xuesen Liang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: