spark-instrumented-optimizer/examples
Mark Grover 006906db59 [SPARK-12960] [PYTHON] Some examples are missing support for python2
Without importing the print_function, the lines later on like ```print("Usage: direct_kafka_wordcount.py <broker_list> <topic>", file=sys.stderr)``` fail when using python2.*. Import fixes that problem and doesn't break anything on python3 either.

Author: Mark Grover <mark@apache.org>

Closes #10872 from markgrover/python2_compat.
2016-01-21 21:17:36 -08:00
..
src/main [SPARK-12960] [PYTHON] Some examples are missing support for python2 2016-01-21 21:17:36 -08:00
pom.xml [SPARK-7799][SPARK-12786][STREAMING] Add "streaming-akka" project 2016-01-20 13:55:41 -08:00