瀏覽代碼

HDFS-1174. New properties for suspend and resume process. Contributed by Vinay Thota.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@964925 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Boudnik 15 年之前
父節點
當前提交
7312ac6098
共有 2 個文件被更改,包括 19 次插入0 次删除
  1. 3 0
      CHANGES.txt
  2. 16 0
      src/test/system/conf/system-test-hdfs.xml

+ 3 - 0
CHANGES.txt

@@ -294,6 +294,9 @@ Release 0.21.0 - Unreleased
 
   IMPROVEMENTS
 
+    HDFS-1174. New properties for suspend and resume process. (Vinay Thota via
+    cos)
+
     HDFS-1199. Extract a subset of tests for smoke (DOA) validation. (cos)
 
     HDFS-381. Remove blocks from DataNode maps when corresponding file

+ 16 - 0
src/test/system/conf/system-test-hdfs.xml

@@ -72,6 +72,22 @@
   </description>
 </property>
 
+<property>
+  <name>test.system.hdrc.suspend.cmd</name>
+  <value>kill -SIGSTOP</value>
+  <description>
+    Command for suspending the given process.
+  </description>
+</property>
+
+<property>
+  <name>test.system.hdrc.resume.cmd</name>
+  <value>kill -SIGCONT</value>
+  <description>
+  Command for resuming the given suspended process.
+  </description>
+</property>
+
 <!-- Mandatory keys to be set for the multi user support to be enabled.  -->
 
 <property>