First off welcome! Hopefully we can work through this issue. The profile management recently changed so the current way to compile against hadoop2 would be to add a -Dhadoop2 to any mvn command. I'm not sure I really like this way but it seemed to be the only way to consistently get maven to work against only 1 of the 2 hadoop profiles.
So for example to run install in maven: mvn install -Dhadoop2 NOTE: Currently the MR minicluster used in the blur-mapred project is broken, so those tests with hadoop2 will be broken. However I believe the code should work. Let me know how it goes and if you have anymore questions. Aaron On Thu, Feb 27, 2014 at 9:53 AM, Chris Bell <[email protected]> wrote: > Hi All, > > I am trying to install apache-blur-0.2 out of git but I am running into an > issue. > I have the project built and the distro deployed, but when I try to run > ./start-all.sh, I recieve an error indicating compilation problems: > > Exception in thread "main" java.lang.Error: Unresolved compilation problem: > org.apache.commons.logging.LogFactory cannot be resolved to a type > at org.apache.blur.log.LogFactory.getLog(LogFactory.java:26) > at org.apache.blur.thrift.ThriftServer.<clinit>(ThriftServer.java:68) > > I've attempted adding in a commons-logging provided dependency to the > blur-util sub-project, but that just leads to another issue: > > Exception in thread "main" java.lang.Error: Unresolved compilation problem: > at > > org.apache.blur.thrift.ThriftBlurControllerServer.main(ThriftBlurControllerServer.java:79) > > I'm working against the hadoop-2.2 profile. > > Any help would be appreciated. > > Thanks! > > Chris >
