[jira] [Updated] (NUTCH-1829) Generator : unable to distinguish real errors

2014-12-05 Thread Sebastian Nagel (JIRA)

 [ 
https://issues.apache.org/jira/browse/NUTCH-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebastian Nagel updated NUTCH-1829:
---
Attachment: NUTCH-1829-2x-v3.patch

New patch which depends on fix of NUTCH-1778. Tested (local mode):
{noformat}
% $NUTCH_HOME/bin/nutch generate
...
GeneratorJob: generated batch id: 1417812003-555135229 containing 0 URLs
% echo $?
1
{noformat}

> Generator : unable to distinguish real errors
> -
>
> Key: NUTCH-1829
> URL: https://issues.apache.org/jira/browse/NUTCH-1829
> Project: Nutch
>  Issue Type: Bug
>  Components: nutchNewbie
>Affects Versions: 1.9, 2.2.1
> Environment: Ubuntu Server 14.04, OpenJDK 7
>Reporter: Mathieu Bouchard
>Assignee: Julien Nioche
> Fix For: 2.3, 1.10
>
> Attachments: NUTCH-1829-2x-v2.patch, NUTCH-1829-2x-v3.patch
>
>
> The bin/nutch generate command is returning the same error code (-1) if there 
> is an error or no new segment to process, so there is no way to tell if the 
> error is real or not from a shell script. This problem is related to 
> NUTCH-1828.
> The problem can be fixed by modifying the following Java source file:
> http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?revision=1619934&view=markup
> At line 711, if there are no new segment, the generator returns -1, which is 
> the same return code returned at line 714 if there was an error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (NUTCH-1829) Generator : unable to distinguish real errors

2014-11-09 Thread Sebastian Nagel (JIRA)

 [ 
https://issues.apache.org/jira/browse/NUTCH-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebastian Nagel updated NUTCH-1829:
---
Attachment: NUTCH-1829-2x-v2.patch

> Generator : unable to distinguish real errors
> -
>
> Key: NUTCH-1829
> URL: https://issues.apache.org/jira/browse/NUTCH-1829
> Project: Nutch
>  Issue Type: Bug
>  Components: nutchNewbie
>Affects Versions: 1.9, 2.2.1
> Environment: Ubuntu Server 14.04, OpenJDK 7
>Reporter: Mathieu Bouchard
>Assignee: Julien Nioche
> Fix For: 2.3, 1.10
>
> Attachments: NUTCH-1829-2x-v2.patch
>
>
> The bin/nutch generate command is returning the same error code (-1) if there 
> is an error or no new segment to process, so there is no way to tell if the 
> error is real or not from a shell script. This problem is related to 
> NUTCH-1828.
> The problem can be fixed by modifying the following Java source file:
> http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?revision=1619934&view=markup
> At line 711, if there are no new segment, the generator returns -1, which is 
> the same return code returned at line 714 if there was an error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (NUTCH-1829) Generator : unable to distinguish real errors

2014-08-29 Thread Julien Nioche (JIRA)

 [ 
https://issues.apache.org/jira/browse/NUTCH-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julien Nioche updated NUTCH-1829:
-

Fix Version/s: 1.10
   2.3

> Generator : unable to distinguish real errors
> -
>
> Key: NUTCH-1829
> URL: https://issues.apache.org/jira/browse/NUTCH-1829
> Project: Nutch
>  Issue Type: Bug
>  Components: nutchNewbie
>Affects Versions: 1.9, 2.2.1
> Environment: Ubuntu Server 14.04, OpenJDK 7
>Reporter: Mathieu Bouchard
> Fix For: 2.3, 1.10
>
>
> The bin/nutch generate command is returning the same error code (-1) if there 
> is an error or no new segment to process, so there is no way to tell if the 
> error is real or not from a shell script. This problem is related to 
> NUTCH-1828.
> The problem can be fixed by modifying the following Java source file:
> http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?revision=1619934&view=markup
> At line 711, if there are no new segment, the generator returns -1, which is 
> the same return code returned at line 714 if there was an error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (NUTCH-1829) Generator : unable to distinguish real errors

2014-08-25 Thread Mathieu Bouchard (JIRA)

 [ 
https://issues.apache.org/jira/browse/NUTCH-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathieu Bouchard updated NUTCH-1829:


Description: 
The bin/nutch generate command is returning the same error code (-1) if there 
is an error or no new segment to process, so there is no way to tell if the 
error is real or not from a shell script. This problem is related to NUTCH-1828.

The problem can be fixed by modifying the following Java source file:
http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?revision=1619934&view=markup

At line 711, if there are no new segment, the generator returns -1, which is 
the same return code returned at line 714 if there was an error.


  was:
The bin/nutch generate command is returning the same error code (-1) if there 
is an error or no new segment to process, so there is no way to tell if the 
error is real or not from a shell script. This problem is related to NUTCH-1828.

The problem can be fixed by modifying the following Java source file:
http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?revision=1619934

At line 711, if there are no new segment, the generator returns -1, which is 
the same return code returned at line 714 if there was an error.



> Generator : unable to distinguish real errors
> -
>
> Key: NUTCH-1829
> URL: https://issues.apache.org/jira/browse/NUTCH-1829
> Project: Nutch
>  Issue Type: Bug
>  Components: nutchNewbie
>Affects Versions: 1.9, 2.2.1
> Environment: Ubuntu Server 14.04, OpenJDK 7
>Reporter: Mathieu Bouchard
>
> The bin/nutch generate command is returning the same error code (-1) if there 
> is an error or no new segment to process, so there is no way to tell if the 
> error is real or not from a shell script. This problem is related to 
> NUTCH-1828.
> The problem can be fixed by modifying the following Java source file:
> http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?revision=1619934&view=markup
> At line 711, if there are no new segment, the generator returns -1, which is 
> the same return code returned at line 714 if there was an error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (NUTCH-1829) Generator : unable to distinguish real errors

2014-08-25 Thread Mathieu Bouchard (JIRA)

 [ 
https://issues.apache.org/jira/browse/NUTCH-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathieu Bouchard updated NUTCH-1829:


Description: 
The bin/nutch generate command is returning the same error code (-1) if there 
is an error or no new segment to process, so there is no way to tell if the 
error is real or not from a shell script. This problem is related to NUTCH-1828.

The problem can be fixed by modifying the following Java source file:
http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?revision=1619934

At line 711, if there are no new segment, the generator returns -1, which is 
the same return code returned at line 714 if there was an error.


  was:
The bin/nutch generate command is returning the same error code (-1) if there 
is an error or no new segment to process, so there is no way to tell if the 
error is real or not from a shell script. This problem is related to NUTCH-1828.

The problem can be fixed by modifying the following Java source file:
http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java

At line 711, if there are no new segment, the generator returns -1, which is 
the same return code returned at line 714 if there was an error.



> Generator : unable to distinguish real errors
> -
>
> Key: NUTCH-1829
> URL: https://issues.apache.org/jira/browse/NUTCH-1829
> Project: Nutch
>  Issue Type: Bug
>  Components: nutchNewbie
>Affects Versions: 1.9, 2.2.1
> Environment: Ubuntu Server 14.04, OpenJDK 7
>Reporter: Mathieu Bouchard
>
> The bin/nutch generate command is returning the same error code (-1) if there 
> is an error or no new segment to process, so there is no way to tell if the 
> error is real or not from a shell script. This problem is related to 
> NUTCH-1828.
> The problem can be fixed by modifying the following Java source file:
> http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/crawl/Generator.java?revision=1619934
> At line 711, if there are no new segment, the generator returns -1, which is 
> the same return code returned at line 714 if there was an error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)