hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10530) Make hadoop trunk build on Java7+ only
Date Sat, 06 Dec 2014 15:35:12 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14236852#comment-14236852
] 

Steve Loughran commented on HADOOP-10530:
-----------------------------------------

{{mvn -X}} shows things. 
BUILD_URL=https://builds.apache.org/job/PreCommit-HADOOP-Build/5177/
XDG_SESSION_ID=39
SSH_AGENT_PID=29595
ISSUE_NUM=10530
HUDSON_SERVER_COOKIE=f4ebd1e6b0d976e8
SHELL=/bin/bash
FORREST_HOME=/home/jenkins/tools/forrest/latest
TMPDIR=/tmp/user/10011
SSH_CLIENT=140.211.11.14 38635 22
TOOLS_HOME=/home/jenkins/tools
BUILD_TAG=jenkins-PreCommit-HADOOP-Build-5177
GIT_PREVIOUS_COMMIT=e227fb8fbcd414717faded9454b8ef813f7aafea
ANT_HOME=/home/jenkins/tools/ant/latest
WORKSPACE=/home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build
JOB_URL=https://builds.apache.org/job/PreCommit-HADOOP-Build/
ANT_OPTS=-Xmx2048m
USER=jenkins
TEMP=/tmp/user/10011
SSH_AUTH_SOCK=/tmp/ssh-UXW0S7LXRwFx/agent.29594
GIT_AUTHOR_NAME=jenkins
GIT_COMMITTER_NAME=jenkins
MAVEN_OPTS=-Xmx2048m -XX:MaxPermSize=512m
GIT_COMMIT=e227fb8fbcd414717faded9454b8ef813f7aafea
JENKINS_HOME=/x1/jenkins/jenkins-home
MAVEN_HOME=/home/jenkins/tools/maven/latest
PATH=/home/jenkins/tools/java/latest1.7/bin:/home/jenkins/tools/java/latest1.7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/jenkins/tools/java/latest/bin:/home/jenkins/tools/ant/latest/bin:/home/jenkins/tools/maven/latest/bin
MAIL=/var/mail/jenkins
TEMPDIR=/tmp/user/10011
GIT_COMMITTER_EMAIL=builds@apache.org
PWD=/home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build
JAVA_HOME=/home/jenkins/tools/java/latest
HUDSON_URL=https://builds.apache.org/
LANG=en_US
JOB_NAME=PreCommit-HADOOP-Build
BUILD_DISPLAY_NAME=#5177
BUILD_ID=2014-12-06_15-24-05
JENKINS_URL=https://builds.apache.org/
CLOVER_HOME=/home/jenkins/tools/clover/latest
HOME=/home/jenkins
SHLVL=2
GIT_BRANCH=origin/trunk
JENKINS_SERVER_COOKIE=f4ebd1e6b0d976e8
EXECUTOR_NUMBER=0
GIT_URL=https://git-wip-us.apache.org/repos/asf/hadoop.git
NODE_LABELS=H1 Hadoop Hdfs Mapreduce Pig
LOGNAME=jenkins
TMP=/tmp/user/10011
SSH_CONNECTION=140.211.11.14 38635 67.195.81.145 22
HUDSON_HOME=/x1/jenkins/jenkins-home
NODE_NAME=H1
BUILD_NUMBER=5177
XDG_RUNTIME_DIR=/run/user/10011
HUDSON_COOKIE=165507c0-cd4f-4ae7-a577-3531cedd67df
GIT_AUTHOR_EMAIL=builds@apache.org
JAVA5_HOME=/home/jenkins/tools/java/latest1.5
FINDBUGS_HOME=/home/jenkins/tools/findbugs/latest
_=/usr/bin/env
+ javac -version
javac 1.7.0_25
+ PATCHPROCESS=/home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/../patchprocess
+ mkdir -p /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/../patchprocess
+ cd /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build
+ mvn -X clean
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T17:37:52+00:00)
Maven home: /home/jenkins/tools/maven/latest
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Java home: /home/jenkins/tools/java/jdk1.6.0_45-64/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.13.0-36-lowlatency", arch: "amd64", family: "unix"
{code}

that is: java 1.6 is getting picked up. Assumption: java/latest is actually the 1.6 latest
and it should not be set in the launcher script to JAVA_HOME

> Make hadoop trunk build on Java7+ only
> --------------------------------------
>
>                 Key: HADOOP-10530
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10530
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.0.0, 2.6.0
>         Environment: Java 1.7+
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>         Attachments: HADOOP-10530-001.patch, HADOOP-10530-002.patch, HADOOP-10530-003.patch,
HADOOP-10530-004.patch, HADOOP-10530-debug.000.patch, Screen Shot 2014-09-20 at 18.09.05.png
>
>
> As discussed on hadoop-common, hadoop 3 is envisaged to be Java7+ *only* -this JIRA covers
switching the build for this
> # maven enforcer plugin to set Java version = {{[1.7)}}
> # compiler to set language to java 1.7



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message