You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Walid Aljoby <wa...@yahoo.com> on 2016/07/23 12:32:39 UTC
Found multiple defaults.yaml resources
Hi Everyone,
I got this error:
Exception in thread "main" java.lang.RuntimeException: Found multiple defaults.yaml resources. You're probably bundling the Storm jars with your topology jar!!
What I understand that Storm jars mean the dependencies stated in pom.xml file, while topology jar is the generated jar file by mvn package that contains spout and bolt classes..
I find defaults.yaml only in the storm-core (dependency) file.
Can Anyone explain more, please?
Thank you--Regards
WA
Re: Found multiple defaults.yaml resources
Posted by Manu Zhang <ow...@gmail.com>.
Hi Walid,
It probably means you build your application jar with storm-core included
which is already on the storm classpath.
Try making storm-core as "provided" dependency.
Thanks,
Manu Zhang
On Sat, Jul 23, 2016 at 8:32 PM Walid Aljoby <wa...@yahoo.com.invalid>
wrote:
>
> Hi Everyone,
> I got this error:
> Exception in thread "main" java.lang.RuntimeException: Found multiple
> defaults.yaml resources. You're probably bundling the Storm jars with your
> topology jar!!
>
> What I understand that Storm jars mean the dependencies stated in
> pom.xml file, while topology jar is the generated jar file by mvn package
> that contains spout and bolt classes..
>
> I find defaults.yaml only in the storm-core (dependency) file.
> Can Anyone explain more, please?
>
> Thank you--Regards
> WA
Re: Found multiple defaults.yaml resources
Posted by Manu Zhang <ow...@gmail.com>.
Hi Walid,
It probably means you build your application jar with storm-core included
which is already on the storm classpath.
Try making storm-core as "provided" dependency.
Thanks,
Manu Zhang
On Sat, Jul 23, 2016 at 8:32 PM Walid Aljoby <wa...@yahoo.com.invalid>
wrote:
>
> Hi Everyone,
> I got this error:
> Exception in thread "main" java.lang.RuntimeException: Found multiple
> defaults.yaml resources. You're probably bundling the Storm jars with your
> topology jar!!
>
> What I understand that Storm jars mean the dependencies stated in
> pom.xml file, while topology jar is the generated jar file by mvn package
> that contains spout and bolt classes..
>
> I find defaults.yaml only in the storm-core (dependency) file.
> Can Anyone explain more, please?
>
> Thank you--Regards
> WA