NoSQL ORM框架Apache Gora 0.5版

[复制链接]
查看11 | 回复4 | 2014-2-19 11:55:14 | 显示全部楼层 |阅读模式
Gora 是一个应用于 NoSQL 数据库的 ORM 框架,支持包括:Apache HBase/Apache Cassandra。
Apache Gora 0.5 发布,此版本解决了超过 44 个 issues,同时还有一些改进和新功能。最值得关注的特性是:添加了 MongoDB 新模块;新增 Shim 功能,支持多个 Hadoop 版本;改进了 Accumulo 认证;改进了大量模块的文档;实现了可插式的 solr,支持 HttpSolrServer http 的默认值。
此版本现提供 http(HttpSolrServer),cloud(CloudSolrServer),concurrent(ConcurrentUpdateSolrServer)和 loadbablance(LBHttpSolrServer)选项。

回复

使用道具 举报

千问 | 2014-2-19 11:55:14 | 显示全部楼层
Gora 建议支持的数据库如下:
- Apache Avro 1.7.6
- Apache Hadoop 1.0.1 and 2.4.0
- Apache HBase 0.94.14
- Apache Cassandra 2.0.2
- Apache Solr 4.8.1
- MongoDB 2.6
- Apache Accumlo 1.5.1
Gora 的源代码和二进制包都已提供下载,也可以通过 Maven 获得最新版本。
回复

使用道具 举报

千问 | 2014-2-19 11:55:14 | 显示全部楼层
相关链接:
[0] http://s.apache.org/0.5report
[1] http://gora.apache.org/downloads.html
[2] http://search.maven.org/#search|ga|1|gora
回复

使用道具 举报

千问 | 2014-2-19 11:55:14 | 显示全部楼层
The Gora community is proud to announce support MongoDB amongst our growing datastore support arsenal. MongoDB is an open-source document database, and the leading NoSQL database. Written in C++, MongoDB features:
Document-Oriented Storage
JSON-style documents with dynamic schemas offer simplicity and power.
Full Index Support
Index on any attribute, just like you're used to.
Replication & High Availability
Mirror across LANs and WANs for scale and peace of mind.
Auto-Sharding
Scale horizontally without compromising functionality.
Querying
Rich, document-based queries.
Fast In-Place Updates
Atomic modifiers for contention-free performance.
MapReduce.
Flexible aggregation and data processing.
GridFS
Store files of any size without complicating your stack.
The current supported version of is MongoDB is 2.6 with client version support at 2.12.2.
- See more at: http://gora.apache.org/#sthash.dkhQEzya.dpuf
回复

使用道具 举报

千问 | 2014-2-19 11:55:14 | 显示全部楼层
Setting up Gora
As a first step, we need to download and compile the Gora source code. The source codes for the tutorial is in the gora-tutorial module. If you have already downloaded Gora, that's cool, otherwise, please go over the steps at the quickstart guide for how to download and compile Gora.
Now, after the source code for Gora is at hand, let's have a look at the files under the directory gora-tutorial.
$ cd gora-tutorial
$ tree
|-- build.xml
|-- conf
| |-- gora-hbase-mapping.xml
| |-- gora-sql-mapping.xml
| `-- gora.properties
|-- ivy
| `-- ivy.xml
`-- src
|-- examples
| `-- java
|-- main
| |-- avro
| | |-- metricdatum.json
| | `-- pageview.json
| |-- java
| | `-- org
| | `-- apache
| | `-- gora
| |
`-- tutorial
| |
`-- log
| |
|-- KeyValueWritable.java
| |
|-- LogAnalytics.java
| |
|-- LogManager.java
| |
|-- TextLong.java
| |
`-- generated
| |
|-- MetricDatum.java
| |
`-- Pageview.java
| `-- resources
| `-- access.log.tar.gz
`-- test
|-- conf
`-- java
Since gora-tutorial is a top level module of Gora, it depends on the directory structure imposed by Gora's main build scripts (pom.xml for Maven). The Java source code resides in directory src/main/java/, avro schemas in src/main/avro/, and data in src/main/resources/.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行