소스 검색

[indexer] Provide a better hint about misconfigured Zookeeper ensemble

Romain Rigaux 11 년 전
부모
커밋
69aa132d23
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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):