[06/34] asterixdb git commit: [NO ISSUE][CLUS] Complete NC Registration When Response is Received

2018-04-09 Thread imaxon
[NO ISSUE][CLUS] Complete NC Registration When Response is Received - user model changes: no - storage format changes: no - interface changes: no Details: - Mark NC registration as completed when the regisration reponse is received from CC. - Send NC startup tasks request to CC after all

[13/34] asterixdb git commit: [NO ISSUE] Incremental cleanup of deprecated exception ctors

2018-04-09 Thread imaxon
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/6453ecf2/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/partitions/ReceiveSideMaterializingCollector.java -- diff

[11/34] asterixdb git commit: [ASTERIXDB-2340][FUN] Implement object_length(), object_names()

2018-04-09 Thread imaxon
[ASTERIXDB-2340][FUN] Implement object_length(), object_names() - user model changes: yes - storage format changes: no - interface changes: no Details: - Implement object_length(), object_names() functions - Consolidate type inferers for some object accessor functions Change-Id:

[32/34] asterixdb git commit: [NO ISSUE][RT] Use ThreadLocal date format to format dates

2018-04-09 Thread imaxon
[NO ISSUE][RT] Use ThreadLocal date format to format dates - user model changes: no - storage format changes: no - interface changes: no Details: - Instead of creating a new date format object for formatting trace logs, use a thread local instance. Change-Id:

[34/34] asterixdb git commit: [NO ISSUE] Remove dependencies on extraneous xml libraries

2018-04-09 Thread imaxon
[NO ISSUE] Remove dependencies on extraneous xml libraries Change-Id: I31ba64478e63be77994644add78d834642690de8 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2575 Sonar-Qube: Jenkins Tested-by: Jenkins Contrib: Jenkins

[09/34] asterixdb git commit: [NO ISSUE][RT] Add job start timestamp to the joblet context

2018-04-09 Thread imaxon
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/8d284433/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/temporal/PrintDateDescriptor.java -- diff --git

[12/34] asterixdb git commit: [NO ISSUE][REPL] Ignore LSNs of Partially Replicated Indexes

2018-04-09 Thread imaxon
[NO ISSUE][REPL] Ignore LSNs of Partially Replicated Indexes - user model changes: no - storage format changes: no - interface changes: yes Details: - When determining low watermark, ignore LSN of replicated indexes with no checkpoints. - Guard logs in case of unexpected min LSN read failures.

[10/34] asterixdb git commit: [NO ISSUE][RT] Add job start timestamp to the joblet context

2018-04-09 Thread imaxon
[NO ISSUE][RT] Add job start timestamp to the joblet context - user model changes: no - storage format changes: no - interface changes: yes Details: - add job start timestamp to the joblet context - make CommonFunctionMapUtil extensible by products - enhance DateTimeFormatUtils.parseDateTime()

[23/34] asterixdb git commit: [ASTERIXDB-2343][FUN] Implement to_array(), to_atomic(), to_object()

2018-04-09 Thread imaxon
[ASTERIXDB-2343][FUN] Implement to_array(), to_atomic(), to_object() - user model changes: yes - storage format changes: no - interface changes: no Details: - Implement to_array(), to_atomic(), to_object() functions - Add function aliases: to_bool, to_str Change-Id:

[05/34] asterixdb git commit: [ASTERIXDB-2216] Disable flaky test which depends on external site

2018-04-09 Thread imaxon
[ASTERIXDB-2216] Disable flaky test which depends on external site The feed http://lorem-rss.herokuapp.com/feed seems to be down, disabling the test which relies on it. Also fixed the assert. Change-Id: Idcf9acf410aa4b8094a93e40681db284a2156345 Reviewed-on:

[07/34] asterixdb git commit: [ASTERIXDB-2334] Fix Range Predicate for Composite Key Search

2018-04-09 Thread imaxon
[ASTERIXDB-2334] Fix Range Predicate for Composite Key Search - user model changes: no - storage format changes: no - interface changes: no Details: - Currently during a primary btree search, we always use the range limit of the first search key. However, this is incorrect for prefix range

