asterixdb

Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ASTERIXDB-1918: support scientific math representation.

Change-Id: Ic0b6661416751a82a552cebc6248596b4eeff500

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

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: Michael Blow <mblow@apache.org>

Misc. Cleanup / InterruptedException Handling

Change-Id: I0059ec85f8376160bb40bad721f3a8e291ad8ac2

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

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

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

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

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

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

Cancellations Augment/Replace Expected Exceptions

Exceptions thrown by cancelled queries can be both in place of and in

addition to the expected exceptions; exception handling updated to

support this.

Fixes failure seen in:

https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-asterix-app/702/

Change-Id: I88d65626564c09e434a1501e361552c4d30fe982

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

Reviewed-by: Yingyi Bu <buyingyi@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>

Improve metadata two-phase locking error message.

- Enforce two-phase locking through a state;

- Clear the lock list in unlock().

Change-Id: I6fd8ddf62e5cbd5500e84a3acdbdb680ac068748

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

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

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

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

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

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

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

Update Surefire/Failsafe Plugins To 2.20

Change-Id: Ib3a763a01c8dbe4c43c4e5106109a2e01f205590

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

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

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

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

Skip Source Assembly Unless -Prelease

Change-Id: I8098448b43115d5b03982c87e8bf2e49fcf6de2c

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

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: Ian Maxon <imaxon@apache.org>

    • -60
    • +73
    /asterixdb/asterix-server/pom.xml
Feed Adapter and RecordReader Clean

1. Cleaned DatasourceFactoryProvider with service interface

2. Cleaned StreamRecordReaderProvider with service interface

3. Delayed the Inputstream binding to configuration phase.

4. Added one simple test case for StreamRecordReaderProvider.

5. Moved twitter library check into configure method.

6. Refactored parser interfaces and variable names to make them

consistent with the record reader intreface.

Change-Id: I699657ddd8408fd00bcbd7df57b6610ef3692a1a

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

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

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

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

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

    • -5
    • +0
    /asterixdb/asterix-external-data/pom.xml
  1. … 18 more files in changeset.
ASTERIXDB-1915: make dataset files uniformly distributed among io devices.

Change-Id: I2dd9e17e96c1d4ef55e29d0a0f8feadf8ce321ed

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

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: abdullah alamoudi <bamousaa@gmail.com>

ASTERIXDB-1917: FLUSH_LSN for disk components is not correctly set

-Fixed a bug that FLUSH_LSN for flushed disk components is not

correctly set (not increasing) when an NC has multiple partitions.

-Added LSMIOOperationCallback unit tests to cover this bug

Change-Id: If438e34f8f612458d81f618eea04c0c72c49a9fe

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

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>

Fix function usage check in feed

1. Add reference count field to Function entity.

2. Add reference count check when drop function.

3. Increate reference count when apply function to feed. Decrease the

reference count when disconnect feed.

4. Add test cases for drop function that is being used and drop function

that is no longer in use.

Change-Id: I04bed3836455997269a4cae7088dcc25c745a3df

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

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

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

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

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

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

  1. … 9 more files in changeset.
Move to java.util.logging as that is configured

Change-Id: Ib4f751e65787d24ec017b70e12715b059f98c3d2

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

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: Michael Blow <mblow@apache.org>

Fix AsterixHyracksIntegrationUtil regressions

- indicate NCs are virtual on CC's ConfigManager instance

- properly fixup IO devices, after ConfigManager processes the config

Change-Id: I69ad013fcb383e671e879d6c7c3de1b79e52e070

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

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: abdullah alamoudi <bamousaa@gmail.com>

Remove log buffer factory

Change-Id: I814dac8ae5fc49b88470ab115b17bf023494afe9

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

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

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

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

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

Add function signature check to Connect Feed

1. Revise the exception info when apply an unknown function to feed.

2. Fix the possible NPE in connect feed statement.

3. Add test case for applying undefined function.

Change-Id: I1462b394d84ea7e1eae5a03f98fe8cd39213eb8e

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

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: abdullah alamoudi <bamousaa@gmail.com>

Do not include Exception class in error message

Change-Id: I33c76222dabfe6ede67dbcd7f0992cbb047265ef

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

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: Michael Blow <mblow@apache.org>

