Skip to content

Commit

Permalink
Update elasticsearch_install.rb
Browse files Browse the repository at this point in the history
Updating Elasticsearch to 1.7.4 and elasticsearch-cloud-aws to 2.7.1
Tested on EMR AMI 3.10.0
  • Loading branch information
hvivani committed Jan 19, 2016
1 parent ff5c015 commit c47fb9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elasticsearch/elasticsearch_install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def install_pleaserun
@run_dir = "/home/hadoop/elasticsearch/"
# this is where additional logs are sent in case terminal output needs to be caught
@log_dir = "/home/hadoop/elasticsearch/"
@elasticsearch_version = "1.7.0"
@elasticsearch_version = "1.7.4"
@elasticsearch_port_master = 9200
@elasticsearch_port_slaves = 9202

Expand Down Expand Up @@ -74,7 +74,7 @@ def install_elasticsearch(target_dir, run_dir, log_dir, elasticsearch_version)

install_dir = "#{target_dir}elasticsearch-#{elasticsearch_version}/"
# installing elasticsearch aws plugin
run("#{install_dir}bin/plugin -install elasticsearch/elasticsearch-cloud-aws/2.7.0")
run("#{install_dir}bin/plugin -install elasticsearch/elasticsearch-cloud-aws/2.7.1")
# installing hdfs repository
run("#{install_dir}bin/plugin -install elasticsearch/elasticsearch-repository-hdfs/2.1.0-hadoop2")

Expand Down

0 comments on commit c47fb9d

Please sign in to comment.