Review Board 1.7.22


ACCUMULO-1794 adds hdfs failover to continuous integration test.

Review Request #15650 - Created Nov. 18, 2013 and submitted

Sean Busbey
1.4.5-SNAPSHOT
ACCUMULO-1794
Reviewers
accumulo
alexm
accumulo
ACCUMULO-1794 adds hdfs failover to continuous integration test.
Ran the hdfs agitator on a CDH4 cluster configured for HA. it successfully caused the active namenode to failover as it went.
test/system/continuous/continuous-env.sh.example
Revision 830ae86 New Change
[20] 86 lines
[+20]
87

    
   
87

   
88
#time in minutes between killing masters
88
#time in minutes between killing masters
89
MASTER_KILL_SLEEP_TIME=60
89
MASTER_KILL_SLEEP_TIME=60
90
MASTER_RESTART_SLEEP_TIME=2
90
MASTER_RESTART_SLEEP_TIME=2
91

    
   
91

   

    
   
92
#Do we want to perturb HDFS? Only works on HDFS versions with HA, i.e. Hadoop 2

    
   
93
# AGITATE_HDFS=true

    
   
94
#Defaults to false for Accumulo versions that ship default against Hadoop 1

    
   
95
AGITATE_HDFS=false

    
   
96
AGITATE_HDFS_SLEEP_TIME=10

    
   
97
AGITATE_HDFS_SUPERUSER=hdfs

    
   
98
AGITATE_HDFS_COMMAND="${HADOOP_PREFIX:/usr/lib/hadoop}/share/hadoop/hdfs/bin/hdfs"

    
   
99
AGITATE_HDFS_SUDO=`which sudo`

    
   
100

   
92
#settings for the verification map reduce job
101
#settings for the verification map reduce job
93
VERIFY_OUT=/tmp/continuous_verify
102
VERIFY_OUT=/tmp/continuous_verify
94
VERIFY_MAX_MAPS=64
103
VERIFY_MAX_MAPS=64
95
VERIFY_REDUCERS=64
104
VERIFY_REDUCERS=64
96
SCAN_OFFLINE=false
105
SCAN_OFFLINE=false
[+20] [20] 11 lines
test/system/continuous/hdfs-agitator.pl
New File
 
test/system/continuous/start-agitator.sh
Revision 52e5a4e New Change
 
test/system/continuous/stop-agitator.sh
Revision b853a55 New Change
 
  1. test/system/continuous/continuous-env.sh.example: Loading...
  2. test/system/continuous/hdfs-agitator.pl: Loading...
  3. test/system/continuous/start-agitator.sh: Loading...
  4. test/system/continuous/stop-agitator.sh: Loading...