commit | dbfd22ed0ffcb7d540e2d2d61eb326a5ae062554 | [log] [tgz] |
---|---|---|
author | Abdullah Alamoudi <bamousaa@gmail.com> | Thu Jul 28 02:30:58 2016 +0300 |
committer | abdullah alamoudi <bamousaa@gmail.com> | Wed Jul 27 19:13:12 2016 -0700 |
tree | 01e545dbe947d27b96d8dec894e1b5361542a48d | |
parent | 8a6b9ca51d17f2bf2aafe15a8448ce28977c415b [diff] |
Refactor Metadata Record Types The change cleans up Metadata Record Types in the following ways: 1. Gets rid of unneeded throws clauses. 2. Gets rid of the need to explicitly calls init and instead all members become static final. 3. Gets rid of all the unneeded scattered methods for creating the different type. They get replaced by a single method for creating a record type that is safe (doesn't throw exception) and makes it clear what the requested type is. 4. Replaced all the scattered strings with constants that makes maintaining them easy and eliminates the chance of misspelling of a field name since they can be accessed whenever needed from a single location. 5. Ensures no two fields share a variable. this fixes a bug and the wrong expected result was fixed. Note: SonarQube had created tens of warnings for this class. all of them were fixed and no more warning show up Change-Id: I10bc8c0bc255a377dba724f04b6b588910f26cb2 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1031 Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Till Westmann <tillw@apache.org>
#AsterixDB
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:
Learn more about AsterixDB at [http://asterixdb.apache.org] (http://asterixdb.apache.org)
##Building AsterixDB
To build AsterixDB from source, you should have a platform with the following:
Additionally to run all the integration tests you should be running sshd
locally, and have passwordless ssh logins enabled for the account which is running the tests.
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
##Running AsterixDB (on your machine from your build) Here are steps to get AsterixDB running on your machine:
Create a directory as the home for AsterixDB installer program, i.e., managix:
$mkdir ~/managix
Copy AsterixDB binary artifact into the installer directory and unzip it:
$cp asterixdb/asterix-installer/target/asterix-installer-*-binary-assembly.zip ~/managix/ $cd ~/managix $unzip asterix-installer-*-binary-assembly.zip
Configure the installer:
$bin/managix configure
Validate if the computer environment is suitable:
$bin/managix validate
Create and start your instance:
$bin/managix create -n test -c clusters/local/local.xml
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: [https://ci.apache.org/projects/asterixdb/index.html] (https://ci.apache.org/projects/asterixdb/index.html)
##Documentation
AsterixDB's official documentation resides at [https://ci.apache.org/projects/asterixdb/index.html] (https://ci.apache.org/projects/asterixdb/index.html). This is built from the maven project under asterix-doc/
as a maven site. The documentation on the official website refers to the most stable build version, so for pre-release versions one should refer to the compiled documentation.
##Support/Contact
If you have any questions, please feel free to ask on our mailing list, users@asterixdb.apache.org. Join the list by sending an email to users-subscribe@asterixdb.apache.org. If you are interested in the internals or developement of AsterixDB, also please feel free to subscribe to our developer mailing list, dev@asterixdb.apache.org, by sending an email to dev-subscribe@asterixdb.apache.org.