You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Xuesen Liang (Jira)" <ji...@apache.org> on 2022/04/21 04:22:00 UTC

[jira] [Created] (HBASE-26964) Fix java import in admin.rb

Xuesen Liang created HBASE-26964:
------------------------------------

             Summary: Fix java import in admin.rb
                 Key: HBASE-26964
                 URL: https://issues.apache.org/jira/browse/HBASE-26964
             Project: HBase
          Issue Type: Bug
          Components: shell
            Reporter: Xuesen Liang
            Assignee: Xuesen Liang


The java_import for MobCompactPartitionPolicy in admin.rb is missed, which cause an error message for creating table.
{code:bash}
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> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)