hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [05/51] [partial] hbase-site git commit: Published site at 821e4d7de2d576189f4288d1c2acf9e9a9471f5c.
Date Tue, 16 Oct 2018 14:54:26 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/323b17d9/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.CreateTableProcedureOnHDFSFailure.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.CreateTableProcedureOnHDFSFailure.html
b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.CreateTableProcedureOnHDFSFailure.html
index f11fbc0..0f43b85 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.CreateTableProcedureOnHDFSFailure.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.CreateTableProcedureOnHDFSFailure.html
@@ -194,8 +194,8 @@
 <span class="sourceLineNo">186</span>    long procId = procExec.submitProcedure(<a
name="line.186"></a>
 <span class="sourceLineNo">187</span>      new CreateTableProcedure(procExec.getEnvironment(),
htd, regions));<a name="line.187"></a>
 <span class="sourceLineNo">188</span><a name="line.188"></a>
-<span class="sourceLineNo">189</span>    int numberOfSteps = 0; // failing at
pre operation<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, numberOfSteps);<a name="line.190"></a>
+<span class="sourceLineNo">189</span>    int lastStep = 2; // failing before
CREATE_TABLE_WRITE_FS_LAYOUT<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, lastStep);<a name="line.190"></a>
 <span class="sourceLineNo">191</span><a name="line.191"></a>
 <span class="sourceLineNo">192</span>    TableName tableName = htd.getTableName();<a
name="line.192"></a>
 <span class="sourceLineNo">193</span>    MasterProcedureTestingUtility.validateTableDeletion(getMaster(),
tableName);<a name="line.193"></a>
@@ -247,7 +247,7 @@
 <span class="sourceLineNo">239</span>    }<a name="line.239"></a>
 <span class="sourceLineNo">240</span>  }<a name="line.240"></a>
 <span class="sourceLineNo">241</span><a name="line.241"></a>
-<span class="sourceLineNo">242</span>  @Test(timeout = 60000)<a name="line.242"></a>
+<span class="sourceLineNo">242</span>  @Test<a name="line.242"></a>
 <span class="sourceLineNo">243</span>  public void testOnHDFSFailure() throws
Exception {<a name="line.243"></a>
 <span class="sourceLineNo">244</span>    final TableName tableName = TableName.valueOf(name.getMethodName());<a
name="line.244"></a>
 <span class="sourceLineNo">245</span><a name="line.245"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/323b17d9/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.html
b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.html
index f11fbc0..0f43b85 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestCreateTableProcedure.html
@@ -194,8 +194,8 @@
 <span class="sourceLineNo">186</span>    long procId = procExec.submitProcedure(<a
name="line.186"></a>
 <span class="sourceLineNo">187</span>      new CreateTableProcedure(procExec.getEnvironment(),
htd, regions));<a name="line.187"></a>
 <span class="sourceLineNo">188</span><a name="line.188"></a>
-<span class="sourceLineNo">189</span>    int numberOfSteps = 0; // failing at
pre operation<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, numberOfSteps);<a name="line.190"></a>
+<span class="sourceLineNo">189</span>    int lastStep = 2; // failing before
CREATE_TABLE_WRITE_FS_LAYOUT<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, lastStep);<a name="line.190"></a>
 <span class="sourceLineNo">191</span><a name="line.191"></a>
 <span class="sourceLineNo">192</span>    TableName tableName = htd.getTableName();<a
name="line.192"></a>
 <span class="sourceLineNo">193</span>    MasterProcedureTestingUtility.validateTableDeletion(getMaster(),
tableName);<a name="line.193"></a>
@@ -247,7 +247,7 @@
 <span class="sourceLineNo">239</span>    }<a name="line.239"></a>
 <span class="sourceLineNo">240</span>  }<a name="line.240"></a>
 <span class="sourceLineNo">241</span><a name="line.241"></a>
-<span class="sourceLineNo">242</span>  @Test(timeout = 60000)<a name="line.242"></a>
+<span class="sourceLineNo">242</span>  @Test<a name="line.242"></a>
 <span class="sourceLineNo">243</span>  public void testOnHDFSFailure() throws
