asterixdb

Clone Tools
  • last updated 12 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[NO ISSUE][RT] Improve debuggability of runtime functions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- This change introduce util methods to facilitate debugging

functions runtime. Runtime functions read and write

values from and into byte arrays.

- To allow easier inspection of such values, we provide

a method that takes a pointable and produces an adm

node representing the value pointed to by the pointable.

Change-Id: I33257507e9bdd3be80355218e4bafecd1c71c650

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

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

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

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

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

[NO ISSUE][FAIL] Fix message for over-/underflow

Change-Id: I1d2b071dce8f6ed485d57f131d5c9f8893041678

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

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

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

[NO ISSUE][FUN] Add coalesce() function

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Add coalesce() function which is an alias to if_missing_or_null()

Change-Id: Ic462bc08173f2f2349cc208c687d432a219d62b9

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

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

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

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

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

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

[NO ISSUE] Allow override of dead node sweeper threshold

Change-Id: I3e534c277e52778ec4551247842acc51960a61b4

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

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

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

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

[NO ISSUE][NET] Ensure Thread Safety in FullFrameChannelReadInterface

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Use a blocking deque in FullFrameChannelReadInterface

to ensure thread safety between frame consumer and

the networking thread.

Change-Id: I33f0171e49b0ff972730a678e8b61a2070dc8832

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

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: Murtadha Hubail <mhubail@apache.org>

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

Merge commit '167518f535616bea71d4d54a679c1db1590c48ca' from stabilization-f69489

Change-Id: I13ccae1109d1626db67d0bbf0898f4c745fa3238

[NO ISSUE] Fix log directory initialization

Change-Id: I1f4e11e030a8ffa387e1fa234ed9ad9e3fe380c5

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

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

Contrib: Michael Blow <mblow@apache.org>

[NO ISSUE][LIC] Fix override of both LICENSE and NOTICE for a single GAV

Change-Id: If1ceb510c7de8abdf46690a85368409f99907325

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

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

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

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

[NO ISSUE][NET] Log Channel Info When Buffers Are Exceeded

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- When the read buffers of a network channel are

exceeded, log the channel information and throw

an illegal state exception.

Change-Id: I5290947f57c91d4a537330eef91cf23d9352f24c

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

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: Murtadha Hubail <mhubail@apache.org>

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

[ASTERIXDB-2442][FUN] substring() should return NULL if the operation cannot be performed

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- substring() should return NULL if starting offset is out of bounds

for given string or length is negative

(merge commit '42a739aba768357eb9f80f917f8967879bf44768' from stabilization-f69489)

Change-Id: Iedc34869feb91cd8015db36b61fee7e803e9ec1f

[ASTERIXDB-2442][FUN] substring() should return NULL if the operation cannot be performed

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- substring() should return NULL if starting offset is out of bounds

for given string or length is negative

Change-Id: Ia43a4266a2406ebba65809d527de896ad11fdffa

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

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

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

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

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

  1. … 4 more files in changeset.
[NO ISSUE][NET] Propagate Network Failure Error Codes

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Pass the network error code to the channel

to determine whether the error should be

sent to the receiver or not.

Change-Id: I29cffa916df9fecc9942f449ba6c5ca7c84b43b3

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

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

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

[NO ISSUE] Misc Fixes for Point MBR RTree

- user-model changes: no

- storage format changes: no

- interface changes: no

Details:

1. Fix the MBR calculation of Point MBR RTrees when finalizing the

bulkload process.

2. Fix the nullFlagBytes of Point MBR Rtrees.

3. Add unit test cases to cover Point MBR RTrees.

Change-Id: Ice24112152a2d93c7d2316b7506e6d6e81f2df44

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

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

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

[NO ISSUE][OTH] Log directory tweak, minor perf tweaks

Change-Id: I174d4527fb2c00aed26d83a49c92872ad1ddee00

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

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

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: Murtadha Hubail <mhubail@apache.org>

[NO ISSUE][TXN] Fix extension datasets tuple translators

Change-Id: Ifb8a8342d0f00468e1561d91eb802c52e66b149d

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

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

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

[ASTERIXDB-2441][COMP] Improve column alias handling in ORDERBY/LIMIT

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Introduce LET clauses for column alias expressions

instead of inlining them into ORDER BY/LIMIT clauses

