hbase-jruby 0.2.0-java → 0.2.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/lib/hbase-jruby/hbase.rb +3 -1
- data/lib/hbase-jruby/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -56,7 +56,7 @@ table.delete(:rowkey9)
|
|
56
56
|
git clone -b devel https://github.com/junegunn/hbase-jruby.git
|
57
57
|
cd hbase-jruby
|
58
58
|
rake build
|
59
|
-
gem install pkg/hbase-jruby-0.2.
|
59
|
+
gem install pkg/hbase-jruby-0.2.1-java.gem
|
60
60
|
|
61
61
|
## Setting up
|
62
62
|
|
@@ -93,7 +93,7 @@ HBase.resolve_dependency! '0.94', :verbose => true
|
|
93
93
|
HBase.resolve_dependency! '/path/to/my/pom.xml'
|
94
94
|
HBase.resolve_dependency! '/path/to/my/pom.xml', :profile => 'trunk'
|
95
95
|
|
96
|
-
#
|
96
|
+
# Load JAR files from local HBase installation
|
97
97
|
HBase.resolve_dependency! :local
|
98
98
|
```
|
99
99
|
|
data/lib/hbase-jruby/hbase.rb
CHANGED
@@ -35,7 +35,9 @@ class HBase
|
|
35
35
|
# Connects to HBase
|
36
36
|
# @param [Hash] config A key-value pairs to build HBaseConfiguration from
|
37
37
|
def initialize config = {}
|
38
|
-
|
38
|
+
begin
|
39
|
+
org.apache.hadoop.conf.Configuration
|
40
|
+
rescue NameError
|
39
41
|
raise NameError.new(
|
40
42
|
"Required Java classes not loaded. Set up CLASSPATH or try `HBase.resolve_dependency!`")
|
41
43
|
end
|
data/lib/hbase-jruby/version.rb
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: hbase-jruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.1
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Junegunn Choi
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-unit
|