Make Default Dir a Command Line Option

- Avoid using static field to hold default directory, in favor of

an option.

- Improve output on failed regexadm match (indicate where actual

and expected diverge)

Change-Id: I7855c8f344eea9c9b6a394d85413a062a3ddb609

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

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

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

Fix superclass of IfNullTypeComputer

Change-Id: I8b7e195f3127c6c5922b93070bdf29c834ea9873

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

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>

Metadata Count Temp Fix

The Metadata dataverse doesn't quite fit into the transaction

model so some counters were being incremented but never decremented

on it, which disallowed soft checkpointing. This is a temporary

fix to this, but it is not addressing any of the consistency

issues, etc. It is simply to reallow soft checkpointing.

Change-Id: I3587e30e049a06a1536fe4e8ba131cd87fe832fe

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

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

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

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

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

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

Added built-in functions: ifmissing(), ifnull(), ifmissingornull()

Change-Id: Id114f6654b9814c5aeca07fffeea04daeb8dca19

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

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

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

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

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

  1. … 9 more files in changeset.
Fixed incorrect type produced by TypeResolverUtil

Change-Id: I0e4620131c9762bdc39e655359a2a57ba8a000df

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

Reviewed-by: Yingyi Bu <buyingyi@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>

ASTERIXDB-1905: Incorrect filter for post-load sidx

The issue seems to be limited to RTrees. The MBR evaluators

were not accounting for the point MBR optimization as they

were in the compiled load pidx+sidx case

Change-Id: Iea158ad4c29ad4421020a28a72e68637bc538560

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

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: Jianfeng Jia <jianfeng.jia@gmail.com>

Disable TPC-H q7_variant.

Change-Id: I5ad257ac170823417e9aa434d74ca4e586162afa

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

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: Till Westmann <tillw@apache.org>

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

Put back function used by BAD project

Change-Id: I6ac0c71c7f0e1f121a7597d7f09dce8943ed943d

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

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

Reviewed-by: Ildar Absalyamov <ildar.absalyamov@gmail.com>

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

Handle Spaces in Path For Sample Cluster

Fixes ASTERIXDB-1842- start-sample-cluster.sh with user name ending with

space.

Change-Id: Id4b17698762e3cb2959152e6f957dad175d0f99b

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

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 unused methods in DatasetUtil, IndexUtil, and MetadataProvider.

Change-Id: I60352d052f684a65fd823a1c7aa33b794bd7f476

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

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

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

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

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

Update README.

Change-Id: I9c5c7434faa96875554316741d7caffbfe52c0b1

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

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>

SimpleDateFormat Is Not Thread Safe

Guard SimpleDateFormat with a ThreadLocal.

Fixes integration test hang observed in:

https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-integration-tests/2772/console

- java.lang.ArrayIndexOutOfBoundsException: 960

at sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate(BaseCalendar.java:453)

at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2397)

at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2312)

at java.util.Calendar.setTimeInMillis(Calendar.java:1804)

at java.util.Calendar.setTime(Calendar.java:1770)

at java.text.SimpleDateFormat.format(SimpleDateFormat.java:943)

at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936)

at java.text.DateFormat.format(DateFormat.java:345)

at org.apache.asterix.event.management.EventTask.run(EventTask.java:118)

at java.util.TimerThread.mainLoop(Timer.java:555)

at java.util.TimerThread.run(Timer.java:505)

Change-Id: I4e057e893269b71b157b154721d2de1fe1f8c020

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

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>

Rename type check methods into meaningful names

This change renames methods used for checking operation in upsert

operators into meaningful names. In addition, it removes the

unnecessary search in case of delete operations with only a primary

index in the pipeline.

Change-Id: I35e5ed919aff2c374be1fbbb00ad7a752916a3dc

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

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

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

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

Expected Hash Table footprint size calculation fix

- Fix the expected hash table footprint size calculation

based on the cardinality. An operand was missing.

Change-Id: I9eb658a189fcf3d68978f627959c67d0c2641a29

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

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>

Add Error code for unknown pending operation

Change-Id: I41d0bed5afdfee9b2c29d0218e794247f13e6350

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

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

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

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