Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change LocalFileServer to allow respecting storm.yaml's nimbus.host #167

Merged
merged 2 commits into from
Aug 16, 2016

Conversation

erikdw
Copy link
Collaborator

@erikdw erikdw commented Aug 14, 2016

Prior to this the only way to configure the URL that LocalFileServer listens
to is via MESOS_NIMBUS_HOST environment variable. That differs from the
behavior of the core MesosNimbus which supports that env variable, as well
as the nimbus.host field in the storm.yaml config. So update the code to
make them equally configurable.

Prior to this the only way to configure the URL that LocalFileServer listens
to is via MESOS_NIMBUS_HOST environment variable.  That differs from the
behavior of the core MesosNimbus which supports that env variable, as well
as the nimbus.host field in the storm.yaml config.  So update the code to
make them equally configurable.
@erikdw
Copy link
Collaborator Author

erikdw commented Aug 14, 2016

@drewrobb : can you please review when you have a chance? Thanks!

@drewrobb
Copy link
Contributor

LGTM!

@drewrobb
Copy link
Contributor

looks like build is failing for unrelated reasons

@erikdw erikdw force-pushed the make-LocalFileServer-respect-nimbus.host branch from ad5fa4e to f2dd8f8 Compare August 16, 2016 02:31
This is needed to allow the travis-ci builds to succeed.
It was failing with errors like this:

```
$ travis_retry sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${TRAVIS_DOCKER_VERSION}
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
  yubico-piv-tool
The following packages will be DOWNGRADED:
  docker-engine
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 15 not upgraded.
Need to get 8,725 kB of archives.
After this operation, 58.0 MB disk space will be freed.
E: There are problems and -y was used without --force-yes

The command "sudo apt-get -o Dpkg::Options::=--force-confnew install -y docker-engine=1.10.3-0~trusty" failed. Retrying, 2 of 3.
```
@erikdw erikdw force-pushed the make-LocalFileServer-respect-nimbus.host branch from f2dd8f8 to bbaa442 Compare August 16, 2016 02:32
@erikdw
Copy link
Collaborator Author

erikdw commented Aug 16, 2016

@drewrobb : thanks for the review. Yeah, looks like the hardcoded docker-engine version is at fault, I removed it in another commit that I suppose I'll just piggy-back into this PR. My first build worked just fine: https://travis-ci.org/mesos/storm/builds/152560889
Another build is running right now because I updated the commit description.

@erikdw erikdw merged commit 09b6193 into mesos:master Aug 16, 2016
@bigdata-user
Copy link

@erikdw storm on mesos(0.28.2) cannot support zookeeper,so the mesos-master isn't HA!

@erikdw
Copy link
Collaborator Author

erikdw commented Aug 16, 2016

@zhanghangchina : this isn't the right place to make that comment @zhanghangchina. Please open an issue if you have a problem.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants