我正在ubuntu 20.4上尝试CMAK,我正在按照https://github.com/yahoo/CMAK和https://codeforgeek.com/setting-up-kafka-management-for-kafka-cluster/上的说明操作。运行命令./sbt clean dist
并尝试切换到目录/target/
后,我看不到universal
目录。有什么我错过了吗?
请看下面的截图。
运行后:./sbt clean dist
.我得到下面的结果.
root@ubuntu-s-1vcpu-1gb-blr1-01-testing-server:/opt/CMAK-master# ./sbt clean dist
[info] Loading settings for project cmak-master-build from plugins.sbt ...
[info] Loading project definition from /opt/CMAK-master/project
[info] Loading settings for project root from build.sbt ...
[info] Set current project to cmak (in build file:/opt/CMAK-master/)
[success] Total time: 1 s, completed Apr 4, 2021, 10:40:07 AM
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] Wrote /opt/CMAK-master/target/scala-2.12/cmak_2.12-3.0.0.5.pom
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
[info] Main Scala API documentation to /opt/CMAK-master/target/scala-2.12/api...
[info] Compiling 136 Scala sources and 2 Java sources to /opt/CMAK-
master/target/scala-2.12/classes ...
model contains 640 documentable templates
[info] Main Scala API documentation successful.
[info] LESS compiling on 1 source(s)
./sbt: line 241: 7926 Killed "$@"
root@ubuntu-s-1vcpu-1gb-blr1-01-testing-server:/opt/CMAK-master#
| => root / Web-assets / less 122s
| => root / Compile / compileIncremental 352s
之后,当导航到target
目录时,没有universal
目录。
root@ubuntu-s-1vcpu-1gb-blr1-01-testing-server:/opt/CMAK-master# ls
LICENSE README.md app build.sbt conf img project public sbt
src target test
root@ubuntu-s-1vcpu-1gb-blr1-01-testing-server:/opt/CMAK-master# cd target/
root@ubuntu-s-1vcpu-1gb-blr1-01-testing-server:/opt/CMAK-
master/target# ls
scala-2.12 streams web / less 122s
root@ubuntu-s-1vcpu-1gb-blr1-01-testing-server:/opt/CMAK-master/target# ls
scala-2.12 streams web
root@ubuntu-s-1vcpu-1gb-blr1-01-testing-server:/opt/CMAK-master/target#
1条答案
按热度按时间wpx232ag1#
如何启动Kafka-Manager?
1.下载Scala https://www.scala-sbt.org/download.html并安装。
1.在此位置克隆yahoo CMAK git report C:\Kafka_Manager\CMAK
sbt clean
::clean directorysbt compile
::compile directorysbt run
::execute web application停止执行
netstat -ano | findstr :9000
taskkill /PID 3708 /F
访问localhost:9000并检查您的集群和一切显示正常。