After upgrade of elastic from 2.3.1 to 5.0.0-alpha3 , i had to remove/comment out the parameters
http.jsonp.enable (error: unknown setting [http.jsonp.enable] did you mean [http.cors.enabled]?)
node.rack ( not a valid setting)
bootstrap.mlockall ( error : memory locking requested for elasticsearch process but memory is not locked))
in the elasticsearch.yml config file.
However, requests to elastic cluster are failing with error- Error: connect ECONNREFUSED - when tried to copy an index to elastic from another cluster using elasticdump. Please suggest