|
|
Line 4: |
Line 4: |
|
| |
|
| [https://github.com/fedora-bigdata-rpms/storm-rpm sources] | | [https://github.com/fedora-bigdata-rpms/storm-rpm sources] |
|
| |
| = Apache Kafka package status =
| |
|
| |
| [https://github.com/fedora-bigdata-rpms/kafka-rpm sources]
| |
|
| |
| Apache Kafka is a distributed publish-subscribe messaging system persistent oriented with O(1) disk structures that provide constant time performance even with many TB of stored messages.
| |
|
| |
| Apache Kafka is based on '''Scala''' language. Scala uses '''sbt (Simple Build Tool)''' for builds, it's the de facto build tool for the Scala community. Sbt is similar to Apache Ant, and uses '''Apache Ivy''' (a sub-project of the Apache Ant project) for resolving project dependencies.
| |
|
| |
| We have two methods for scala based project RPM building:
| |
|
| |
| * Building packages with sbt and the '''climbing-nemesis script''' (a tool to make a temporary Ivy repository from installed Fedora packages)
| |
| [[SIGs/bigdata/packaging/Sbt]]
| |
| [http://chapeau.freevariable.com/2014/02/sbt-is-in-fedora-20.html sbt is in Fedora 20 ]
| |
| [http://pkgs.fedoraproject.org/cgit/sbinary.git/tree/sbinary.spec Example of climbing-nemsis usage]
| |
| * Building packages with sbt and '''xmvn’s Ivy resolution support'''
| |
| [http://chapeau.freevariable.com/2013/08/making-fedora-a-better-place-for-scala.html Making Fedora a better place for Scala]
| |
| [https://bugzilla.redhat.com/show_bug.cgi?id=1012612 improved Fedora support for Ivy]
| |
| [[SIGs/bigdata/packaging/Scala]]
| |
| [[Changes/ImprovedScalaEcosystem]]
| |
| [[Changes/ImprovedIvyPackaging]]
| |
|
| |
| ===Package status===
| |
|
| |
| The package doesn't build, mainly because Scala project based on sbt are broken in Fedora23-rawhide, the pending bugs here:
| |
|
| |
| [https://lists.fedoraproject.org/pipermail/java-devel/2014-December/005430.html Removing depmap support in Fedora 23]
| |
|
| |
| [https://bugzilla.redhat.com/show_bug.cgi?id=1107277 sbt: FTBFS in rawhide]
| |
|
| |
| [https://bugzilla.redhat.com/show_bug.cgi?id=1155699 sbt: broken hawtjni-runtime-1.8.jar symlink]
| |
|
| |
| ===Testing the package===
| |
|
| |
| git clone https://github.com/fedora-bigdata-rpms/kafka-rpm.git
| |
| cd kafka-rpm
| |
| spectool -g kafka.spec
| |
| rpmbuild -bs --nodeps --define "_sourcedir ." --define "_srcrpmdir ." kafka.spec
| |
| sudo mock kafka-0.8.0-1.fc23.src.rpm
| |
|
| |
|
| = Apache Tez package status = | | = Apache Tez package status = |