I'm working on switching over to 0.9.2 from 0.9.1 and something appears to
have changed that is causing the maven builds now fail. Maven is failing
with errors about thrift classes missing and not accessible.

The missing classes appear to be a combo of the storm-core pom.xml shade
plugin renaming all the org.apache.thrift packages to org.apache.thrift7.
As well as the pom.xml distributed from maven central showing libthrift as
"provided" vs "compiled'. Which is understandable with libthrift being
packaged within storm-core in the first place.

The other error I'm getting is with cannot access. This also is appearing
to be fall out from renaming the package.

[ERROR] location: class TServiceClient
[ERROR]
/storm-spring/src/main/java/storm/spring/utils/TopologyUtils.java:27:
error: cannot access TServiceClient
[ERROR] ClusterSummary summary = cl.getClusterInfo();
[ERROR] ^


The chunk of code in question is:

NimbusClient client = NimbusClient.getConfiguredClient(conf);
Client cl = client.getClient();
ClusterSummary summary = cl.getClusterInfo();

This chunk of code was borrowed from StormSubmitter as a way for me to
handle submitting a topology via Java vs the storm python scripts. Allowing
me to better automate submitting topologies and leverage Spring & Jenkins
to do so.

The version of maven I am using is 3.0.5 as provided from the Ubuntu
package repos.

Does anyone have any idea on how to work around this? or is this an issue
with the storm-core packaging?

Reply via email to