[
https://issues.apache.org/jira/browse/HADOOP-17880?focusedWorklogId=643977&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-643977
]
ASF GitHub Bot logged work on HADOOP-17880:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 31/Aug/21 11:50
Start Date: 31/Aug/21 11:50
Worklog Time Spent: 10m
Work Description: ZhendongBai commented on a change in pull request #3349:
URL: https://github.com/apache/hadoop/pull/3349#discussion_r699245810
##########
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:
@GauthamBanasandra for ubuntu, openjdk-7 not found installation
candidate, the error shows as bellow:
```
.....
ERROR [ 8/27] RUN apt-get -q update && apt-get -q install -y
--no-install-recommends openjdk-7-jdk && apt-get clean && rm -rf
/var/lib/apt/lists/*
#11 94.95 Get:20 http://archive.ubuntu.com/ubuntu xenial-backports/universe
amd64 Packages [12.7 kB]
#11 95.07 Fetched 19.4 MB in 1min 34s (205 kB/s)
#11 95.07 Reading package lists...
#11 95.99 Reading package lists...
#11 96.88 Building dependency tree...
#11 97.02 Reading state information...
#11 97.04 Package openjdk-7-jdk is not available, but is referred to by
another package.
#11 97.04 This may mean that the package is missing, has been obsoleted, or
#11 97.04 is only available from another source
#11 97.04
#11 97.04 E: Package 'openjdk-7-jdk' has no installation candidate
```
--
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: 643977)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Time Spent: 10m
> 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]