mapr-demos / mapr-music

Sample Application for MapR Converged Data Platform
Apache License 2.0
23 stars 23 forks source link

Versions are inconsistent across the project #108

Open alanfischer85 opened 6 years ago

alanfischer85 commented 6 years ago

I've build the project with:

mvn clean install -DskipTests (couldn't get it to build without -DskipTests).

then I built the docker image and when trying to run I see some things that are not matching (e.g. MapR 6 + MEP 4, but with Drill 1.13).

I am also getting errors such as:

[mapr@e2d03e975d0d mapr-music]$ 2018-07-13 18:10:54,7051 ERROR JniCommon fs/client/fileclient/cc/jni_MapRClient.cc:687 Thread: 1137 Mismatch found for java and native libraries java build version 6.0.0.20180214002515.GA, native build version 6.0.0.20180213230959.GA java patch vserion $Id: mapr-version: 6.0.0.20180214002515.GA f5c1960e97c37ecd92f8, native patch version $Id: mapr-version: 6.0.0.20180213230959.GA e892229b271c98c75ccb 2018-07-13 18:10:54,7051 ERROR JniCommon fs/client/fileclient/cc/jni_MapRClient.cc:704 Thread: 1137 Client initialization failed.

It perhaps would be nice to do a dry run after releases to make sure things are still working and consistent.

UPDATE: Dockerfile still has FROM maprtech/pacc:6.0.0_4.0.0_centos7 instead of FROM maprtech/pacc:latest. Suspecting this could be causing the issue (will try again).

alanfischer85 commented 6 years ago

UPDATE[2]: Deployed with a new Dockerfile using maprtech/pacc:latest, but I am still getting the same error when trying to run the application.

The error happens more specifically when deploying the first war file.

wildfly-11.0.0.Beta1/bin/jboss-cli.sh --connect --command="deploy --force $WORK_DIR/mapr-music-rest.war"

[mapr@fb94e5f3c3a0 mapr-music]$ 2018-07-14 02:42:12,3588 ERROR JniCommon fs/client/fileclient/cc/jni_MapRClient.cc:687 Thread: 1202 Mismatch found for java and native libraries java build version 6.0.0.20180214002515.GA, native build version 6.0.0.20180213230959.GA java patch vserion $Id: mapr-version: 6.0.0.20180214002515.GA f5c1960e97c37ecd92f8, native patch version $Id: mapr-version: 6.0.0.20180213230959.GA e892229b271c98c75ccb 2018-07-14 02:42:12,3588 ERROR JniCommon fs/client/fileclient/cc/jni_MapRClient.cc:704 Thread: 1202 Client initialization failed.

I can confirm that the container is now using 6.0.1 GA opposed to 6.0 with MEP 4.0 (previous run):

[mapr@fb94e5f3c3a0 mapr-music]$ cat /opt/mapr/MapRBuildVersion 6.0.1.20180404222005.GA

isaacs-gh commented 5 years ago

@alanfischer85 Were you able to resolve this?