You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by researcher cs <pr...@gmail.com> on 2015/11/03 00:09:47 UTC

error when submit the topology

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
Exception in thread "main" java.lang.RuntimeException: Found multiple
defaults.yaml resources. You're probably bundling the Storm jars with your
topology jar.
at backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:115)
at backtype.storm.utils.Utils.readDefaultConfig(Utils.java:135)

Re: error when submit the topology

Posted by researcher cs <pr...@gmail.com>.
Thanks it worked !

On Tue, Nov 3, 2015 at 2:18 AM, 임정택 <ka...@gmail.com> wrote:

> Please set scope to "provided" from your storm-core dependency.
>
> Thanks,
> Jungtaek Lim (HeartSaVioR)
>
> 2015-11-03 8:29 GMT+09:00 researcher cs <pr...@gmail.com>:
>
>> <dependencies> <dependency> <groupId>storm</groupId>
>> <artifactId>storm</artifactId> <version>0.8.2</version>
>> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId>
>> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope>
>> </dependency> <dependency> <groupId>colt</groupId>
>> <artifactId>colt</artifactId> <version>1.2.0</version> </dependency>
>> <dependency> <groupId>com.fasterxml.jackson.core</groupId>
>> <artifactId>jackson-core</artifactId> <version>2.0.0</version>
>> </dependency> <dependency> <groupId>org.twitter4j</groupId>
>> <artifactId>twitter4j-core</artifactId> <version>4.0.2</version>
>> </dependency> <dependency> <groupId>org.twitter4j</groupId>
>> <artifactId>twitter4j-stream</artifactId> <version>4.0.2</version>
>> </dependency> <dependency> <groupId>log4j</groupId>
>> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency>
>> </dependencies>
>>
>> On Tue, Nov 3, 2015 at 1:27 AM, researcher cs <pr...@gmail.com>
>> wrote:
>>
>>> Thanks for replying , sorry i'm new to maven which part do you mean in
>>> pom?
>>>
>>
>>
>
>
> --
> Name : 임 정택
> Blog : http://www.heartsavior.net / http://dev.heartsavior.net
> Twitter : http://twitter.com/heartsavior
> LinkedIn : http://www.linkedin.com/in/heartsavior
>

Re: error when submit the topology

Posted by researcher cs <pr...@gmail.com>.
i'll try it but Should i package using mvn package again after clean or not
?

On Tue, Nov 3, 2015 at 2:18 AM, 임정택 <ka...@gmail.com> wrote:

> Please set scope to "provided" from your storm-core dependency.
>
> Thanks,
> Jungtaek Lim (HeartSaVioR)
>
> 2015-11-03 8:29 GMT+09:00 researcher cs <pr...@gmail.com>:
>
>> <dependencies> <dependency> <groupId>storm</groupId>
>> <artifactId>storm</artifactId> <version>0.8.2</version>
>> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId>
>> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope>
>> </dependency> <dependency> <groupId>colt</groupId>
>> <artifactId>colt</artifactId> <version>1.2.0</version> </dependency>
>> <dependency> <groupId>com.fasterxml.jackson.core</groupId>
>> <artifactId>jackson-core</artifactId> <version>2.0.0</version>
>> </dependency> <dependency> <groupId>org.twitter4j</groupId>
>> <artifactId>twitter4j-core</artifactId> <version>4.0.2</version>
>> </dependency> <dependency> <groupId>org.twitter4j</groupId>
>> <artifactId>twitter4j-stream</artifactId> <version>4.0.2</version>
>> </dependency> <dependency> <groupId>log4j</groupId>
>> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency>
>> </dependencies>
>>
>> On Tue, Nov 3, 2015 at 1:27 AM, researcher cs <pr...@gmail.com>
>> wrote:
>>
>>> Thanks for replying , sorry i'm new to maven which part do you mean in
>>> pom?
>>>
>>
>>
>
>
> --
> Name : 임 정택
> Blog : http://www.heartsavior.net / http://dev.heartsavior.net
> Twitter : http://twitter.com/heartsavior
> LinkedIn : http://www.linkedin.com/in/heartsavior
>

Re: error when submit the topology

Posted by 임정택 <ka...@gmail.com>.
Please set scope to "provided" from your storm-core dependency.

Thanks,
Jungtaek Lim (HeartSaVioR)

2015-11-03 8:29 GMT+09:00 researcher cs <pr...@gmail.com>:

> <dependencies> <dependency> <groupId>storm</groupId>
> <artifactId>storm</artifactId> <version>0.8.2</version>
> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId>
> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope>
> </dependency> <dependency> <groupId>colt</groupId>
> <artifactId>colt</artifactId> <version>1.2.0</version> </dependency>
> <dependency> <groupId>com.fasterxml.jackson.core</groupId>
> <artifactId>jackson-core</artifactId> <version>2.0.0</version>
> </dependency> <dependency> <groupId>org.twitter4j</groupId>
> <artifactId>twitter4j-core</artifactId> <version>4.0.2</version>
> </dependency> <dependency> <groupId>org.twitter4j</groupId>
> <artifactId>twitter4j-stream</artifactId> <version>4.0.2</version>
> </dependency> <dependency> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency>
> </dependencies>
>
> On Tue, Nov 3, 2015 at 1:27 AM, researcher cs <pr...@gmail.com>
> wrote:
>
>> Thanks for replying , sorry i'm new to maven which part do you mean in
>> pom?
>>
>
>


-- 
Name : 임 정택
Blog : http://www.heartsavior.net / http://dev.heartsavior.net
Twitter : http://twitter.com/heartsavior
LinkedIn : http://www.linkedin.com/in/heartsavior

Re: error when submit the topology

Posted by researcher cs <pr...@gmail.com>.
<dependencies> <dependency> <groupId>storm</groupId>
<artifactId>storm</artifactId> <version>0.8.2</version>
<scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId>
<artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope>
</dependency> <dependency> <groupId>colt</groupId>
<artifactId>colt</artifactId> <version>1.2.0</version> </dependency>
<dependency> <groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId> <version>2.0.0</version>
</dependency> <dependency> <groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId> <version>4.0.2</version>
</dependency> <dependency> <groupId>org.twitter4j</groupId>
<artifactId>twitter4j-stream</artifactId> <version>4.0.2</version>
</dependency> <dependency> <groupId>log4j</groupId>
<artifactId>log4j</artifactId> <version>1.2.17</version> </dependency>
</dependencies>

On Tue, Nov 3, 2015 at 1:27 AM, researcher cs <pr...@gmail.com>
wrote:

> Thanks for replying , sorry i'm new to maven which part do you mean in
> pom?
>

Re: error when submit the topology

Posted by researcher cs <pr...@gmail.com>.
Thanks for replying , sorry i'm new to maven which part do you mean in pom?

Re: error when submit the topology

Posted by Parth Brahmbhatt <pb...@hortonworks.com>.
As the message suggests, remove storm-core dependency from your dependency tree during the package phase, you only need it during compilation.

From: researcher cs <pr...@gmail.com>>
Reply-To: "user@storm.apache.org<ma...@storm.apache.org>" <us...@storm.apache.org>>
Date: Monday, November 2, 2015 at 4:09 PM
To: "user@storm.apache.org<ma...@storm.apache.org>" <us...@storm.apache.org>>
Subject: error when submit the topology

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Exception in thread "main" java.lang.RuntimeException: Found multiple defaults.yaml resources. You're probably bundling the Storm jars with your topology jar.
at backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:115)
at backtype.storm.utils.Utils.readDefaultConfig(Utils.java:135)