lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sami Siren (Updated) (JIRA)" <>
Subject [jira] [Updated] (SOLR-2300) snapinstaller on slave is failing
Date Tue, 17 Apr 2012 11:48:19 GMT


Sami Siren updated SOLR-2300:

    Component/s:     (was: clients - java)
                 replication (scripts)

> This setup is giving issue only in linux. Is this known bug on linux?

I think the deletion problem is a combination of using nfs and solr (or some other process)
holding some file open.

I realize this issue is pretty old but have you tried with more recent version of Solr, does
the problem still exist?
> snapinstaller on slave is failing
> ---------------------------------
>                 Key: SOLR-2300
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (scripts)
>    Affects Versions: 1.3
>         Environment: Linux, Jboss 5.0GA, solr 1.3.0
>            Reporter: sakunthala padmanabhuni
> Hi,
> We are using Solr on Mac OSX and it is working fine.  Same setup we have moved to Linux.
 We have master, slave setup. Every 5 minutes, index will be replicated from Master to Slave
and will be installed on slave.  But on Linux on the slave when the snapinstaller script is
called, it is failing and showing below error in logs.
> /bin/rm: cannot remove `/ngs/app/esearcht/Slave2index/data/index/.nfs000000000001110300000749':
Device or resource busy
> This error is occuring in snapinstaller script at below lines.
>   cp -lr ${name}/ ${data_dir}/index.tmp$$ && \
>   /bin/rm -rf ${data_dir}/index && \
>   mv -f ${data_dir}/index.tmp$$ ${data_dir}/index
> It is not able to remove the index folder. So the index.tmp files are keep growing in
the data directory.
> Our data directory is "/ngs/app/esearcht/Slave2index/data".  When  checked with ls -al
in the index directory, there are some .nfs files still there, which are not letting index
directory to be deleted.  And these .nfs files are still being used by SOLR in jboss.
> This setup is giving issue only in linux.  Is this known bug on linux?  

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


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

View raw message