Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.4.14
-
None
-
None
-
Reviewed
Description
create 'test','f1'
alter 'test',{NAME=>'f1',TTL=>'111x'}
hbase:001:0> alter 'test',{NAME=>'f1',TTL=>'111x'} ERROR: org.apache.hadoop.hbase.DoNotRetryIOException: TTL for column family f1 must be positive. Set hbase.table.sanity.checks to false at conf or table descriptor if you want to bypass sanity checks at org.apache.hadoop.hbase.util.TableDescriptorChecker.warnOrThrowExceptionForFailure(TableDescriptorChecker.java:321) at org.apache.hadoop.hbase.util.TableDescriptorChecker.sanityCheck(TableDescriptorChecker.java:165) at org.apache.hadoop.hbase.master.HMaster$14.run(HMaster.java:2666) at org.apache.hadoop.hbase.master.procedure.MasterProcedureUtil.submitProcedure(MasterProcedureUtil.java:132) at org.apache.hadoop.hbase.master.HMaster.modifyTable(HMaster.java:2660) at org.apache.hadoop.hbase.master.HMaster.modifyTable(HMaster.java:2698) at org.apache.hadoop.hbase.master.MasterRpcServices.modifyTable(MasterRpcServices.java:1554) at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:477) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:123) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:369) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:349)For usage try 'help "alter"'
it is misleading..
we need tell user wether theire command is wrong..
some times we copy some string which may have some invisible characters, we need let user to check it
Attachments
Issue Links
- links to