hbase-jruby 0.3.1-java → 0.3.2-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +4 -0
- data/README.md +4 -3
- data/lib/hbase-jruby/dependency.rb +1 -0
- data/lib/hbase-jruby/pom/pom.xml.erb +38 -0
- data/lib/hbase-jruby/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
require 'hbase-jruby'
|
18
18
|
|
19
19
|
# Load required JAR files from CDH distribution using Maven
|
20
|
-
HBase.resolve_dependency! 'cdh4.
|
20
|
+
HBase.resolve_dependency! 'cdh4.3.0'
|
21
21
|
|
22
22
|
# Connect to HBase on localhost
|
23
23
|
hbase = HBase.new
|
@@ -115,6 +115,7 @@ Call `HBase.resolve_dependency!` helper method passing one of the arguments list
|
|
115
115
|
|
116
116
|
| Argument | Dependency | Default version | Required executable |
|
117
117
|
| ---------- | ------------------------ | --------------- | ------------------- |
|
118
|
+
| cdh4.3[.*] | Cloudera CDH4.3 | cdh4.3.0 | mvn |
|
118
119
|
| cdh4.2[.*] | Cloudera CDH4.2 | cdh4.2.1 | mvn |
|
119
120
|
| cdh4.1[.*] | Cloudera CDH4.1 | cdh4.1.4 | mvn |
|
120
121
|
| cdh3[u*] | Cloudera CDH3 | cdh3u6 | mvn |
|
@@ -131,8 +132,8 @@ Call `HBase.resolve_dependency!` helper method passing one of the arguments list
|
|
131
132
|
|
132
133
|
```ruby
|
133
134
|
# Load JAR files from CDH4 using Maven
|
134
|
-
HBase.resolve_dependency! 'cdh4.
|
135
|
-
HBase.resolve_dependency! 'cdh4.
|
135
|
+
HBase.resolve_dependency! 'cdh4.3.0'
|
136
|
+
HBase.resolve_dependency! 'cdh4.2'
|
136
137
|
|
137
138
|
# Load JAR files of HBase 0.94.x using Maven
|
138
139
|
HBase.resolve_dependency! '0.94.7'
|
@@ -10,6 +10,44 @@
|
|
10
10
|
<name>hbase-jruby</name>
|
11
11
|
|
12
12
|
<profiles>
|
13
|
+
<profile>
|
14
|
+
<!-- http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/cdh4ig_topic_31.html -->
|
15
|
+
<id>cdh4.3</id>
|
16
|
+
<properties>
|
17
|
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
18
|
+
<hadoop.version>2.0.0-<%= profiles['cdh4.3'] %></hadoop.version>
|
19
|
+
<hbase.version>0.94.6-<%= profiles['cdh4.3'] %></hbase.version>
|
20
|
+
</properties>
|
21
|
+
<repositories>
|
22
|
+
<repository>
|
23
|
+
<id>cloudera-releases</id>
|
24
|
+
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
|
25
|
+
<releases>
|
26
|
+
<enabled>true</enabled>
|
27
|
+
</releases>
|
28
|
+
<snapshots>
|
29
|
+
<enabled>false</enabled>
|
30
|
+
</snapshots>
|
31
|
+
</repository>
|
32
|
+
</repositories>
|
33
|
+
|
34
|
+
<dependencies>
|
35
|
+
<dependency>
|
36
|
+
<groupId>org.apache.hadoop</groupId>
|
37
|
+
<artifactId>hadoop-common</artifactId>
|
38
|
+
<version>${hadoop.version}</version>
|
39
|
+
<scope>compile</scope>
|
40
|
+
</dependency>
|
41
|
+
|
42
|
+
<dependency>
|
43
|
+
<groupId>org.apache.hbase</groupId>
|
44
|
+
<artifactId>hbase</artifactId>
|
45
|
+
<version>${hbase.version}</version>
|
46
|
+
<scope>compile</scope>
|
47
|
+
</dependency>
|
48
|
+
</dependencies>
|
49
|
+
</profile>
|
50
|
+
|
13
51
|
<profile>
|
14
52
|
<id>cdh4.2</id>
|
15
53
|
<properties>
|
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.3.
|
5
|
+
version: 0.3.2
|
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-
|
12
|
+
date: 2013-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-unit
|