liuxunorg commented on a change in pull request #3331: [Zeppelin-4049] Hadoop
Submarine (Machine Learning) interpreter
URL: https://github.com/apache/zeppelin/pull/3331#discussion_r266718533
##########
File path: .travis.yml
##########
@@ -89,7 +89,7 @@ matrix:
# Test interpreter modules
- jdk: "oraclejdk8"
dist: trusty
- env: PYTHON="3" SPARKR="true" SCALA_VER="2.10" PROFILE="-Pscala-2.10"
BUILD_FLAG="install -DskipTests -DskipRat" TEST_FLAG="test -DskipRat"
MODULES="-pl $(echo
.,zeppelin-interpreter,zeppelin-interpreter-api,${INTERPRETERS} | sed
's/!//g')" TEST_PROJECTS=""
+ env: PYTHON="3" SPARKR="true" SCALA_VER="2.10" TENSORFLOW="1.0.0"
PROFILE="-Pscala-2.10" BUILD_FLAG="install -DskipTests -DskipRat -am"
TEST_FLAG="test -DskipRat" MODULES="-pl $(echo
.,zeppelin-interpreter,zeppelin-interpreter-api,${INTERPRETERS} | sed
's/!//g')" TEST_PROJECTS=""
Review comment:
In the PySubmarineInterpreterTest case
`PySubmarineInterpreterTest::testTensorflow()`, just import the tensorflow
library, then call tensorflow to get the version number function.
If PySubmarineInterpreterTest fails, an exception is thrown. So the test
case has nothing to do with the version of tensorflow.
Official use is through
`scripts/docker/submarine/1.0.0/zeppelin-cpu-tensorflow_1.13.1-hadoop_3.1.2/Dockerfile`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services