yahoo / CMAK

CMAK is a tool for managing Apache Kafka clusters
Apache License 2.0
11.83k stars 2.51k forks source link

Getting build error while creating package. #215

Open analog76 opened 8 years ago

analog76 commented 8 years ago

I just cloned the kafka-manager and started to build. While packaing I got this error.

Is it something wrong

[info] LESS compiling on 1 source(s) [info] Compiling 122 Scala sources and 2 Java sources to /Users/anand.ranganathan/apache/kafka-manager-9/kafka-manager/target/scala-2.11/classes... [info] Main Scala API documentation to /Users/anand.ranganathan/apache/kafka-manager-9/kafka-manager/target/scala-2.11/api... [info] Packaging /Users/anand.ranganathan/apache/kafka-manager-9/kafka-manager/target/scala-2.11/kafka-manager_2.11-1.3.0.7-web-assets.jar ... [info] Done packaging. [error] /Users/anand.ranganathan/apache/kafka-manager-9/kafka-manager/app/controllers/Topic.scala:209: type mismatch; [error] found : Option[Iterable[(String, kafka.manager.model.ActorModel.ConsumerType)]] [error] required: Option[Iterable[String]] [error] Ok(views.html.topic.topicDeleteConfirm(clusterName,topic,errorOrTopicIdentity,errorOrConsumerList)) [error] /Users/anand.ranganathan/apache/kafka-manager-9/kafka-manager/app/controllers/Topic.scala:209: type mismatch; [error] found : Option[Iterable[(String, kafka.manager.model.ActorModel.ConsumerType)]] [error] required: Option[Iterable[String]] [error] Ok(views.html.topic.topicDeleteConfirm(clusterName,topic,errorOrTopicIdentity,errorOrConsumerList)) [error] ^ [error] ^ [error] one error found [info] No documentation generated with unsuccessful compiler run [error] one error found error Scaladoc generation failed error Compilation failed [error] Total time: 17 s, completed Mar 24, 2016 1:00:53 PM

yuj commented 8 years ago

Got same error too!

fangwentong commented 8 years ago

+1

MarMarAba commented 8 years ago

+1


[info] Done updating.
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn]  * org.webjars:jquery:1.11.1 -> 2.1.4
[warn] Run 'evicted' to see detailed eviction warnings
[info] Wrote /tmp/kafka-manager/target/scala-2.11/kafka-manager_2.11-1.3.0.7.pom
Warning: node.js detection failed, sbt will use the Rhino based Trireme JavaScript engine instead to run JavaScript assets compilation, which in some cases may be orders of magnitude slower than using node.js.
[info] Main Scala API documentation to /tmp/kafka-manager/target/scala-2.11/api...
[error] /tmp/kafka-manager/app/controllers/Topic.scala:209: type mismatch;
[error]  found   : Option[Iterable[(String, kafka.manager.model.ActorModel.ConsumerType)]]
[error]  required: Option[Iterable[String]]
[error]       Ok(views.html.topic.topicDeleteConfirm(clusterName,topic,errorOrTopicIdentity,errorOrConsumerList))
[error]                                                                                     ^
[info] No documentation generated with unsuccessful compiler run
[error] one error found
[info] Compiling 122 Scala sources and 2 Java sources to /tmp/kafka-manager/target/scala-2.11/classes...
[error] /tmp/kafka-manager/app/controllers/Topic.scala:209: type mismatch;
[error]  found   : Option[Iterable[(String, kafka.manager.model.ActorModel.ConsumerType)]]
[error]  required: Option[Iterable[String]]
[error]       Ok(views.html.topic.topicDeleteConfirm(clusterName,topic,errorOrTopicIdentity,errorOrConsumerList))
[error]                                                                                     ^
[error] one error found
[info] LESS compiling on 1 source(s)
[info] Packaging /tmp/kafka-manager/target/scala-2.11/kafka-manager_2.11-1.3.0.7-web-assets.jar ...
[info] Done packaging.
[error] (compile:doc) Scaladoc generation failed
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 98 s, completed Mar 25, 2016 10:51:25 AM
Platzii commented 8 years ago

Same, +1

patelh commented 8 years ago

Fixed and pushed to master.

miroswan commented 8 years ago

Will the fix get released? I'd like to pin this.