You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Gopinathan A (JIRA)" <ji...@apache.org> on 2014/03/12 05:30:42 UTC

[jira] [Assigned] (FLUME-2252) Add null check before closing table in HbaseSink

     [ https://issues.apache.org/jira/browse/FLUME-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopinathan A reassigned FLUME-2252:
-----------------------------------

    Assignee: Gopinathan A

> Add null check before closing table in HbaseSink
> ------------------------------------------------
>
>                 Key: FLUME-2252
>                 URL: https://issues.apache.org/jira/browse/FLUME-2252
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.4.0
>            Reporter: Gopinathan A
>            Assignee: Gopinathan A
>            Priority: Minor
>         Attachments: FLUME-2252.patch
>
>
> {noformat}
> 26 Nov 2013 17:36:42,433 INFO  [conf-file-poller-0] (org.apache.flume.node.Application.stopAllComponents:115)  - Stopping Sink k1
> 26 Nov 2013 17:36:42,433 INFO  [conf-file-poller-0] (org.apache.flume.lifecycle.LifecycleSupervisor.unsupervise:171)  - Stopping component: SinkRunner: { policy:org.apache.flume.sink.DefaultSinkProcessor@46edf730 counterGroup:{ name:null counters:{} } }
> 26 Nov 2013 17:36:42,433 ERROR [conf-file-poller-0] (org.apache.flume.node.Application.stopAllComponents:118)  - Error while stopping SinkRunner: { policy:org.apache.flume.sink.DefaultSinkProcessor@46edf730 counterGroup:{ name:null counters:{} } }
> java.lang.NullPointerException
> 	at org.apache.flume.sink.hbase.HBaseSink.stop(HBaseSink.java:169)
> 	at org.apache.flume.sink.DefaultSinkProcessor.stop(DefaultSinkProcessor.java:53)
> 	at org.apache.flume.SinkRunner.stop(SinkRunner.java:115)
> 	at org.apache.flume.lifecycle.LifecycleSupervisor.unsupervise(LifecycleSupervisor.java:172)
> 	at org.apache.flume.node.Application.stopAllComponents(Application.java:116)
> 	at org.apache.flume.node.Application.handleConfigurationEvent(Application.java:87)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
> 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
> 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:302)
> 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:285)
> 	at com.google.common.eventbus.EventBus.post(EventBus.java:249)
> 	at org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:140)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)