Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Flume, mail # dev - Review Request: Added new config 'shell' for Exec source


+
Roshan Naik 2012-10-26, 18:15
Copy link to this message
-
Re: Review Request: Added new config 'shell' for Exec source
Mike Percy 2012-11-02, 10:02

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/7748/#review13034
-----------------------------------------------------------
Hey Roshan, we should add a pointer back to https://issues.apache.org/jira/browse/FLUME-1661

Also we need a more complex test case to ensure escaping of double-quotes and nested quotes works. Would be good to read those values from a properties file (we can check it into src/test/resources) so that the string decoding is the same as it would be with a Flume config file in normal use.

- Mike Percy
On Oct. 26, 2012, 6:15 p.m., Roshan Naik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/7748/
> -----------------------------------------------------------
>
> (Updated Oct. 26, 2012, 6:15 p.m.)
>
>
> Review request for Flume.
>
>
> Description
> -------
>
> Added new optional config directive 'shell' for Exec Source. One can specify how to invoke a shell to run the command (e.g. /bin/sh -c) . This is only needed for commands that use features like wildcards, backticks, pipes, etc that are supported by the shell.
>
>
> Diffs
> -----
>
>   flume-ng-core/src/main/java/org/apache/flume/source/ExecSource.java 46f672f
>   flume-ng-core/src/main/java/org/apache/flume/source/ExecSourceConfigurationConstants.java 0ba0508
>   flume-ng-core/src/test/java/org/apache/flume/source/TestExecSource.java 8bcf320
>   flume-ng-doc/sphinx/FlumeUserGuide.rst 29ead84
>
> Diff: https://reviews.apache.org/r/7748/diff/
>
>
> Testing
> -------
>
> Have added a few test cases for both simple and more complex commands.
>
>
> Thanks,
>
> Roshan Naik
>
>

+
Roshan Naik 2012-11-03, 00:01
+
Roshan Naik 2012-11-03, 02:31
+
Roshan Naik 2012-11-03, 00:02
+
Brock Noland 2012-11-03, 03:51
+
Roshan Naik 2012-11-06, 21:38
+
Roshan Naik 2012-11-06, 21:52
+
Alexander Alten-Lorenz 2013-01-24, 10:43
+
Brock Noland 2013-01-28, 19:27
+
Roshan Naik 2013-03-06, 06:50
+
Brock Noland 2013-03-06, 12:55
+
Roshan Naik 2013-03-06, 21:08
+
Brock Noland 2013-03-06, 23:03
+
Roshan Naik 2013-03-07, 19:25
+
Brock Noland 2013-03-07, 20:45
+
Brock Noland 2013-03-11, 19:17
+
Jarek Cecho 2012-10-26, 18:58
+
Roshan Naik 2012-11-03, 00:03