You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/12/07 06:25:00 UTC
[jira] [Commented] (HBASE-19340) Backport missing options in shell
[ https://issues.apache.org/jira/browse/HBASE-19340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16281384#comment-16281384 ]
Hudson commented on HBASE-19340:
--------------------------------
FAILURE: Integrated in Jenkins build HBase-1.2-IT #1037 (See [https://builds.apache.org/job/HBase-1.2-IT/1037/])
HBASE-19340 Backport missing options in shell (chia7712: rev 45e230959bf141550cadd69a4c0a078c6fd1c2ee)
* (edit) hbase-shell/src/test/ruby/hbase/admin_test.rb
* (edit) hbase-shell/src/main/ruby/hbase/admin.rb
> Backport missing options in shell
> ---------------------------------
>
> Key: HBASE-19340
> URL: https://issues.apache.org/jira/browse/HBASE-19340
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 1.2.6
> Reporter: zhaoyuan
> Assignee: zhaoyuan
> Fix For: 1.3.2, 1.2.7
>
> Attachments: HBASE-19340-branch-1.2.batch, HBASE-19340-branch-1.2.batch, HBASE-19340-branch-1.3.batch
>
>
> Recently I wanna try to alter the split policy for a table on my cluster which version is 1.2.6 and as far as I know The SPLIT_POLICY is an attribute of the HTable so I run the command in hbase shell console below.
> alter 'tablex',SPLIT_POLICY => 'org.apache.hadoop.hbase.regionserver.DisabledRegionSplitPolicy'
> However, It gave the information like this and I confused
> Unknown argument ignored: SPLIT_POLICY
> Updating all regions with the new schema...
> So I check the source code That admin.rb might miss the setting for this argument .
> htd.setMaxFileSize(JLong.valueOf(arg.delete(MAX_FILESIZE))) if arg[MAX_FILESIZE]
> htd.setReadOnly(JBoolean.valueOf(arg.delete(READONLY))) if arg[READONLY]
> ...
> So I think it may be a bug ,is it?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)