Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-10134

Race between concurrent `javah` runs trying to create `java/jni` output directory.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.10.0
    • 1.8.2, 1.9.1, 1.7.4, 1.11.0, 1.10.1
    • build
    • None

    Description

      Observed by vinodkone in the ASF CI:

      [debug] execute contextualize
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.Log
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.MesosExecutorDriver
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.MesosSchedulerDriver
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.state.AbstractState
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.state.LevelDBState
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.state.LogState
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.state.Variable
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.state.ZooKeeperState
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.v1.scheduler.V1Mesos
      /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/bin/javah -d java/jni                              \
        -classpath java/target/mesos-1.10.0.jar:/tmp/SRC/build/mesos-1.10.0/_build/src/java/target/protobuf-java-3.5.0.jar                        \
         org.apache.mesos.v1.scheduler.V0Mesos
      Error: The directory java/jni could not be create for output.
      

      Attachments

        Activity

          People

            asekretenko Andrei Sekretenko
            asekretenko Andrei Sekretenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: