You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Stefan Grroschupf (JIRA)" <ji...@apache.org> on 2005/04/13 22:55:31 UTC

[jira] Created: (NUTCH-40) TestSegmentMergeTool fail

TestSegmentMergeTool fail
-------------------------

         Key: NUTCH-40
         URL: http://issues.apache.org/jira/browse/NUTCH-40
     Project: Nutch
        Type: Bug
    Reporter: Stefan Grroschupf
 Assigned to: Andrzej Bialecki  
    Priority: Trivial


ant clean && ant test
...

050413 224204 * Deleting old segments...
050413 224204 Finished SegmentMergeTool: INPUT: 5000 -> OUTPUT: 500 entries in 4.57 s (1250.0 entries/sec).
java.io.FileNotFoundException: /tmp/.smttest24441/segments/seg0/fetcher/data (File exists)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
	at org.apache.nutch.tools.TestSegmentMergeTool.testCorruptSegmentMerge(TestSegmentMergeTool.java:216)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (NUTCH-40) TestSegmentMergeTool fail

Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/NUTCH-40?page=all ]
     
Andrzej Bialecki  closed NUTCH-40:
----------------------------------

    Resolution: Cannot Reproduce

> TestSegmentMergeTool fail
> -------------------------
>
>          Key: NUTCH-40
>          URL: http://issues.apache.org/jira/browse/NUTCH-40
>      Project: Nutch
>         Type: Bug
>     Reporter: Stefan Grroschupf
>     Assignee: Andrzej Bialecki 
>     Priority: Trivial

>
> ant clean && ant test
> ...
> 050413 224204 * Deleting old segments...
> 050413 224204 Finished SegmentMergeTool: INPUT: 5000 -> OUTPUT: 500 entries in 4.57 s (1250.0 entries/sec).
> java.io.FileNotFoundException: /tmp/.smttest24441/segments/seg0/fetcher/data (File exists)
> 	at java.io.RandomAccessFile.open(Native Method)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
> 	at org.apache.nutch.tools.TestSegmentMergeTool.testCorruptSegmentMerge(TestSegmentMergeTool.java:216)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


getLinks

Posted by Marco PV <nu...@hotmail.com>.
Hi,

I'm trying to find a way to retrieve any link that points to a given URL.... 
like the "link:" feature. For example: creating "links.jsp" and calling it 
as links.jsp?site=http://wwww.xxx.com and retrieve all links for this site.

It would use :

getLinks(UTF8) - Method in interface net.nutch.db.IWebDBReader
    Return any Link objects that point to the given URL.
getLinks(MD5Hash) - Method in interface net.nutch.db.IWebDBReader
    Return all the Link objects that originate from a document with the 
given MD5 checksum.

Any idea? Help?

Thanks,
Marco

_________________________________________________________________
MSN Messenger: instale grĂ¡tis e converse com seus amigos. 
http://messenger.msn.com.br


[jira] Commented: (NUTCH-40) TestSegmentMergeTool fail

Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/NUTCH-40?page=comments#action_63250 ]
     
Andrzej Bialecki  commented on NUTCH-40:
----------------------------------------

I was unable to reproduce this problem... It seems that either the file is locked by another process (on Windows), or is a directory or its permissions disallow writing to it (on Unix)... however, there is nothing in the stack trace that would explain this.

In other words: it works for me.

> TestSegmentMergeTool fail
> -------------------------
>
>          Key: NUTCH-40
>          URL: http://issues.apache.org/jira/browse/NUTCH-40
>      Project: Nutch
>         Type: Bug
>     Reporter: Stefan Grroschupf
>     Assignee: Andrzej Bialecki 
>     Priority: Trivial

>
> ant clean && ant test
> ...
> 050413 224204 * Deleting old segments...
> 050413 224204 Finished SegmentMergeTool: INPUT: 5000 -> OUTPUT: 500 entries in 4.57 s (1250.0 entries/sec).
> java.io.FileNotFoundException: /tmp/.smttest24441/segments/seg0/fetcher/data (File exists)
> 	at java.io.RandomAccessFile.open(Native Method)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
> 	at org.apache.nutch.tools.TestSegmentMergeTool.testCorruptSegmentMerge(TestSegmentMergeTool.java:216)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (NUTCH-40) TestSegmentMergeTool fail

Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/NUTCH-40?page=comments#action_64500 ]
     
Andrzej Bialecki  commented on NUTCH-40:
----------------------------------------

No further reports on this, and I cannot repeat this. I close this for now, if you encounter this problem please re-open.

> TestSegmentMergeTool fail
> -------------------------
>
>          Key: NUTCH-40
>          URL: http://issues.apache.org/jira/browse/NUTCH-40
>      Project: Nutch
>         Type: Bug
>     Reporter: Stefan Grroschupf
>     Assignee: Andrzej Bialecki 
>     Priority: Trivial

>
> ant clean && ant test
> ...
> 050413 224204 * Deleting old segments...
> 050413 224204 Finished SegmentMergeTool: INPUT: 5000 -> OUTPUT: 500 entries in 4.57 s (1250.0 entries/sec).
> java.io.FileNotFoundException: /tmp/.smttest24441/segments/seg0/fetcher/data (File exists)
> 	at java.io.RandomAccessFile.open(Native Method)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
> 	at org.apache.nutch.tools.TestSegmentMergeTool.testCorruptSegmentMerge(TestSegmentMergeTool.java:216)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira