nc -lk 9999
2. Open another terminal, switch to the SPARK_HOME directory, run
cd /usr/local/spark-2.1.0-bin-hadoop2.7 ./bin/run-example org.apache.spark.examples.streaming.NetworkWordCount localhost 9999
3. Enter a string of characters in the console
4. Spark statistical results