lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sakunthala padmanabhuni (JIRA)" <>
Subject [jira] Created: (SOLR-2300) snapinstaller on slave is failing
Date Tue, 28 Dec 2010 12:16:46 GMT
snapinstaller on slave is failing

                 Key: SOLR-2300
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 1.3
         Environment: Linux, Jboss 5.0GA, solr 1.3.0
            Reporter: sakunthala padmanabhuni


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.
You can reply to this email to add a comment to the issue online.

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

View raw message