Giter Site home page Giter Site logo

Comments (3)

echinthaka avatar echinthaka commented on July 23, 2024

found the reason for this issue. Seems like when it is setting up a local file server to serv conf files to workers, it passed in the serving directory simply as conf. This might be troublesome if the startup scripts are being called from else where.

protected void setupHttpServer() throws Exception {
      _httpServer = new LocalFileServer();
      _configUrl = _httpServer.serveDir("/conf", "conf", _localFileServerPort);

      LOG.info("Started HTTP server from which config for the MesosSupervisor's may be fetched. URL: " + _configUrl);
  }

The fix here would be to have a configuration parameter to point to the correct conf directory path in these situations. I fixed this locally and will submit a PR later.

from storm.

erikdw avatar erikdw commented on July 23, 2024

@echinthaka has sent a PR with a proposed fix: #57

from storm.

erikdw avatar erikdw commented on July 23, 2024

#57 has 2 separate changes embedded in it, at least in its initial incarnation:

  • the 1st change (intended to fix this "serving config file" issue (#56)), but that never got merged because of the 2nd change:
  • the 2nd change is more impactful, using wget to download the executor tarball. This change is more involved and more questionable, and shouldn't have been clubbed together with the 1st change. That issue is still outstanding and deserves its own full-fledged GitHub "issue" in this project.

Notably, the "config file serving" problem is supposedly fixed by #65 per @brndnmtthws comment in #56:

This might no longer be needed since merging #65. From that PR, the config is generated at runtime and then served up to the supervisors.

from storm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.