You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by kaveh minooie <ka...@plutoz.com> on 2013/05/07 23:01:06 UTC

problem building lzo

Hi everyone

I am trying to follow this tutorial 
https://wiki.apache.org/hadoop/UsingLzoCompression and I am getting an 
error I don't know how to solve. i have CFLAGS='-m64'
and run this:

CLASSPATH=/hadoop/hadoop-core-1.1.1.jar  ant compile-native

and I get this:

compile-java:
     [javac] /source/hbase/hadoop-lzo/build.xml:216: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; 
set to false for repeatable builds

check-native-uptodate:

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

BUILD FAILED
/source/hbase/hadoop-lzo/build.xml:242: compilation failed

also, I get the same thing when set CLASSPATH to the full hadoop 
classpath CLASSPATH=$(hadoop classpath)


-thanks,


Re: problem building lzo

Posted by Harsh J <ha...@cloudera.com>.
What repo of the hadoop-lzo are you using? If you're using a typical
Linux OS such as those similar to RedHat/Debian/etc., it is easier to
run the "hadoop-lzo-packager" project mentioned at the same Wiki link.
It will hand you ready to install and use packages.

Onto your problem though, I think your HADOOP_HOME may not be set properly?

On Wed, May 8, 2013 at 2:31 AM, kaveh minooie <ka...@plutoz.com> wrote:
> Hi everyone
>
> I am trying to follow this tutorial
> https://wiki.apache.org/hadoop/UsingLzoCompression and I am getting an error
> I don't know how to solve. i have CFLAGS='-m64'
> and run this:
>
> CLASSPATH=/hadoop/hadoop-core-1.1.1.jar  ant compile-native
>
> and I get this:
>
> compile-java:
>     [javac] /source/hbase/hadoop-lzo/build.xml:216: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
> to false for repeatable builds
>
> check-native-uptodate:
>
> compile-native:
>     [javah] Error: Class org.apache.hadoop.conf.Configuration could not be
> found.
>
> BUILD FAILED
> /source/hbase/hadoop-lzo/build.xml:242: compilation failed
>
> also, I get the same thing when set CLASSPATH to the full hadoop classpath
> CLASSPATH=$(hadoop classpath)
>
>
> -thanks,
>



-- 
Harsh J

Re: problem building lzo

Posted by Harsh J <ha...@cloudera.com>.
What repo of the hadoop-lzo are you using? If you're using a typical
Linux OS such as those similar to RedHat/Debian/etc., it is easier to
run the "hadoop-lzo-packager" project mentioned at the same Wiki link.
It will hand you ready to install and use packages.

Onto your problem though, I think your HADOOP_HOME may not be set properly?

On Wed, May 8, 2013 at 2:31 AM, kaveh minooie <ka...@plutoz.com> wrote:
> Hi everyone
>
> I am trying to follow this tutorial
> https://wiki.apache.org/hadoop/UsingLzoCompression and I am getting an error
> I don't know how to solve. i have CFLAGS='-m64'
> and run this:
>
> CLASSPATH=/hadoop/hadoop-core-1.1.1.jar  ant compile-native
>
> and I get this:
>
> compile-java:
>     [javac] /source/hbase/hadoop-lzo/build.xml:216: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
> to false for repeatable builds
>
> check-native-uptodate:
>
> compile-native:
>     [javah] Error: Class org.apache.hadoop.conf.Configuration could not be
> found.
>
> BUILD FAILED
> /source/hbase/hadoop-lzo/build.xml:242: compilation failed
>
> also, I get the same thing when set CLASSPATH to the full hadoop classpath
> CLASSPATH=$(hadoop classpath)
>
>
> -thanks,
>



-- 
Harsh J

Re: problem building lzo

Posted by Harsh J <ha...@cloudera.com>.
What repo of the hadoop-lzo are you using? If you're using a typical
Linux OS such as those similar to RedHat/Debian/etc., it is easier to
run the "hadoop-lzo-packager" project mentioned at the same Wiki link.
It will hand you ready to install and use packages.

Onto your problem though, I think your HADOOP_HOME may not be set properly?

On Wed, May 8, 2013 at 2:31 AM, kaveh minooie <ka...@plutoz.com> wrote:
> Hi everyone
>
> I am trying to follow this tutorial
> https://wiki.apache.org/hadoop/UsingLzoCompression and I am getting an error
> I don't know how to solve. i have CFLAGS='-m64'
> and run this:
>
> CLASSPATH=/hadoop/hadoop-core-1.1.1.jar  ant compile-native
>
> and I get this:
>
> compile-java:
>     [javac] /source/hbase/hadoop-lzo/build.xml:216: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
> to false for repeatable builds
>
> check-native-uptodate:
>
> compile-native:
>     [javah] Error: Class org.apache.hadoop.conf.Configuration could not be
> found.
>
> BUILD FAILED
> /source/hbase/hadoop-lzo/build.xml:242: compilation failed
>
> also, I get the same thing when set CLASSPATH to the full hadoop classpath
> CLASSPATH=$(hadoop classpath)
>
>
> -thanks,
>



-- 
Harsh J

Re: problem building lzo

Posted by Harsh J <ha...@cloudera.com>.
What repo of the hadoop-lzo are you using? If you're using a typical
Linux OS such as those similar to RedHat/Debian/etc., it is easier to
run the "hadoop-lzo-packager" project mentioned at the same Wiki link.
It will hand you ready to install and use packages.

Onto your problem though, I think your HADOOP_HOME may not be set properly?

On Wed, May 8, 2013 at 2:31 AM, kaveh minooie <ka...@plutoz.com> wrote:
> Hi everyone
>
> I am trying to follow this tutorial
> https://wiki.apache.org/hadoop/UsingLzoCompression and I am getting an error
> I don't know how to solve. i have CFLAGS='-m64'
> and run this:
>
> CLASSPATH=/hadoop/hadoop-core-1.1.1.jar  ant compile-native
>
> and I get this:
>
> compile-java:
>     [javac] /source/hbase/hadoop-lzo/build.xml:216: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
> to false for repeatable builds
>
> check-native-uptodate:
>
> compile-native:
>     [javah] Error: Class org.apache.hadoop.conf.Configuration could not be
> found.
>
> BUILD FAILED
> /source/hbase/hadoop-lzo/build.xml:242: compilation failed
>
> also, I get the same thing when set CLASSPATH to the full hadoop classpath
> CLASSPATH=$(hadoop classpath)
>
>
> -thanks,
>



-- 
Harsh J