hbase-jruby 0.3.1-java → 0.3.2-java

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.3.2
5
+ -----
6
+ - Added CDH4.3 dependency profile
7
+
4
8
  0.3.1
5
9
  -----
6
10
  - Fixed a bug in `'cf:cq' => :type` shortcut schema definition
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.2.1'
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.2.1'
135
- HBase.resolve_dependency! 'cdh4.1.3'
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'
@@ -12,6 +12,7 @@ class HBase
12
12
  # https://ccp.cloudera.com/display/SUPPORT/CDH+Downloads
13
13
  SUPPORTED_PROFILES = {
14
14
  # Prefix => Latest known version
15
+ 'cdh4.3' => 'cdh4.3.0',
15
16
  'cdh4.2' => 'cdh4.2.1',
16
17
  'cdh4.1' => 'cdh4.1.4',
17
18
  'cdh3' => 'cdh3u6',
@@ -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>
@@ -1,5 +1,5 @@
1
1
  class HBase
2
2
  module JRuby
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  end
5
5
  end
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.1
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-05-22 00:00:00.000000000 Z
12
+ date: 2013-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit