[ 
https://issues.apache.org/jira/browse/HBASE-6425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417910#comment-13417910
 ] 

Todd Lipcon commented on HBASE-6425:
------------------------------------

We can't change the unit of an existing parameter.

And even though it's _usually_ a big unit, in tests and things it can be useful 
to set it to something in the second range.

I'd be +1 on a patch to hadoop common which adds a 
{{Configuration.getTimeInterval(String key, int default, TimeUnit 
defaultUnit)}}. Then define standard suffixes for millis, seconds, hours, etc, 
and even make it deprecated to specify a time _without_ the suffix. Then you 
could write "10h" or "1ms" and be correct either way. Seem useful? If so, I'll 
file.
                
> Change unit for hbase.hregion.majorcompaction to hours
> ------------------------------------------------------
>
>                 Key: HBASE-6425
>                 URL: https://issues.apache.org/jira/browse/HBASE-6425
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Vikram Srivastava
>
> Currently it needs to be specified in millisecs when it usually is a big 
> duration. It would make more sense to specify it in hours.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to