accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/6] accumulo git commit: ACCUMULO-4034 pester the gc and secondarynamenode, too
Date Fri, 13 Nov 2015 13:43:03 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 0e136c1f4 -> 35cc52e94


ACCUMULO-4034 pester the gc and secondarynamenode, too


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/8a8d674b
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/8a8d674b
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/8a8d674b

Branch: refs/heads/master
Commit: 8a8d674b2c4352a03e945f06272b7c06216a9c13
Parents: 8f52ab2
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Fri Oct 23 16:00:04 2015 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Fri Oct 23 16:00:04 2015 -0400

----------------------------------------------------------------------
 test/system/agitator/agitator.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/8a8d674b/test/system/agitator/agitator.py
----------------------------------------------------------------------
diff --git a/test/system/agitator/agitator.py b/test/system/agitator/agitator.py
index e458016..cfab019 100755
--- a/test/system/agitator/agitator.py
+++ b/test/system/agitator/agitator.py
@@ -190,10 +190,12 @@ def main():
    parser = argparse.ArgumentParser(description='Kill random processes')
    parser.add_argument('--log', help='set the log level', default='INFO')
    parser.add_argument('--namenodes', help='randomly kill namenodes', action="store_true")
+   parser.add_argument('--secondary', help='randomly kill secondary namenode', action="store_true")
    parser.add_argument('--datanodes', help='randomly kill datanodes', action="store_true")
    parser.add_argument('--tservers', help='randomly kill tservers', action="store_true")
    parser.add_argument('--masters', help='randomly kill masters', action="store_true")
    parser.add_argument('--zookeepers', help='randomly kill zookeepers', action="store_true")
+   parser.add_argument('--gc', help='randomly kill the file garbage collector', action="store_true")
    parser.add_argument('--all', 
                        help='kill any of the tservers, masters, datanodes, namenodes or zookeepers',

                        action='store_true')
@@ -214,8 +216,10 @@ def main():
 
    addIf(args.namenodes,  Hadoop('namenode'))
    addIf(args.datanodes,  Hadoop('datanode'))
+   addIf(args.secondary,  Hadoop('secondarynamenode'))
    addIf(args.tservers,   Accumulo('tserver'))
    addIf(args.masters,    Accumulo('master'))
+   addIf(args.gc,         Accumulo('gc'))
    addIf(args.zookeepers, Zookeeper())
    if len(procs) == 0:
        fail("No processes to agitate!\n")


Mime
View raw message