buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Adams <>
Subject Re: buildr and Hadoop
Date Tue, 10 Jul 2012 21:10:49 GMT
Sorry about not fully reading your message before.
What artifact IDs are you using?  Because, we are successfully building against the Cloudera
Maven repos in our projects.

On Jul 10, 2012, at 4:00 PM, Chris Guirl wrote:

> buildr looks like a very capable tool for building Java programs, but
> I have had a lot of trouble with using it for very simple Hadoop jobs.
> I discussed this on IRC a little yesterday, but wasn't able to make
> much progress. Full disclosure: I haven't done a lot of Java
> development, and haven't use Ant, Maven, or any other Java build tool
> (I am trying to avoid using them, they look pretty bad).
> I am using Cloudera's CDH4 Hadoop distribution, installed via packages
> for Ubuntu 12.04. Cloudera provides a Maven repository [1] which I am
> using; the artifact downloads successfully. The JAR seems to contain
> only a and pom.xml. The actual .jar files containing
> the classes are in /usr/lib/hadoop/client-0.20, which is specified via
> the $CLASSPATH environment variable for manual compilation with javac.
> When I run `buildr compile`, I get errors similar to those I got when
> compiling with javac without the $CLASSPATH properly set. For example:
> src/main/java/ package org.apache.hadoop.fs does not exist
> import org.apache.hadoop.fs.Path;
> My buildfile is attached.
> Chris Guirl
> [1]

View raw message