Clone Tools
  • last updated 25 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-1564][CONF] Consistently Use Log4j2

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Replace java.util.logging by Log4j2.

- Excluded classes due to their tests:

- IoUtil

- Tracer

Change-Id: Ic137571292f45de1f1994c61d328b97185012197

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

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

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

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

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

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

    • -14
    • +13
    ./impl/IPCConnectionManager.java
  1. … 389 more files in changeset.
[NO ISSUE][HYR] Avoid ClassCastException in processIncomingMessages

If an error occurs while in state of CONNECT_RECEIVED, a

ClassCastException would occur attempting to cast the exception to a

InetSocketAddress

Change-Id: Ie738cede8e0a6ec98857505f8b27624b77c34256

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

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

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

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

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

[ASTERIXDB-1076][HYR] Generate heartbeats in their own thread

- Generate & send NC heartbeats in their own thread to prevent starvation

/ scheduling issues

- Fix retries on IPC connections

- Don't spin on heartbeat send failure

Change-Id: Ieae21b1596013a699f27975fb21894244c536395

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

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

Integration-Tests: Murtadha Hubail <mhubail@apache.org>

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

    • -15
    • +12
    ./impl/IPCConnectionManager.java
  1. … 5 more files in changeset.
[NO ISSUE][RT] Abort CC jobs on first time registration

- user model changes: no

- storage format changes: no

- interface changes: yes

- application context is in charge of providing and renewing cc client

connection.

details:

- This change allows revival of cc if it gets killed.

- Jobs that were started by this cc are aborted and cleaned up on all ncs

upon first time registration.

- client connections are repaired on ncs when dead connection

is detected.

Change-Id: If755b7131bdc91790ed28be66f0c61b51f28c2fa

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

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>

  1. … 28 more files in changeset.
[ASTERIXDB-2008][CLUS] Only add pending removal if node known

[ASTERIXDB-2023][ING] Introduce Enums instead of using bytes

- user model changes: no

- storage format changes: no

- interface changes: no

details:

- Only nodes which are known to cluster manager are added

to the list of nodes pending removal. Other nodes are ignored

- Enums introduced:

- ActiveEvent.Kind

- ActivePartitionMessage.Event

- Remove AdapterRuntimeManager

- Remove AdapterExecutor

Change-Id: I7044896559798426c04a3f46861bc5335b25d140

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

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

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

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

  1. … 102 more files in changeset.
Extensible exception handling in QueryServiceServlet

Change-Id: If8037a97f3d0b0febb8caf68e099f1fd24e0ac49

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

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. … 10 more files in changeset.
Re-register NC with CC on reestablished IPCHandle

In case of failed NC -> CC IPCHandle due to CC crash/restart, the NC

needs to re-register with the CC in order to rejoin the cluster, as the

CC ignore heartbeats from unregistered nodes.

- Improve toString on IPCHandle

- Add tests for killing & restarting CC / NCs to NCServiceExecutionIT

- Retrigger NCService on detected dead node

- Ensure jobIds are not reused on CC restart

- NCService shouldn't truncate NC log

Change-Id: I6f93ca9ab37e56e02bafcdecd1e2d0cf664faef6

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

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

  1. … 23 more files in changeset.
Attempt to reconnect IPCHandle on connection failure

IPCHandles can become invalid due to network interruption or node

crash/restart. Automatically retry connection in event of attempt

to use disconnected handle.

Change-Id: I069dcd59898021054462c8213fb623df2deec598

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

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>

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

  1. … 6 more files in changeset.
Configuration Revamp

- Ini section of node / cc details now returns ini param names instead of

managix option names

- Normalized command line -vs- ini file configuration parameter names

- Eliminated unused parameters

- Ini validation

- Migrate *DB parameters out of [app] and into nc / cc sections as

appropriate

- Eliminate [app] section. Cluster-wide configuration lives in [common]

- Sort properties alphabetically when returned by HTTP api

Change-Id: I95b7e0bd4538ef42817c8826e76412150074b754

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

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

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

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

  1. … 174 more files in changeset.
Handle error conditions in the /query/status API

Change-Id: I30176c5c70dcc5f7f6605ad79dd0e41967373d9c

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

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

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

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

  1. … 15 more files in changeset.
Extract NodeControllerIPCI out of NodeControllerService

Change-Id: I9e7f160dfa7418cd29693a990fa17d80a14e5841

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

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

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

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

  1. … 2 more files in changeset.
Windows 10 Logs Constant Exceptions On CC/NC Death

- Backoff delays on IPC Listener Thread exceptions; use logger instead of

printStackTrace()

Change-Id: Iec7a3ce23ab99d04b0fc0e0f832cce1a461e2df8

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

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>

    • -14
    • +34
    ./impl/IPCConnectionManager.java
Move Hyracks to subfolder

    • -0
    • +35
    ./api/IIPCHandle.java
    • -0
    • +70
    ./api/IPCPerformanceCounters.java
    • -0
    • +31
    ./api/IPayloadSerializerDeserializer.java
    • -0
    • +23
    ./api/IResponseCallback.java
    • -0
    • +102
    ./api/RPCInterface.java
    • -0
    • +39
    ./exceptions/IPCException.java
    • -0
    • +28
    ./impl/HandleState.java
    • -0
    • +347
    ./impl/IPCConnectionManager.java
    • -0
    • +195
    ./impl/IPCHandle.java
    • -0
    • +105
    ./impl/IPCSystem.java
    • -0
    • +71
    ./impl/JavaSerializationBasedPayloadSerializerDeserializer.java
    • -0
    • +131
    ./impl/Message.java
  1. … 4415 more files in changeset.