lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <>
Subject [jira] [Updated] (LUCENE-4975) Add Replication module to Lucene
Date Thu, 02 May 2013 16:12:16 GMT


Shai Erera updated LUCENE-4975:

    Attachment: LUCENE-4975.patch

Patch contains the Replicator code + all needed stuff to make it a valid module (ivy, maven,
licenses etc.). A big portion of the patch is due to the ivy/maven/licenses things, so if
you focus on the code, it's not that big.

I ran precommit and it fails with this cryptic error:

     [echo] checking for broken html...
    [jtidy] Checking for broken html (such as invalid tags)...
   [delete] Deleting directory D:\dev\lucene\lucene-replicator\lucene\build\jtidy_tmp
     [echo] Checking for broken links...
     [exec] Traceback (most recent call last):
     [exec]   File "D:\dev\lucene\lucene-replicator\dev-tools/scripts/",
line 260, in
     [exec] Crawl/parse...
     [exec]  <module>
     [exec]     if checkAll(sys.argv[1]):
     [exec]   File "D:\dev\lucene\lucene-replicator\dev-tools/scripts/",
line 160, in checkAll
     [exec]     allFiles[fullPath] = parse(fullPath, open('%s/%s' % (root, f), encoding='UTF-8').read())
     [exec]   File "D:\dev\lucene\lucene-replicator\dev-tools/scripts/",
line 110, in parse
     [exec]     parser.feed(html)
     [exec]   File "/usr/lib/python3.2/html/", line 142, in feed
     [exec]     self.goahead(0)
     [exec]   File "/usr/lib/python3.2/html/", line 188, in goahead
     [exec]     k = self.parse_endtag(i)
     [exec]   File "/usr/lib/python3.2/html/", line 454, in parse_endtag
     [exec]     self.handle_endtag(elem.lower())
     [exec]   File "D:\dev\lucene\lucene-replicator\dev-tools/scripts/",
line 92, in handle_endtag
     [exec]     raise RuntimeError('%s %s:%s: saw </%s> but expected </%s>' %
(self.baseURL, self.getpos()[0], self.getpos()[1], tag, self.stack[-1]))
     [exec] RuntimeError: file:///build/docs/core/allclasses-frame.html 680:0: saw </body>
but expected </div>

Does anyone know what this is? I searched for <div> and I don't have any. Also, if I
run 'ant documentation' from top-level, it passes. I ran this w/ Oracle 1.7. I did find a
closing </body> tag with no opening tag under the jetty license, but I don't think it's

Otherwise, maven check passes, and tests compile and run successfully.
> Add Replication module to Lucene
> --------------------------------
>                 Key: LUCENE-4975
>                 URL:
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>         Attachments: LUCENE-4975.patch
> I wrote a replication module which I think will be useful to Lucene users who want to
replicate their indexes for e.g high-availability, taking hot backups etc.
> I will upload a patch soon where I'll describe in general how it works.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message