crs4 / pydoop

A Python MapReduce and HDFS API for Hadoop
Apache License 2.0
237 stars 59 forks source link

test_serialize: use java and javac from JAVA_HOME #298

Closed simleo closed 6 years ago

simleo commented 6 years ago

In an environment with multiple Java versions, the "java" and "javac" executables might point to something different than what's available in JAVA_HOME. Using them might lead to runtime problem, e.g., when linking Hadoop classes compiled with a different Java version. This PR changes test_serialize.py accordingly. We might need similar changes elsewhere in the code.