Exception {<a name="line.243"></a>
 <span class="sourceLineNo">244</span>    final TableName tableName = TableName.valueOf(name.getMethodName());<a
name="line.244"></a>
 <span class="sourceLineNo">245</span><a name="line.245"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/323b17d9/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestDeleteNamespaceProcedure.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestDeleteNamespaceProcedure.html
b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestDeleteNamespaceProcedure.html
index e95bd8b..f1f69f6 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestDeleteNamespaceProcedure.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestDeleteNamespaceProcedure.html
@@ -33,10 +33,10 @@
 <span class="sourceLineNo">025</span>import org.apache.hadoop.conf.Configuration;<a
name="line.25"></a>
 <span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.HBaseClassTestRule;<a
name="line.26"></a>
 <span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.HBaseTestingUtility;<a
name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.HTableDescriptor;<a
name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.NamespaceDescriptor;<a
name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.NamespaceNotFoundException;<a
name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.TableName;<a
name="line.31"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.NamespaceDescriptor;<a
name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.NamespaceNotFoundException;<a
name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.TableName;<a
name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.client.TableDescriptor;<a
name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.constraint.ConstraintException;<a
name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.procedure2.Procedure;<a
name="line.33"></a>
 <span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.procedure2.ProcedureExecutor;<a
name="line.34"></a>
@@ -96,7 +96,7 @@
 <span class="sourceLineNo">088</span>  @After<a name="line.88"></a>
 <span class="sourceLineNo">089</span>  public void tearDown() throws Exception
{<a name="line.89"></a>
 <span class="sourceLineNo">090</span>    ProcedureTestingUtility.setKillAndToggleBeforeStoreUpdate(getMasterProcedureExecutor(),
false);<a name="line.90"></a>
-<span class="sourceLineNo">091</span>    for (HTableDescriptor htd: UTIL.getAdmin().listTables())
{<a name="line.91"></a>
+<span class="sourceLineNo">091</span>    for (TableDescriptor htd: UTIL.getAdmin().listTableDescriptors())
{<a name="line.91"></a>
 <span class="sourceLineNo">092</span>      LOG.info("Tear down, remove table="
+ htd.getTableName());<a name="line.92"></a>
 <span class="sourceLineNo">093</span>      UTIL.deleteTable(htd.getTableName());<a
name="line.93"></a>
 <span class="sourceLineNo">094</span>    }<a name="line.94"></a>
@@ -208,8 +208,8 @@
 <span class="sourceLineNo">200</span>    long procId = procExec.submitProcedure(<a
name="line.200"></a>
 <span class="sourceLineNo">201</span>      new DeleteNamespaceProcedure(procExec.getEnvironment(),
namespaceName));<a name="line.201"></a>
 <span class="sourceLineNo">202</span><a name="line.202"></a>
-<span class="sourceLineNo">203</span>    int numberOfSteps = 0; // failing at
pre operation<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, numberOfSteps);<a name="line.204"></a>
+<span class="sourceLineNo">203</span>    int lastStep = 2; // failing before
DELETE_NAMESPACE_DELETE_FROM_NS_TABLE<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, lastStep);<a name="line.204"></a>
 <span class="sourceLineNo">205</span><a name="line.205"></a>
 <span class="sourceLineNo">206</span>    // Validate the namespace still exists<a
name="line.206"></a>
 <span class="sourceLineNo">207</span>    NamespaceDescriptor createdNsDescriptor=<a
name="line.207"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/323b17d9/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestEnableTableProcedure.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestEnableTableProcedure.html
b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestEnableTableProcedure.html
index 56fe722..542f9de 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestEnableTableProcedure.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestEnableTableProcedure.html
@@ -146,8 +146,8 @@
 <span class="sourceLineNo">138</span>    long procId = procExec.submitProcedure(<a
name="line.138"></a>
 <span class="sourceLineNo">139</span>        new EnableTableProcedure(procExec.getEnvironment(),
tableName, false));<a name="line.139"></a>
 <span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>    int numberOfSteps = 0; // failing at
pre operation<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, numberOfSteps);<a name="line.142"></a>
+<span class="sourceLineNo">141</span>    int lastStep = 3; // fail before ENABLE_TABLE_SET_ENABLING_TABLE_STATE<a
name="line.141"></a>
+<span class="sourceLineNo">142</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, lastStep);<a name="line.142"></a>
 <span class="sourceLineNo">143</span>    MasterProcedureTestingUtility.validateTableIsDisabled(getMaster(),
tableName);<a name="line.143"></a>
 <span class="sourceLineNo">144</span>  }<a name="line.144"></a>
 <span class="sourceLineNo">145</span>}<a name="line.145"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/323b17d9/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestModifyNamespaceProcedure.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestModifyNamespaceProcedure.html
