Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How can I create a simple topology? I want to write this program using python on the hortonworks shell.

avatar
Expert Contributor

I'm new to Storm so, please suggest me where to start typing this piece of code and methods to save and execute it on the hortonworks shell. Any suggestions to get started will be helpful. Thanks in advance for your time.

1 ACCEPTED SOLUTION

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
24 REPLIES 24

avatar
Master Mentor

avatar
Expert Contributor

thanks @Neeraj Sabharwal -- are u suggesting that I can modify this code on the hortonworks shell?

avatar
Master Mentor

@keerthana gajarajakumar You can run smoke test to just test.

avatar
Expert Contributor

ok. Is there a way for me to code a program from scratch using the shell?

avatar
Expert Contributor

@Artem Ervits -- Hi Artem.. Can you help me out with this question?

avatar
Master Mentor

avatar
Expert Contributor

Thanks Neeraj.

avatar
Master Mentor

@keerthana gajarajakumar That tutorial has java code and end to end integration. You can replicate in your environment.

avatar
Expert Contributor

Hi Neeraj -- Thanks. Below listed is a modified version of the code that I guess would print out spout and bolt to stdout on execution. Now this jar file is within my root dir .. But I'm getting errors while executing it on the shell.. Can you suggest how I can overcome this?

storm jar StormTest.jar ExclamationTopology

Error: Could not find or load main class ExclamationTopology