spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chong Zhang <chongz.zh...@gmail.com>
Subject Spark Streaming/Flume display all events
Date Mon, 30 Mar 2015 14:36:33 GMT
Hi,

I am new to Spark/Streaming, and tried to run modified
FlumeEventCount.scala example to display all events by adding the call:

    stream.map(e => "Event:header:" + e.event.get(0).toString  + "body: " +
new String(e.event.getBody.array)).print()

The spark-submit runs fine with --master local[4], also display the count:
     Received 18 flume events.

But the following logs only display 10 events and "..." after that.

So how can I display all the events?

Thanks,
Chong

Mime
View raw message