asterixdb

Clone Tools
  • last updated 21 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce CheckpointManager API

This change includes the following:

- s/CheckpointObject/Checkpoint

- Add AsterixDB storage version to checkpoints.

- Prevent any txn log access when a storage version mismatch is detected.

- Introduce CheckpointManager API and CheckpointProperties.

- Properly stop checkpointing thread on instance shutdown.

- Separate checkpointing logic when replication enabled/disabled.

Change-Id: I36c00ca195b93bbe1e53f39bb4a3b5a344657f0d

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1380

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

  1. … 6 more files in changeset.
Move ExceptionTest to Integration Tests

Change-Id: Iff3afa39bddf4b1e75f345afcf2a55842755ca74

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1391

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Fix ASTERIXDB-1255

This changes enable dynamic hashtable size in SimilarityJaccardEvaluator

Change-Id: I08c550d35d864df08792369d38ff81012e3976af

Reviewed-on: https://asterix-gerrit.ics.uci.edu/586

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <tillw@apache.org>

Remove Incubator Disclaimer

Change-Id: Ib68d1c6a925559c1ab369ca26debaeef1e961b99

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1390

Reviewed-by: Till Westmann <tillw@apache.org>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

    • -1
    • +0
    /asterixdb/asterix-external-data/pom.xml
    • -1
    • +0
    /asterixdb/src/main/assembly/source.xml
  1. … 6 more files in changeset.
ASTERIXDB-1711: remove more mentions of Asterix

Change-Id: I21666fd54075ac56de8aab76bb7d5cdbec020121

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1387

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Steven Jacobs <sjaco002@ucr.edu>

  1. … 556 more files in changeset.
Fixing some doc bugs related to numeric functions.

Change-Id: I692586bb408f4d939b4d16bdaf784822c60c9aca

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1312

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Full-text implementation step 2

- Parameter checking during the compilation is now applied.

Change-Id: Idec6b602ff7797846fd237a924005031c2395346

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1383

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

Remove Append Only Flag

Change-Id: Id5d6917db8ab29aa01521596f556006e25a502fe

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1385

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

  1. … 199 more files in changeset.
ASTERIXDB-1711: rename asterix_transaction_log

- s/asterix_transaction_log/transaction_log/

- update storage version

- remove some dead code

Change-Id: Ieed464a1993a6bbff798e18e4c94245755a447eb

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1368

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

Some Code Reduction/Cleanup

Change-Id: I179a16fc183bd50d5d58cc12321234df1615abfd

Reviewed-on: https://asterix-gerrit.ics.uci.edu/916

Reviewed-by: Michael Blow <mblow@apache.org>

Integration-Tests: Michael Blow <mblow@apache.org>

Tested-by: Michael Blow <mblow@apache.org>

Extract common code of [Optimizer|Smoke]ParserTest

Change-Id: Iab916e71539ffac7b952ab6795614c00039ca7ff

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1379

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

ASTERIXDB-1749: fix breaking of lines using '\r'

Change-Id: Ica5ce0b82f1d2c6f2033be2ce20bf56a563fb57b

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1382

Reviewed-by: Michael Blow <mblow@apache.org>

Tested-by: Michael Blow <mblow@apache.org>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

reduce code duplication a tiny bit

Change-Id: I3f3bf5fb423cd55bd7fc168ac7a9014a24bc516c

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1365

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

Full-text implementation step 1

- Introduced ftcontains() that conducts the full-text search

- This version doesn't support index-based full-text search yet.

After this step, the functionality will be added as a separate patch.

- Added BinaryHashSet derived from BinaryHashMap class.

- Parameter checking during the compilation is not merged yet.

Change-Id: If00a871a8241d6aa6931f97b694d65f164d3ab8c

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1228

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

  1. … 59 more files in changeset.
Removed some new byte[] creation and implemented explicit resource release

- Removed some new byte[] creation (mainly for toByteArray() method)

- Implemented Explicit resource release during a hash join

- Refactorered Hash-join code to remove repetitive same condition check

Change-Id: I55195696a3db09c14b8debdd78f5f68d701b9129

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1378

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Cleanup type exceptions and error messages in the compiler.

Change-Id: I2bdb21251e53ac552e85ba30b8105f534bf9f4f3

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1371

Reviewed-by: Till Westmann <tillw@apache.org>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

  1. … 37 more files in changeset.
Fix for ASTERIXDB-1738: Change feed fails to delete record with meta PK

Change-Id: I5ce8d9c69f96593ee305cfad4b44e486c9f1d6cc

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1351

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Deferred result retrieval for the QueryService

And some cleanup:

- fewer JSONExceptions on interfaces

- rename ResultDelivery options (existing HTTP APIs still work)

SYNC -> IMMEDIATE

ASYNC_DEFERRED -> DEFERRED

ASYNC -> ASYNC

- shorten variables

queryMetadataProvider -> metadataProvider

aqlStatements -> statements

compiled -> jobSpec

- rename ResultUtil.displayResults to printResults

Change-Id: I72d53be824d8dbf1d9f547b01f19097d0dc18add

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1373

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

ASTERIXDB-1746: no excessive new byte[] allocation during a record build

- During a record write using RecordBuilder.write(), it allocates two new byte[]

using toByteArray() method. We can replace it to getByteArray() method and

this reduces a lot of new byte[] allocation.

Change-Id: Ibdbc6314abd72d2a93978da49ea406c3c38731d2

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1376

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

Prepare AsterixDB for Pre-Distributed Jobs

Change-Id: Id809f4b563bbed808c7764d1af664a15919db35b

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1366

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Fix indefinite wait time for replication Job ACK

Change-Id: I88d2d61270522c766441e16fd996ac975935594b

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1372

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

remove dead code and curly braces in switches

Change-Id: I9b23c3e8acd38e3a3ffce5da797f57c064b667c4

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1370

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

Enable Replication Tests on Multi-NC Setup

- Move replication IT from vagrant VMs to multi-NC setup.

- Add 'node' command to kill specific node process.

- Fix file path passing to replication manager.

Change-Id: I542b212e04469e2701690f464f821a5189b97f12

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1364

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

  1. … 35 more files in changeset.
remove duplicate dependency

Change-Id: Ibc532c40854802275a7b94941afd5c26733158b2

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1369

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

ASTERIXDB-1711: root metadata

s/asterix_root_metadata/root_metadata/

s/AsterixConstants/StorageConstants/

Change-Id: I7afc3062a4b98883a7a54bd410e8df558e5ebf3c

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1367

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

ASTERIXDB-1711: remove some more Aql-prefixes

Change-Id: I041341fe76e9338b7c568a9eacaf826f8fa0ed46

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1360

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <tillw@apache.org>

  1. … 218 more files in changeset.
remove more useless curly braces

Change-Id: I581d268b12017fcf17b5b29f7183e07deae6e931

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1363

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

ASTERIXDB-1659: remove outdated findbugs-plugin

Change-Id: I40c6d9f4443afe744c4bbddd63bbf206df924155

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1362

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

ASTERIXDB-1608, ASTERIXDB-1617 Match user query for nonpure function calls

This fix makes it so that nonpure functions are called in

the same place and with the same number of executions

as specified by the user in the query. This also means

that indexes cannot be used for queries that compare

with a nonpure call that is made on a per-record basis.

Added optimizer tests

Change-Id: I2dec322b30835625430c06acd7626d902bada137

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1057

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <tillw@apache.org>

  1. … 32 more files in changeset.
remove useless curly braces

Change-Id: If38738222513cfc89bef1b5e2ecb1bb2eda0454a

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1361

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>