-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBase 0.96 dependency resolution doesn't seem to work #28
Comments
Hi, thanks for the report. I haven't been able to pay enough attention to 0.96 since I'm still running 0.94. My mistake, the dependency should be "hbase-client" instead of "hbase" starting from 0.95. I've just updated the pom.xml file and ran the test, but it looks like hbase-jruby is not quite yet ready to be used with 0.96. Some of the methods and classes internally used are deprecated or renamed in 0.96. Hopefully I'll try to have it ready for 0.96 in a few days. |
Hey, I've just released a new version, 0.4.5. |
Hi, thanks for fixing that it works great now. The only issue I'm having now is a log4j related error: This only appears when using 0.96, the logger works fine in 0.94. I'm setting the configuration as follows: |
The message appears when you don't have a proper log4j configuration file in your classpath. In that case Log4j warns about the fact and uses the default configuration. Once we have a configuration file, we can think of two approaches here. 1. Properly set up log4j configuration# Log4j configuration file in resources directory
require 'hbase-jruby'
$CLASSPATH << 'resources/'
HBase.resolve_dependency! '0.96'
# ... 2. Use
|
The issue is resolved in 0.4.6. Either way should work fine. |
The POM file the gem generates when given '0.96' as a parameter doesn't properly execute in Maven, giving the error:
failed to execute goal on project hbase-project: Could not resolve dependencies for project hbase-jruby:hbase-project:jar:0.4.4: Failure to find org.apache.hbase:hbase:jar:0.96.1.1-hadoop2 in http://repo.maven.apache.org/maven2
I'm not experienced with Maven but could it be caused by there being no jar files in the repo it's looking in? This seems to be the difference between the 0.96 and 0.94 repos.
The text was updated successfully, but these errors were encountered: