-
Configure some environments:
-
$JAVA_HOME:
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"
-
$FIO_LIBHDFS_LIB:
# the directory that contains 'libhdfs.a'. export FIO_LIBHDFS_LIB="/home/hadoop/fzp/rdma-hadoop-2.x-1.3.0-x86/lib/native"
-
$FIO_LIBHDFS_INCLUDE:
# make sure 'hdfs.h' is included in this directory. 'hdfs.h' can be found in hadoop source code. export FIO_LIBHDFS_INCLUDE="/home/hadoop/fzp/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs"
-
-
Generate configurations for make:
./configure --enable-libhdfs
-
Make:
make
-
Make install:
make install
Created
January 23, 2018 03:05
-
-
Save xterat/a10275c8a0cd771994e0a504e1d975a4 to your computer and use it in GitHub Desktop.
Configure fio to support hdfs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment