FW: about nutch

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FW: about nutch

Richard Braman


-----Original Message-----
From: Alen [mailto:[hidden email]]
Sent: Monday, March 13, 2006 1:42 AM
To: rbraman
Subject: about nutch


Dear,rbraman
   
   First of all, thank you you can read this email.I have some problem
on nucth,could you give me some advise?
                   
   I followed the steps as the article on
http://wiki.apache.org/nutch/NutchTutorial.
   But I get some Exceptions when clicked the search button.

   My steps as follows:

1.mkdir db
mkdir segments
bin/nutch admin db -create
bin/nutch inject db/crawldb urls----(I think there is sth wrong wiht the
command,you could open the attachment to have a look:()

2.Fetching
bin/nutch generate db segments
s1=`ls -d segments/2* | tail -1`
echo $s1
bin/nutch fetch $s1
bin/nutch updatedb db $s1  
bin/nutch generate db segments -topN 1000
s2=`ls -d segments/2* | tail -1`
echo $s2
bin/nutch fetch $s2
bin/nutch updatedb db $s2
bin/nutch generate db segments -topN 1000
s3=`ls -d segments/2* | tail -1`
echo $s3
bin/nutch fetch $s3
bin/nutch updatedb db $s3

3.Indexing
bin/nutch index $s1
bin/nutch index $s2
bin/nutch index $s3  

4.It didn`t created the Index folder,and the the size of segments is
just 1.08K.So when I visited http://localhost:8080/ and click the search
button get some exceptions....

Would you please tell me where caused the problem? Thank you.

Best Wishes!
Reply | Threaded
Open this post in threaded view
|

Re: FW: about nutch

Thomas Delnoij-3
I can only speak for myself, but I would need the output from the different
Nutch commands to analyse this problem.

Rrgds. Thomas


On 3/13/06, Richard Braman <[hidden email]> wrote:

>
>
>
> -----Original Message-----
> From: Alen [mailto:[hidden email]]
> Sent: Monday, March 13, 2006 1:42 AM
> To: rbraman
> Subject: about nutch
>
>
> Dear,rbraman
>
>   First of all, thank you you can read this email.I have some problem
> on nucth,could you give me some advise?
>
>   I followed the steps as the article on
> http://wiki.apache.org/nutch/NutchTutorial.
>   But I get some Exceptions when clicked the search button.
>
>   My steps as follows:
>
> 1.mkdir db
> mkdir segments
> bin/nutch admin db -create
> bin/nutch inject db/crawldb urls----(I think there is sth wrong wiht the
> command,you could open the attachment to have a look:()
>
> 2.Fetching
> bin/nutch generate db segments
> s1=`ls -d segments/2* | tail -1`
> echo $s1
> bin/nutch fetch $s1
> bin/nutch updatedb db $s1
> bin/nutch generate db segments -topN 1000
> s2=`ls -d segments/2* | tail -1`
> echo $s2
> bin/nutch fetch $s2
> bin/nutch updatedb db $s2
> bin/nutch generate db segments -topN 1000
> s3=`ls -d segments/2* | tail -1`
> echo $s3
> bin/nutch fetch $s3
> bin/nutch updatedb db $s3
>
> 3.Indexing
> bin/nutch index $s1
> bin/nutch index $s2
> bin/nutch index $s3
>
> 4.It didn`t created the Index folder,and the the size of segments is
> just 1.08K.So when I visited http://localhost:8080/ and click the search
> button get some exceptions....
>
> Would you please tell me where caused the problem? Thank you.
>
> Best Wishes!
>
>