You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/04/19 04:26:00 UTC
[jira] [Work logged] (HADOOP-17635) Update the ubuntu version in
the build instruction
[ https://issues.apache.org/jira/browse/HADOOP-17635?focusedWorklogId=584861&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-584861 ]
ASF GitHub Bot logged work on HADOOP-17635:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 19/Apr/21 04:25
Start Date: 19/Apr/21 04:25
Worklog Time Spent: 10m
Work Description: iwasakims opened a new pull request #2931:
URL: https://github.com/apache/hadoop/pull/2931
https://issues.apache.org/jira/browse/HADOOP-17635
The setup procedure of Ubuntu 18.04 is defferent from 20.04. Uses of Ubuntu 18.04 need to install gcc-9 from supplemental repository and cmake >= 3.19 from source code. Leaving current instruction for Ubuntu 18.04 could be useful until majority of users move to 20.04.
Oracle Java(JDK) 8 is not available now. I replaced it with OpenJDK 8.
https://launchpad.net/~webupd8team/+archive/ubuntu/java
I tested the procedure on fresh Unbuntu 18.04 environment (on EC2 using ami-0ef85cf6e604e5650).
```
$ uname -a
Linux ip-172-31-18-242 5.4.0-1038-aws #40~18.04.1-Ubuntu SMP Sat Feb 6 01:56:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
$ mvn clean install -DskipTests -DskipShade -Drequire.isal -Drequire.pmdk -Pnative -Pdist
$ ./hadoop-dist/target/hadoop-3.4.0-SNAPSHOT/bin/hadoop checknative
2021-04-19 04:23:17,621 INFO bzip2.Bzip2Factory: Successfully loaded & initialized native-bzip2 library system-native
2021-04-19 04:23:17,625 INFO zlib.ZlibFactory: Successfully loaded & initialized native-zlib library
2021-04-19 04:23:17,758 INFO nativeio.NativeIO: The native code was built with PMDK support, and PMDK libs were loaded successfully.
Native library checking:
hadoop: true /home/ubuntu/hadoop/hadoop-dist/target/hadoop-3.4.0-SNAPSHOT/lib/native/libhadoop.so.1.0.0
zlib: true /lib/x86_64-linux-gnu/libz.so.1
zstd : true /usr/lib/x86_64-linux-gnu/libzstd.so.1
bzip2: true /lib/x86_64-linux-gnu/libbz2.so.1
openssl: true /usr/lib/x86_64-linux-gnu/libcrypto.so
ISA-L: true /usr/lib/libisal.so.2
PMDK: true /usr/local/lib/libpmem.so.1.0.0
```
--
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:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 584861)
Remaining Estimate: 0h
Time Spent: 10m
> Update the ubuntu version in the build instruction
> --------------------------------------------------
>
> Key: HADOOP-17635
> URL: https://issues.apache.org/jira/browse/HADOOP-17635
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, documentation
> Reporter: Akira Ajisaka
> Assignee: Masatake Iwasaki
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In BUILDING.txt
> {noformat}
> Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:
> {noformat}
> Ubuntu 14 is already EoL, should be updated to 18 or 20.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org