paint-brush
How to log in Apache Spark, a functional approachby@anicolaspp
4,574 reads
4,574 reads

How to log in Apache Spark, a functional approach

by Nicolas A Perez4mJuly 22nd, 2016
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Logging in Apache Spark comes very easy since Spark offers access to a <em>log </em>object out of the box. Only some configuration setups need to be done. In a <a href="https://medium.com/@anicolaspp/how-to-log-in-apache-spark-f4204fad78a#.7asl0yplw" target="_blank"><strong><em>previous post</em></strong></a><strong><em> </em></strong>we have looked at how to do this while showing some problems that may arise. However, the solution presented might cause some problems at the moment we want to collect the logs since they are distributed across the entire cluster. Even if we utilize <strong>Yarn</strong> log aggregation capabilities, there will be some contentions that might affect performance or even worse, in some cases we could end with log interleaves corrupting the nature of logs itself, they time ordered properties they should present.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - How to log in Apache Spark, a functional approach
Nicolas A Perez HackerNoon profile picture
Nicolas A Perez

Nicolas A Perez

@anicolaspp

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider
Cassandra