Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Handle when components are defined inside topology module #441

Open
dan-blanchard opened this issue Jul 31, 2018 · 0 comments
Open

Handle when components are defined inside topology module #441

dan-blanchard opened this issue Jul 31, 2018 · 0 comments

Comments

@dan-blanchard
Copy link
Member

I recently rediscovered that you cannot define a Bolt or Spout inside a topology module, because the topology module does not get packaged up with the the rest of the code. The error message you get is really cryptic, because the Storm workers will crash when launching the process telling you the topology module cannot be found. We should either explicitly detect and disallow this behavior, or add the topology file to the JAR that gets created. (Personally, I think adding the Python file to the JAR would be difficult, because the import paths in the topology module itself are unlikely to still work.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant