Sebastian Nagel created NUTCH-2744:
--------------------------------------

             Summary: CrawlDbReader: improved reporting of syntactic errors in 
Jexl expression
                 Key: NUTCH-2744
                 URL: https://issues.apache.org/jira/browse/NUTCH-2744
             Project: Nutch
          Issue Type: Bug
          Components: crawldb
    Affects Versions: 1.16
            Reporter: Sebastian Nagel
             Fix For: 1.17


CrawlDbReader reports syntactic errors in Jexl expressions only in task logs 
(hadoop.log in local mode) and continues as if there where no Jexl expression 
set. It should report it more verbosely and probably also fail the job, at 
least, if the error can be checked at job start.
In my case a trivial error ({{score > .9}} instead of {{score > 0.9}}), the 
crawlDb was just left unfiltered.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to