flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLUME-3095) Add units for time and capacity-related configurations
Date Mon, 22 May 2017 23:12:04 GMT

    [ https://issues.apache.org/jira/browse/FLUME-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16020374#comment-16020374

ASF GitHub Bot commented on FLUME-3095:

GitHub user iaiengxia opened a pull request:


    add capacity unit

    By the way I want to ask, how to modify the **User Guide Documentation**

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/iaiengxia/flume trunk

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #135
commit 4b7a79504458656cde564bd0601d7e39114e2f10
Author: xls <iaieng@163.com>
Date:   2017-05-22T12:21:07Z

    add capacity unit


> Add units for time and capacity-related configurations
> ------------------------------------------------------
>                 Key: FLUME-3095
>                 URL: https://issues.apache.org/jira/browse/FLUME-3095
>             Project: Flume
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 2.0.0
>            Reporter: Lisheng Xia
> In the configuration file, the capacity and time-related configuration can not set the
unit, only the default unit, the default unit of capacity is byte, the default unit of time
is milliseconds, so need to convert (for example, 2g converted to 2147483648), so not It is
easy to configure the attribute is not easy to read again, so prepare the capacity type configuration
new unit: g / m / k / b (no unit defaults to byte), the time type configuration new unit:
h / m / s / ms ( No unit defaults to ms).

This message was sent by Atlassian JIRA

View raw message