Giter Club home page Giter Club logo

Comments (2)

Blackmist avatar Blackmist commented on July 4, 2024 3

Hi @thinklarge it looks like this is a side effect of Storm being developed primarily on Linux, and probably not heavily tested on Windows.

The default configuration assumes that there's a web log (I'm guessing the Storm web UI) and tries to log it. But the variable (${sys:daemon.name}) isn't being replaced, and some of those characters aren't legal in a Windows file path/name.

I was able to work around this problem on a Windows system by using the following steps:

  1. Go to the directory that you installed the Storm development environment into.
  2. In the log4j2 subdirectory, edit cluster.xml.
  3. find the line that begins with <RollingFile name="WEB-ACCESS". Remove the string -${sys:daemon.name} from the fileName property of this line. This results in Storm creating a file named access-web.log, which Windows understands. Save the file after making the change.

One other thing that I noticed on Windows is that the Storm command doesn't send the output of the topology to the console. I tried with both cmd.exe and PowerShell. Instead, the output is logged to <storm installation directory>\logs\jar.log.

Can you give this a try and see if it works aroudn the error for you?

from hdinsight-java-storm-wordcount.

NicolasPhan avatar NicolasPhan commented on July 4, 2024

Hi @Blackmist, I encountered the same issue and your workaround fixed the issue !
Thanks a lot ! :)

from hdinsight-java-storm-wordcount.

Related Issues (2)

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.