hadoop-lzoインストールエラーの解決方法

1793 ワード

check-native-uptodate:



compile-native:

    [javah] Error: Class org.apache.hadoop.conf.Configuration could not be found.



BUILD FAILED

/home/hadoop/src/kevinweil-hadoop-lzo-6bb1b7f/build.xml:269: compilation failed

在build.xmlにを追加
<javah classpath="${build.classes}"

  destdir="${build.native}/src/com/hadoop/compression/lzo"

  force="yes" verbose="yes">

   <class name="com.hadoop.compression.lzo.LzoCompressor" />

   <class name="com.hadoop.compression.lzo.LzoDecompressor" />

   <classpath refid="classpath"/>

</javah>