maven compile crux error

3 views
Skip to first unread message

hivefans

unread,
Nov 22, 2012, 10:25:35 PM11/22/12
to crux...@googlegroups.com
I use maven compile crux,but find many errors
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/crux/src/main/java/co/nubetech/crux/util/Utility.java:[20,42] package org.apache.hadoop.hbase.coprocessor does not exist
[ERROR] /home/crux/src/main/java/co/nubetech/crux/server/aggregate/GroupingAggregationProtocol.java:[6,34] cannot find symbol
symbol  : class CoprocessorProtocol
location: package org.apache.hadoop.hbase.ipc
[ERROR] /home/crux/src/main/java/co/nubetech/crux/server/aggregate/GroupingAggregationProtocol.java:[11,53] cannot find symbol
symbol: class CoprocessorProtocol
public interface GroupingAggregationProtocol extends CoprocessorProtocol{
[ERROR] /home/crux/src/main/java/co/nubetech/crux/server/aggregate/GroupingAggregationImpl.java:[11,42] package org.apache.hadoop.hbase.coprocessor does not exist
[ERROR] /home/crux/src/main/java/co/nubetech/crux/server/aggregate/GroupingAggregationImpl.java:[12,42] package org.apache.hadoop.hbase.coprocessor does not exist
[ERROR] /home/crux/src/main/java/co/nubetech/crux/server/aggregate/GroupingAggregationImpl.java:[13,34] cannot find symbol
symbol  : class ProtocolSignature
location: package org.apache.hadoop.hbase.ipc


How do I solve it?
my hbase version is 0.92  maven version is 2.2.1  

Sonal Goyal

unread,
Nov 22, 2012, 11:14:50 PM11/22/12
to crux...@googlegroups.com
Which branch are you using(master or aggregation) and what command are you using for compiling?

hivefans

unread,
Nov 23, 2012, 1:16:38 AM11/23/12
to crux...@googlegroups.com
I used aggregation branch , and command is (mvn -Dcdh3 install)

在 2012年11月23日星期五UTC+8下午12时14分50秒,Sonal Goyal写道:

Sonal Goyal

unread,
Nov 23, 2012, 6:22:44 AM11/23/12
to crux...@googlegroups.com
I actually created a download for your version and put it on github. https://github.com/sonalgoyal/crux/downloads

I built it using

 mvn -Dcdh3u3 assembly:assembly

The aggregation branch is for hbase 0.92.1+, which supports coprocessors. For older hbase versions, you will have to use the master branch - check the cdh3u5 and cdh3u3 maven profiles.
Reply all
Reply to author
Forward
0 new messages