This is an automated email from the ASF dual-hosted git repository. madhan pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new fad2746dc ATLAS-4783: Fix NoSuchElementException when running different indexing backend than Solr fad2746dc is described below commit fad2746dca0b3fe534483fc6037443a4cae127f5 Author: szymonorz <szy...@proton.me> AuthorDate: Fri Aug 11 22:35:07 2023 +0200 ATLAS-4783: Fix NoSuchElementException when running different indexing backend than Solr Signed-off-by: Madhan Neethiraj <mad...@apache.org> (cherry picked from commit 33a2a55899109e2ebe82766d4ba1f3fd82962610) --- intg/src/main/java/org/apache/atlas/ApplicationProperties.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/intg/src/main/java/org/apache/atlas/ApplicationProperties.java b/intg/src/main/java/org/apache/atlas/ApplicationProperties.java index f83dff699..82ddc8ab0 100644 --- a/intg/src/main/java/org/apache/atlas/ApplicationProperties.java +++ b/intg/src/main/java/org/apache/atlas/ApplicationProperties.java @@ -352,7 +352,7 @@ public final class ApplicationProperties extends PropertiesConfiguration { addPropertyDirect(SOLR_WAIT_SEARCHER_CONF, DEFAULT_SOLR_WAIT_SEARCHER); } - LOG.info("Setting solr.wait-searcher property '" + getBoolean(SOLR_WAIT_SEARCHER_CONF) + "'"); + LOG.info("Setting " + SOLR_WAIT_SEARCHER_CONF + " = " + getBoolean(SOLR_WAIT_SEARCHER_CONF)); clearPropertyDirect(INDEX_MAP_NAME_CONF); addPropertyDirect(INDEX_MAP_NAME_CONF, DEFAULT_INDEX_MAP_NAME); @@ -371,7 +371,6 @@ public final class ApplicationProperties extends PropertiesConfiguration { addPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE, indexMaxResultSetSize); LOG.info("Setting " + INDEX_SEARCH_MAX_RESULT_SET_SIZE + " = " + indexMaxResultSetSize); - LOG.info("Setting " + SOLR_WAIT_SEARCHER_CONF + " = " + getBoolean(SOLR_WAIT_SEARCHER_CONF)); setDbCacheConfDefaults(); }