asterixdb

Clone Tools
  • last updated 21 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Separate static cluster properties from runtime state

This change includes the following:

- Remove cluster static properties from AsterixClusterProperties.

- Add new ClusterProperties class for static cluster properties.

- Rename AsterixClusterProperties to ClusterStateManager.

- Refactor cluster static properties.

Change-Id: I3da72f639476f081ba8a0ef21ec176d32ff8bdec

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

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>

  1. … 24 more files in changeset.
simplify error message

Provide an exception class only if no message is available and provide only

the simple name of the class, if it is given.

Change-Id: I09c8ef4e3b594801304e2168508b780a443ab6a1

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

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>

avoid some exception wrapping

Change-Id: Ia8fff04c314eb146ce0a73beb0b8ec412cb2d280

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

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

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

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

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

Add <> as a synonym to !=.

Change-Id: I3c670cf3d0e53725dce8ef2acb33970f8030a0a8

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

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>

Log ResultStateSweeper As Finer, Test Default Level->INFO

Change-Id: Ie8e9408590734694ce1fa5840783adee8d7ce695

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

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 Dup FieldAccessByNameDescriptor.FACTORY Reference

Change-Id: I8bbc44a6b474720b7ac59082940c5f55368afef4

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

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

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

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

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

Add ANY as a synonym to SOME for existential quantifiers.

Change-Id: I306a313a0785554eda79182efd8382a3d2697d2f

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

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>

Parameter To Shutdown API to Terminate NC Services

POST to /admin/shutdown?all=true causes NC Services to exit as part of

cluster shutdown

Change-Id: Ic3009a13f4498f36dd18ea26f861506bf7d930e7

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

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

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

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

  1. … 6 more files in changeset.
snapshot - reuse frames in deletable partition manager.

Tests For HTTP APIs With Variable Results

Change-Id: I42ae3c974aac89ceced73b17ace4cba2daa97dc0

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

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>

ASTERIXDB-1630: fix ATypeHierarchy to handle ANY.

Change-Id: Ic22421d12b1a6a17f15283e1e1403961e7fe17d0

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

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

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

Reviewed-by: Taewoo Kim <wangsaeu@yahoo.com>

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

Add "--" and "#" for SQL++ comments.

Change-Id: I389eb3f1e9653ee976152c894f04939e5eb162e2

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

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

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

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

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

ASTERIXDB-1334 and ASTERIXDB-1616: Add a regression test.

Change-Id: I7e88adbfa2721fa589e1d0564bb9e0889b722e2e

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

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-1629: fix the open record constructor type computer.

Change-Id: I1a6ad39a889a774d6e448b2efe90134b5490f7c8

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

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>

HTTP API++: Threaddumps / CC / INI, Misc

- Thread dump returned in JSON format.

e.g. http://localhost:19002/admin/cluster/node/asterix_nc2/threaddump

- Add CC config, stats, threaddumps

- Add CC / NC ini settings under config endpoints

- Wrap doGet implementations for cluster APIs to fix SonarQube issues

- Avoid boxing arrays & lists for JSONObject.put()

Change-Id: I536606a1fbc394c6c70bb8ce14791cc411691617

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

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

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

  1. … 19 more files in changeset.
ASTERIXDB-1451: Remove Record Casting for insert/delete/upsert

This change includes the following:

- Introduce cast function in case of delete operation

after the primary index to ensure types are passed

correctly to enforced indexes.

- Introduce cast function in case of upsert operation

before old secondary keys extraction to ensure types

are passed correctly to enforced indexes.

- Replace all record casts with open field casts for

insert/delete/upsert operations.

- Sonar-Qube fixes.

Change-Id: I6a80105798ea1c86a6a0eb69a79b9573b54931b7

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

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

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

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

  1. … 19 more files in changeset.
Small Cleanup Towards Fixing LifeCycle Issues

Before this change, dataset lifecycle manager was providing a set

of functionalities that are loosly related to management of datasets

and indexes. However, it was not clear what the possible states of

a dataset or an index and what is the responsibility of each object.

