spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emre Sevinç (JIRA) <>
Subject [jira] [Created] (SPARK-4724) has a wrong import
Date Wed, 03 Dec 2014 14:15:13 GMT
Emre Sevinç created SPARK-4724:

             Summary: has a wrong import
                 Key: SPARK-4724
             Project: Spark
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.1.0
            Reporter: Emre Sevinç
            Priority: Minor has a wrong import.

[Line 28|]
in  [spark/examples/src/main/java/org/apache/spark/examples/streaming/|]
reads as

import org.apache.spark.streaming.Durations;

But according to the [documentation|],
it should be [Duration|]
(or [Seconds|]),
not **Durations** .

Also [line 60|]
should change accordingly because currently it reads as:

JavaStreamingContext ssc = new JavaStreamingContext(sparkConf, Durations.seconds(1));

This message was sent by Atlassian JIRA

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

View raw message