You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/03/20 17:33:38 UTC
[jira] [Commented] (AMBARI-10158) Implement time-interval spinner
widget for config
[ https://issues.apache.org/jira/browse/AMBARI-10158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371579#comment-14371579 ]
Hadoop QA commented on AMBARI-10158:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12705953/AMBARI-10158.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 2 new or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in .
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2103//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2103//console
This message is automatically generated.
> Implement time-interval spinner widget for config
> -------------------------------------------------
>
> Key: AMBARI-10158
> URL: https://issues.apache.org/jira/browse/AMBARI-10158
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.1.0
> Reporter: Oleg Nechiporenko
> Assignee: Oleg Nechiporenko
> Fix For: 2.1.0
>
> Attachments: AMBARI-10158.patch
>
>
> Multiple configs have time interval which is saved as milliseconds. However we need to use the theme to create a time-interval-spinner control which will allow user to set milliseconds using a more understandable hours/mins/seconds spinners.
> The configuration will be defined in the stack as
> {code}
> {
> "href" : "http://c6401:8080/api/v1/stacks/HDP/versions/2.2/services/HBASE/configurations/hbase.hregion.majorcompaction",
> "StackConfigurations" : {
> "final" : "false",
> "property_description" : "Time between major compactions",
> "property_name" : "hbase.hregion.majorcompaction",
> "property_type" : [ ],
> "property_value" : "604800000",// Recommended
> "property_value_attributes": {
> "type": "int",
> "minimum": "0",
> "maximum": "2592000000", // 30 days
> "unit": "milliseconds",
> },
> "service_name" : "HBASE",
> "stack_name" : "HDP",
> "stack_version" : "2.2",
> "type" : "hbase-site.xml"
> }
> }
> {code}
> The theme will have the widget defined as
> {code}
> "configs": [
> {
> "config": "hive-site/hive.exec.orc.default.compress",
> "widget": {
> "type": "time-interval-spinner",
> "units": [
> {
> "unit": "days,hours,minutes"
> }
> ]
> }
> }
> ]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)