You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Pankaj Kumar (Jira)" <ji...@apache.org> on 2022/04/21 17:45:00 UTC
[jira] [Resolved] (HBASE-26964) Fix java import in admin.rb
[ https://issues.apache.org/jira/browse/HBASE-26964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pankaj Kumar resolved HBASE-26964.
----------------------------------
Fix Version/s: 3.0.0-alpha-3
Resolution: Fixed
Thanks [~liangxs] for the contribution.
> 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
> Priority: Minor
> Fix For: 3.0.0-alpha-3
>
>
> 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)