[ https://issues.apache.org/jira/browse/NUTCH-863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894944#action_12894944 ]
Chris A. Mattmann edited comment on NUTCH-863 at 8/3/10 1:10 PM: ----------------------------------------------------------------- Hey Andrzej, Oddly enough, this test fails for me on a fresh checkout of Nutch (r981962 as of today): {noformat} [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.063 sec [junit] Test org.apache.nutch.tools.proxy.TestbedProxy FAILED {noformat} {noformat} [chipotle:~/src/nutch] mattmann% more build/test/TEST-org.apache.nutch.tools.proxy.TestbedProxy.txt Testsuite: org.apache.nutch.tools.proxy.TestbedProxy Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.063 sec Testcase: initializationError took 0.006 sec Caused an ERROR No runnable methods java.lang.Exception: No runnable methods at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [chipotle:~/src/nutch] mattmann% java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-9M3165) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) [chipotle:~/src/nutch] mattmann% {noformat} Any clue as to why? Cheers, Chris was (Author: chrismattmann): Hey Andrzej, Oddly enough, this test fails for me on a fresh checkout of Nutch (r as of today): {noformat} [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.063 sec [junit] Test org.apache.nutch.tools.proxy.TestbedProxy FAILED {noformat} {noformat} [chipotle:~/src/nutch] mattmann% more build/test/TEST-org.apache.nutch.tools.proxy.TestbedProxy.txt Testsuite: org.apache.nutch.tools.proxy.TestbedProxy Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.063 sec Testcase: initializationError took 0.006 sec Caused an ERROR No runnable methods java.lang.Exception: No runnable methods at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [chipotle:~/src/nutch] mattmann% java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-9M3165) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) [chipotle:~/src/nutch] mattmann% {noformat} Any clue as to why? Cheers, Chris > Benchmark and a testbed proxy server > ------------------------------------ > > Key: NUTCH-863 > URL: https://issues.apache.org/jira/browse/NUTCH-863 > Project: Nutch > Issue Type: New Feature > Affects Versions: 2.0 > Reporter: Andrzej Bialecki > Assignee: Andrzej Bialecki > Fix For: 2.0 > > Attachments: proxy.patch > > > This issue adds two components: > * a testbed proxy server that can serve various content: pre-fetched Nutch > segments, forward requests to original URLs, or create a lot of unique but > predictable fake content (with outlinks) on the fly. > * a simple Benchmark class to measure the time taken to complete several > crawl cycles using fake content. > * 'ant proxy' and 'ant benchmark' targets to execute a benchmark run. > Together these tools should provide a more or less objective method to > measure the end-to-end crawl performance. This initial version can be further > instrumented to collect statistics about various stages of data processing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.