hi Bikram,

allright, you need to check the format of your config files (nutch-default.xml and nutch-site.xml), they should both be well-formed (opening-closing tags, etc.) xml, and have the correct structure:

<?xml version="1.0"?>
<configuration>
 <property>
   <name>...</name>
   <value>...</value>
   <description>...</description>
 </property>
</configuration>

see the provided template for nutch-site.xml

HTH,
Renaud


bikram wrote:
Hi
After rechecking the Log i noticed this error toooo..

2007-08-20 12:11:32,449 FATAL conf.Configuration - bad conf file: top-level
element not <configuration>
2007-08-20 12:11:32,450 WARN  conf.Configuration - bad conf file: element
not <property>
2007-08-20 12:11:32,490 INFO  crawl.Crawl - crawl started in: localcrawl4
2007-08-20 12:11:32,491 INFO  crawl.Crawl - rootUrlDir = urls
2007-08-20 12:11:32,491 INFO  crawl.Crawl - threads = 10
2007-08-20 12:11:32,491 INFO  crawl.Crawl - depth = 5
2007-08-20 12:11:32,632 FATAL conf.Configuration - bad conf file: top-level
element not <configuration>
2007-08-20 12:11:32,632 WARN  conf.Configuration - bad conf file: element
not <property>
2007-08-20 12:11:32,641 INFO  crawl.Injector - Injector: starting
2007-08-20 12:11:32,642 INFO  crawl.Injector - Injector: crawlDb:
localcrawl4/crawldb
2007-08-20 12:11:32,642 INFO  crawl.Injector - Injector: urlDir: urls
2007-08-20 12:11:32,643 INFO  crawl.Injector - Injector: Converting injected
urls to crawl db entries.
2007-08-20 12:11:32,643 DEBUG conf.Configuration - java.io.IOException:
config(config)
        at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:102)
        at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:77)
        at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:88)
        at org.apache.nutch.util.NutchJob.<init>(NutchJob.java:27)
        at org.apache.nutch.crawl.Injector.inject(Injector.java:152)
        at org.apache.nutch.crawl.Crawl.main(Crawl.java:115)



2007-08-20 12:11:32,449 FATAL conf.Configuration - bad conf file: top-level
element not <configuration>
2007-08-20 12:11:32,450 WARN  conf.Configuration - bad conf file: element
not <property>

Which configuration file is this message referring too..
I doubled checked my conf files but was not able to make it out which file
and what line is causing this error...

Can someone help me to rectify these errors and make nutch work...


thanx
Bikram




Reply via email to