Thanks Lewis. But even then I am getting the same error. Here is what my
hadoop.log shows
...
2012-09-04 17:17:50,246 INFO  crawl.Generator - Generator: finished at
2012-09-04 17:17:50, elapsed: 00:00:15
2012-09-04 17:17:50,252 ERROR fetcher.Fetcher - Fetcher: No agents listed
in 'http.agent.name' property.
2012-09-04 17:17:50,253 INFO  mortbay.log - Stopped
[email protected]:50000
2012-09-04 17:17:50,300 INFO  mortbay.log - jetty-6.1.26
2012-09-04 17:17:50,304 INFO  mortbay.log - Started
[email protected]:50000
2012-09-04 17:17:50,304 ERROR fetcher.Fetcher - Fetcher: No agents listed
in 'http.agent.name' property.
2012-09-04 17:17:50,305 INFO  mortbay.log - Stopped
[email protected]:50000
2012-09-04 17:32:31,068 INFO  mortbay.log - Logging to
org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog
2012-09-04 17:32:31,182 INFO  mortbay.log - jetty-6.1.26
2012-09-04 17:32:31,223 INFO  mortbay.log - Started
[email protected]:50000

I am having the agent name and robot.agents set in
runtime/local/test/nutch-site.xml.

On Mon, Sep 3, 2012 at 2:44 PM, Lewis John Mcgibbney <
[email protected]> wrote:

> Before doing runtime local you need to ensure the test are executed
> and all of the resources are present in the build directory.
>
> So please do ant test, then ant runtime, all of the test resources
> should then be moved to the runtime/local directory.
>
> The runtime target does NOT rely on the test target because tests are
> expensive to run.
>
> hth
>
> Lewis
>
> On Mon, Sep 3, 2012 at 6:04 AM, Vijith <[email protected]> wrote:
> > Hi all,
> >
> > How to run the junit test in nutch 1.5. I am trying to run the
> TestFetcher
> > from runtime/local and I am getting a 'no agents listed in
> http.agent.name'
> > error.
> > Which nutch-site.xml file is it reading. I dont have a config file in
> > local/test folder.
> > I have followed in instructions in
> > http://wiki.apache.org/nutch/bin/nutch%20junit
> >
> >
> > *
> > *
> > *Vijith V.*
>
>
>
> --
> Lewis
>



-- 
*. . . . . thanks & regards*
*
*
*Vijith V.*

Reply via email to