Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make managix scripts properly executable

Most of the scripts managix was using were missing the shebang at the beginning of the script.

This can be problematic if one uses a shell besides bash. This patch fixes that.

Change-Id: Ie7722f832d0d25bec049e123a0ed1570d0aeb650

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

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

Reviewed-by: Raman Grover <ramangrover29@gmail.com>

  1. … 6 more files in changeset.
Added a flag to identify first NC start during creation

Change-Id: If1b76ec83ae19f9c643a223e44712228ed7037f5

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

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

Reviewed-by: Ian Maxon <imaxon@uci.edu>

  1. … 7 more files in changeset.
improvements for demo

- add demo cluster

- add example mugshot.com data and queries

- automatic configuration of a cluster

- set MANAGIX_HOME implicitly

- better AQL lexer error reporting

- better eror reporting in ADM parser

- fix and optimize construction of asterix zip for deployment

Change-Id: I9d80402cef72a15271766031b6f06c7220e4ad5a

Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/95

Reviewed-by: Ian Maxon <imaxon@uci.edu>

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

Reviewed-by: Raman Grover <ramang@uci.edu>

  1. … 36 more files in changeset.
merged raman/asterix_lsm_stabilization_udfs

  1. … 37 more files in changeset.
merge from master

  1. … 47 more files in changeset.
completed merge from master

  1. … 39 more files in changeset.
merge from master

    • -0
    • +14
    ./events/node_failure/nc_failure.sh
    • -0
    • +14
    ./events/node_restart/nc_restart.sh
  1. … 135 more files in changeset.
update licenses

  1. … 1 more file in changeset.
merge master

  1. … 28 more files in changeset.
fix permissions

  1. … 26 more files in changeset.
add/update license headers

    • -0
    • +14
    ./events/node_failure/nc_failure.sh
    • -0
    • +14
    ./events/node_restart/nc_restart.sh
  1. … 1224 more files in changeset.
1) fixed issue 506 (BetaBlocker) 2) configurable CC ports 3) cosmetic changes for indented output of describe -admin command

  1. … 8 more files in changeset.
1) added support to collect logs 2) modified naming convention for asterix_root_metadata

    • -0
    • +7
    ./events/file/dir_copy.sh
  1. … 7 more files in changeset.
made port value configurable

  1. … 3 more files in changeset.
saving state

  1. … 14 more files in changeset.
saving state

    • -0
    • +66
    ./schema/installer-conf.xsd
  1. … 94 more files in changeset.
substitute nodes

1) modification to remove unnecessary environment variables (cc_java_opts/nc_java_opts) 2) changed option name for alter command 3) removed java_opts parameter from cluster configuration xml

  1. … 4 more files in changeset.
support for coredump: checkpoint 1

  1. … 10 more files in changeset.
made the transaction log directory configurable

  1. … 7 more files in changeset.
integration test for managix

  1. … 33 more files in changeset.
configurable asterix properties

  1. … 13 more files in changeset.
moved work related to external UDFs/libraries to descendant of asterix_lsm_stabilization from a descendant of asterix_stabilization

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization_udfs@1719 eaa15691-b419-025a-1212-ee371bd00084

    • -0
    • +3
    ./events/file/create_file.sh
  1. … 58 more files in changeset.
1) Fix for issue 324: Managix creates the ClusterControllerService folder in the home directory 2) Made transfer of binaries and subsequent use (to start asterix) as separate jobs with latter dependent on successful completion of the former.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization_324@1680 eaa15691-b419-025a-1212-ee371bd00084

  1. … 3 more files in changeset.
Merged asterix_lsm_stabilization upto r1547

git-svn-id: https://asterixdb.googlecode.com/svn/trunk/asterix@1622 eaa15691-b419-025a-1212-ee371bd00084

    • -0
    • +15
    ./events/node_failure/nc_failure.sh
    • -0
    • +21
    ./events/node_restart/nc_restart.sh
  1. … 6206 more files in changeset.
Fix for issue: 304 Running 'managix stop' should wait until the asterix instance actually terminates rather than saying the system is stopped prematurely.

What was happening?

A kill -15 is not a force kill and triggers a JVM shutdown hook.

Eventually the hook completes and JVM ends itself. But it may take significant time

if the hoo triggers a potentially expensive operation.

OS would return control to managix tricking it to believe that the script/command finished.

What the fix was?

The script that invoked a kill -15 does not immediately return but waits until it has verified

that the process (JVM) has indeed died. Managix doesnt hear back from the script until

then and so it waits.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization@1502 eaa15691-b419-025a-1212-ee371bd00084

Fix for issue: 304 Running 'managix stop' should wait until the asterix instance actually terminates rather than saying the system is stopped prematurely.

What was happening?

A kill -15 is not a force kill and triggers a JVM shutdown hook.

Eventually the hook completes and JVM ends itself. But it may take significant time

if the hoo triggers a potentially expensive operation.

OS would return control to managix tricking it to believe that the script/command finished.

What the fix was?

The script that invoked a kill -15 does not immediately return but waits until it has verified

that the process (JVM) has indeed died. Managix doesnt hear back from the script until

then and so it waits.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization_managix@1499 eaa15691-b419-025a-1212-ee371bd00084

  1. … 1 more file in changeset.
1) fixes issue 298: Managix should backup/restore hidden files under asterix storage 2) changed zookeeper shutdown to user kill -15 instead of kill -9

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization_managix@1456 eaa15691-b419-025a-1212-ee371bd00084

  1. … 5 more files in changeset.
changed backup/restore functionality to account for artifacts created by log manager

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization_installer@1448 eaa15691-b419-025a-1212-ee371bd00084

  1. … 5 more files in changeset.
managix changes post feedback (taking checkpoint)

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization_installer@1446 eaa15691-b419-025a-1212-ee371bd00084

  1. … 29 more files in changeset.