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

spark fails to build with mesos-0.26.0 (secret)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 1.6.0
    • None
    • Mesos
    • None

    Description

      A heads up about a future issue when building against mesos-0.26.0:

      [ERROR] /home/ubuntu/packages/spark/spark-src/core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosSchedulerUtils.scala:81: type mismatch;
       found   : org.apache.mesos.protobuf.ByteString
       required: String
      [ERROR]       credBuilder.setSecret(ByteString.copyFromUtf8(secret))
      

      This seems to be due to MESOS-3560.
      Removing "ByteString.copyFromUtf8" from that line allows the build to succeed - however I have no idea if this is the right fix I'm afraid.

      Attachments

        Activity

          People

            Unassigned Unassigned
            abridgett Adrian Bridgett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: