Hi All,

Will someone get concerned after seen a warning or an error, in this case?
IMO if this is of no harm and not require any attention, we could just make
it a debug log. But it really depends on the scenario and we need to
examine.


On Sat, Jan 11, 2014 at 11:49 PM, Lahiru Sandaruwan <[email protected]>wrote:

>
>
>
> On Sat, Jan 11, 2014 at 11:22 PM, Isuru Perera <[email protected]> wrote:
>
>> Then I think you can just log a warning message instead of logging an
>> error message with stack trace.
>>
>>
> +1 for getting rid of stack trace... IMO it should be an error level log...
>
>
>>
>> On Sat, Jan 11, 2014 at 11:13 PM, Lahiru Sandaruwan <[email protected]>wrote:
>>
>>>
>>>
>>>
>>> On Sat, Jan 11, 2014 at 10:46 PM, Nirmal Fernando <
>>> [email protected]> wrote:
>>>
>>>> There's a possibility that CEP would emit an event in this scenario
>>>> (since CEP aggregates events came in a specific time period). This cannot
>>>> be solved at CEP end, I think the solution would be to discard events that
>>>> are not relevant at Auto-scaler end. Wdyt?
>>>>
>>>
>>> Yeah. Actually it happens already. Since the cluster monitor is not
>>> there, it just prints this error message..
>>>
>>>>
>>>>
>>>> On Sat, Jan 11, 2014 at 10:11 PM, Lahiru Sandaruwan 
>>>> <[email protected]>wrote:
>>>>
>>>>> $subject.
>>>>>
>>>>> For e.g. there is no instances in the cluster
>>>>> "lahiru123.isuruh.lk.php.domain " since the user has unsubscribed.
>>>>> But Autoscaler has received a stat event [1]..
>>>>>
>>>>> [1]
>>>>> TID: [0] [Agent] [2014-01-11 16:34:39,696] ERROR
>>>>> {org.apache.stratos.autoscaler.message.receiver.health.AutoscalerHealthStatReceiver}
>>>>> -  A cluster monitor is not found in autoscaler context [cluster]
>>>>> lahiru123.isuruh.lk.php.domain
>>>>> {org.apache.stratos.autoscaler.message.receiver.health.AutoscalerHealthStatReceiver}
>>>>> TID: [0] [Agent] [2014-01-11 16:34:39,696] ERROR
>>>>> {org.apache.stratos.messaging.message.receiver.health.stat.HealthStatEventMessageDelegator}
>>>>> -  Failed to retrieve instance notifier event message
>>>>> {org.apache.stratos.messaging.message.receiver.health.stat.HealthStatEventMessageDelegator}
>>>>> java.lang.RuntimeException: A monitor is not found for this cluster
>>>>> at
>>>>> org.apache.stratos.autoscaler.message.receiver.health.AutoscalerHealthStatReceiver.handleMemberFaultEvent(AutoscalerHealthStatReceiver.java:1084)
>>>>>  at
>>>>> org.apache.stratos.autoscaler.message.receiver.health.AutoscalerHealthStatReceiver.access$300(AutoscalerHealthStatReceiver.java:49)
>>>>> at
>>>>> org.apache.stratos.autoscaler.message.receiver.health.AutoscalerHealthStatReceiver$9.onEvent(AutoscalerHealthStatReceiver.java:753)
>>>>>  at
>>>>> org.apache.stratos.messaging.listener.EventListener.update(EventListener.java:42)
>>>>> at java.util.Observable.notifyObservers(Observable.java:142)
>>>>>  at
>>>>> org.apache.stratos.messaging.event.EventObservable.notifyEventListeners(EventObservable.java:51)
>>>>> at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.MemberFaultMessageProcessor.process(MemberFaultMessageProcessor.java:50)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.SecondDerivativeOfMemoryConsumptionMessageProcessor.process(SecondDerivativeOfMemoryConsumptionMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.GradientOfMemoryConsumptionMessageProcessor.process(GradientOfMemoryConsumptionMessageProcessor.java:58)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.AverageMemoryConsumptionMessageProcessor.process(AverageMemoryConsumptionMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.SecondDerivativeOfLoadAverageMessageProcessor.process(SecondDerivativeOfLoadAverageMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.GradientOfLoadAverageMessageProcessor.process(GradientOfLoadAverageMessageProcessor.java:59)
>>>>> at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.AverageLoadAverageMessageProcessor.process(AverageLoadAverageMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.SecondDerivativeOfRequestsInFlightMessageProcessor.process(SecondDerivativeOfRequestsInFlightMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.GradientOfRequestsInFlightMessageProcessor.process(GradientOfRequestsInFlightMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.AverageRequestsInFlightMessageProcessor.process(AverageRequestsInFlightMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.MemberSecondDerivativeOfMemoryConsumptionMessageProcessor.process(MemberSecondDerivativeOfMemoryConsumptionMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.MemberGradientOfMemoryConsumptionMessageProcessor.process(MemberGradientOfMemoryConsumptionMessageProcessor.java:60)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.MemberAverageMemoryConsumptionMessageProcessor.process(MemberAverageMemoryConsumptionMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.MemberSecondDerivativeOfLoadAverageMessageProcessor.process(MemberSecondDerivativeOfLoadAverageMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.MemberGradientOfLoadAverageMessageProcessor.process(MemberGradientOfLoadAverageMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.health.stat.MemberAverageLoadAverageMessageProcessor.process(MemberAverageLoadAverageMessageProcessor.java:59)
>>>>>  at
>>>>> org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:60)
>>>>> at
>>>>> org.apache.stratos.messaging.message.receiver.health.stat.HealthStatEventMessageDelegator.run(HealthStatEventMessageDelegator.java:79)
>>>>>  at java.lang.Thread.run(Thread.java:662)
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Software Engineer,
>>>>> Platform Technologies,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> email: [email protected] cell: (+94) 773 325 954
>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>> twitter: http://twitter.com/lahirus
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: [email protected] cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: [email protected] cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Reply via email to