[ 
https://issues.apache.org/jira/browse/HADOOP-17880?focusedWorklogId=644477&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-644477
 ]

ASF GitHub Bot logged work on HADOOP-17880:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Aug/21 15:29
            Start Date: 31/Aug/21 15:29
    Worklog Time Spent: 10m 
      Work Description: GauthamBanasandra commented on a change in pull request 
#3349:
URL: https://github.com/apache/hadoop/pull/3349#discussion_r699431551



##########
File path: dev-support/docker/Dockerfile
##########
@@ -18,234 +17,80 @@
 # Dockerfile for installing the necessary dependencies for building Hadoop.
 # See BUILDING.txt.
 
-FROM ubuntu:xenial
+FROM centos:7

Review comment:
       That's because Java 7 isn't there in the Ubuntu Xenial toolchain. Have 
you tried installing the Java 7 by downloading its tarball? Maybe this'll help 
- 
https://linuxconfig.org/oracle-java-jdk-7-on-ubuntu-linux-source-or-rpm-installation
   
   I would advise against changing the base image to Centos 7 if this is the 
only reason. Here are my suggestions -
   1. If you still want to use Centos 7, I would suggest that you create a 
separate Dockerfile for it (like Dockerfile_centos_7) and leave the original 
Dockerfile as it is.
   2. Or, just install Java 7 from the tarball in 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 644477)
    Time Spent: 40m  (was: 0.5h)

> build hadoop 2.10.0 with docker machine failed
> ----------------------------------------------
>
>                 Key: HADOOP-17880
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17880
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.10.0
>         Environment: mac os x86_64
>            Reporter: baizhendong
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 1. currently, we build the hadoop 2.10.0 with docker machine, and must 
> install Virtual Box, and for hadoop 3.x, just build with docker only.
> 2. besides this, the docker image dependency is out of date, and some of them 
> is unavaialble, for example – jdk7
> 3. but just building hadoop 2.10.0 with hadoop 3.x build script without 
> modification is not working, for the protocol buffer version is not 2.5.0, 
> and it's not work for native build.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to