[33/34] asterixdb git commit: [NO ISSUE] Don't break lines without whitespace by default

2018-04-09 Thread imaxon
[NO ISSUE] Don't break lines without whitespace by default Add a new boolean indent parameter "strict" to denote when lines should be force-wrapped even when there are no word breaks. Change-Id: I716caf020466f30e469531d0bd8498d0c781c2af Reviewed-on: https://asterix-gerrit.ics.uci.edu/2574

[18/34] asterixdb git commit: [ASTERIXDB-2345][FUN] Fix runtime output type for object_names()

2018-04-09 Thread imaxon
[ASTERIXDB-2345][FUN] Fix runtime output type for object_names() - user model changes: no - storage format changes: no - interface changes: no Details: - object_names() should produce ordered_list instead of ordered_list Change-Id: I5181680bfe978d4208141a30b2167f78368bcf8d Reviewed-on:

[21/34] asterixdb git commit: [ASTERIXDB-2346][COMP] Constant folding should not fail on runtime exceptions

2018-04-09 Thread imaxon
[ASTERIXDB-2346][COMP] Constant folding should not fail on runtime exceptions - user model changes: no - storage format changes: no - interface changes: no Details: - Constant folding rule should not fail on runtime exceptions - throw RuntimeDataException instead of java.lang.ArithmeticException

[04/34] asterixdb git commit: [NO ISSUE][CLUS] Exclude Pending Removal Nodes From Location

2018-04-09 Thread imaxon
[NO ISSUE][CLUS] Exclude Pending Removal Nodes From Location - user model changes: no - storage format changes: no - interface changes: no Details: - Exclude pending removel nodes from cluster locations to prevent new jobs from using them as compute locations. - Add additional logging for

[08/34] asterixdb git commit: [NO ISSUE] Cleanup query service exception handling

2018-04-09 Thread imaxon
[NO ISSUE] Cleanup query service exception handling Change-Id: I1f2828481df055d6c96f1ae1869ef37a065bf576 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2524 Sonar-Qube: Jenkins Tested-by: Jenkins Contrib: Jenkins

[03/34] asterixdb git commit: [NO ISSUE] IOCounter improvements

2018-04-09 Thread imaxon
[NO ISSUE] IOCounter improvements - cache results for short period - split iostat, proc fs impls Change-Id: I7789171db6b6d7eea3561c24467af63f065f5dc6 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2515 Reviewed-by: Murtadha Hubail Tested-by: Murtadha Hubail

[14/34] asterixdb git commit: [NO ISSUE] Incremental cleanup of deprecated exception ctors

2018-04-09 Thread imaxon
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/6453ecf2/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/StringRepeatDescriptor.java -- diff --git

[16/34] asterixdb git commit: [NO ISSUE] Incremental cleanup of deprecated exception ctors

2018-04-09 Thread imaxon
[NO ISSUE] Incremental cleanup of deprecated exception ctors Change-Id: I1e7c3655828fc6530cef83ea502a6cfbf41acddf Reviewed-on: https://asterix-gerrit.ics.uci.edu/2533 Integration-Tests: Jenkins Tested-by: Jenkins Contrib:

[30/34] asterixdb git commit: [NO ISSUE] Support dir names in generated license files

2018-04-09 Thread imaxon
[NO ISSUE] Support dir names in generated license files Change-Id: I5af9d85fc95835d6177bdd32c9df6306e87255e3 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2565 Sonar-Qube: Jenkins Reviewed-by: Murtadha Hubail Tested-by: Jenkins

[29/34] asterixdb git commit: [ASTERIXDB-2353][HYR][RT][FAIL] Provide complete thread dumps

2018-04-09 Thread imaxon
[ASTERIXDB-2353][HYR][RT][FAIL] Provide complete thread dumps - user model changes: no - storage format changes: no - interface changes: no Details: - Implements a thread dump mechanism that does not truncate stack frames after the top 8 Change-Id: Id778615b3ac8951113d6b9ea027ad8650b784cb2

[15/34] asterixdb git commit: [NO ISSUE] Incremental cleanup of deprecated exception ctors

