bigrecord-driver 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +22 -0
- data/README.rdoc +52 -0
- data/VERSION +1 -0
- data/bin/cassandra-driver +0 -0
- data/bin/hbase-driver +0 -0
- data/conf/log4j.properties +0 -0
- data/lib/big_record_driver.rb +0 -0
- data/lib/big_record_driver/bigrecord_server.rb +0 -0
- data/lib/big_record_driver/cassandra_driver/server.rb +0 -0
- data/lib/big_record_driver/client.rb +0 -0
- data/lib/big_record_driver/column_descriptor.rb +0 -0
- data/lib/big_record_driver/driver_manager.rb +0 -0
- data/lib/big_record_driver/exceptions.rb +0 -0
- data/lib/big_record_driver/hbase_driver/server.rb +0 -0
- data/lib/bigrecord_driver.rb +0 -0
- data/test/abstract_test_client.rb +0 -0
- data/test/test_client_cassandra.rb +0 -0
- data/test/test_client_hbase.rb +0 -0
- data/test/test_driver_manager.rb +0 -0
- data/vendor/java/cassandra/cassandra-0.3.0-dev.jar +0 -0
- data/vendor/java/cassandra/libthrift.jar +0 -0
- data/vendor/java/cassandra/log4j-1.2.15.jar +0 -0
- data/vendor/java/hbase/commons-logging-1.0.4.jar +0 -0
- data/vendor/java/hbase/commons-logging-api-1.0.4.jar +0 -0
- data/vendor/java/hbase/{hadoop-0.20.0-core.jar → hadoop-0.20.1-core.jar} +0 -0
- data/vendor/java/hbase/{hbase-0.20.0.jar → hbase-0.20.1.jar} +0 -0
- data/vendor/java/hbase/log4j-1.2.13.jar +0 -0
- data/vendor/java/hbase/zookeeper-3.2.1.jar +0 -0
- metadata +10 -7
- data/README +0 -0
- data/vendor/java/hbase/zookeeper-r785019-hbase-1329.jar +0 -0
data/MIT-LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2009 openplaces.org
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person
|
4
|
+
obtaining a copy of this software and associated documentation
|
5
|
+
files (the "Software"), to deal in the Software without
|
6
|
+
restriction, including without limitation the rights to use,
|
7
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the
|
9
|
+
Software is furnished to do so, subject to the following
|
10
|
+
conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be
|
13
|
+
included in all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
17
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
19
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
20
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
= Big Record Driver
|
2
|
+
|
3
|
+
Bigrecord drivers that use JRuby DRb servers to connect with databases through their native Java APIs. Currently supported databases are HBase and Cassandra.
|
4
|
+
|
5
|
+
== Requirements
|
6
|
+
|
7
|
+
* JRuby 1.3.0+
|
8
|
+
|
9
|
+
== Installation
|
10
|
+
|
11
|
+
(1) Install the latest Java Runtime for your operating system. There are many resources online for this.
|
12
|
+
|
13
|
+
(2) Go to: http://jruby.org/getting-started and follow the instructions for installing the latest JRuby.
|
14
|
+
|
15
|
+
(3) Add the following environmental variable to your shell rc file (~/.bashrc or ~/.zshrc)
|
16
|
+
|
17
|
+
export JRUBY_HOME=/path/to/jruby
|
18
|
+
|
19
|
+
and then add $JRUBY_HOME/bin to your system PATH.
|
20
|
+
|
21
|
+
(4) Check that JRuby is installed correctly by typing in the following commands, and verifying you get similar output:
|
22
|
+
|
23
|
+
> echo $JRUBY_HOME
|
24
|
+
/path/to/jruby
|
25
|
+
> jruby --version
|
26
|
+
jruby 1.3.1 [...]
|
27
|
+
|
28
|
+
(5) Install the Bigrecord Driver gem from gemcutter.org
|
29
|
+
|
30
|
+
> (sudo) gem install bigrecord-driver -s http://gemcutter.org/
|
31
|
+
|
32
|
+
== Usage
|
33
|
+
|
34
|
+
(1) Once you have everything installed, you can start up a Bigrecord Driver DRb server with:
|
35
|
+
|
36
|
+
hbase-driver start -p [port]
|
37
|
+
|
38
|
+
Remember this port, because it will be used in the bigrecord.yml configuration file.
|
39
|
+
|
40
|
+
== Debugging
|
41
|
+
|
42
|
+
* If any errors are encountered during the usage of Bigrecord Driver, you can check the /tmp/hbase-driver/log/[port].log files for any errors that might've occurred.
|
43
|
+
|
44
|
+
== License
|
45
|
+
|
46
|
+
Big Record is released under the MIT license.
|
47
|
+
|
48
|
+
== Links
|
49
|
+
|
50
|
+
* Contact Us
|
51
|
+
* Website - http://www.bigrecord.org
|
52
|
+
* IRC Channel - <tt>#bigrecord</tt> on irc.freenode.net
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.4
|
data/bin/cassandra-driver
CHANGED
File without changes
|
data/bin/hbase-driver
CHANGED
File without changes
|
data/conf/log4j.properties
CHANGED
File without changes
|
data/lib/big_record_driver.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/bigrecord_driver.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/test/test_client_hbase.rb
CHANGED
File without changes
|
data/test/test_driver_manager.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
File without changes
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigrecord-driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- openplaces.org
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-14 00:00:00 -04:00
|
13
13
|
default_executable: hbase-driver
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -22,8 +22,12 @@ executables:
|
|
22
22
|
extensions: []
|
23
23
|
|
24
24
|
extra_rdoc_files:
|
25
|
-
-
|
25
|
+
- MIT-LICENSE
|
26
|
+
- README.rdoc
|
26
27
|
files:
|
28
|
+
- MIT-LICENSE
|
29
|
+
- README.rdoc
|
30
|
+
- VERSION
|
27
31
|
- bin/cassandra-driver
|
28
32
|
- bin/hbase-driver
|
29
33
|
- bin/launcher
|
@@ -46,11 +50,10 @@ files:
|
|
46
50
|
- vendor/java/cassandra/log4j-1.2.15.jar
|
47
51
|
- vendor/java/hbase/commons-logging-1.0.4.jar
|
48
52
|
- vendor/java/hbase/commons-logging-api-1.0.4.jar
|
49
|
-
- vendor/java/hbase/hadoop-0.20.
|
50
|
-
- vendor/java/hbase/hbase-0.20.
|
53
|
+
- vendor/java/hbase/hadoop-0.20.1-core.jar
|
54
|
+
- vendor/java/hbase/hbase-0.20.1.jar
|
51
55
|
- vendor/java/hbase/log4j-1.2.13.jar
|
52
|
-
- vendor/java/hbase/zookeeper-
|
53
|
-
- README
|
56
|
+
- vendor/java/hbase/zookeeper-3.2.1.jar
|
54
57
|
has_rdoc: true
|
55
58
|
homepage: http://www.bigrecord.org
|
56
59
|
licenses: []
|
data/README
DELETED
File without changes
|
Binary file
|