[
https://issues.apache.org/jira/browse/FLUME-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Paliwal resolved FLUME-653.
----------------------------------
Resolution: Won't Fix
Fix Version/s: v0.9.5
Won't fix. 0.X branch not maintained anymore
> Can't get WAL to work on Windows. NULL pointer exception in
> ThriftEventAdaptor.set when using WAL configuration.
> ----------------------------------------------------------------------------------------------------------------
>
> Key: FLUME-653
> URL: https://issues.apache.org/jira/browse/FLUME-653
> Project: Flume
> Issue Type: Bug
> Components: Shell, Sinks+Sources
> Affects Versions: v0.9.3
> Environment: Windows
> Reporter: Disabled imported user
> Labels: WAL, sink
> Fix For: v0.9.5
>
> Attachments: ASF.LICENSE.NOT.GRANTED--flumenode-stderr.txt
>
>
> Can't get WAL to work on Windows. NULL pointer exception in
> ThriftEventAdaptor.set when using WAL configuration.
> 11/06/09 05:36:11 ERROR connector.DirectDriver: Driving src/sink failed!
> LazyOpenSource | LazyOpenDecorator because null
> java.lang.NullPointerException
> at
> com.cloudera.flume.handlers.thrift.ThriftEventAdaptor.set(ThriftEventAdaptor.java:183)
> at
> com.cloudera.flume.handlers.rolling.RollSink.append(RollSink.java:172)
> at
> com.cloudera.flume.agent.durability.NaiveFileWALDeco.append(NaiveFileWALDeco.java:138)
> at com.cloudera.flume.agent.AgentSink.append(AgentSink.java:112)
> at
> com.cloudera.flume.core.EventSinkDecorator.append(EventSinkDecorator.java:60)
> at
> com.cloudera.flume.handlers.debug.LazyOpenDecorator.append(LazyOpenDecorator.java:75)
> at
> com.cloudera.flume.core.connector.DirectDriver$PumperThread.run(DirectDriver.java:93)
> One agent, one collector configuration as follows. Agent is running on a
> Windows box (running 0.9.3) Collector on a Linux VM (running 0.9.3).
> agent.et.local : rpcSource( 54001 ) |
> agentSink("collector.et.local",35853)
> collector : collectorSource(35853) |
> collectorSink("/var/log/collected","collected")
> Agent Config
> <property>
> <name>flume.collector.event.host</name>
> <value>collector.et.local</value>
> </property>
> <property>
> <name>flume.collector.port</name>
> <value>35853</value>
> </property>
> Collector Config
> <property>
> <name>flume.collector.event.host</name>
> <value>localhost</value>
> </property>
> <property>
> <name>flume.collector.port</name>
> <value>35853</value>
> </property>
> Full log attached.
> I am able to get best effort sink on agent to work. i.e.
> agentBESink("collector.et.local",35853)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)