You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by "Kreutzer, Edward" <Ed...@schwab.com> on 2014/03/11 21:09:50 UTC
Run Storm Without Using Maven or Lienengen
Perhaps a naïve question here, but how can I compile and submit a storm or trident topology without using Maven or Lienengen?
Ted Kreutzer
Re: Run Storm Without Using Maven or Lienengen
Posted by Abhishek Bhattacharjee <ab...@gmail.com>.
I think you can use gradle too :-)
On Wed, Mar 12, 2014 at 9:42 PM, Alexei Osipov <alexei.osipov@caesarsint.com
> wrote:
> On 2014-03-11 23:09, Kreutzer, Edward wrote:
>
> Perhaps a naïve question here, but how can I compile and submit a storm
> or trident topology without using Maven or Lienengen?
>
>
>
> *Ted Kreutzer*
>
>
>
> 1. Package everything into a single jar-file. This jar must include all
> your dependencies except storm itself. There are may ways to do that. Try
> "One-JAR" if you don't want maven :)
> 2. Execute
> storm jar PATH_TO_YOUR_JAR_FILE YOUR_JAR_MAIN_CLASS ARGUMENTS
>
> Example:
> storm jar C:\example\example-jar-with-dependencies.jar
> com.examplecompany.MyTopology my-topology
>
> Alexei Osipov
>
--
*Abhishek Bhattacharjee*
*Pune Institute of Computer Technology*
Re: Run Storm Without Using Maven or Lienengen
Posted by Alexei Osipov <al...@caesarsint.com>.
On 2014-03-11 23:09, Kreutzer, Edward wrote:
>
> Perhaps a naïve question here, but how can I compile and submit a
> storm or trident topology without using Maven or Lienengen?
>
> *Ted Kreutzer*
>
1. Package everything into a single jar-file. This jar must include all
your dependencies except storm itself. There are may ways to do that.
Try "One-JAR" if you don't want maven :)
2. Execute
storm jar PATH_TO_YOUR_JAR_FILE YOUR_JAR_MAIN_CLASS ARGUMENTS
Example:
storm jar C:\example\example-jar-with-dependencies.jar
com.examplecompany.MyTopology my-topology
Alexei Osipov