I solved the problem. The problem is that I made a mistake that changing the "$TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/nutch-site.xml" file. <property> <name>searcher.dir</name> <value>/home/username/nutch-test*/local*</value> </property>
During the provided tutorial, I created the '/home/username/nutch-test/local' directory for search. However, the manual does not include the path with 'local'. When changing the 'searcher.dir' property correctly, I can see the search results. 2014-06-09 1:27 GMT+09:00 J Ahn <[email protected]>: > Hello all, > > I am faced with some issues building the 'websearch' application, even if > there is a manual to setup the application. > > In the 'Distribution Search' step(2), the 'copy_indexes_and_segments.sh; > script file is located in '/home/username/nutch-test/'. However, I did not > file the file the location. The file is located in the > 'search-release/search' directory which is provided with CloudSuite > distribution. I think the documentation should be updated. > > In the next 'Distribution Search' step(4), the manual mentioned that > *hadoop-site.xml* file includes "fs.default.name: local". However, it > produces an error like this. > > > ------------------------------------------------------------------------------------------------------------ > $] bin/nutch server 8890 /home/websearch/nutch-test/local & > [Fatal Error] hadoop-site.xml:1:1: Content is not allowed in prolog. > > ------------------------------------------------------------------------------------------------------------ > > It seems that there is a problem in 'hadoop-site.xml' file. So I just > copied the core-site.xml and replaced the value like below. > I am just wondering this is correct or not. > > > ------------------------------------------------------------------------------------------------------------ > <configuration> > <property> > <name>fs.default.name</name> > <value>local</value> > <description> > .... > </description> > </property> > </configuration> > > > ------------------------------------------------------------------------------------------------------------ > > When modifying the 'hadoop-site.xml' like above, the nutch server works > without errors. > However, it does not provide any search results when I typed 'google', > 'apache', and any others. > "Hits *0-0* (out of about 0 total matching pages): " > > I attached the catalina.out file. > > Thanks > > - Jeongseob >
