All of this work has been done on the 1.2.5 branch, which doesn't support hadoop 2.x.
Issues to be resolved
Missing node.js dependencies
The ambari build uses brunch and other node.js parts to generate static web content. A significant portion of the dependency chain for the node.js parts are not in Fedora and would need to be packaged. There are a few ways to handle the node.js dependency chain:
- Package all the node.js dependencies as individual rpms>/li>
- Package all the node.js dependencies as a single rpm
- Work with upstream to remove the need to generate the static web content
- Re-implement the node.js parts in source native to ambari
- Find similar functionality that is already packaged in Fedora and provide support for its use in the ambari build
- Abandon packaging ambari for Fedora
Missing java dependencies
There are only 2 java dependencies that aren't in Fedora that ambari needs, with a 3rd existing package needing modification.
- org.xerial:sqlite-jdbc
- org.springframework:spring-mock
- org.powermock:powermock-api-easymock
Python version
The ambari build/runtime is hard coded to use python2.6. This needs to be cleaned up. There are 2 ([AMBARI-1790], [AMBARI-1779]) upstream jiras with patches to address these issues, but they have bit rotted some.
Jetty version
The current version of jetty in Fedora is jetty 9, but ambari is asing for jetty 7. Ambari will need to be updated to support jetty 9.
Multiple versions of easymock in Fedora
In F19 there are currently 3 easymock packages, one for 1.x, one for 2.x, and one for 3.x. ambari actually needs the newer 3.x line of easymock. Unfortunately the jar resolver is non-deterministic when multiple jars have the same gid:aid, as is the case with the 3 easymock packages. The easymock2 package seems to get top billing which causes the ambari and the powermock easymock module builds to fail.
The fact that none of the easymock packages have been updated to the latest packaging guidelines complicates a resolution because none of them are being registered as compatibility packages and each of them is claiming to be the primary version of easymock. This apparently means Fedora's mechanism for resolving compatibility packages (which requires the build to query for the exact version in the compatibility package) won't work.
On F19 easymock2 would get top billing over eaymock3 when easymock is resolved. easymock2 is supposed to be retired in F20,m and the long term goal seems to be to get rid of the easymock3 package and have a single easymock package on the 3.x stream. It may be done for F21.
It is possible that F20 will be a "good enough" solution to remove the easymock road block for ambari and powermock.
Compilation errors
There are various compilation issues due to newer/different version of java dependencies. These should be resolved with upstream if possible.