You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by le...@apache.org on 2015/09/24 02:22:01 UTC
svn commit: r1704972 - in /nutch/trunk: CHANGES.txt
src/java/org/apache/nutch/service/NutchServer.java
Author: lewismc
Date: Thu Sep 24 00:22:01 2015
New Revision: 1704972
URL: http://svn.apache.org/viewvc?rev=1704972&view=rev
Log:
NUTCH-2117 NutchServer CLI Option for CMD_PORT is incorrect and should be CMD_HOST this closes #63
Modified:
nutch/trunk/CHANGES.txt
nutch/trunk/src/java/org/apache/nutch/service/NutchServer.java
Modified: nutch/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/trunk/CHANGES.txt?rev=1704972&r1=1704971&r2=1704972&view=diff
==============================================================================
--- nutch/trunk/CHANGES.txt (original)
+++ nutch/trunk/CHANGES.txt Thu Sep 24 00:22:01 2015
@@ -2,6 +2,8 @@ Nutch Change Log
Nutch Current Development 1.11-SNAPSHOT
+* NUTCH-2117 NutchServer CLI Option for CMD_PORT is incorrect and should be CMD_HOST (zhangmianhongni via lewismc)
+
* NUTCH-2115 - Add total counts to mimetype stats (Jimmy Joyce via lewismc)
* NUTCH-2111 Delete temporary files location for selenium tmp files after driver quits (Kim Whitehall via lewismc)
Modified: nutch/trunk/src/java/org/apache/nutch/service/NutchServer.java
URL: http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/service/NutchServer.java?rev=1704972&r1=1704971&r2=1704972&view=diff
==============================================================================
--- nutch/trunk/src/java/org/apache/nutch/service/NutchServer.java (original)
+++ nutch/trunk/src/java/org/apache/nutch/service/NutchServer.java Thu Sep 24 00:22:01 2015
@@ -198,7 +198,7 @@ public class NutchServer {
OptionBuilder.withArgName("host");
OptionBuilder.hasOptionalArg();
OptionBuilder.withDescription("The host to bind the Nutch Server to. Default is localhost.");
- options.addOption(OptionBuilder.create(CMD_PORT));
+ options.addOption(OptionBuilder.create(CMD_HOST));
return options;
}