CONF_FILE setting is no longer supported

I am upgrading the Eleasticsearch version from 1.5.0 to 2.1.1
While installing plugin i am getting below message

'CONF_FILE setting is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed.'

Kindly help me in solving this issue.

What exactly did you do?

I think you did not update the plugin script.

Yes, i didn't update the plugin script, Please help me in update the plugin script.

So update the plugin script.

Again, I don't know what you are doing.

I guess you did not read

I am trying to install plugins.

May be you don't understand when I'm saying the following?

update the plugin script


What exactly did you do?

Thank you for your response, I am in hurry to complete the task, so i got stuck.

Still i am in confusion .

Kindly guide me.

Sorry. I can't help.

Same thing happened to me.

For me the solution was to go to
folder and comment out the line which had CONF_FILE in it.

I also shared this solution on the github issue: