flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject [2/3] git commit: FLUME-1750: File spooling client uses -D as command line option
Date Thu, 29 Nov 2012 20:33:50 GMT
FLUME-1750: File spooling client uses -D as command line option

(Brock Noland via Brock Noland)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/89e9c2e3
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/89e9c2e3
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/89e9c2e3

Branch: refs/heads/flume-1.3.0
Commit: 89e9c2e3a7a7d058fedde5d0028b64709ef86a53
Parents: 1b3eb8b
Author: Brock Noland <brock@apache.org>
Authored: Thu Nov 29 14:27:45 2012 -0600
Committer: Brock Noland <brock@apache.org>
Committed: Thu Nov 29 14:28:02 2012 -0600

----------------------------------------------------------------------
 bin/flume-ng                                       |    1 +
 .../apache/flume/client/avro/AvroCLIClient.java    |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/89e9c2e3/bin/flume-ng
----------------------------------------------------------------------
diff --git a/bin/flume-ng b/bin/flume-ng
index 62e9bba..31f62ef 100755
--- a/bin/flume-ng
+++ b/bin/flume-ng
@@ -190,6 +190,7 @@ agent options:
   --help,-h             display help text
 
 avro-client options:
+  --dirname <dir>       directory to stream to avro source
   --host,-H <host>      hostname to which events will be sent (required)
   --port,-p <port>      port of the avro source (required)
   --filename,-F <file>  text file to stream to avro source [default: std input]

http://git-wip-us.apache.org/repos/asf/flume/blob/89e9c2e3/flume-ng-core/src/main/java/org/apache/flume/client/avro/AvroCLIClient.java
----------------------------------------------------------------------
diff --git a/flume-ng-core/src/main/java/org/apache/flume/client/avro/AvroCLIClient.java b/flume-ng-core/src/main/java/org/apache/flume/client/avro/AvroCLIClient.java
index fd0d44f..37e9ffa 100644
--- a/flume-ng-core/src/main/java/org/apache/flume/client/avro/AvroCLIClient.java
+++ b/flume-ng-core/src/main/java/org/apache/flume/client/avro/AvroCLIClient.java
@@ -124,7 +124,7 @@ public class AvroCLIClient {
     options.addOption("p", "port", true, "port of the avro source")
         .addOption("H", "host", true, "hostname of the avro source")
         .addOption("F", "filename", true, "file to stream to avro source")
-        .addOption("D", "dirname", true, "directory to stream to avro source")
+        .addOption(null, "dirname", true, "directory to stream to avro source")
         .addOption("R", "headerFile", true, ("file containing headers as " +
             "key/value pairs on each new line"))
         .addOption("h", "help", false, "display help text");


Mime
View raw message