flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject svn commit: r1156058 - /incubator/flume/trunk/flume-core/src/main/java/com/cloudera/flume/util/FlumeShell.java
Date Wed, 10 Aug 2011 08:01:51 GMT
Author: jmhsieh
Date: Wed Aug 10 08:01:51 2011
New Revision: 1156058

URL: http://svn.apache.org/viewvc?rev=1156058&view=rev
Log:
FLUME-672: Flume shell "purge" and "purgeAll" are missing from the help menu in Flume shell

Modified:
    incubator/flume/trunk/flume-core/src/main/java/com/cloudera/flume/util/FlumeShell.java

Modified: incubator/flume/trunk/flume-core/src/main/java/com/cloudera/flume/util/FlumeShell.java
URL: http://svn.apache.org/viewvc/incubator/flume/trunk/flume-core/src/main/java/com/cloudera/flume/util/FlumeShell.java?rev=1156058&r1=1156057&r2=1156058&view=diff
==============================================================================
--- incubator/flume/trunk/flume-core/src/main/java/com/cloudera/flume/util/FlumeShell.java
(original)
+++ incubator/flume/trunk/flume-core/src/main/java/com/cloudera/flume/util/FlumeShell.java
Wed Aug 10 08:01:51 2011
@@ -134,6 +134,11 @@ public class FlumeShell {
         "node 'source' 'sink'", true, 1));
     commandMap.put("exec multiconfig",
         new CommandDescription("'spec'", true, 1));
+    commandMap.put("exec purge",
+        new CommandDescription("logicalnode", true, 1));
+    commandMap.put("exec purgeAll",
+        new CommandDescription("", true, 0));
+
     commandMap.put("exec refresh", new CommandDescription("'spec'", true, 1));
     commandMap.put("exec refreshAll", new CommandDescription("", true, 1));
     commandMap.put("exec noop", new CommandDescription(



Mime
View raw message