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

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:

{noformat}
-documentation-lint:
     [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/checkJavadocLinks.py", line 
260, in
     [exec] Crawl/parse...
     [exec]  <module>
     [exec]     if checkAll(sys.argv[1]):
     [exec]   File 
"D:\dev\lucene\lucene-replicator\dev-tools/scripts/checkJavadocLinks.py", 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/checkJavadocLinks.py", line 
110, in parse
     [exec]     parser.feed(html)
     [exec]   File "/usr/lib/python3.2/html/parser.py", line 142, in feed
     [exec]     self.goahead(0)
     [exec]   File "/usr/lib/python3.2/html/parser.py", line 188, in goahead
     [exec]     k = self.parse_endtag(i)
     [exec]   File "/usr/lib/python3.2/html/parser.py", line 454, in 
parse_endtag
     [exec]     self.handle_endtag(elem.lower())
     [exec]   File 
"D:\dev\lucene\lucene-replicator\dev-tools/scripts/checkJavadocLinks.py", 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>
{noformat}

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 related?

Otherwise, maven check passes, and tests compile and run successfully.
                
> Add Replication module to Lucene
> --------------------------------
>
>                 Key: LUCENE-4975
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4975
>             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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to