- Fix incorrect visitor used in SubstituteGroupbyExpressionWithVariableVisitor

for rewriting LET clauses after GROUP BY

Change-Id: If925cbb803f2ad5fe955ba343ddc62585589b894

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

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>

Contrib: Till Westmann <tillw@apache.org>

  1. … 29 more files in changeset.
Merge commit '722e85d0347e628da99b5e479f3a9a993e549b03' from release-0.9.4-pre-rc

Change-Id: I0d3ac0768bed4271501ad3016d21f66f64ebb5fe

    • -0
    • +23
    /asterixdb/asterix-external-data/pom.xml
[NO ISSUE][EXT] Prevent NPE in close() when using TestTypedAdapter

WARN ...CleanupUtils - Failure closing a closeable resource

java.lang.NullPointerException: null

at org.apache.asterix.external.dataset.adapter.FeedAdapter.close(FeedAdapter.java:63)

Change-Id: If2d62ce00858ff9a9f8033bd21d5da5f1f207c56

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

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

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

[NO ISSUE][OTH] Fix sample cluster version check for latest Java 10

Change-Id: I51b93524d3ea1d342d48851d97ab21a2a9cb6720

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

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

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

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

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

[NO ISSUE][OTH] Avoid NPE on response w/o content-length

Change-Id: Ifac2a5098f3c70348b20b2859d5d2fdddb3d8579

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

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

[NO ISSUE][HTTP] Fix buffer leak in HttpServer

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Prior to this change, cancelled requests before

they start leak request and response buffers.

- After this change, we distinguish between cancellation

of requests before they start or after and release resources

accordingly.

Change-Id: I9a34142e87158385152fa0a11be39abced307fcc

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

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

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

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

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

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

Merge commit 'a6bd8d1ad87a85cf402d019de5f4e01855d99b34' from release-0.9.4-pre-rc

Change-Id: I03b642f9e0ad4bdc034cd8f33b712dbb87a66f5d

[ASTERIXDB-2017][API] Access logs, log rotation

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Common Log Format (httpd) style logs for each servlet access.

- Log rotation by default in asterix-server package, rather than

console logging with no rotation

Change-Id: I9a8d76bec308b2fdb20c33370fc9e58a154ba968

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

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

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

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

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

  1. … 5 more files in changeset.
[NO ISSUE][OTH] Log level / SonarQube fixes

Change-Id: I8e9a31ebea1eac6bed26c57666db1fd4b1208295

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

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

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

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

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

[NO ISSUE][OTH] Remove Unnecessary Null Checks

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Remove unnecessary null checks before instanceof.

Change-Id: I870df76623f5f983a90b5437abf7e3993a54c744

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

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

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: Murtadha Hubail <mhubail@apache.org>

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

[NO ISSUE][DOC] Remove YARN & Managix installation docs

Change-Id: Ifa6ac0bdf9ad6c9aa4c272230db4fe04ccee0dc9

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

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

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

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

    • -255
    • +0
    /asterixdb/asterix-doc/src/site/markdown/yarn.md
    • -2
    • +0
    /asterixdb/asterix-doc/src/site/site.xml
[NO ISSUE][OTH] Remove Unused Imports

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: Iafff39073d0fedaff74a26ef7e3260008a79ff0c

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

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

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

  1. … 53 more files in changeset.
[NO ISSUE][DOC] Update README.md

Change-Id: I6d455a600d11fe7f396d9044706e5a2f10cebfbf

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

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

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

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

[NO ISSUE][NET] Skip Channel Write on Connection Failure

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Do not attempt to adjust channel writability if

the failure was due to connection failure since

no more messages will be sent on that connection.

This is done to prevent a possible deadlock between

network IOThread that detected connection failure

and another thread that might be accessing the channel.

- Make sending error code conditions more explicit since

we currently have a single error code that is sent.

Change-Id: Ic25f05ac2c0d02699324f2d1b80c51f392654106

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

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

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

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

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

[ASTERIXDB-2440][COMP] Compiler failure with IN expression

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixed NullPointerException when IN expression is passed as

an argument to a function call

Change-Id: I4f9734c37b074ef9b16bc7ae403ae079b86b0e9a

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

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

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: Taewoo Kim <wangsaeu@gmail.com>