Please sign in to comment.
[Hdfs Fix] Fix the TestNativeIO
Summary: currently, when we run the TestNativeIO, we will get the error said "Forked Java VM exited abnormally." And on my dev box, I find another line said " /usr/local/jdk-6u14-64/jre/bin/java: symbol lookup error: /data/users/dikang/freshhadoop/trunk/VENDOR/hadoop-0.20/build/native/Linux-amd64-64/lib/libhadoop.so.1.0.0: undefined symbol: clock_gettime" I google it and find that when we build the native libhadoop.so, we need to add the -lrt to the LDFLAGS. So I add it into the build.xml and it works for me on my dev box. ps: the clock_gettime was introduced in the diff D515547 Test Plan: ant test -Dtestcase=TestNativeIO Reviewers: tylerharter, pritam, sdong, tomasz, hkuang Reviewed By: tomasz
- Loading branch information...