commit | 929344e93049ea133d07fea4d7ff5c9c8e8ed46c | [log] [tgz] |
---|---|---|
author | Murtadha Hubail <mhubail@apache.org> | Thu Dec 07 23:25:41 2017 +0300 |
committer | Murtadha Hubail <mhubail@apache.org> | Thu Dec 07 15:08:42 2017 -0800 |
tree | cee40015fd136faa11901b658f035ae44b69ac44 | |
parent | 3180d87021f7d94119e5de2890da96560122504b [diff] |
[NO ISSUE][STO] Introduce Index Checkpoints - user model changes: no - storage format changes: yes - Add index checkpoints. - Use index checkpoint to determine low watermark during recovery. - interface changes: yes - Introduce IIndexCheckpointManager for managing indexes checkpoints. - Introduce IIndexCheckpointProvider for tracking IIndexCheckpointManager references. Details: - Unify LSM flush/merge operations completion order. - Introduce index checkpoints which contains: - Index low watermark. - Latest valid LSM component - Mapping between master replica and local replica. - Use index checkpoints instead of LSM component metadata for identifying low watermark in recovery. - Use index checkpoints in replication instead of overwriting LSN byte offset in replica component metadata. - Replace LSN_MAP used in replication by index checkpoints. - Replace NIO Files.find by Commons FileUtils.listFiles to avoid no NoSuchFileException on any file deletion. Change-Id: Ib22800002bf8ea3660242e599b3f5f20678301a8 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2200 Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: abdullah alamoudi <bamousaa@gmail.com> Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Till Westmann <tillw@apache.org>
AsterixDB is a BDMS (Big Data Management System) with a rich feature set that sets it apart from other Big Data platforms. Its feature set makes it well-suited to modern needs such as web data warehousing and social data storage and analysis. AsterixDB has:
Data model
A semistructured NoSQL style data model (ADM) resulting from extending JSON with object database ideas
Query languages
Two expressive and declarative query languages (SQL++ and AQL) that support a broad range of queries and analysis over semistructured data
Scalability
A parallel runtime query execution engine, Apache Hyracks, that has been scale-tested on up to 1000+ cores and 500+ disks
Native storage
Partitioned LSM-based data storage and indexing to support efficient ingestion and management of semistructured data
External storage
Support for query access to externally stored data (e.g., data in HDFS) as well as to data stored natively by AsterixDB
Data types
A rich set of primitive data types, including spatial and temporal data in addition to integer, floating point, and textual data
Indexing
Secondary indexing options that include B+ trees, R trees, and inverted keyword (exact and fuzzy) index types
Transactions
Basic transactional (concurrency and recovery) capabilities akin to those of a NoSQL store
Learn more about AsterixDB at its website.
To build AsterixDB from source, you should have a platform with the following:
Instructions for building the master:
Checkout AsterixDB master:
$git clone https://github.com/apache/asterixdb.git
Build AsterixDB master:
$cd asterixdb $mvn clean package -DskipTests
Here are steps to get AsterixDB running on your local machine:
Start a single-machine AsterixDB instance:
$cd asterixdb/asterix-server/target/asterix-server-*-binary-assembly/ $./opt/local/bin/start-sample-cluster.sh
Good to go and run queries in your browser at:
http://localhost:19001
Read more documentations to learn the data model, query language, and how to create a cluster instance.