This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from operator import add | |
import concurrent | |
from concurrent.futures import ThreadPoolExecutor | |
from boto.s3.connection import S3Connection | |
from pyspark import SparkContext | |
def computeTargets(bucketName, prefix=""): | |
s3 = S3Connection() |