When I added hbase-client as a dependency in Nutch's ivy.xml.

<dependency org="org.apache.hbase" name="hbase-client"
rev="0.98.8-hadoop2" conf="*->default">

Ivy can not resolve hbase-common and hbase-annotations in compile
scope rather than hbase-protocol. It sees these dependencies in test
scope and map to runtime and master scope. they looks like below in
hbase-client resolved
~/.ivy2/cache/org.apache.hbase/hbase-client/ivy-0.98.8-hadoop2.xml
file :

<dependency org="org.apache.hbase" name="hbase-annotations"
rev="0.98.8-hadoop2" force="true" conf="test->runtime(*),master(*)"/>
<dependency org="org.apache.hbase" name="hbase-annotations"
rev="0.98.8-hadoop2" force="true" conf="test->runtime(*),master(*)">
  <artifact name="hbase-annotations" type="test-jar" ext="jar" conf=""
m:classifier="tests"/>
</dependency>
<dependency org="org.apache.hbase" name="hbase-common"
rev="0.98.8-hadoop2" force="true" conf="test->runtime(*),master(*)"/>
<dependency org="org.apache.hbase" name="hbase-common"
rev="0.98.8-hadoop2" force="true" conf="test->runtime(*),master(*)">
  <artifact name="hbase-common" type="test-jar" ext="jar" conf=""
m:classifier="tests"/>
</dependency>
<dependency org="org.apache.hbase" name="hbase-protocol"
rev="0.98.8-hadoop2" force="true"
conf="compile->compile(*),master(*);runtime->runtime(*)"/>

Not only Hbase-client. Other Hbase modules have same problem. Do you
have any idea ?

Talat

Reply via email to