You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2021/05/14 12:42:00 UTC

[jira] [Commented] (BIGTOP-3457) Add libhdfspp packages to hadoop

    [ https://issues.apache.org/jira/browse/BIGTOP-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17344566#comment-17344566 ] 

Masatake Iwasaki commented on BIGTOP-3457:
------------------------------------------

With HADOOP-17196, libhdfspp is skipped on CentOS 7. Since HADOOP-17196 is just addressing compiler warnings on Windows, adding patch to revert it on Bigtop side should cause no issue.
{noformat}
Performing C++ SOURCE FILE Test THREAD_LOCAL_SUPPORTED failed with the following output:
Change Dir: /home/centos/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.2.2-src/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_9dc5a/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_9dc5a.dir/build.make CMakeFiles/cmTC_9dc5a.dir/build
gmake[1]: Entering directory `/home/centos/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.2.2-src/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9dc5a.dir/src.cxx.o
/usr/bin/c++    -g -O2 -Wall -pthread -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DTHREAD_LOCAL_SUPPORTED   -o CMakeFiles/cmTC_9dc5a.dir/src.cxx.o -c /home/centos/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.2.2-src/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp/src.cxx
In file included from /usr/include/c++/4.8.2/thread:35:0,
                 from /home/centos/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.2.2-src/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp/src.cxx:1:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^
/home/centos/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.2.2-src/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()':
/home/centos/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.2.2-src/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp/src.cxx:3:7: error: 'thread_local' was not declared in this scope
       thread_local int s;
       ^
/home/centos/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.2.2-src/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp/src.cxx:3:20: error: expected ';' before 'int'
       thread_local int s;
                    ^
gmake[1]: *** [CMakeFiles/cmTC_9dc5a.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory `/home/centos/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.2.2-src/hadoop-hdfs-project/hadoop-hdfs-native-client/target/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_9dc5a/fast] Error 2


Source file was:
#include <thread>
    int main(void) {
      thread_local int s;
      return 0;
    }
{noformat}

> Add libhdfspp packages to hadoop
> --------------------------------
>
>                 Key: BIGTOP-3457
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3457
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: hadoop
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Add packages contains artifacts of libhdfspp. It should be similar to existing hadoop-libhdfs and hadoop-libhdfs-dev.



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