We're updating the issue view to help you get more done. 

cdap-sdk template not working with autobuild

Description

I specified the 'cdap-sdk' template and it provisions fine.
If I specify autobuild, with the cdap branch as 'release/5.0', it fails, with the following in the  maven-autobuild.log file:

Release Notes

None

Activity

Show:
Derek Wood
August 3, 2018, 2:30 AM

this is basically a coopr dependency problem. `cdap_auto` depends on java being installed first, which in a distributed cluster is taken care of by the hadoop services. in this case, java is not installed yet when maven tries to build (`cdap::sdk` would eventually install java, but not until after cdap_auto is run).

likely solution is to add java cookbook dependency to cdap_auto and call it from `cdap_auto::sdk`. I need to make sure this won't break anything else though.

A better but complex solution would be to refactor java into its own coopr service.

Derek Wood
August 6, 2018, 5:45 PM
Fixed

Assignee

Derek Wood

Reporter

Ali Anwar

Labels

None

Docs Impact

None

UX Impact

None

Priority

Major
Configure