[
https://issues.apache.org/jira/browse/HADOOP-17507?focusedWorklogId=544887&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-544887
]
ASF GitHub Bot logged work on HADOOP-17507:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 31/Jan/21 14:13
Start Date: 31/Jan/21 14:13
Worklog Time Spent: 10m
Work Description: iwasakims commented on a change in pull request #2663:
URL: https://github.com/apache/hadoop/pull/2663#discussion_r567432326
##########
File path: BUILDING.txt
##########
@@ -63,6 +63,20 @@ Installing required packages for clean install of Ubuntu
14.04 LTS Desktop:
$ sudo apt-get -y install maven
* Native libraries
$ sudo apt-get -y install build-essential autoconf automake libtool cmake
zlib1g-dev pkg-config libssl-dev libsasl2-dev
+* GCC 9.3.0
+ $ sudo apt-get -y install software-properties-common
+ $ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
+ $ sudo apt-get update
+ $ sudo apt-get -y install g++-9 gcc-9
+ $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60
--slave /usr/bin/g++ g++ /usr/bin/g++-9
+* CMake 3.19
+ $ mkdir -p /opt/cmake \
+ && curl -L https://cmake.org/files/v3.19/cmake-3.19.0.tar.gz >
cmake-3.19.0.tar.gz \
+ && tar -zxvf cmake-3.19.0.tar.gz \
+ && cd cmake-3.19.0 \
+ && ./bootstrap \
+ && make -j$(nproc) \
+ && sudo make install
Review comment:
We need sudo for creating directory under /opt and the /opt/cmake is not
used. I think we don't need to apply Dockerfile practice in this instruction.
The Protocol Buffers section below is not a good example. It seemed to be
copied from Dockerfile and is assuming root privilege.
same for CentOS 8 part.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 544887)
Time Spent: 0.5h (was: 20m)
> Add build instructions for installing GCC 9 and CMake 3.19
> ----------------------------------------------------------
>
> Key: HADOOP-17507
> URL: https://issues.apache.org/jira/browse/HADOOP-17507
> Project: Hadoop Common
> Issue Type: Bug
> Components: documentation
> Affects Versions: 3.3.0
> Reporter: Gautham Banasandra
> Assignee: Gautham Banasandra
> Priority: Trivial
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]