Uploaded image for project: 'TOREE'
  1. TOREE
  2. TOREE-369 Enable Toree to run in Yarn cluster mode
  3. TOREE-393

Upgrade assembly plugin to latest version (0.14.4)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      Trying to produce a shaded jar throws an exception with the current version of assembly plugin.

      [info] Including: classutil_2.11-1.0.12.jar
      [info] Including: akka-slf4j_2.11-2.4.17.jar
      [info] Including: asm-5.1.jar
      [info] Including: scalaz-core_2.11-7.2.7.jar
      [info] Including: commons-logging-1.1.3.jar
      [info] Including: config-1.3.0.jar
      java.util.NoSuchElementException: None.get
      at scala.None$.get(Option.scala:313)
      at scala.None$.get(Option.scala:311)
      at sbtassembly.Assembly$$anonfun$24$$anonfun$25.apply(Assembly.scala:205)
      at sbtassembly.Assembly$$anonfun$24$$anonfun$25.apply(Assembly.scala:205)
      at scala.collection.TraversableLike$$anonfun$filter$1.apply(TraversableLike.scala:264)
      at scala.collection.immutable.List.foreach(List.scala:318)
      at scala.collection.TraversableLike$class.filter(TraversableLike.scala:263)
      at scala.collection.AbstractTraversable.filter(Traversable.scala:105)
      at sbtassembly.Assembly$$anonfun$24.apply(Assembly.scala:205)
      at sbtassembly.Assembly$$anonfun$24.apply(Assembly.scala:202)
      at scala.collection.parallel.AugmentedIterableIterator$class.map2combiner(RemainsIterator.scala:120)
      at scala.collection.parallel.immutable.ParVector$ParVectorIterator.map2combiner(ParVector.scala:67)
      at scala.collection.parallel.ParIterableLike$Map.leaf(ParIterableLike.scala:1057)
      at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:54)
      at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:53)
      at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:53)
      at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:56)
      at scala.collection.parallel.ParIterableLike$Map.tryLeaf(ParIterableLike.scala:1054)
      at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.internal(Tasks.scala:172)
      at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.internal(Tasks.scala:514)
      at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:162)
      at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:514)
      at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)
      at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      at scala.concurrent.forkjoin.ForkJoinTask.doJoin(ForkJoinTask.java:341)
      at scala.concurrent.forkjoin.ForkJoinTask.join(ForkJoinTask.java:673)
      at scala.collection.parallel.ForkJoinTasks$WrappedTask$class.sync(Tasks.scala:444)
      at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.sync(Tasks.scala:514)
      at scala.collection.parallel.ForkJoinTasks$class.executeAndWaitResult(Tasks.scala:492)
      at scala.collection.parallel.ForkJoinTaskSupport.executeAndWaitResult(TaskSupport.scala:64)
      at scala.collection.parallel.ParIterableLike$ResultMapping.leaf(ParIterableLike.scala:961)
      at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:54)
      at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:53)
      at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:53)
      at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:56)
      at scala.collection.parallel.ParIterableLike$ResultMapping.tryLeaf(ParIterableLike.scala:956)
      at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:165)
      at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:514)
      at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)
      at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      [error] (root/*:assembly::assembledMappings) java.util.NoSuchElementException: None.get
      [error] Total time: 56 s, completed Mar 16, 2017 10:36:09 AM
      make: *** [target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar] Error 1

      Attachments

        Issue Links

          Activity

            People

              lresende Luciano Resende
              lresende Luciano Resende
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: