sebastian-nagel opened a new pull request #518:
URL: https://github.com/apache/nutch/pull/518


   Because it's a Nutch/Hadoop tool it really uses the same configuration 
mechanism as all other tools, including command-line overrides:
   
   ```bash
   $> bin/nutch showproperties | (head -2 && grep delay)
   conf.name                                       conf.value     
substituted.value
   
================================================================================
   crawl.gen.delay                                                        
604800000
   fetcher.max.crawl.delay                                                      
 30
   fetcher.min.crawl.delay              ${fetcher.server.delay}                 
5.0
   fetcher.server.delay                                                         
5.0
   fetcher.server.min.delay                                                     
0.0
   ipc.client.tcpnodelay                                                       
true
   page.load.delay                                                              
  3
   
   # command-line override of fetcher.server.delay:
   $> bin/nutch showproperties -Dfetcher.server.delay=10.0 | (head -2 && grep 
delay)
   conf.name                                       conf.value     
substituted.value
   
================================================================================
   crawl.gen.delay                                                        
604800000
   fetcher.max.crawl.delay                                                      
 30
   fetcher.min.crawl.delay              ${fetcher.server.delay}                
10.0
   fetcher.server.delay                                                        
10.0
   fetcher.server.min.delay                                                     
0.0
   ipc.client.tcpnodelay                                                       
true
   page.load.delay
   ```
   
   If configured and substituted value are identical only one is shown.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to