spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xing <>
Subject Re: Error: 'SparkContext' object has no attribute 'getActiveStageIds'
Date Fri, 20 Mar 2015 22:59:09 GMT
getStageInfo in self._jtracker.getStageInfo below seems not
implemented/included in the current python library.

   def getStageInfo(self, stageId):
        Returns a :class:`SparkStageInfo` object, or None if the stage
        info could not be found or was garbage collected.
        stage = self._jtracker.getStageInfo(stageId)
        if stage is not None:
            # TODO: fetch them in batch for better performance
            attrs = [getattr(stage, f)() for f in
            return SparkStageInfo(stageId, *attrs)

View this message in context:
Sent from the Apache Spark Developers List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message