You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by innowireless TaeYun Kim <ta...@innowireless.co.kr> on 2014/09/30 14:21:23 UTC
HBase 0.98.6.1 maven dependency
Hi,
I'm relatively new to HBase and maven.
Currently I'm trying to add dependency for hbase-0.98.6.1-hadoop2.jar to my
application.
But when I run 'mvn package' after adding the dependency, it fails with the
following error:
[ERROR] Failed to execute goal on project MyApp: Could not resolve
dependencies for project com.innowireless.xcapvuze:MyApp:jar:0.0.1-SNAPSHOT:
Failure to find org.apache.hbase:hbase:jar:0.98.6.1-hadoop2 in
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
'mvn package -U' also failed.
When I inspected the local repository in
.m2\repository\org\apache\hbase\hbase\0.98.6.1-hadoop2, there was no jar
file, while 0.94.6 directory has one.
How can I get the 0.98.6.1 jar?
Should I build it myself?
Or should I add each 'component' jars (hbase-client, hbase-common,
hbase-protocol.) to the dependency?
Thank you.
Re: HBase 0.98.6.1 maven dependency
Posted by Sean Busbey <bu...@cloudera.com>.
For 0.98.x you should use hbase - client.
See the FAQ item on updating a maven managed project from 0.94 to 0.98:
http://hbase.apache.org/book.html#d0e22846
--
Sean
On Sep 30, 2014 7:20 AM, "innowireless TaeYun Kim" <
taeyun.kim@innowireless.co.kr> wrote:
> Hi,
>
>
>
> I'm relatively new to HBase and maven.
>
> Currently I'm trying to add dependency for hbase-0.98.6.1-hadoop2.jar to my
> application.
>
> But when I run 'mvn package' after adding the dependency, it fails with
> the
> following error:
>
>
>
> [ERROR] Failed to execute goal on project MyApp: Could not resolve
> dependencies for project
> com.innowireless.xcapvuze:MyApp:jar:0.0.1-SNAPSHOT:
> Failure to find org.apache.hbase:hbase:jar:0.98.6.1-hadoop2 in
> http://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced -> [Help 1]
>
>
>
> 'mvn package -U' also failed.
>
>
>
> When I inspected the local repository in
> .m2\repository\org\apache\hbase\hbase\0.98.6.1-hadoop2, there was no jar
> file, while 0.94.6 directory has one.
>
> How can I get the 0.98.6.1 jar?
>
> Should I build it myself?
>
> Or should I add each 'component' jars (hbase-client, hbase-common,
> hbase-protocol.) to the dependency?
>
>
>
> Thank you.
>
>
>
>
Re: HBase 0.98.6.1 maven dependency
Posted by Ted Yu <yu...@gmail.com>.
Please add the modules (components as you mentioned) to dependency.
Cheers
On Sep 30, 2014, at 5:21 AM, innowireless TaeYun Kim <ta...@innowireless.co.kr> wrote:
> Hi,
>
>
>
> I'm relatively new to HBase and maven.
>
> Currently I'm trying to add dependency for hbase-0.98.6.1-hadoop2.jar to my
> application.
>
> But when I run 'mvn package' after adding the dependency, it fails with the
> following error:
>
>
>
> [ERROR] Failed to execute goal on project MyApp: Could not resolve
> dependencies for project com.innowireless.xcapvuze:MyApp:jar:0.0.1-SNAPSHOT:
> Failure to find org.apache.hbase:hbase:jar:0.98.6.1-hadoop2 in
> http://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced -> [Help 1]
>
>
>
> 'mvn package -U' also failed.
>
>
>
> When I inspected the local repository in
> .m2\repository\org\apache\hbase\hbase\0.98.6.1-hadoop2, there was no jar
> file, while 0.94.6 directory has one.
>
> How can I get the 0.98.6.1 jar?
>
> Should I build it myself?
>
> Or should I add each 'component' jars (hbase-client, hbase-common,
> hbase-protocol.) to the dependency?
>
>
>
> Thank you.
>
>
>