lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r790810 - /lucene/solr/trunk/src/java/org/apache/solr/handler/SnapPuller.java
Date Fri, 03 Jul 2009 06:56:30 GMT
Author: noble
Date: Fri Jul  3 06:56:30 2009
New Revision: 790810

URL: http://svn.apache.org/viewvc?rev=790810&view=rev
Log:
logging messages changed to remove the word snap

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/handler/SnapPuller.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/SnapPuller.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/SnapPuller.java?rev=790810&r1=790809&r2=790810&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/SnapPuller.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/SnapPuller.java Fri Jul  3 06:56:30
2009
@@ -160,7 +160,7 @@
           executorStartTime = System.currentTimeMillis();
           replicationHandler.doSnapPull(null);
         } catch (Exception e) {
-          LOG.error("Exception in pulling snapshot", e);
+          LOG.error("Exception in fetching index", e);
         }
       }
     };
@@ -239,7 +239,7 @@
       try {
         response = getLatestVersion();
       } catch (Exception e) {
-        LOG.error("Master at: "+masterUrl + " is not available. Snappull failed. Exception:
" + e.getMessage());
+        LOG.error("Master at: "+masterUrl + " is not available. Index fetch failed. Exception:
" + e.getMessage());
         return false;
       }
       long latestVersion = (Long) response.get(CMD_INDEX_VERSION);
@@ -267,7 +267,7 @@
       LOG.info("Starting replication process");
       // get the list of files first
       fetchFileList(latestVersion);
-      LOG.info("Number of files in latest snapshot in master: " + filesToDownload.size());
+      LOG.info("Number of files in latest index in master: " + filesToDownload.size());
 
       // Create the sync service
       fsyncService = Executors.newSingleThreadExecutor();
@@ -299,7 +299,6 @@
           }
         } else {
           terminateAndWaitFsyncService();
-          LOG.info("Conf files are not downloaded or are in sync");
           if (isSnapNeeded) {
             modifyIndexProps(tmpIndexDir.getName());
           } else {
@@ -318,7 +317,7 @@
         throw e;
       } catch (Exception e) {
         delTree(tmpIndexDir);
-        throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Snappull failed :
", e);
+        throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Index fetch failed
: ", e);
       } finally {
         delTree(tmpIndexDir);
       }



Mime
View raw message