Sorry, it should be line 1519 not line 519.

On Thu, Sep 29, 2016 at 10:26 AM, Eranga Heshan <[email protected]>
wrote:

> This is the exception which was in nimbus log. (nimbus runs despite of the
> exception)
>
> java.lang.ClassCastException: java.lang.Long cannot be cast to
> java.lang.Integer
>     at org.apache.storm.stats.StatsUtil.extractNodeInfosFromHbForComp(
> StatsUtil.java:1519)
>     at org.apache.storm.daemon.nimbus$mk_reified_nimbus$reify__5190.
> getComponentPendingProfileActions(nimbus.clj:1819)
>     at org.apache.storm.generated.Nimbus$Processor$
> getComponentPendingProfileActions.getResult(Nimbus.java:3259)
>     at org.apache.storm.generated.Nimbus$Processor$
> getComponentPendingProfileActions.getResult(Nimbus.java:3244)
>     at org.apache.storm.thrift.ProcessFunction.process(
> ProcessFunction.java:39)
>     at org.apache.storm.thrift.TBaseProcessor.process(
> TBaseProcessor.java:39)
>     at org.apache.storm.security.auth.SimpleTransportPlugin$
> SimpleWrapProcessor.process(SimpleTransportPlugin.java:158)
>     at org.apache.storm.thrift.server.AbstractNonblockingServer$
> FrameBuffer.invoke(AbstractNonblockingServer.java:518)
>     at org.apache.storm.thrift.server.Invocation.run(Invocation.java:18)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
>     at java.lang.Thread.run(Thread.java:745)
>
> Changing "StatsUtil.java" line 519 from "Integer port = (Integer)
> value.get(1);" to "Integer port = ((Long) value.get(1)).intValue();" solved
> that problem.
>
> Then came another exception.
>
> java.lang.ClassCastException: java.util.ArrayList cannot be cast to
> org.apache.storm.generated.ProfileRequest
>     at org.apache.storm.converter$clojurify_profile_request.
> invoke(converter.clj:240)
>     at org.apache.storm.daemon.nimbus$mk_reified_nimbus$reify__5190.
> getComponentPendingProfileActions(nimbus.clj:1820)
>     at org.apache.storm.generated.Nimbus$Processor$
> getComponentPendingProfileActions.getResult(Nimbus.java:3259)
>     at org.apache.storm.generated.Nimbus$Processor$
> getComponentPendingProfileActions.getResult(Nimbus.java:3244)
>     at org.apache.storm.thrift.ProcessFunction.process(
> ProcessFunction.java:39)
>     at org.apache.storm.thrift.TBaseProcessor.process(
> TBaseProcessor.java:39)
>     at org.apache.storm.security.auth.SimpleTransportPlugin$
> SimpleWrapProcessor.process(SimpleTransportPlugin.java:158)
>     at org.apache.storm.thrift.server.AbstractNonblockingServer$
> FrameBuffer.invoke(AbstractNonblockingServer.java:518)
>     at org.apache.storm.thrift.server.Invocation.run(Invocation.java:18)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
>     at java.lang.Thread.run(Thread.java:745)
>
> For now I have stopped testing storm-2.0.0-SNAPSHOT. Hope this helps
> others though.
>
> Regards,
> Eranga
>
> On Thu, Sep 29, 2016 at 8:40 AM, Eranga Heshan <[email protected]>
> wrote:
>
>> I checked. Nimbus is running.
>>
>> On Thu, Sep 29, 2016 at 6:19 AM, Junfeng Chen <[email protected]> wrote:
>>
>>> Check your nimbus process. This error always occurs when your nimbus is
>>> down.
>>>
>>> Regard,
>>> Junfeng Chen
>>>
>>> On Wed, Sep 28, 2016 at 4:19 PM, Eranga Heshan <[email protected]>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I recently built apache-storm-2.0.0-SNAPSHOT and submitted a topology
>>>> called EmailProcessor Benchmark. Although the topology is submitted and
>>>> processed successfully, when trying to look inside bolts using UI, it gives
>>>> an "internal Server Error".
>>>>
>>>> I have attached the error file with this thread. Any help is much
>>>> appreciated.
>>>>
>>>> Thank you,
>>>> Eranga Heshan
>>>>
>>>> --
>>>> Eranga Heshan
>>>> Undergraduate,
>>>> Department of Computer Science & Engineering,
>>>> University of Moratuwa.
>>>> Mobile: 0711382686
>>>>
>>>
>>>
>>
>>
>> --
>> Eranga Heshan
>> Undergraduate,
>> Department of Computer Science & Engineering,
>> University of Moratuwa.
>> Mobile: 0711382686
>>
>
>
>
> --
> Eranga Heshan
> Undergraduate,
> Department of Computer Science & Engineering,
> University of Moratuwa.
> Mobile: 0711382686
>



-- 
Eranga Heshan
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa.
Mobile: 0711382686

Reply via email to