Hi Edwin, All,
I am not able to run/build the latest release/5.0 source code. I tried following 2 ways :
I tried building as specified in section -
Build CDAP Sandbox distribution ZIP with additional system artifacts and the build was successful. However, when I run the sandbox created in
`cdap-standalone/target/cdap-sandbox-5.0.0-SNAPSHOT.zip`, it launches UI but reports error for `missing
artefacts` when clicked on tabs – Preparation and Analytics. Also, the pipeline canvas does not have any artefact.
Am I missing anything here, isn’t this .zip the same distro as shared for other released versions? Are there any list of steps to execute for running this sandbox from this created zip – I just executed : `bin/cdap sandbox start`? It looks like some other
executable(s) also need to be run – please can you provide complete steps for running full sandbox.
Note : Readme.md says `init` and `update —remote` not required if used option `—recursive` which I did above.
$ mvn clean install -DskipTests -f apache-sentry
<== This fails giving missing definition for org.eclipse.jetty.jetty-server.DispatchType class in the specified jetty-server dependency version. I tried switching `apache-sentry` submodule to `master` branch where
I did see change of version for this as well as the change in calling code itself, but that also fails
$ export MAVEN_OPTS="-Xmx3056m -XX:MaxPermSize=128m”
mvn install -DskipTests -B -am -pl cdap/cdap-api -P templates
mvn install -DskipTests -B -am -f cdap/cdap-app-templates -P templates
$ mvn package -P examples,templates,dist,release,rpm-prepare,rpm,deb-prepare,deb,tgz,unit-tests \
-Dgpg.passphrase=${GPG_PASSPHRASE} -Dgpg.useagent=false \
-Dadditional.artifacts.dir=$(pwd)/app-artifacts
<== This also fails somewhere in security module only.
(Note that I intentionally removed `-Dsecurity.extensions.dir=$(pwd)/security-extensions` option as specified in Readme.md assuming it will
not get built due to failed `apache-sentry` submodule. However, it fails even when this option is used)
Pls help me build the current compilable version of 5.0 code.