-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/49635/#review140772
-----------------------------------------------------------


Ship it!




Ship It!

- Oliver Szabo


On July 5, 2016, 1:57 p.m., Miklos Gergely wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49635/
> -----------------------------------------------------------
> 
> (Updated July 5, 2016, 1:57 p.m.)
> 
> 
> Review request for Ambari, Oliver Szabo, Robert Nettleton, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-17561
>     https://issues.apache.org/jira/browse/AMBARI-17561
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Enable simulating input files in a configurable way. The parameters has to be 
> set at custom logfeeder.properties
> 
> Available parameters:
> logfeeder.simulate.input_number - number of paralell inputs (threads) loading 
> the logs, if it is set and not 0 then all the rest of the configured inputs 
> are ignored (running in simulation mode)!!
> 
> logfeeder.simulate.log_ids - comma separated list of the log ids to propagate 
> at random, if not set by default all the available logs are propagated at 
> random
> 
> logfeeder.simulate.log_level - the level of the simulated log messages, by 
> default WARN
> 
> logfeeder.simulate.log_message_size - the length of the simulated log 
> messages, can't be less then 50 due to log message prefix, the rest is filled 
> with 'X' characters
> 
> logfeeder.simulate.sleep_milliseconds - the time interval at which each 
> simulated inputs writes one log message at random
> 
> The text of the log message is like this:
> Simulated log message for testing, line 00000001 XXXXXXXXXXXXXXXXXXXXXXXXXX
> 
> 
> Diffs
> -----
> 
>   
> ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/LogFeeder.java
>  88a6737 
>   
> ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/input/InputSimulate.java
>  PRE-CREATION 
>   
> ambari-logsearch/ambari-logsearch-logfeeder/src/main/resources/alias_config.json
>  978f581 
> 
> Diff: https://reviews.apache.org/r/49635/diff/
> 
> 
> Testing
> -------
> 
> Tested on local cluster.
> 
> 
> Thanks,
> 
> Miklos Gergely
> 
>

Reply via email to