[ 
https://issues.apache.org/jira/browse/SOLR-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425600#comment-13425600
 ] 

Faizan Aziz commented on SOLR-1822:
-----------------------------------

ok.... The fix by kafka0102 is there so I guess the patch is not needed.... 
However I am still getting the error

SEVERE: Unable to copy index file from: 
/opt/solr/multicore/1011/data/index.20120731065949/_9x.tis to: 
/mnt/multicore/1011/data/index.20120731050740/_9x.tis

Note: /opt/solr/multicore is a symlink to /mnt/multicore
                
> SEVERE: Unable to move index file from: tempfile to: indexfile
> --------------------------------------------------------------
>
>                 Key: SOLR-1822
>                 URL: https://issues.apache.org/jira/browse/SOLR-1822
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>    Affects Versions: 1.4
>         Environment: Linux, JDK6,SOLR 1.4
>            Reporter: wyhw whon
>            Assignee: Mark Miller
>            Priority: Critical
>             Fix For: 3.1, 4.0-ALPHA
>
>         Attachments: SnapPuller.patch
>
>
> SOLR index directory remvoed,but do not know what the reasons for this.
> I add some codes on SnapPuller.java 577 line can reslove this bug.
> line 576                           
> File indexFileInIndex = new File(indexDir, fname);
> +
> if (!indexDir.exists()) indexDir.mkdir();
> boolean success = indexFileInTmpDir.renameTo(indexFileInIndex);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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