This change takes the first step towards fixing this area. Indexes

of a dataset are now grouped together under a single lifecycle class

A resource aka dataset must be created outside the lifecycle manager

and registered with it before it can be assigned resources (memory)

and before it can be used by any operation. This is still not the

case.

Change-Id: I84005a33837725f41ae63297a3711215dccce1d8

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

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

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

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

  1. … 56 more files in changeset.
ASTERIXDB-1334 and ASTERIXDB-1616: Fix null bitmap size.

Change-Id: I1eaa215b8fc2df02fecb7f86cc5169f07765b09d

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

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>

ASTERIXDB-1602: fix the reset of lastUsedClusterId in ExtractCommonOperatorsRule.

Change-Id: Ic1a9a638906a3f973b3b932489c3282132e10c37

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

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

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

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

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

ASTERIXDB-1572 and ASTERIXDB-1591: fix and regression tests.

- push aggregates into subplans;

- fix recursive variable mapping in subquery decorrelation.

Change-Id: I7092dd2fa7c9193ff919b27464854936f48261b0

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

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

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

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

    • -1
    • +1
    /asterixdb/asterix-app/data/tpcds/date_dim.csv
  1. … 16 more files in changeset.
Rename class: PushAggregateIntoGroupbyRule -> PushAggregateIntoNestedSubplanRule.

Change-Id: If700bb44e06267f61acdb976ada9066cc85455b6

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

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

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

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

merge master

ASTERIXDB-1628: Fixed an issue in External Hash Group by

- The number of partitions in External Hash Group By is now

properly calculated by considering a corner case.

Change-Id: I8901d2b64659fb0d2b97d73f45a9fe113232e860

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

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

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

Reviewed-by: Taewoo Kim <wangsaeu@yahoo.com>

Code clean up and sonar fixes.

Change-Id: I55e2fbca5480ede8ff6bf47e843ca15c3d9d26d4

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

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

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

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

add SQL++ docs

Change-Id: I234164c7b9fe834041feaa54482c505a697e92d8

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

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

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

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

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

    • -0
    • +69
    /asterixdb/asterix-doc/src/main/markdown/sqlpp/0_toc.md
    • -0
    • +6
    /asterixdb/asterix-doc/src/main/markdown/sqlpp/1_intro.md
    • -0
    • +294
    /asterixdb/asterix-doc/src/main/markdown/sqlpp/2_expr.md
    • -0
    • +882
    /asterixdb/asterix-doc/src/main/markdown/sqlpp/3_query.md
    • -0
    • +452
    /asterixdb/asterix-doc/src/main/markdown/sqlpp/4_ddl.md
ASTERIXDB-1635 Fix for overlap-bins start for dates.

The fix involves two code changes and several sonar fixes.

The code changes are the following:

- DurationArithmeticOperations line 75:

When the month was zero, an index out of bound error occured in line 88 or 92.

The month value should be between 1 and 12.

- OverlapBinsDescriptor line 170:

The Gregorian Calendar is expecting a value in ms. When a date value comes in,

AsterixDB represents the value as the number of days from epoc. So the year

for a date basically allways translated to 1970. In lines 121, a condition

was added to check if the interval was a date, if so, convert the date to

ms.

Change-Id: I24122a84ef9edda4b05260af881c430177f1dc86

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

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

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

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

Extend Cluster API Servlet, += Config / Stats

- New APIs to return NC stats & configs, discoverable URIs returned as

part of /admin/cluster.

- Tests for constant info (still need non-exact match tests for config /

stats endpoints)

Change-Id: Ia7549f2bb0b6621886356d50df800d447928aa2c

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

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

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

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

  1. … 8 more files in changeset.
Expose Asterix Configuration on Cluster Servlet

Also, a few test executor improvements

Change-Id: I828d6a61afe615f7826079ede4b1d638bbd7ac5d

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

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

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

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

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

Depend on asterix-opt-bom with same version as AsterixDB itself

Change-Id: Ifd5b95bc052c87419d0e925e46f7741b97cc1132

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

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>

merge fix