hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gagan Brahmi <gaganbra...@gmail.com>
Subject Error building libyarn
Date Thu, 03 Mar 2016 21:43:16 GMT
Hi Guys,

Wondering if anyone has got around this problem earlier.

I am getting the following error when I try to make libyarn.

[ 32%] Building CXX object
src/CMakeFiles/libyarn-shared.dir/libyarnclient/ApplicationClient.cpp.o
cd /root/HAWQ/incubator-hawq-master/depends/libyarn/build/src &&
/usr/bin/g++   -DTEST_HDFS_PREFIX=\"./\" -D_GNU_SOURCE
-D__STDC_FORMAT_MACROS -Dlibyarn_shared_EXPORTS
-fno-omit-frame-pointer -msse4.2 -Wl,--export-dynamic -std=c++0x -Wall
-O2 -g -DNDEBUG -fPIC -I/usr/local/include
-I/root/HAWQ/incubator-hawq-master/depends/libyarn/src
-I/root/HAWQ/incubator-hawq-master/depends/libyarn/src/common
-I/root/HAWQ/incubator-hawq-master/depends/libyarn/build/src
-I/usr/include/libxml2
-I/root/HAWQ/incubator-hawq-master/depends/libyarn/mock    -o
CMakeFiles/libyarn-shared.dir/libyarnclient/ApplicationClient.cpp.o -c
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/libyarnclient/ApplicationClient.cpp
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/libyarnclient/ApplicationClient.cpp:
In constructor ‘libyarn::ApplicationClient::ApplicationClient(std::string&,
std::string&, std::string&)’:
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/libyarnclient/ApplicationClient.cpp:72:9:
warning: format ‘%d’ expects argument of type ‘int’, but argument 4
has type ‘std::vector<libyarn::RMInfo>::size_type {aka long unsigned
int}’ [-Wformat]
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/libyarnclient/ApplicationClient.cpp:
In function ‘void libyarn::HandleYarnFailoverException(const
Yarn::YarnFailoverException&)’:
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/libyarnclient/ApplicationClient.cpp:139:28:
error: call of overloaded ‘rethrow_if_nested(const
Yarn::YarnFailoverException&)’ is ambiguous
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/libyarnclient/ApplicationClient.cpp:139:28:
note: candidates are:
In file included from
/usr/local/gcc47/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/exception:155:0,
                 from
/usr/local/gcc47/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/ios:40,
                 from
/usr/local/gcc47/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/ostream:40,
                 from
/usr/local/gcc47/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/iostream:40,
                 from
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/libyarnclient/ApplicationClient.cpp:20:
/usr/local/gcc47/lib/gcc/x86_64-unknown-linux-gnu/4.7.4/../../../../include/c++/4.7.4/bits/nested_exception.h:146:5:
note: void std::rethrow_if_nested(const _Ex&) [with _Ex =
Yarn::YarnFailoverException]
In file included from
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/common/SessionConfig.h:24:0,
                 from
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/libyarnclient/ApplicationClient.cpp:25:
/root/HAWQ/incubator-hawq-master/depends/libyarn/src/common/ExceptionInternal.h:103:20:
note: void Yarn::rethrow_if_nested(const T&) [with T =
Yarn::YarnFailoverException]
make[2]: *** [src/CMakeFiles/libyarn-shared.dir/libyarnclient/ApplicationClient.cpp.o]
Error 1
make[2]: Leaving directory
`/root/HAWQ/incubator-hawq-master/depends/libyarn/build'
make[1]: *** [src/CMakeFiles/libyarn-shared.dir/all] Error 2
make[1]: Leaving directory
`/root/HAWQ/incubator-hawq-master/depends/libyarn/build'
make: *** [all] Error 2

Any help or hints would be appreciated!



Regards,
Gagan Brahmi

Mime
View raw message