RDDs and distributed function for timeseries data in OpenTSDB