• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Elasticsearch v2.x.x

Sunka

Well-known member
#1
As @RoldanLT wrote in his post, elasticsearch v2.3.0 is out.
Updated and seems to working OK on my forum :)

Code:
# yum clean all
Loaded plugins: fastestmirror, priorities
Cleaning repos: base elasticsearch-2.x epel extras mariadb remi-safe rpmforge
              : updates
Cleaning up everything
Cleaning up list of fastest mirrors

# yum update
Loaded plugins: fastestmirror, priorities
base                                                     | 3.6 kB     00:00     
elasticsearch-2.x                                        | 2.9 kB     00:00     
epel/x86_64/metalink                                     |  26 kB     00:00     
epel                                                     | 4.3 kB     00:00     
extras                                                   | 3.4 kB     00:00     
mariadb                                                  | 2.9 kB     00:00     
remi-safe                                                | 2.9 kB     00:00     
rpmforge                                                 | 1.9 kB     00:00     
updates                                                  | 3.4 kB     00:00     
(1/10): base/7/x86_64/group_gz                             | 155 kB   00:00     
(2/10): epel/x86_64/group_gz                               | 169 kB   00:00     
(3/10): epel/x86_64/updateinfo                             | 523 kB   00:00     
(4/10): extras/7/x86_64/primary_db                         | 101 kB   00:00     
(5/10): elasticsearch-2.x/primary_db                       | 5.4 kB   00:00     
(6/10): base/7/x86_64/primary_db                           | 5.3 MB   00:00     
(7/10): updates/7/x86_64/primary_db                        | 3.2 MB   00:00     
(8/10): epel/x86_64/primary_db                             | 3.9 MB   00:00     
(9/10): mariadb/primary_db                                 |  18 kB   00:00     
(10/10): remi-safe/primary_db                              | 363 kB   00:00     
rpmforge/primary_db                                        | 125 kB   00:00     
Determining fastest mirrors
* base: mirror.de.leaseweb.net
* epel: mirror.de.leaseweb.net
* extras: mirror2.hs-esslingen.de
* remi-safe: remi.schlundtech.de
* rpmforge: mirror.de.leaseweb.net
* updates: mirror.de.leaseweb.net
227 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:2.2.1-1 will be updated
---> Package elasticsearch.noarch 0:2.3.0-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package             Arch         Version         Repository               Size
================================================================================
Updating:
elasticsearch       noarch       2.3.0-1         elasticsearch-2.x        26 M

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 26 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for elasticsearch-2.x
elasticsearch-2.3.0.rpm                                    |  26 MB   00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : elasticsearch-2.3.0-1.noarch                                 1/2
  Cleanup    : elasticsearch-2.2.1-1.noarch                                 2/2
  Verifying  : elasticsearch-2.3.0-1.noarch                                 1/2
  Verifying  : elasticsearch-2.2.1-1.noarch                                 2/2

Updated:
  elasticsearch.noarch 0:2.3.0-1                                               

Complete!


# systemctl daemon-reload
# service elasticsearch restart
Restarting elasticsearch (via systemctl):                  [  OK  ]

