Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2256] Reformat sources using code format template

Change-Id: I4faa141c1a8c9700d5e9ac50b839acc9d1eede73

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

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

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

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

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

  1. … 981 more files in changeset.
[NO ISSUE][*DB] Client helper cleanup

Avoiding printing internal options, minor refactoring

Change-Id: Ib9edefa1dcfe157fa013e5ce63bc55c7d5cb92b1

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

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>

Disable Connection Keep-Alive from Client Helper

On windows, client helper connections are terminated in a matter which

yields ugly exceptions on the server (java.io.IOException: An existing

connection was forcibly closed by the remote host).

Disabling keep-alive on the client helper connections elminates the

exceptions

Change-Id: I45aeed8a77a1853e2c54a6fff47d941da5ad8413

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

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>

Fix ERROR When Running Stop Sample Bat On Windows

When running stop-sample-cluster.bat from a non-interactive shell on

Windows, the following error has been observed:

ERROR: Input redirection is not supported, exiting the process immediately

Implemented a sleep function in client helper, to workaround the

limitations of the Windows TIMEOUT command.

Change-Id: Id2a68ec8217690a79b6c49fa670728cf67e81654

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

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

  1. … 1 more file in changeset.
ASTERIXDB-1785: Remove servlet dependencies

Change-Id: I12bbd0754755982c95b522a9ade19e9f9690d95a

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

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>

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

  1. … 10 more files in changeset.
ASTERIXDB-1714: Eliminate dependency on org.json

Change-Id: Ie9c5400fd134ae75d43385255af7794e968b1c7e

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

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>

  1. … 132 more files in changeset.
ASTERIXDB-1687 - Configure Timeout On HTTP Connection

Fixes ASTERIXDB-1687 - asterixhelper get_cluster_state can hang forever,

by configuring a timeout on connect and read for HTTP calls, in the

event the CC is in a bad state and cannot answer requests

Change-Id: Ice9606acaec8f27b56d1d8ed947cc1588074ff2f

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

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++, NCService Termination After Dead NCService

- include PID of NC service in NC config API

- shutdown NCService even when NC is unresponsive (e.g. dead) when

shutdown?all=true

- include PIDs of NC service & NC in shutdown response document

- interrogate cluster state from client helper

- advertise shutdown, version cluster HTTP APIs

- fix possible bad return code from stop-sample-cluster in case of very

fast CCDriver exit

- cleanup transposed JUnit assert args in SampleLocalClusterIT

Change-Id: Ia48eb16696e48444f610fd5e8d7d4666d0257a38

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

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

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

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

  1. … 20 more files in changeset.
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. … 17 more files in changeset.
Start/Stop Sample Scripts for Windows

- Fix windows binaries (ncservice, cc, nc, helper)

- Add windows start/stop sample cluster scripts

Change-Id: Id6eee2156a5c6e40e0e864c2b8be2c08593e71b1

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

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

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

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

  1. … 6 more files in changeset.
Extensibility, Cleanup For Client Helper

Change-Id: Ifa24e952c1b49d7d3a5b971906915ae1560086c8

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

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

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

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

Add Helper Client To Interface With Cluster HTTP APIs

- updated start / stop sample cluster scripts

- align args4j versions with latest released

- removed sample scripts from asterix-server jar

- extendable

Change-Id: Ib44cc3617c4ff6e995f26c1853bc9d78a1faacd7

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

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>

    • -0
    • +38
    ./assembly/assembly.xml
    • -0
    • +83
    ./java/org/apache/asterix/clienthelper/Args.java
    • -0
    • +32
    ./java/org/apache/asterix/clienthelper/AsterixHelper.java
  1. … 17 more files in changeset.