Steven,
Forgot to mention an issue which might be important to you...
 
On one test run I did awhile back when I removed elasticsearch entirely and 
re-installed, I discovered it had replace my customized elasticsearch.yml 
with the default which IMO is the <wrong> behavior.
 
To guard against this, if you remove elasticsearch with the intention of 
re-installing you should first cp elasticsearch.yml and maybe even 
/etc/sysconfig/elasticsearch
 
Tony
 
 

On Wednesday, February 19, 2014 9:05:11 AM UTC-8, Steven Williamson wrote:

>
> Hi,
>
>
> Unless I am missing something obvious (and i might be) an upgrade of 
> elasticsearch on centos removes the elasticsearch user and group previously 
> added by the package. This of course stops elasticsearch from been able to 
> start. Is anyone else able to reproduce this or am i just loosing the plot 
> :)
>
>
>
> Example on centos 5.7 for reference:
>
> yum info elasticsearch
> Loaded plugins: fastestmirror
> Installed Packages
> Name       : elasticsearch
> Arch       : noarch
> Version    : 0.90.1
> Release    : 1
> Size       : 19 M
> Repo       : installed
> Summary    : elasticsearch
> License    : 2013, Elasticsearch
> Description: ElasticSearch - Open Source, Distributed, RESTful Search 
> Engine
>
>
> id elasticsearch
> uid=106(elasticsearch) gid=106(elasticsearch) groups=106(elasticsearch) 
> context=system_u:system_r:unconfined_t:SystemLow-SystemHigh
>
>
> sudo yum upgrade ./elasticsearch-1.0.0.noarch.rpm --nogpgcheck
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: mirror.sov.uk.goscomb.net
>  * extras: mirror.simwood.com
>  * updates: mirror.simwood.com
> Setting up Upgrade Process
> Examining ./elasticsearch-1.0.0.noarch.rpm: elasticsearch-1.0.0-1.noarch
> Marking ./elasticsearch-1.0.0.noarch.rpm as an update to 
> elasticsearch-0.90.1-1.noarch
> Resolving Dependencies
> --> Running transaction check
> ---> Package elasticsearch.noarch 0:1.0.0-1 set to be updated
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
>
> ====================================================================================================================================================================
>  Package                                Arch                           
>  Version                          Repository                               
>              Size
>
> ====================================================================================================================================================================
> Updating:
>  elasticsearch                          noarch                         
>  1.0.0-1                          /elasticsearch-1.0.0.noarch               
>             20 M
>
> Transaction Summary
>
> ====================================================================================================================================================================
> Install       0 Package(s)
> Upgrade       1 Package(s)
>
> Total size: 20 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running rpm_check_debug
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Updating       : elasticsearch                                           
>                                                                             
>          1/2
>   Cleanup        : elasticsearch                                           
>                                                                             
>          2/2
> Removing elasticsearch user and group if existing
>
> Updated:
>   elasticsearch.noarch 0:1.0.0-1
>
> Complete!
>
>
> id elasticsearch
> id: elasticsearch: No such user
>
>
> Regards
> Steve.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/92907d16-ea56-491d-94af-823a21fe166a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to