# curl -XGET 'localhost:9200'
{
  "name" : "xxxx",
  "cluster_name" : "xxx",
  "version" : {
    "number" : "2.3.0",
    "build_hash" : "xxxxxxxxxxxxx",
    "build_timestamp" : "2016-03-29T07:54:48Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}


Code:
Elasticsearch Server:
http://127.0.0.1:9200/xxx
Version: 2.3.0
Documents: 289,405 (177.6 MB)
Index Updates: 9 (0.0289 seconds average)
Searches: 60 (0.0383 seconds average)
Fetches: 32 (0.0026 seconds average)

Note that statistics will be reset if Elasticsearch is restarted or if the index is temporarily closed.
 

Sunka

Well-known member
#2
Elasticsearch 2.3.1 is out there ;)

Code:
# yum clean all
Loaded plugins: fastestmirror, priorities
Cleaning repos: base elasticsearch-2.x epel extras mariadb remi-safe rpmforge
              : updates
Cleaning up everything
Cleaning up list of fastest mirrors

# yum update
Loaded plugins: fastestmirror, priorities
base                                                     | 3.6 kB     00:00     
elasticsearch-2.x                                        | 2.9 kB     00:00     
epel/x86_64/metalink                                     |  26 kB     00:00     
epel                                                     | 4.3 kB     00:00     
extras                                                   | 3.4 kB     00:00     
mariadb                                                  | 2.9 kB     00:00     
remi-safe                                                | 2.9 kB     00:00     
rpmforge                                                 | 1.9 kB     00:00     
updates                                                  | 3.4 kB     00:00     
(1/10): epel/x86_64/group_gz                               | 169 kB   00:00     
(2/10): base/7/x86_64/group_gz                             | 155 kB   00:00     
(3/10): epel/x86_64/updateinfo                             | 526 kB   00:00     
(4/10): base/7/x86_64/primary_db                           | 5.3 MB   00:00     
(5/10): extras/7/x86_64/primary_db                         | 117 kB   00:00     
(6/10): elasticsearch-2.x/primary_db                       | 5.8 kB   00:00     
(7/10): epel/x86_64/primary_db                             | 4.0 MB   00:00     
(8/10): updates/7/x86_64/primary_db                        | 3.9 MB   00:00     
(9/10): remi-safe/primary_db                               | 363 kB   00:00     
(10/10): mariadb/primary_db                                |  18 kB   00:00     
rpmforge/primary_db                                        | 125 kB   00:00     
Determining fastest mirrors
* base: mirror.imt-systems.com
* epel: mirror.23media.de
* extras: mirror.netcologne.de
* remi-safe: mirror5.layerjet.com
* rpmforge: mirror.de.leaseweb.net
* updates: mirror.de.leaseweb.net
227 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:2.3.0-1 will be updated
---> Package elasticsearch.noarch 0:2.3.1-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package             Arch         Version         Repository               Size
================================================================================
Updating:
elasticsearch       noarch       2.3.1-1         elasticsearch-2.x        26 M

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 26 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for elasticsearch-2.x
elasticsearch-2.3.1.rpm                                    |  26 MB   00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : elasticsearch-2.3.1-1.noarch                                 1/2
  Cleanup    : elasticsearch-2.3.0-1.noarch                                 2/2
  Verifying  : elasticsearch-2.3.1-1.noarch                                 1/2
  Verifying  : elasticsearch-2.3.0-1.noarch                                 2/2

Updated:
  elasticsearch.noarch 0:2.3.1-1                                               

Complete!


# systemctl daemon-reload
You have new mail in /var/spool/mail/root


# service elasticsearch restart
Restarting elasticsearch (via systemctl):                  [  OK  ]


# curl -XGET 'localhost:9200'
{
  "name" : "Arno Stark",
  "cluster_name" : "xxx",
  "version" : {
    "number" : "2.3.1",
    "build_hash" : "xxx",
    "build_timestamp" : "2016-04-04T12:25:05Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}

Code:
Elasticsearch Server: http://127.0.0.1:9200/xxx
Version:2.3.1
Documents:289,927 (174.3 MB)
Index Updates:0 Searches:130 (0.0209 seconds average)
Fetches:79 (0.0015 seconds average)

Note that statistics will be reset if Elasticsearch is restarted or if the index is temporarily closed.
 

Sunka

Well-known member
#3
Elasticsearch 2.3.2 is out there

Code:
yum update
Loaded plugins: fastestmirror, priorities
base                                                     | 3.6 kB     00:00     
elasticsearch-2.x                                        | 2.9 kB     00:00     
epel/x86_64/metalink                                     |  21 kB     00:00     
epel                                                     | 4.3 kB     00:00     
extras                                                   | 3.4 kB     00:00     
mariadb                                                  | 2.9 kB     00:00     
remi-safe                                                | 2.9 kB     00:00     
rpmforge                                                 | 1.9 kB     00:00     
updates                                                  | 3.4 kB     00:00     
(1/10): base/7/x86_64/group_gz                             | 155 kB   00:00     
(2/10): epel/x86_64/group_gz                               | 169 kB   00:00     
(3/10): epel/x86_64/updateinfo                             | 540 kB   00:00     
(4/10): extras/7/x86_64/primary_db                         | 117 kB   00:00     
(5/10): elasticsearch-2.x/primary_db                       | 6.1 kB   00:00     
(6/10): base/7/x86_64/primary_db                           | 5.3 MB   00:00     
(7/10): epel/x86_64/primary_db                             | 4.1 MB   00:00     
(8/10): remi-safe/primary_db                               | 381 kB   00:00     
(9/10): updates/7/x86_64/primary_db                        | 4.1 MB   00:00     
(10/10): mariadb/primary_db                                |  18 kB   00:00     
rpmforge/primary_db                                        | 125 kB   00:00     
Determining fastest mirrors
* base: mirror.imt-systems.com
* epel: mirror.imt-systems.com
* extras: mirror.23media.de
* remi-safe: remi.schlundtech.de
* rpmforge: mirror.de.leaseweb.net
* updates: ftp.plusline.de
225 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:2.3.1-1 will be updated
---> Package elasticsearch.noarch 0:2.3.2-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package             Arch         Version         Repository               Size
================================================================================
Updating:
elasticsearch       noarch       2.3.2-1         elasticsearch-2.x        26 M

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 26 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for elasticsearch-2.x
elasticsearch-2.3.2.rpm                                    |  26 MB   00:04     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : elasticsearch-2.3.2-1.noarch                                 1/2
  Cleanup    : elasticsearch-2.3.1-1.noarch                                 2/2
  Verifying  : elasticsearch-2.3.2-1.noarch                                 1/2
  Verifying  : elasticsearch-2.3.1-1.noarch                                 2/2

Updated:
  elasticsearch.noarch 0:2.3.2-1                                               

Complete!


# systemctl daemon-reload

# service elasticsearch restart
Restarting elasticsearch (via systemctl):                  [  OK  ]

# curl -XGET 'localhost:9200'
{
  "name" : "xxx",
  "cluster_name" : "xxx",
  "version" : {
    "number" : "2.3.2",
    "build_hash" : "b9e4a6acad4008027e4038f6abed7f7dba346f94",
    "build_timestamp" : "2016-04-21T16:03:47Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}

Code:
Elasticsearch Server: http://127.0.0.1:9200/xxx
Version:2.3.2
Documents:293,537 (176.6 MB)
Index Updates:0 
Searches:0 
Fetches:0

Note that statistics will be reset if Elasticsearch is restarted or if the index is temporarily closed.
 

Sunka

Well-known member
#4
Elasticsearch 2.3.3 is out there

Code:
yum update
Loaded plugins: fastestmirror, priorities
base                                                    | 3.6 kB     00:00     
elasticsearch-2.x                                       | 2.9 kB     00:00     
epel/x86_64/metalink                                    |  24 kB     00:00     
extras                                                  | 3.4 kB     00:00     
mariadb                                                 | 2.9 kB     00:00     
rpmforge                                                | 1.9 kB     00:00     
updates                                                 | 3.4 kB     00:00     
elasticsearch-2.x/primary_db                              | 6.4 kB   00:00     
Loading mirror speeds from cached hostfile
* base: mirror.de.leaseweb.net
* epel: mirror.de.leaseweb.net
* extras: mirror2.hs-esslingen.de
* rpmforge: mirror.de.leaseweb.net
* updates: mirror.imt-systems.com
219 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:2.3.2-1 will be updated
---> Package elasticsearch.noarch 0:2.3.3-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================
Package             Arch         Version        Repository               Size
===============================================================================
Updating:
elasticsearch       noarch       2.3.3-1        elasticsearch-2.x        26 M

Transaction Summary
===============================================================================
Upgrade  1 Package

Total download size: 26 M
Is this ok [y/d/N]: y

Downloading packages:
No Presto metadata available for elasticsearch-2.x
elasticsearch-2.3.3.rpm                                   |  26 MB   00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : elasticsearch-2.3.3-1.noarch                                1/2
  Cleanup    : elasticsearch-2.3.2-1.noarch                                2/2
  Verifying  : elasticsearch-2.3.3-1.noarch                                1/2
  Verifying  : elasticsearch-2.3.2-1.noarch                                2/2

Updated:
  elasticsearch.noarch 0:2.3.3-1                                               

Complete!
You have new mail in /var/spool/mail/root

# systemctl daemon-reload

# service elasticsearch restart
Restarting elasticsearch (via systemctl):                  [  OK  ]

# curl -XGET 'localhost:9200'
{
  "name" : "xxx",
  "cluster_name" : "xxx",
  "version" : {
    "number" : "2.3.3",
    "build_hash" : "xxx",
    "build_timestamp" : "2016-05-17T15:40:04Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}
Code:
Elasticsearch Server: http://127.0.0.1:9200/xxx
Version:2.3.3
Documents:295,976 (178.1 MB)
Index Updates:6 (0.0455 seconds average)
Searches:255 (0.0054 seconds average)
Fetches:25 (0.0076 seconds average)

Note that statistics will be reset if Elasticsearch is restarted or if the index is temporarily closed.
 

kontrabass

Well-known member
#5
Elasticsearch 2.3.3 is out there

Code:
yum update
Loaded plugins: fastestmirror, priorities
base                                                    | 3.6 kB     00:00    
elasticsearch-2.x                                       | 2.9 kB     00:00    
epel/x86_64/metalink                                    |  24 kB     00:00    
extras                                                  | 3.4 kB     00:00    
mariadb                                                 | 2.9 kB     00:00    
rpmforge                                                | 1.9 kB     00:00    
updates                                                 | 3.4 kB     00:00    
elasticsearch-2.x/primary_db                              | 6.4 kB   00:00    
Loading mirror speeds from cached hostfile
* base: mirror.de.leaseweb.net
* epel: mirror.de.leaseweb.net
* extras: mirror2.hs-esslingen.de
* rpmforge: mirror.de.leaseweb.net
* updates: mirror.imt-systems.com
219 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:2.3.2-1 will be updated
---> Package elasticsearch.noarch 0:2.3.3-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================
Package             Arch         Version        Repository               Size
===============================================================================
Updating:
elasticsearch       noarch       2.3.3-1        elasticsearch-2.x        26 M

Transaction Summary
===============================================================================
Upgrade  1 Package

Total download size: 26 M
Is this ok [y/d/N]: y

Downloading packages:
No Presto metadata available for elasticsearch-2.x
elasticsearch-2.3.3.rpm                                   |  26 MB   00:03    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : elasticsearch-2.3.3-1.noarch                                1/2
  Cleanup    : elasticsearch-2.3.2-1.noarch                                2/2
  Verifying  : elasticsearch-2.3.3-1.noarch                                1/2
  Verifying  : elasticsearch-2.3.2-1.noarch                                2/2

Updated:
  elasticsearch.noarch 0:2.3.3-1                                              

Complete!
You have new mail in /var/spool/mail/root

# systemctl daemon-reload

# service elasticsearch restart
Restarting elasticsearch (via systemctl):                  [  OK  ]

# curl -XGET 'localhost:9200'
{
  "name" : "xxx",
  "cluster_name" : "xxx",
  "version" : {
    "number" : "2.3.3",
    "build_hash" : "xxx",
    "build_timestamp" : "2016-05-17T15:40:04Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}
Code:
Elasticsearch Server: http://127.0.0.1:9200/xxx
Version:2.3.3
Documents:295,976 (178.1 MB)
Index Updates:6 (0.0455 seconds average)
Searches:255 (0.0054 seconds average)
Fetches:25 (0.0076 seconds average)

Note that statistics will be reset if Elasticsearch is restarted or if the index is temporarily closed.
Just upgraded to 2.3.3, no glitches to report. 21M documents indexed.
 

Jim Boy

Well-known member
#7
Finally got around to updating my XF elasticsearch instance from 1.7.1 - all good for 45 million docs, which is really small fry - I have another elasticsearch cluster that adds more than 200 million docs a day.
 

Sunka

Well-known member
#10
Elasticsearch 2.3.5 is out there

There are no changes in Elasticsearch 2.3.5 except for the version bump. This is a compatibility release for bug fixes in Marvel, Watcher, and Shield.
 

Sunka

Well-known member
#11
Elasticsearch 2.4.0 is out there

Release notes


Code:
# yum update
Loaded plugins: fastestmirror, priorities
base                                                    | 3.6 kB     00:00    
elasticsearch-2.x                                       | 2.9 kB     00:00    
epel/x86_64/metalink                                    |  24 kB     00:00    
epel                                                    | 4.3 kB     00:00    
extras                                                  | 3.4 kB     00:00    
mariadb                                                 | 2.9 kB     00:00    
updates                                                 | 3.4 kB     00:00    
(1/9): base/7/x86_64/group_gz                             | 155 kB   00:00    
(2/9): elasticsearch-2.x/primary_db                       | 7.3 kB   00:00    
(3/9): base/7/x86_64/primary_db                           | 5.3 MB   00:00    
(4/9): epel/x86_64/group_gz                               | 170 kB   00:00    
(5/9): extras/7/x86_64/primary_db                         | 160 kB   00:00    
(6/9): epel/x86_64/updateinfo                             | 610 kB   00:00    
(7/9): epel/x86_64/primary_db                             | 4.3 MB   00:00    
(8/9): updates/7/x86_64/primary_db                        | 7.1 MB   00:00    
(9/9): mariadb/primary_db                                 |  18 kB   00:00    
Determining fastest mirrors
 * base: mirror.de.leaseweb.net
 * epel: mirror.imt-systems.com
 * extras: mirror.de.leaseweb.net
 * updates: mirror.imt-systems.com
128 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:2.3.5-1 will be updated
---> Package elasticsearch.noarch 0:2.4.0-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================
 Package             Arch         Version        Repository               Size
===============================================================================
Updating:
 elasticsearch       noarch       2.4.0-1        elasticsearch-2.x        26 M

Transaction Summary
===============================================================================
Upgrade  1 Package

Total download size: 26 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for elasticsearch-2.x
elasticsearch-2.4.0.rpm                                   |  26 MB   00:02    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : elasticsearch-2.4.0-1.noarch                                1/2
warning: /etc/elasticsearch/elasticsearch.yml created as /etc/elasticsearch/elasticsearch.yml.rpmnew
warning: /etc/sysconfig/elasticsearch created as /etc/sysconfig/elasticsearch.rpmnew
  Cleanup    : elasticsearch-2.3.5-1.noarch                                2/2
  Verifying  : elasticsearch-2.4.0-1.noarch                                1/2
  Verifying  : elasticsearch-2.3.5-1.noarch                                2/2

Updated:
  elasticsearch.noarch 0:2.4.0-1                                              

Complete!


# systemctl daemon-reload

# service elasticsearch restart
Restarting elasticsearch (via systemctl):                  [  OK  ]

# curl -XGET 'localhost:9200'
{
  "name" : "Antiphon the Overseer",
  "cluster_name" : "xxxx",
  "version" : {
    "number" : "2.4.0",
    "build_hash" : "ce9f0c7394dee074091dd1bc4e9469251181fc55",
    "build_timestamp" : "2016-08-29T09:14:17Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.2"
  },
  "tagline" : "You Know, for Search"
}
 
#12
Cannot update, Please let me know how to update work?

PHP:
[root@na ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.yandex.ru
 * extras: mirror.yandex.ru
 * updates: mirror.yandex.ru
No packages marked for update
[root@na ~]#
PHP:
[root@na ~]# yum update
Loaded plugins: fastestmirror
MariaDB101                                                                                                                                                                                                            | 2.9 kB  00:00:00
base                                                                                                                                                                                                                  | 3.6 kB  00:00:00
elasticsearch-2.x                                                                                                                                                                                                     | 2.9 kB  00:00:00
extras                                                                                                                                                                                                                | 3.4 kB  00:00:00
updates                                                                                                                                                                                                               | 3.4 kB  00:00:00
Loading mirror speeds from cached hostfile
 * base: mirror.yandex.ru
 * extras: mirror.yandex.ru
 * updates: mirror.yandex.ru
No packages marked for update
[root@na ~]#
 
Last edited:
#14
try first
Code:
yum clean all
Doing this but still are not updated.

PHP:
[root@na ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: MariaDB101 base elasticsearch-2.x extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
[root@na ~]# yum update
Loaded plugins: fastestmirror
MariaDB101                                                                                                                                                                                                            | 2.9 kB  00:00:00
base                                                                                                                                                                                                                  | 3.6 kB  00:00:00
elasticsearch-2.x                                                                                                                                                                                                     | 2.9 kB  00:00:00
extras                                                                                                                                                                                                                | 3.4 kB  00:00:00
updates                                                                                                                                                                                                               | 3.4 kB  00:00:00
(1/6): MariaDB101/primary_db                                                                                                                                                                                          |  18 kB  00:00:00
(2/6): base/7/x86_64/group_gz                                                                                                                                                                                         | 155 kB  00:00:00
(3/6): extras/7/x86_64/primary_db                                                                                                                                                                                     | 160 kB  00:00:00
(4/6): elasticsearch-2.x/primary_db                                                                                                                                                                                   | 7.3 kB  00:00:00
(5/6): updates/7/x86_64/primary_db                                                                                                                                                                                    | 7.1 MB  00:00:00
(6/6): base/7/x86_64/primary_db                                                                                                                                                                                       | 5.3 MB  00:00:01
Determining fastest mirrors
 * base: mirror.yandex.ru
 * extras: mirror.yandex.ru
 * updates: mirror.yandex.ru
No packages marked for update
[root@na ~]#
 
#15
Perform this comand to check what version of Elasticsearch you have:

Code:
curl -XGET 'localhost:9200'
If you have the latest version 2.4.0 it means you will get no packages marked for update related to Elasticsearch when trying to perform "yum update"
 
#17
Perform this comand to check what version of Elasticsearch you have:

Code:
curl -XGET 'localhost:9200'
If you have the latest version 2.4.0 it means you will get no packages marked for update related to Elasticsearch when trying to perform "yum update"
I am using Version: 2.3.5

I am using this repo.

HTML:
[elasticsearch-2.x]
name=Elasticsearch repository for 2.x packages
baseurl=https://packages.elastic.co/elasticsearch/2.x/centos
gpgcheck=1
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
 

Sunka

Well-known member
#20
Elasticsearch 2.4.1 is out there

Release notes


Code:
# yum update
Loaded plugins: fastestmirror, priorities
base                                                    | 3.6 kB     00:00   
elasticsearch-2.x                                       | 2.9 kB     00:00   
epel/x86_64/metalink                                    |  25 kB     00:00   
epel                                                    | 4.3 kB     00:00   
extras                                                  | 3.4 kB     00:00   
mariadb                                                 | 2.9 kB     00:00   
updates                                                 | 3.4 kB     00:00   
varnish-4.1                                             |  951 B     00:00   
(1/3): elasticsearch-2.x/primary_db                       | 7.7 kB   00:00   
(2/3): epel/x86_64/updateinfo                             | 629 kB   00:00   
(3/3): epel/x86_64/primary_db                             | 4.2 MB   00:00   
Loading mirror speeds from cached hostfile
 * base: mirror.ratiokontakt.de
 * epel: mirror.imt-systems.com
 * extras: repo.de.bigstepcloud.com
 * updates: repo.de.bigstepcloud.com
130 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:2.4.0-1 will be updated
---> Package elasticsearch.noarch 0:2.4.1-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================
 Package             Arch         Version        Repository               Size
===============================================================================
Updating:
 elasticsearch       noarch       2.4.1-1        elasticsearch-2.x        26 M

Transaction Summary
===============================================================================
Upgrade  1 Package

Total download size: 26 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for elasticsearch-2.x
elasticsearch-2.4.1.rpm                                   |  26 MB   00:02   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : elasticsearch-2.4.1-1.noarch                                1/2
  Cleanup    : elasticsearch-2.4.0-1.noarch                                2/2
  Verifying  : elasticsearch-2.4.1-1.noarch                                1/2
  Verifying  : elasticsearch-2.4.0-1.noarch                                2/2

Updated:
  elasticsearch.noarch 0:2.4.1-1                                             

Complete!

# systemctl daemon-reload
# service elasticsearch restart
Restarting elasticsearch (via systemctl):                  [  OK  ]

# curl -XGET 'localhost:9200'
{
  "name" : "Scott Washington",
  "cluster_name" : "xxx",
  "cluster_uuid" : "xGyycRxUT_ei76sc_drVTg",
  "version" : {
    "number" : "2.4.1",
    "build_hash" : "c67dc32e24162035d18d6fe1e952c4cbcbe79d16",
    "build_timestamp" : "2016-09-27T18:57:55Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.2"
  },
  "tagline" : "You Know, for Search"
}