These are chat archives for thunder-project/thunder

25th
Jun 2015
Joel Kronborg
@Abobie
Jun 25 2015 09:59

@freeman-lab Thanks, I tried the workaround, but I'm getting some errors. First of all,

tsc = ThunderContext(sc)
gives "NameError: name 'sc' is not defined". I tried typing 'ThunderContext(SparkContext)' instead, which worked, but when trying to follow some of the tutorials, e.g. http://thunder-project.org/thunder/docs/tutorials/basic_usage.html, I get errors when trying to load the data. In the 'Basic usage' tutorial i get:
data = tsc.loadExample('fish-series')
AttributeError: type object 'SparkContext' has no attribute 'master'

And in the 'Thunder context' tutorial:

data = tsc.loadImages(...)
AttributeError: type object 'SparkContext' has no attribute '_jsc'