b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestModifyNamespaceProcedure.html
index 908b69d..a98a34d 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestModifyNamespaceProcedure.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TestModifyNamespaceProcedure.html
@@ -32,9 +32,9 @@
 <span class="sourceLineNo">024</span>import org.apache.hadoop.conf.Configuration;<a
name="line.24"></a>
 <span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.HBaseClassTestRule;<a
name="line.25"></a>
 <span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.HBaseTestingUtility;<a
name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.HTableDescriptor;<a
name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.NamespaceDescriptor;<a
name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.NamespaceNotFoundException;<a
name="line.29"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.NamespaceDescriptor;<a
name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.NamespaceNotFoundException;<a
name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.client.TableDescriptor;<a
name="line.29"></a>
 <span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.constraint.ConstraintException;<a
name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.procedure2.Procedure;<a
name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.procedure2.ProcedureExecutor;<a
name="line.32"></a>
@@ -89,7 +89,7 @@
 <span class="sourceLineNo">081</span>  @After<a name="line.81"></a>
 <span class="sourceLineNo">082</span>  public void tearDown() throws Exception
{<a name="line.82"></a>
 <span class="sourceLineNo">083</span>    ProcedureTestingUtility.setKillAndToggleBeforeStoreUpdate(getMasterProcedureExecutor(),
false);<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    for (HTableDescriptor htd: UTIL.getAdmin().listTables())
{<a name="line.84"></a>
+<span class="sourceLineNo">084</span>    for (TableDescriptor htd: UTIL.getAdmin().listTableDescriptors())
{<a name="line.84"></a>
 <span class="sourceLineNo">085</span>      LOG.info("Tear down, remove table="
+ htd.getTableName());<a name="line.85"></a>
 <span class="sourceLineNo">086</span>      UTIL.deleteTable(htd.getTableName());<a
name="line.86"></a>
 <span class="sourceLineNo">087</span>    }<a name="line.87"></a>
@@ -254,8 +254,8 @@
 <span class="sourceLineNo">246</span>    long procId = procExec.submitProcedure(<a
name="line.246"></a>
 <span class="sourceLineNo">247</span>      new ModifyNamespaceProcedure(procExec.getEnvironment(),
nsd));<a name="line.247"></a>
 <span class="sourceLineNo">248</span><a name="line.248"></a>
-<span class="sourceLineNo">249</span>    int numberOfSteps = 0; // failing at
pre operation<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, numberOfSteps);<a name="line.250"></a>
+<span class="sourceLineNo">249</span>    int lastStep = 2; // failing before
MODIFY_NAMESPACE_UPDATE_NS_TABLE<a name="line.249"></a>
+<span class="sourceLineNo">250</span>    MasterProcedureTestingUtility.testRollbackAndDoubleExecution(procExec,
procId, lastStep);<a name="line.250"></a>
 <span class="sourceLineNo">251</span><a name="line.251"></a>
 <span class="sourceLineNo">252</span>    // Validate<a name="line.252"></a>
 <span class="sourceLineNo">253</span>    NamespaceDescriptor currentNsDescriptor
=<a name="line.253"></a>


Mime
View raw message