This is an automated email from the ASF dual-hosted git repository.

oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2644a39  AMBARI-23019. Use lucene version 6.6.2 instead of 6.6.0 in 
index migration script (#402)
2644a39 is described below

commit 2644a3947c66cd13473a24f1bf8c6b161f56ca17
Author: Olivér Szabó <oleew...@gmail.com>
AuthorDate: Mon Feb 19 16:16:05 2018 +0100

    AMBARI-23019. Use lucene version 6.6.2 instead of 6.6.0 in index migration 
script (#402)
---
 ambari-infra/ambari-infra-solr-client/pom.xml                     | 2 +-
 .../src/main/resources/solrIndexHelper.sh                         | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ambari-infra/ambari-infra-solr-client/pom.xml 
b/ambari-infra/ambari-infra-solr-client/pom.xml
index a7dbbbc..cd77d77 100644
--- a/ambari-infra/ambari-infra-solr-client/pom.xml
+++ b/ambari-infra/ambari-infra-solr-client/pom.xml
@@ -30,7 +30,7 @@
   <artifactId>ambari-infra-solr-client</artifactId>
 
   <properties>
-    <lucene6.version>6.6.0</lucene6.version>
+    <lucene6.version>6.6.2</lucene6.version>
     
<lucene6-core-jar.name>lucene-core-${lucene6.version}.jar</lucene6-core-jar.name>
     
<lucene6-core.url>http://central.maven.org/maven2/org/apache/lucene/lucene-core/${lucene6.version}/${lucene6-core-jar.name}</lucene6-core.url>
     
<lucene6-backward-codecs-jar.name>lucene-backward-codecs-${lucene6.version}.jar</lucene6-backward-codecs-jar.name>
diff --git 
a/ambari-infra/ambari-infra-solr-client/src/main/resources/solrIndexHelper.sh 
b/ambari-infra/ambari-infra-solr-client/src/main/resources/solrIndexHelper.sh
index 72487d5..d47f071 100755
--- 
a/ambari-infra/ambari-infra-solr-client/src/main/resources/solrIndexHelper.sh
+++ 
b/ambari-infra/ambari-infra-solr-client/src/main/resources/solrIndexHelper.sh
@@ -43,7 +43,7 @@ function print_help() {
      -b, --backup-enabled                    Use indexer tool with backup 
snapshots. (core filter won't be used)
      -g, --debug                             Enable debug mode, IndexUpgrader 
output will be verbose.
      -f, --force                             Force to start index upgrade, 
even is the version is at least 6.
-     -v, --version                           Lucene version to upgrade 
(default: 6.6.0, available: 6.6.0, 7.2.1)
+     -v, --version                           Lucene version to upgrade 
(default: 6.6.2, available: 6.6.2, 7.2.1)
 EOF
 }
 
@@ -144,7 +144,7 @@ function upgrade_index() {
   fi
 
   if [[ -z "$LUCENE_VERSION" ]] ; then
-    LUCENE_VERSION="6.6.0"
+    LUCENE_VERSION="6.6.2"
   fi
 
   if [[ -z "$FORCE_UPDATE" ]] ; then
@@ -193,12 +193,12 @@ function upgrade_index() {
 
 function upgrade_index_tool() {
   # see: https://cwiki.apache.org/confluence/display/solr/IndexUpgrader+Tool
-  : ${INDEX_VERSION:?"Please set the INDEX_VERSION variable! (6.6.0 or 7.2.1)"}
+  : ${INDEX_VERSION:?"Please set the INDEX_VERSION variable! (6.6.2 or 7.2.1)"}
   PATH=$JAVA_HOME/bin:$PATH $JVM -classpath 
"$DIR/migrate/lucene-core-$INDEX_VERSION.jar:$DIR/migrate/lucene-backward-codecs-$INDEX_VERSION.jar"
 org.apache.lucene.index.IndexUpgrader ${@}
 }
 
 function check_index_tool() {
-  : ${INDEX_VERSION:?"Please set the INDEX_VERSION variable! (6.6.0 or 7.2.1)"}
+  : ${INDEX_VERSION:?"Please set the INDEX_VERSION variable! (6.6.2 or 7.2.1)"}
   PATH=$JAVA_HOME/bin:$PATH $JVM -classpath 
"$DIR/migrate/lucene-core-$INDEX_VERSION.jar:$DIR/migrate/lucene-backward-codecs-$INDEX_VERSION.jar"
 org.apache.lucene.index.CheckIndex ${@}
 }
 

-- 
To stop receiving notification emails like this one, please contact
oleew...@apache.org.

Reply via email to