Re: Error building libyarn

2016-03-03 Thread Gagan Brahmi
Thanks Wen! That seemed to have worked. I was able to make it successfully. Modified the code in ApplicationClient.cpp and ApplicationMaster.cpp files. static void HandleYarnFailoverException(const Yarn::YarnFailoverException & e) { try { std::rethrow_if_nested(e); } catch (...)

Re: Error building libyarn

2016-03-03 Thread Wen Lin
I haven't met with such building error. Libyarn is built with GCC 4.4.2 and tested here. So that's probably compiler difference causes this error. It seems rethrow_if_nested is ambiguous to the compiler. Would you like to add a "std::" before "rethrow_if_nested" and have a try? Thanks! On Fri,

Error building libyarn

2016-03-03 Thread Gagan Brahmi
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 &&