mesos / elasticsearch

Elasticsearch on Mesos
Apache License 2.0
242 stars 92 forks source link

--elasticsearchSettingsLocation option can not recognize http endpoint #539

Open wenma opened 8 years ago

wenma commented 8 years ago

guys, here is the mesos sandbox log

invalid value "/home/q/mesos/data/slaves/fbe3622f-68b2-4e26-8a92-435f14ff10d2-S8/frameworks/d8b27d35-593d-442b-80b2-21575e9f2b09-0001/executors/b7260f7a-f563-4f5a-990b-b32f72e5328d/runs/b7b1681f-e287-4d79-8a66-0d5f524e85af/http://gitlab.corp.qunar.com/api/v3/projects/18515/repository/blobs/master?filepath=elasticsearch.yml&private_token=eDzybXxLAyAyGd9s6uDR:/tmp/config:ro" for flag -v: bad format for volumes: /home/q/mesos/data/slaves/fbe3622f-68b2-4e26-8a92-435f14ff10d2-S8/frameworks/d8b27d35-593d-442b-80b2-21575e9f2b09-0001/executors/b7260f7a-f563-4f5a-990b-b32f72e5328d/runs/b7b1681f-e287-4d79-8a66-0d5f524e85af/http://gitlab.corp.qunar.com/api/v3/projects/18515/repository/blobs/master?filepath=elasticsearch.yml&private_token=eDzybXxLAyAyGd9s6uDR:/tmp/config:ro
See 'docker run --help'.
philwinder commented 8 years ago

Thanks for reporting this. I'm not sure why it has done this. I have tested the http download to be working, so I suspect that it is something to do with your URL. Maybe it is the token at the end.

Could you try using a location similar to what is used in the documentation? e.g.

--elasticsearchSettingsLocation https://gist.githubusercontent.com/mmaloney/5e1da5daa58b70a3a671/raw/elasticsearch.yml

Make sure you don't pass quotes. If that works, then maybe it is your url that is causing the problem, and is probably a bug.

philwinder commented 8 years ago

@wenma Have you managed to retry this?