Github user mars commented on the issue:
https://github.com/apache/incubator-predictionio/pull/441
@shimamoto yes, it requires two SparkContexts because PredictionIO
implicitly stops the first one after preparing deploy, so it cannot be reused
for the second instance to run queries.
I donât understand what causes this error here, as the two SparkContexts
normally work correctly.---
