[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2020-04-23 Thread Masatake Iwasaki (Jira)


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

Masatake Iwasaki commented on HADOOP-16739:
---

backporting this to branch-3.2 by just replacing the version of protocol 
buffers (s/3.7.1/2.5.0/) in BUILDING.txt.

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Affects Versions: 2.10.0, 3.2.1
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
> Fix For: 3.3.0, 2.10.1
>
> Attachments: HADOOP-16739-branch-2.10.001.patch, 
> HADOOP-16739-branch-3.2.001.patch, HADOOP-16739.001.patch
>
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2020-04-19 Thread Masatake Iwasaki (Jira)


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

Masatake Iwasaki commented on HADOOP-16739:
---

I'm backporting this to branch-2.10 by excluding BUILDING.txt part.

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Affects Versions: 2.10.0, 3.2.1
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
> Fix For: 3.3.0
>
> Attachments: HADOOP-16739-branch-2.10.001.patch, 
> HADOOP-16739.001.patch
>
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2020-02-09 Thread Akira Ajisaka (Jira)


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

Akira Ajisaka commented on HADOOP-16739:


Thank you, [~iwasakims]!

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Affects Versions: 2.10.0, 3.2.1
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
> Fix For: 3.3.0
>
> Attachments: HADOOP-16739.001.patch
>
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2020-02-09 Thread Hudson (Jira)


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

Hudson commented on HADOOP-16739:
-

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #17936 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/17936/])
HADOOP-16739. Fix native build failure of hadoop-pipes on CentOS 8. (iwasakims: 
rev d5467d299db3dddcbcd2f77a281d5fa82c4a9e4b)
* (edit) BUILDING.txt
* (edit) hadoop-tools/hadoop-pipes/src/CMakeLists.txt


> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Affects Versions: 2.10.0, 3.2.1
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
> Attachments: HADOOP-16739.001.patch
>
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2020-02-09 Thread Masatake Iwasaki (Jira)


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

Masatake Iwasaki commented on HADOOP-16739:
---

Thanks [~aajisaka]. I'm committing this.

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Affects Versions: 2.10.0, 3.2.1
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
> Attachments: HADOOP-16739.001.patch
>
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2020-02-09 Thread Akira Ajisaka (Jira)


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

Akira Ajisaka commented on HADOOP-16739:


+1, I could compile hadoop-pipes successfully with your patch.

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Affects Versions: 2.10.0, 3.2.1
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
> Attachments: HADOOP-16739.001.patch
>
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2019-12-02 Thread Hadoop QA (Jira)


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

Hadoop QA commented on HADOOP-16739:


| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
34s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} trunk Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  1m 
11s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 19m 
46s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 16m 
18s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 14m 
59s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 
65m  5s{color} | {color:green} branch has no errors when building and testing 
our client artifacts. {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
20s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 19m 
13s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 15m 
36s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} cc {color} | {color:red} 15m 36s{color} | 
{color:red} root generated 2 new + 24 unchanged - 2 fixed = 26 total (was 26) 
{color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green} 15m 
36s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 14m 
47s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 
12m 34s{color} | {color:green} patch has no errors when building and testing 
our client artifacts. {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red}162m 18s{color} 
| {color:red} root in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
50s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}292m 12s{color} | 
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | hadoop.hdfs.qjournal.server.TestJournalNodeSync |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=19.03.5 Server=19.03.5 Image:yetus/hadoop:104ccca9169 |
| JIRA Issue | HADOOP-16739 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12987263/HADOOP-16739.001.patch
 |
| Optional Tests |  dupname  asflicense  compile  cc  mvnsite  javac  unit  |
| uname | Linux 35c14479d0be 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 
05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/patchprocess/precommit/personality/provided.sh |
| git revision | trunk / 6b2d6d4 |
| maven | version: Apache Maven 3.3.9 |
| Default Java | 1.8.0_222 |
| cc | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/16683/artifact/out/diff-compile-cc-root.txt
 |
| unit | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/16683/artifact/out/patch-unit-root.txt
 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/16683/testReport/ |
| Max. process+thread count | 2740 (vs. ulimit of 5500) |
| modules | C: hadoop-tools/hadoop-pipes . U: . |
| Console output | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/16683/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: 

[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2019-12-01 Thread Masatake Iwasaki (Jira)


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

Masatake Iwasaki commented on HADOOP-16739:
---

I attached 001. The fix links the library of hadoop-pipes only if rpc.h 
provided by glibc is not found in order to keep current dependencies on already 
working environment.

I tested this on CentOS 8, CentOS 7 and Ubuntu 19.04.

On CentOS 8, libtirpc is used.
{noformat}
$ rpm -q libtirpc-devel
libtirpc-devel-1.1.4-3.el8.x86_64

$ ldd hadoop-tools/hadoop-pipes/target/native/examples/pipes-sort | grep tirpc
libtirpc.so.3 => /lib64/libtirpc.so.3 (0x7fe7b81d2000)
{noformat}
On CentOS 7, libtirpc is not used even if libtirpc-devel is installed since 
rpc.h is provided by glibc-headers.
{noformat}
$ rpm -q libtirpc-devel
libtirpc-devel-0.2.4-0.16.el7.x86_64

$ rpm -ql glibc-headers | grep rpc.h
/usr/include/rpc/rpc.h

$ ldd hadoop-tools/hadoop-pipes/target/native/examples/pipes-sort  | grep tirpc
{noformat}
Same on Ubuntu 19.04.
{noformat}
$ apt list libtirpc-dev
Listing... Done
libtirpc-dev/disco,now 1.1.4-0.4 amd64 [installed]

$ apt-file list libc6-dev | grep rpc.h
libc6-dev: /usr/include/rpc/rpc.h

$ ldd hadoop-tools/hadoop-pipes/target/native/examples/pipes-sort | grep tirpc
{noformat}

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
> Attachments: HADOOP-16739.001.patch
>
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2019-12-01 Thread Masatake Iwasaki (Jira)


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

Masatake Iwasaki commented on HADOOP-16739:
---

I'm going to fix CMakeLists.txt of hadoop-pipes and add build instruction on 
CentOS 8 to BUILDING.txt.

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2019-12-01 Thread Masatake Iwasaki (Jira)


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

Masatake Iwasaki commented on HADOOP-16739:
---

Relevant bugzilla of Red Hat.
https://bugzilla.redhat.com/show_bug.cgi?id=1537432


> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2019-12-01 Thread Masatake Iwasaki (Jira)


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

Masatake Iwasaki commented on HADOOP-16739:
---

I think majority of developers use Ubuntu. Even Ubuntu 19.04 have not this 
issue since its libc-dev package still provides rpc.h.

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2019-12-01 Thread Masatake Iwasaki (Jira)


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

Masatake Iwasaki commented on HADOOP-16739:
---

Yes. HADOOP-15685 is relevant. I filed this to limit the scope to CentOS 8 only.

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16739) Fix native build failure of hadoop-pipes on CentOS 8

2019-12-01 Thread Ayush Saxena (Jira)


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

Ayush Saxena commented on HADOOP-16739:
---

Seems like there is already one JIRA for this?

> Fix native build failure of hadoop-pipes on CentOS 8
> 
>
> Key: HADOOP-16739
> URL: https://issues.apache.org/jira/browse/HADOOP-16739
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: tools/pipes
>Reporter: Masatake Iwasaki
>Assignee: Masatake Iwasaki
>Priority: Major
>
> Native build fails in hadoop-tools/hadoop-pips on CentOS 8 due to lack of 
> rpc.h which was removed from glibc.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org