Instantly share code, notes, and snippets.

View pyspark_batch_size.py
# Demonstrate pyspark strange behaviour.
#
# Usage:
#
# spark-submit <spark-options> pyspark_batch_size.py <input_file_specification> <batch_size> <result_file>
#
import pyspark
import json
import sys
View gist:5604314
Dear email account holder,
We wish to bring to your notice the Condition of your email account, Your mail box has exceeded its quota/limit allocated to you, you are presently running on 5GB, you May not be able to receive Or send new Mails until you
e-Validate/increase your mail quota.
We are also currently performing a database maintenance and upgrade on our webmail log for a better performance of our services to all subscribers. We are very much and indeed concerned about stopping the proliferation of spam. We
have implemented a Sender's Address Verification to ensure that you do not receive unwanted email(s) and to give you the assurance that your messages to message center have no chance of being filtered into junk email folder.
Simply send your username and password by clicking your reply tab to provide us with your email account to enable us increase your mail quota to our new 25GB mail quota per email account. This service is free and not to be Paid for. Your