Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-933

Doesn't compile

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.8.0
    • None
    • Build

    Description

      Calling from RHEL5
      spark-0.8.0-incubating$ sbt/sbt assembly

      gives these warnings and errors
      [warn] /rhel5pdi/workplace/extprojects/spark-0.8.0-incubating/core/src/main/scala/org/apache/spark/SparkHadoopWriter.scala:129: method cleanupJob in class OutputCommitter is deprecated: see corresponding Javadoc for more information.
      [warn] getOutputCommitter().cleanupJob(getJobContext())
      [warn] ^
      [warn] /rhel5pdi/workplace/extprojects/spark-0.8.0-incubating/core/src/main/scala/org/apache/spark/rdd/PairRDDFunctions.scala:592: method cleanupJob in class OutputCommitter is deprecated: see corresponding Javadoc for more information.
      [warn] jobCommitter.cleanupJob(jobTaskContext)
      [warn] ^
      [warn] two warnings found
      [error] ----------
      [error] 1. WARNING in /rhel5pdi/workplace/extprojects/spark-0.8.0-incubating/core/src/main/java/org/apache/spark/network/netty/FileClient.java (at line 22)
      [error] import io.netty.channel.ChannelFuture;
      [error] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [error] The import io.netty.channel.ChannelFuture is never used
      [error] ----------
      [error] 2. WARNING in /rhel5pdi/workplace/extprojects/spark-0.8.0-incubating/core/src/main/java/org/apache/spark/network/netty/FileClient.java (at line 23)
      [error] import io.netty.channel.ChannelFutureListener;
      [error] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [error] The import io.netty.channel.ChannelFutureListener is never used
      [error] ----------
      [error] ----------
      [error] 3. WARNING in /rhel5pdi/workplace/extprojects/spark-0.8.0-incubating/core/src/main/java/org/apache/spark/network/netty/FileServer.java (at line 23)
      [error] import io.netty.channel.Channel;
      [error] ^^^^^^^^^^^^^^^^^^^^^^^^
      [error] The import io.netty.channel.Channel is never used
      [error] ----------
      [error] ----------
      [error] 4. WARNING in /rhel5pdi/workplace/extprojects/spark-0.8.0-incubating/core/src/main/scala/org/apache/spark/api/java/JavaSparkContextVarargsWorkaround.java (at line 20)
      [error] import java.util.Arrays;
      [error] ^^^^^^^^^^^^^^^^
      [error] The import java.util.Arrays is never used
      [error] ----------
      [error] ----------
      [error] 5. ERROR in /rhel5pdi/workplace/extprojects/spark-0.8.0-incubating/core/src/main/scala/org/apache/spark/api/java/function/DoubleFlatMapFunction.java (at line 36)
      [error] public final Iterable<Double> apply(T t)

      { return call(t); }

      [error] ^^^^^^^^^^
      [error] The method apply(T) of type DoubleFlatMapFunction<T> must override a superclass method
      [error] ----------
      [error] 5 problems (1 error, 4 warnings)
      [error] (core/compile:compile) javac returned nonzero exit code

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            teodor Teodor Sigaev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment