installer

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added log4cxx rpm to support changes in Trafodion core.

Change-Id: Ifbaf9e600d63a42506bae44d93af56bf9d5a4926

Fix for Bug 1449702

Added config to Zookeeper maxClientCnxns and set it to 0. Restart

Zookeeper.

Edit 1: Changed order of stopping and starting Zookeeper. Copy-paste

errors.

Edit 2: More copy-paste errors found.

Change-Id: I4bb4dc39fe9a35f7b3a94b95e054490ae140f27d

Move install into subdir to combine repos

    • -228
    • +0
    ./tools/traf_hortonworks_uninstall
  1. … 52 more files in changeset.
Fixed logging error

traf_start was creating its own trafodion_install<timestamp>.log file.

Now only one file is being created.

Change-Id: Ica4c362224074316a027b939333f7a70d8565686

Added ssh test, fixed tar bug, testing traf user

1. Added ssh test to make sure able to connect

2. Fixed tar bug when running installer from other directory than

/installer/

3. Testing to make sure user is not running trafodion_installer from

the trafodion user id.

4. Added message to make sure user checks their firewall settings

if they can not access Hadoop.

Edit 1: Changed error reporting. Change locatoin of Trafodion user id

check.

Edit 2: Most check outside the for loop. Changed "much" to "must".

Change-Id: I967c94ff23a0f0d55a1ca3a8ec7d51b7fb48307f

Reserving default ports (37800 and 40010) for DCS

Edit 1: Previous code was overwriting all previous reserved ports.

Edit 2: Typo

Edit 3: Typos. Added support for saving previous reserved ports.

Edit 4: Spacing.

Change-Id: I19294116da0aa062129a90a2e2ae83ca19a26237

scanner fixes and improvements, including adjustments to install scripts

************** SPECIAL NOTE **************

With this check-in and going forward, it's necessary to download both the

installer and trafodion tar files in order to run the scanner. In other

words, it's no longer possible to just copy the 2 scanner files,

trafodion_scanner and trafodion_scanner.cfg, onto a cluster and

run the scanner (actually, it's still possible to do this in test

environments, by providing a trafodion configuration file with the

relevant settings via the scanner -t (--trafodion_config_file) option).

Nonetheless, the following scanner use cases are still supported:

1. Scanner is automatically invoked by the installer

2. Scanner is manually invoked

a. Before running the installer

b. After running the installer

************** trafodion_scanner.cfg changes **************

+ added back the HBaseVersion and HBaseJavaVersion checks

--> now the HBaseVersion check takes into account

the CDH_5_3_HDP_2_2_SUPPORT setting from the

the Trafodion configuration file

+ added HadoopDistro check to check for supported Hadoop distribution,

'hortonworks' or 'cloudera'

+ removed RECORD_CONFIG for "Hadoop distribution", because it's no longer

needed

+ fixed Bug 1442258 by adding KernelPidMaxLimit check

+ added RECORD_CONFIG for "Kernel parameters"

************** trafodion_scanner changes **************

+ added logic to read the Trafodion configuration file and set placeholder

variables for use in various checks

--> added -t (--trafodion_config_file) option to specify the

Trafodion configuration filename

(default is /etc/trafodion/trafodion_config)

--> renamed the -c option from --config_file to --scanner_config_file,

for consistency with the new -t (--trafodion_config_file) option

--> removed the -n (--nodes) option, since the node info now comes

from the Trafodion configuration file

--> removed the -x (--execute_local_commands) option for two reasons:

1) it makes less sense now 2) it's increasingly hard to maintain

--> right now the following settings are used from the Trafodion

configuration file: NODE_LIST, CDH_5_3_HDP_2_2_SUPPORT

+ removed the hadoop prerequisite checks because they are no longer needed,

given the following checks in trafodion_scanner.cfg: HadoopDistro,

SameHadoopVersion, HBaseVersion, and SameHBaseVersion

+ changed logger name from "trafodion_scanner_logger" to "trafodion_scanner"

to reduce unnecessary clutter in the log file

+ cleaned up the logging code

+ adjusted the help text

+ fixed a bug in the group_nodes_by_string function

************** trafodion_install changes **************

+ adjusted scanner invocation

--> removed the -n option and added the -t option,

per the changes mentioned above

************** traf_config_setup changes **************

+ fixed how permissions are set for the $TRAF_CONFIG file

Change-Id: I195cb437dece75cca45cc4c221a423c7fc3b8d26

Scanner by default, fixes to trafodion_uninstaller

Scanner running by default.

Fixes to trafodion_uninstaller (removing --instance option).

Edit 1: Changed error message, added echo statements to

trafodion_uninstaller to clarify, fixed HDP version bug.

Change-Id: If6fe0bc88abbcb634eabf4a292a0975aa87f4cc0

Corrected typos in user-visible messages and scripts

Corrected 4 misspellings and about 10 uses of "its" which should be "it is".

Deleted some but not all trailing spaces in the modified files.

Change-Id: I382110a24e325686f2bcf48e88a7a2394d34618b

fix iptablesFirewallNotEnabled check to be warning instead of error

Change-Id: I65effe80790f3b4494d4549a83dd0de7e92b552d

Support for single node install and --no_scanner

Added support for a single node simple security installation.

Added --no_scanner flag to trafodion_install

Change-Id: Idad55ee075aa080b8dfee2cd7f9bfba8849b8fba

Simple security and scanner by default

The scanner will now be ran by default. The --no_scanner option can be

given to trafodion_install to by pass the scanner.

Simple security has now been automated. Users will be prompted to give

LDAP config information and then traf_authentication_setup will be ran

before sqstart.

Edit 1: Deleted unused variable and changed log directory for the

scanner logs.

Edit 2: Copyright

Edit 3: Changing the scanner to not be ran by default. Due to errors during

testing.

Change-Id: I60f75d11e7be615e475b3ffe4f9b4227ae6e7971

    • -0
    • +68
    ./traf_authentication_conf_default
Set Zookeeper's maxClientCnxns=0 and add Ambari 2.0 support

Added code to modify zookeeper's maxClientCnxns=0 to allow

for unlimited connections in Cloudera because build jobs

were failing due to hitting max connections. This was not

a problem in Hortonworks.

Updated ambari_setup script to use latest Ambari 2.0 version.

Change-Id: I74ec08c5dacfe78dad5934fad8634b3c01f62440

Fix for when REST server is not present in the build

If installing a 1.0 Trafodion build, the REST server is not

present. This fix adds logic to check if the REST server is

in the Trafodion build and handle it appropriately by not trying

to isntall it.

Change-Id: Ied4fb00403422e72926842f274f275675990ec5c

Fix for ssh redirect bug

Removed output redirection

Change-Id: I86ee98d8a7e6ce6b36739ced2f36c770459d5c50

1440837 bug fix and ssh error catching

Testing sudo access on all nodes.

Added error checking to make sure all nodes entered are valid.

Edit 1: Small change to error checking

Change-Id: Ife2c6ec9769be94b9f26a9c94fef74c9c1b43d56

Improved distro detection

Replaced the previous method of distro detection with a more reliable

one and removed an error check that is now made obsolete.

Change-Id: I772dcd042a115535869c6199646653c1e1b0562f

Fixed copy error and JRE error

Added error for when user trys to use a JAVA JRE instead of a JDK.

Fixed installer directory copy error that was preventing new files

from being copied to /usr/lib/trafodion/installer.

Edit 1: Changed order of Java checks.

Change-Id: I7d72b3892767e9d37f700dd2ff1b622c6b99476e

Removing HDP sandbox check.

Removed HDP sandbox check, installer can support installing on HDP

sandbox.

Change-Id: I52384fa20f9fa6ae1534c1371a2859ab9b281a8d

Fixed bug in assignment of HOME_DIR

Change-Id: I1dcdab43105c7b504ee5985943aa5113fc030668

Fix for trafodion.conf bug

Trafodion.conf file was not being copied to all nodes. Needed to change

permissions on copy directory.

Edit 1: Changing permissions on $LOCAL_WORKDIR to allow multiple people

to install on one cluster. Fixed bug when setting $HOME_DIR. Fix to bug

1440229.

Edit 2: Fixed typo and permission on set of files.

Edit 3: Fixed Scanner return error bug. THANKS YVES.

Edit 4: Added case if scanner fails.

Change-Id: I5a237cbae4779b91121a467b1afba65f796be4cc

Bug fix 1429923 and add error message in uninstall

Bug fix 1429923: traf_config_setup will now check if epel path entered

exists and if the file is an rpm. This questions will also only be asked

if this is the first time installing trafodion. Will warn users that if a

file is not entered that we will try to download it later. In traf_setup all nodes

are checked to see if epel is installed, if not and a path to the file

is not given then it will be downloaded and installed on all nodes

missing this rpm.

Added error message to trafodion_uninstaller if config file is not

found.

Change-Id: Ia4f254e238d2f4f6ca4fd2826c8a7a71797d9855

Hortonworks uninstaller deleting more files

Found additional files that need to be deleted inorder to reinstall.

Change-Id: I1ccf9314acf6bc3d7bb05c6a207976b26ca4bd23

Fixed Linux limits settings and other bugs

Changed the way Linux system limits are set for trafodion

previously they were set in /etc/security/limits.conf and now

they are set for the trafodion userid in our own file in

/etc/security/limits.d/trafodion.conf in traf_setup

Fixed bug where node list kept getting appended to when user

entered node names on subsequent runs of the installer instead of

resetting the node list in traf_config_setup

Deleted some old code no longer used in traf_add_user

Added a recusive option to a chmod to handle the case when the

directory already existed and had other files in it in

trafodion_install.

Change-Id: I971799c93786b810b878e6434d8aae28c67b4db3

scanner temporary fix

+ Removed the HBaseVersion and HBaseJavaVersion checks

because they are release-specific. This is a temporary fix.

Soon the scanner will be enhanced to determine release-specific

features/requirements by using the information in the Trafodion

tar.gz file.

Change-Id: If1dbfea200c334ef292981da974a821ddfa725c4

REST server support and several bug fixes.

Added REST Server installation/configuration

Fixed JAVA_HOME not getting set correctly on all nodes

Removed LOCAL_WORKDIR from config file which caused problems

when later installs were ran from a different sudo userid.

Fixed problem where NODE_LIST was getting reversed node order

Fixed traf_*_mods98 scripts that were using $PWD instead of

$LOCAL_WORKDIR which caused hbase-trx jar file to not be

copied to all nodes.

patch 1: Added code to support older Trafodion builds that do

not have the REST build tar file.

Also moved some pdsh commands to after pdsh has been installed.

Change-Id: I3a1c51255ca34899a003257f8e442267dddfbdf1

Fix for command line arguments

Now able to use multiple command line arguments at one time.

Edit 1: Correcting $STARTING_NODE to be current hostname

Edit 2: Correcting $STARTING_NODE to be current hostname only for single

node install. Adding checkes to make sure Trafodion and Hadoop are

matching versions.

Edit 3: Correcting $STARTING_NODE

Change-Id: Icb29082d6362614f536cd170a13714ec61c359ba

Removed prompt for scanner

Scanner will now only run if --run_scanner command line option is used.

Edit 1: Fix to get correct Hortonworks repo.

Change-Id: Iac7d6f7a2cb3969ed3ce39bb744aaebd941482fd

install_feature file bug fix and epel bug fix

Edit 1: Added error message if TRAF_BUILD is not found.

Edit 2: Forgot "then"

Change-Id: I1ea7015709c72ccff5db8f86fafffa39a9d969a1

scanner improvements

+ added the concept of operations to the configuration file syntax:

RECORD_CONFIG, CHECK_CONFIG, COMPARE_CONFIG

+ added the ability to perform Consistency Checks (COMPARE_CONFIG operation)

+ added two Consistency Checks: SameHadoopVersion and SameHBaseVersion

+ improved "HBaseJavaVersion" check and "HBase Java version" configuration

recording to use a more robust approach to determine the HBase Java version

+ added ability to execute a configured operation by name

--> introduced new option: -o aka --single_operation

--> for convenience and flexibility, the existing -s aka --special_mode

option was split into two separate options:

-p aka --skip_prerequisite_checks and

-x aka --execute_local_commands

(to be clear, the -s aka --special_mode option was removed)

+ cleaned up the SUMMARY output (removed unnecessary details)

+ added the log file name to the SUMMARY output for convenience

+ added user friendly error messages for the cases when the

log file or configuration file cannot be opened (e.g., bad path)

Change-Id: I7a42285de230b8a83df5409f67d0ea22663401f1