http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRS.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRS.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRS.html index 5f0da23..6e967d8 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRS.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRS.html @@ -31,27 +31,23 @@ <span class="sourceLineNo">023</span>import org.junit.ClassRule;<a name="line.23"></a> <span class="sourceLineNo">024</span>import org.junit.Test;<a name="line.24"></a> <span class="sourceLineNo">025</span>import org.junit.experimental.categories.Category;<a name="line.25"></a> -<span class="sourceLineNo">026</span>import org.junit.runner.RunWith;<a name="line.26"></a> -<span class="sourceLineNo">027</span>import org.junit.runners.Parameterized;<a name="line.27"></a> -<span class="sourceLineNo">028</span><a name="line.28"></a> -<span class="sourceLineNo">029</span>/**<a name="line.29"></a> -<span class="sourceLineNo">030</span> * Runs the TestReplicationKillRS test and selects the RS to kill in the master cluster<a name="line.30"></a> -<span class="sourceLineNo">031</span> * Do not add other tests in this class.<a name="line.31"></a> -<span class="sourceLineNo">032</span> */<a name="line.32"></a> -<span class="sourceLineNo">033</span>@RunWith(Parameterized.class)<a name="line.33"></a> -<span class="sourceLineNo">034</span>@Category({ReplicationTests.class, LargeTests.class})<a name="line.34"></a> -<span class="sourceLineNo">035</span>public class TestReplicationKillMasterRS extends TestReplicationKillRS {<a name="line.35"></a> -<span class="sourceLineNo">036</span><a name="line.36"></a> -<span class="sourceLineNo">037</span> @ClassRule<a name="line.37"></a> -<span class="sourceLineNo">038</span> public static final HBaseClassTestRule CLASS_RULE =<a name="line.38"></a> -<span class="sourceLineNo">039</span> HBaseClassTestRule.forClass(TestReplicationKillMasterRS.class);<a name="line.39"></a> -<span class="sourceLineNo">040</span><a name="line.40"></a> -<span class="sourceLineNo">041</span> @Test<a name="line.41"></a> -<span class="sourceLineNo">042</span> public void killOneMasterRS() throws Exception {<a name="line.42"></a> -<span class="sourceLineNo">043</span> loadTableAndKillRS(utility1);<a name="line.43"></a> -<span class="sourceLineNo">044</span> }<a name="line.44"></a> -<span class="sourceLineNo">045</span><a name="line.45"></a> -<span class="sourceLineNo">046</span>}<a name="line.46"></a> +<span class="sourceLineNo">026</span><a name="line.26"></a> +<span class="sourceLineNo">027</span>/**<a name="line.27"></a> +<span class="sourceLineNo">028</span> * Runs the TestReplicationKillRS test and selects the RS to kill in the master cluster<a name="line.28"></a> +<span class="sourceLineNo">029</span> * Do not add other tests in this class.<a name="line.29"></a> +<span class="sourceLineNo">030</span> */<a name="line.30"></a> +<span class="sourceLineNo">031</span>@Category({ ReplicationTests.class, LargeTests.class })<a name="line.31"></a> +<span class="sourceLineNo">032</span>public class TestReplicationKillMasterRS extends TestReplicationKillRS {<a name="line.32"></a> +<span class="sourceLineNo">033</span><a name="line.33"></a> +<span class="sourceLineNo">034</span> @ClassRule<a name="line.34"></a> +<span class="sourceLineNo">035</span> public static final HBaseClassTestRule CLASS_RULE =<a name="line.35"></a> +<span class="sourceLineNo">036</span> HBaseClassTestRule.forClass(TestReplicationKillMasterRS.class);<a name="line.36"></a> +<span class="sourceLineNo">037</span><a name="line.37"></a> +<span class="sourceLineNo">038</span> @Test<a name="line.38"></a> +<span class="sourceLineNo">039</span> public void killOneMasterRS() throws Exception {<a name="line.39"></a> +<span class="sourceLineNo">040</span> loadTableAndKillRS(utility1);<a name="line.40"></a> +<span class="sourceLineNo">041</span> }<a name="line.41"></a> +<span class="sourceLineNo">042</span>}<a name="line.42"></a>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSCompressed.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSCompressed.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSCompressed.html index 537a4e1..a3c7e67 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSCompressed.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSCompressed.html @@ -37,7 +37,7 @@ <span class="sourceLineNo">029</span> * Run the same test as TestReplicationKillMasterRS but with WAL compression enabled<a name="line.29"></a> <span class="sourceLineNo">030</span> * Do not add other tests in this class.<a name="line.30"></a> <span class="sourceLineNo">031</span> */<a name="line.31"></a> -<span class="sourceLineNo">032</span>@Category({ReplicationTests.class, LargeTests.class})<a name="line.32"></a> +<span class="sourceLineNo">032</span>@Category({ ReplicationTests.class, LargeTests.class })<a name="line.32"></a> <span class="sourceLineNo">033</span>public class TestReplicationKillMasterRSCompressed extends TestReplicationKillMasterRS {<a name="line.33"></a> <span class="sourceLineNo">034</span><a name="line.34"></a> <span class="sourceLineNo">035</span> @ClassRule<a name="line.35"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSWithSeparateOldWALs.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSWithSeparateOldWALs.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSWithSeparateOldWALs.html new file mode 100644 index 0000000..5064352 --- /dev/null +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSWithSeparateOldWALs.html @@ -0,0 +1,119 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> +<head> +<title>Source code</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<div class="sourceContainer"> +<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a> +<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> +<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> +<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a> +<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> +<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> +<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a> +<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a> +<span class="sourceLineNo">009</span> *<a name="line.9"></a> +<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> +<span class="sourceLineNo">011</span> *<a name="line.11"></a> +<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a> +<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a> +<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a> +<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a> +<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a> +<span class="sourceLineNo">017</span> */<a name="line.17"></a> +<span class="sourceLineNo">018</span><a name="line.18"></a> +<span class="sourceLineNo">019</span>package org.apache.hadoop.hbase.replication;<a name="line.19"></a> +<span class="sourceLineNo">020</span><a name="line.20"></a> +<span class="sourceLineNo">021</span>import org.apache.hadoop.hbase.HBaseClassTestRule;<a name="line.21"></a> +<span class="sourceLineNo">022</span>import org.apache.hadoop.hbase.testclassification.LargeTests;<a name="line.22"></a> +<span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.testclassification.ReplicationTests;<a name="line.23"></a> +<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.wal.AbstractFSWALProvider;<a name="line.24"></a> +<span class="sourceLineNo">025</span>import org.junit.BeforeClass;<a name="line.25"></a> +<span class="sourceLineNo">026</span>import org.junit.ClassRule;<a name="line.26"></a> +<span class="sourceLineNo">027</span>import org.junit.Test;<a name="line.27"></a> +<span class="sourceLineNo">028</span>import org.junit.experimental.categories.Category;<a name="line.28"></a> +<span class="sourceLineNo">029</span><a name="line.29"></a> +<span class="sourceLineNo">030</span>@Category({ ReplicationTests.class, LargeTests.class })<a name="line.30"></a> +<span class="sourceLineNo">031</span>public class TestReplicationKillMasterRSWithSeparateOldWALs extends TestReplicationKillRS {<a name="line.31"></a> +<span class="sourceLineNo">032</span><a name="line.32"></a> +<span class="sourceLineNo">033</span> @ClassRule<a name="line.33"></a> +<span class="sourceLineNo">034</span> public static final HBaseClassTestRule CLASS_RULE =<a name="line.34"></a> +<span class="sourceLineNo">035</span> HBaseClassTestRule.forClass(TestReplicationKillMasterRSWithSeparateOldWALs.class);<a name="line.35"></a> +<span class="sourceLineNo">036</span><a name="line.36"></a> +<span class="sourceLineNo">037</span> @BeforeClass<a name="line.37"></a> +<span class="sourceLineNo">038</span> public static void setUpBeforeClass() throws Exception {<a name="line.38"></a> +<span class="sourceLineNo">039</span> conf1.setBoolean(AbstractFSWALProvider.SEPARATE_OLDLOGDIR, true);<a name="line.39"></a> +<span class="sourceLineNo">040</span> TestReplicationBase.setUpBeforeClass();<a name="line.40"></a> +<span class="sourceLineNo">041</span> }<a name="line.41"></a> +<span class="sourceLineNo">042</span><a name="line.42"></a> +<span class="sourceLineNo">043</span> @Test<a name="line.43"></a> +<span class="sourceLineNo">044</span> public void killOneMasterRS() throws Exception {<a name="line.44"></a> +<span class="sourceLineNo">045</span> loadTableAndKillRS(utility1);<a name="line.45"></a> +<span class="sourceLineNo">046</span> }<a name="line.46"></a> +<span class="sourceLineNo">047</span>}<a name="line.47"></a> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</pre> +</div> +</body> +</html> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRS.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRS.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRS.html index d65aa54..68865ce 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRS.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRS.html @@ -31,26 +31,23 @@ <span class="sourceLineNo">023</span>import org.junit.ClassRule;<a name="line.23"></a> <span class="sourceLineNo">024</span>import org.junit.Test;<a name="line.24"></a> <span class="sourceLineNo">025</span>import org.junit.experimental.categories.Category;<a name="line.25"></a> -<span class="sourceLineNo">026</span>import org.junit.runner.RunWith;<a name="line.26"></a> -<span class="sourceLineNo">027</span>import org.junit.runners.Parameterized;<a name="line.27"></a> -<span class="sourceLineNo">028</span><a name="line.28"></a> -<span class="sourceLineNo">029</span>/**<a name="line.29"></a> -<span class="sourceLineNo">030</span> * Runs the TestReplicationKillRS test and selects the RS to kill in the slave cluster<a name="line.30"></a> -<span class="sourceLineNo">031</span> * Do not add other tests in this class.<a name="line.31"></a> -<span class="sourceLineNo">032</span> */<a name="line.32"></a> -<span class="sourceLineNo">033</span>@RunWith(Parameterized.class)<a name="line.33"></a> -<span class="sourceLineNo">034</span>@Category({ReplicationTests.class, LargeTests.class})<a name="line.34"></a> -<span class="sourceLineNo">035</span>public class TestReplicationKillSlaveRS extends TestReplicationKillRS {<a name="line.35"></a> -<span class="sourceLineNo">036</span><a name="line.36"></a> -<span class="sourceLineNo">037</span> @ClassRule<a name="line.37"></a> -<span class="sourceLineNo">038</span> public static final HBaseClassTestRule CLASS_RULE =<a name="line.38"></a> -<span class="sourceLineNo">039</span> HBaseClassTestRule.forClass(TestReplicationKillSlaveRS.class);<a name="line.39"></a> -<span class="sourceLineNo">040</span><a name="line.40"></a> -<span class="sourceLineNo">041</span> @Test<a name="line.41"></a> -<span class="sourceLineNo">042</span> public void killOneSlaveRS() throws Exception {<a name="line.42"></a> -<span class="sourceLineNo">043</span> loadTableAndKillRS(utility2);<a name="line.43"></a> -<span class="sourceLineNo">044</span> }<a name="line.44"></a> -<span class="sourceLineNo">045</span>}<a name="line.45"></a> +<span class="sourceLineNo">026</span><a name="line.26"></a> +<span class="sourceLineNo">027</span>/**<a name="line.27"></a> +<span class="sourceLineNo">028</span> * Runs the TestReplicationKillRS test and selects the RS to kill in the slave cluster<a name="line.28"></a> +<span class="sourceLineNo">029</span> * Do not add other tests in this class.<a name="line.29"></a> +<span class="sourceLineNo">030</span> */<a name="line.30"></a> +<span class="sourceLineNo">031</span>@Category({ ReplicationTests.class, LargeTests.class })<a name="line.31"></a> +<span class="sourceLineNo">032</span>public class TestReplicationKillSlaveRS extends TestReplicationKillRS {<a name="line.32"></a> +<span class="sourceLineNo">033</span><a name="line.33"></a> +<span class="sourceLineNo">034</span> @ClassRule<a name="line.34"></a> +<span class="sourceLineNo">035</span> public static final HBaseClassTestRule CLASS_RULE =<a name="line.35"></a> +<span class="sourceLineNo">036</span> HBaseClassTestRule.forClass(TestReplicationKillSlaveRS.class);<a name="line.36"></a> +<span class="sourceLineNo">037</span><a name="line.37"></a> +<span class="sourceLineNo">038</span> @Test<a name="line.38"></a> +<span class="sourceLineNo">039</span> public void killOneSlaveRS() throws Exception {<a name="line.39"></a> +<span class="sourceLineNo">040</span> loadTableAndKillRS(utility2);<a name="line.40"></a> +<span class="sourceLineNo">041</span> }<a name="line.41"></a> +<span class="sourceLineNo">042</span>}<a name="line.42"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a610f23a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRSWithSeparateOldWALs.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRSWithSeparateOldWALs.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRSWithSeparateOldWALs.html new file mode 100644 index 0000000..23e218b --- /dev/null +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/replication/TestReplicationKillSlaveRSWithSeparateOldWALs.html @@ -0,0 +1,119 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> +<head> +<title>Source code</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<div class="sourceContainer"> +<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a> +<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> +<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> +<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a> +<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> +<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> +<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a> +<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a> +<span class="sourceLineNo">009</span> *<a name="line.9"></a> +<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> +<span class="sourceLineNo">011</span> *<a name="line.11"></a> +<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a> +<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a> +<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a> +<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a> +<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a> +<span class="sourceLineNo">017</span> */<a name="line.17"></a> +<span class="sourceLineNo">018</span><a name="line.18"></a> +<span class="sourceLineNo">019</span>package org.apache.hadoop.hbase.replication;<a name="line.19"></a> +<span class="sourceLineNo">020</span><a name="line.20"></a> +<span class="sourceLineNo">021</span>import org.apache.hadoop.hbase.HBaseClassTestRule;<a name="line.21"></a> +<span class="sourceLineNo">022</span>import org.apache.hadoop.hbase.testclassification.LargeTests;<a name="line.22"></a> +<span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.testclassification.ReplicationTests;<a name="line.23"></a> +<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.wal.AbstractFSWALProvider;<a name="line.24"></a> +<span class="sourceLineNo">025</span>import org.junit.BeforeClass;<a name="line.25"></a> +<span class="sourceLineNo">026</span>import org.junit.ClassRule;<a name="line.26"></a> +<span class="sourceLineNo">027</span>import org.junit.Test;<a name="line.27"></a> +<span class="sourceLineNo">028</span>import org.junit.experimental.categories.Category;<a name="line.28"></a> +<span class="sourceLineNo">029</span><a name="line.29"></a> +<span class="sourceLineNo">030</span>@Category({ ReplicationTests.class, LargeTests.class })<a name="line.30"></a> +<span class="sourceLineNo">031</span>public class TestReplicationKillSlaveRSWithSeparateOldWALs extends TestReplicationKillRS {<a name="line.31"></a> +<span class="sourceLineNo">032</span><a name="line.32"></a> +<span class="sourceLineNo">033</span> @ClassRule<a name="line.33"></a> +<span class="sourceLineNo">034</span> public static final HBaseClassTestRule CLASS_RULE =<a name="line.34"></a> +<span class="sourceLineNo">035</span> HBaseClassTestRule.forClass(TestReplicationKillSlaveRSWithSeparateOldWALs.class);<a name="line.35"></a> +<span class="sourceLineNo">036</span><a name="line.36"></a> +<span class="sourceLineNo">037</span> @BeforeClass<a name="line.37"></a> +<span class="sourceLineNo">038</span> public static void setUpBeforeClass() throws Exception {<a name="line.38"></a> +<span class="sourceLineNo">039</span> conf1.setBoolean(AbstractFSWALProvider.SEPARATE_OLDLOGDIR, true);<a name="line.39"></a> +<span class="sourceLineNo">040</span> TestReplicationBase.setUpBeforeClass();<a name="line.40"></a> +<span class="sourceLineNo">041</span> }<a name="line.41"></a> +<span class="sourceLineNo">042</span><a name="line.42"></a> +<span class="sourceLineNo">043</span> @Test<a name="line.43"></a> +<span class="sourceLineNo">044</span> public void killOneSlaveRS() throws Exception {<a name="line.44"></a> +<span class="sourceLineNo">045</span> loadTableAndKillRS(utility2);<a name="line.45"></a> +<span class="sourceLineNo">046</span> }<a name="line.46"></a> +<span class="sourceLineNo">047</span>}<a name="line.47"></a> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</pre> +</div> +</body> +</html>