./configure --enable-libhdfs ... configure: FIO_LIBHDFS_INCLUDE should be defined to libhdfs inlude path configure: FIO_LIBHDFS_LIB should be defined to libhdfs library path What else do you need ? All the explanations are given. Appart for a typo: include no inlude. > Le 3 févr. 2017 à 00:04, Sitsofe Wheeler <sitsofe@xxxxxxxxx> a écrit : > > You should only need the --enable-libhdfs part and not the stuff after > the brackets on the configure line. > > I don't use the HDFS so I can't say much but perhaps there are some > clues in https://github.com/axboe/fio/blob/master/configure#L1544 ? > > On 2 February 2017 at 22:58, ankit patel <ankitpatel.edu@xxxxxxxxx> wrote: >> I have --enable-libhdfs) libhdfs="yes" >> but following variables are empty. >> can you help me identify their meaning and figure our where it needs >> to be pointed? >> >> >> #echo "FIO_HDFS_CPU=$FIO_HDFS_CPU" >> FIO_HDFS_CPU= >> # echo "JAVA_HOME=$JAVA_HOME" >> JAVA_HOME=/opt/jdk >> #echo "FIO_LIBHDFS_INCLUDE=$FIO_LIBHDFS_INCLUDE" >> FIO_LIBHDFS_INCLUDE= >> # echo "FIO_LIBHDFS_LIB=$FIO_LIBHDFS_LIB" >> FIO_LIBHDFS_LIB= >> >> >> >> >> On Thu, Feb 2, 2017 at 2:32 PM, Sitsofe Wheeler <sitsofe@xxxxxxxxx> wrote: >>> Hi, >>> >>> A look through https://github.com/axboe/fio/blob/master/configure >>> suggests for things related to HDFS suggests the following: >>> * Have you made sure the environment variables JAVA_HOME , >>> FIO_LIBHDFS_INCLUDE , FIO_LIBHDFS_LIB are set correctly before running >>> configure? >>> * Have you added the --enable-libhdfs ./configure parameter? >>> >>> On 2 February 2017 at 22:22, ankit patel <ankitpatel.edu@xxxxxxxxx> wrote: >>>> Hello All >>>> >>>> I am trying to install FIO on my hadoop cluster and I aimed to measure >>>> storage BW and latency through HDFS >>>> https://github.com/axboe/fio/issues/301 >>>> >>>> while doing ./configure step i see >>>> "HDFS engine no" >>>> >>>> followed by an error when I tried to use libhdfs with fio; >>>> ./fio --name=random-writers --ioengine=libhdfs --iodepth=4 >>>> --rw=randwrite --bs=32k --direct=0 --size=64m --numjobs=4 >>>> fio: engine libhdfs not loadable >>>> fio: failed to load engine libhdfs >>>> fio: file:ioengines.c:91, func=dlopen, error=libhdfs: cannot open >>>> shared object file: No such file or directory >>>> >>>> can you help me with how can i enable fio vi hdfs >>> >>> -- >>> Sitsofe | http://sucs.org/~sits/ >> >> >> >> -- >> Thanks, >> Ankit Patel > > > > -- > Sitsofe | http://sucs.org/~sits/ > -- > To unsubscribe from this list: send the line "unsubscribe fio" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html