Kengo Seki created HADOOP-12131:
-----------------------------------
Summary: The different JDKs which versions are the same aren't
distiguished on multi-JDK mode
Key: HADOOP-12131
URL: https://issues.apache.org/jira/browse/HADOOP-12131
Project: Hadoop Common
Issue Type: Sub-task
Components: yetus
Affects Versions: HADOOP-12111
Reporter: Kengo Seki
If one installs the same version of Oracle JDK and OpenJDK and enables the
multi-JDK option, output files are overwritten by the last one because the same
value is assigned to $jdk and $fn. Example:
{code}
============================================================================
============================================================================
Pre-patch trunk javac compilation
============================================================================
============================================================================
mvn --batch-mode clean compile -DskipTests -Pnative -Drequire.libwebhdfs
-Drequire.snappy -Drequire.openssl -Drequire.fuse -Drequire.test.libhadoop
-Ptest-patch >
/tmp/test-patch-hadoop/25579/branch-javac-hadoop-common-project_hadoop-common-jdk1.7.0_79.txt
2>&1
Elapsed: 1m 0s
mvn --batch-mode clean compile -DskipTests -Pnative -Drequire.libwebhdfs
-Drequire.snappy -Drequire.openssl -Drequire.fuse -Drequire.test.libhadoop
-Ptest-patch >
/tmp/test-patch-hadoop/25579/branch-javac-hadoop-common-project_hadoop-common-jdk1.7.0_79.txt
2>&1
Elapsed: 0m 54s
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)