2018-04-09 Thread imaxon
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/6453ecf2/asterixdb/asterix-om/src/main/java/org/apache/asterix/dataflow/data/nontagged/printers/PrintTools.java -- diff --git

[26/34] asterixdb git commit: [NO ISSUE][FAIL] Remove Not Serializable Field From ACIDException

2018-04-09 Thread imaxon
[NO ISSUE][FAIL] Remove Not Serializable Field From ACIDException - user model changes: no - storage format changes: no - interface changes: no Details: - Remove not serializable ITransactionContext from ACIDException to avoid serialization error when reporting errors to CC. - Properly handle

[22/34] asterixdb git commit: [ASTERIXDB-2348][COMP] Incorrect result with distinct aggregate

2018-04-09 Thread imaxon
[ASTERIXDB-2348][COMP] Incorrect result with distinct aggregate - user model changes: no - storage format changes: no - interface changes: no Details: - Account for micro group by/distinct by operators in EnforceStructuralPropertiesRule Change-Id: I0f440046d6cdb2dc0302c5aa4c01ffacb703ee73

[31/34] asterixdb git commit: [NO ISSUE][CLUSTER] Poll CC Registration Response

2018-04-09 Thread imaxon
[NO ISSUE][CLUSTER] Poll CC Registration Response - user model changes: no - storage format changes: no - interface changes: no Details: - Check for CC registration response while waiting to avoid waiting forever. Change-Id: I6e2d5ea0ef315d90784a58ee2748a422812b4a2f Reviewed-on:

[19/34] asterixdb git commit: [NO ISSUE][REPL] Use String.compareTo To Sort Replicated Files

2018-04-09 Thread imaxon
[NO ISSUE][REPL] Use String.compareTo To Sort Replicated Files - user model changes: no - storage format changes: no - interface changes: no - Use String.compareTo to sort replicated files instead of custom comparator. Change-Id: I45c106d5cff6e07d16a9a7ce286a2ac563a80338 Reviewed-on:

[17/34] asterixdb git commit: [NO ISSUE][RT] Inherit Closeable in IFrameOperationCallback

2018-04-09 Thread imaxon
[NO ISSUE][RT] Inherit Closeable in IFrameOperationCallback - user model changes: no - storage format changes: no - interface changes: yes Details: - Primary upsert operator uses an IFrameOperationCallback to perform per frame operations. In this change, IFrameOperationCallback extends

[27/34] asterixdb git commit: [ASTERIXDB-2352][FUN] Incorrect leap year handling in duration arithmetic

2018-04-09 Thread imaxon
[ASTERIXDB-2352][FUN] Incorrect leap year handling in duration arithmetic - user model changes: no - storage format changes: no - interface changes: no Details: - DurationArithmeticOperations.addDuration() incorrectly handled leap year Change-Id: I01e1417f4704d72a4650ec4f2fa257f044a20a09

[20/34] asterixdb git commit: [NO ISSUE][COMP] Check logging level before writing a log message

2018-04-09 Thread imaxon
[NO ISSUE][COMP] Check logging level before writing a log message - user model changes: no - storage format changes: no - interface changes: no Details: - Cleanup: Check logging level before writing to the logger Change-Id: Ib126397c390f0d32436a80a306981106afa2a794 Reviewed-on:

[28/34] asterixdb git commit: [NO ISSUE][TRACE] Cleanups for performance tracer

2018-04-09 Thread imaxon
[NO ISSUE][TRACE] Cleanups for performance tracer - user model changes: no - storage format changes: no - interface changes: yes Details: - Move all Trace categories into a single place. - Cleanup the interface and add some javadocs. - Performance optimizations when logger is used. - Add a new

[24/34] asterixdb git commit: [ASTERIXDB-2351][COMP] Allow '+' after exponent indicator in double literals

2018-04-09 Thread imaxon
[ASTERIXDB-2351][COMP] Allow '+' after exponent indicator in double literals - user model changes: no - storage format changes: no - interface changes: no Details: - Allow '+' sign after exponent indicator when parsing double literals in scientific notation Change-Id: