Selaa lähdekoodia

[indexer] Provide a better hint about misconfigured Zookeeper ensemble

Romain Rigaux 11 vuotta sitten
vanhempi
commit
69aa132d23
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      desktop/libs/indexer/src/indexer/controller.py

+ 3 - 2
desktop/libs/indexer/src/indexer/controller.py

@@ -125,8 +125,9 @@ class CollectionManagerController(object):
       shutil.rmtree(tmp_path)
 
       if status != 0:
-        LOG.error("Cloud not create instance directory.\nOutput stream: %s\nError stream: %s" % process.communicate())
-        raise PopupException(_('Could not create instance directory. Check error logs for more info.'))
+        LOG.error("Could not create instance directory.\nOutput: %s\nError: %s" % process.communicate())
+        raise PopupException(_('Could not create instance directory. '
+                               'Check if [indexer] solr_zk_ensemble is correct in Hue config and look at the Solr error logs for more info.'))
 
       api = SolrApi(SOLR_URL.get(), self.user, SECURITY_ENABLED.get())
       if not api.create_collection(name):