http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/SchemaLocking.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/SchemaLocking.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/SchemaLocking.html index 90283cb..76d8e64 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/SchemaLocking.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/SchemaLocking.html @@ -40,186 +40,198 @@ <span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.procedure2.Procedure;<a name="line.32"></a> <span class="sourceLineNo">033</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.33"></a> <span class="sourceLineNo">034</span><a name="line.34"></a> -<span class="sourceLineNo">035</span>/**<a name="line.35"></a> -<span class="sourceLineNo">036</span> * <p><a name="line.36"></a> -<span class="sourceLineNo">037</span> * Locks on namespaces, tables, and regions.<a name="line.37"></a> -<span class="sourceLineNo">038</span> * </p><a name="line.38"></a> -<span class="sourceLineNo">039</span> * <p><a name="line.39"></a> -<span class="sourceLineNo">040</span> * Since LockAndQueue implementation is NOT thread-safe, schedLock() guards all calls to these<a name="line.40"></a> -<span class="sourceLineNo">041</span> * locks.<a name="line.41"></a> -<span class="sourceLineNo">042</span> * </p><a name="line.42"></a> -<span class="sourceLineNo">043</span> */<a name="line.43"></a> -<span class="sourceLineNo">044</span>@InterfaceAudience.Private<a name="line.44"></a> -<span class="sourceLineNo">045</span>class SchemaLocking {<a name="line.45"></a> -<span class="sourceLineNo">046</span> private final Map<ServerName, LockAndQueue> serverLocks = new HashMap<>();<a name="line.46"></a> -<span class="sourceLineNo">047</span> private final Map<String, LockAndQueue> namespaceLocks = new HashMap<>();<a name="line.47"></a> -<span class="sourceLineNo">048</span> private final Map<TableName, LockAndQueue> tableLocks = new HashMap<>();<a name="line.48"></a> -<span class="sourceLineNo">049</span> // Single map for all regions irrespective of tables. Key is encoded region name.<a name="line.49"></a> -<span class="sourceLineNo">050</span> private final Map<String, LockAndQueue> regionLocks = new HashMap<>();<a name="line.50"></a> -<span class="sourceLineNo">051</span> private final Map<String, LockAndQueue> peerLocks = new HashMap<>();<a name="line.51"></a> -<span class="sourceLineNo">052</span><a name="line.52"></a> -<span class="sourceLineNo">053</span> private <T> LockAndQueue getLock(Map<T, LockAndQueue> map, T key) {<a name="line.53"></a> -<span class="sourceLineNo">054</span> LockAndQueue lock = map.get(key);<a name="line.54"></a> -<span class="sourceLineNo">055</span> if (lock == null) {<a name="line.55"></a> -<span class="sourceLineNo">056</span> lock = new LockAndQueue();<a name="line.56"></a> -<span class="sourceLineNo">057</span> map.put(key, lock);<a name="line.57"></a> -<span class="sourceLineNo">058</span> }<a name="line.58"></a> -<span class="sourceLineNo">059</span> return lock;<a name="line.59"></a> -<span class="sourceLineNo">060</span> }<a name="line.60"></a> -<span class="sourceLineNo">061</span><a name="line.61"></a> -<span class="sourceLineNo">062</span> LockAndQueue getTableLock(TableName tableName) {<a name="line.62"></a> -<span class="sourceLineNo">063</span> return getLock(tableLocks, tableName);<a name="line.63"></a> -<span class="sourceLineNo">064</span> }<a name="line.64"></a> -<span class="sourceLineNo">065</span><a name="line.65"></a> -<span class="sourceLineNo">066</span> LockAndQueue removeTableLock(TableName tableName) {<a name="line.66"></a> -<span class="sourceLineNo">067</span> return tableLocks.remove(tableName);<a name="line.67"></a> -<span class="sourceLineNo">068</span> }<a name="line.68"></a> -<span class="sourceLineNo">069</span><a name="line.69"></a> -<span class="sourceLineNo">070</span> LockAndQueue getNamespaceLock(String namespace) {<a name="line.70"></a> -<span class="sourceLineNo">071</span> return getLock(namespaceLocks, namespace);<a name="line.71"></a> -<span class="sourceLineNo">072</span> }<a name="line.72"></a> -<span class="sourceLineNo">073</span><a name="line.73"></a> -<span class="sourceLineNo">074</span> LockAndQueue getRegionLock(String encodedRegionName) {<a name="line.74"></a> -<span class="sourceLineNo">075</span> return getLock(regionLocks, encodedRegionName);<a name="line.75"></a> -<span class="sourceLineNo">076</span> }<a name="line.76"></a> -<span class="sourceLineNo">077</span><a name="line.77"></a> -<span class="sourceLineNo">078</span> LockAndQueue removeRegionLock(String encodedRegionName) {<a name="line.78"></a> -<span class="sourceLineNo">079</span> return regionLocks.remove(encodedRegionName);<a name="line.79"></a> -<span class="sourceLineNo">080</span> }<a name="line.80"></a> -<span class="sourceLineNo">081</span><a name="line.81"></a> -<span class="sourceLineNo">082</span> LockAndQueue getServerLock(ServerName serverName) {<a name="line.82"></a> -<span class="sourceLineNo">083</span> return getLock(serverLocks, serverName);<a name="line.83"></a> -<span class="sourceLineNo">084</span> }<a name="line.84"></a> -<span class="sourceLineNo">085</span><a name="line.85"></a> -<span class="sourceLineNo">086</span> LockAndQueue getPeerLock(String peerId) {<a name="line.86"></a> -<span class="sourceLineNo">087</span> return getLock(peerLocks, peerId);<a name="line.87"></a> -<span class="sourceLineNo">088</span> }<a name="line.88"></a> -<span class="sourceLineNo">089</span><a name="line.89"></a> -<span class="sourceLineNo">090</span> LockAndQueue removePeerLock(String peerId) {<a name="line.90"></a> -<span class="sourceLineNo">091</span> return peerLocks.remove(peerId);<a name="line.91"></a> -<span class="sourceLineNo">092</span> }<a name="line.92"></a> -<span class="sourceLineNo">093</span><a name="line.93"></a> -<span class="sourceLineNo">094</span> private LockedResource createLockedResource(LockedResourceType resourceType, String resourceName,<a name="line.94"></a> -<span class="sourceLineNo">095</span> LockAndQueue queue) {<a name="line.95"></a> -<span class="sourceLineNo">096</span> LockType lockType;<a name="line.96"></a> -<span class="sourceLineNo">097</span> Procedure<?> exclusiveLockOwnerProcedure;<a name="line.97"></a> -<span class="sourceLineNo">098</span> int sharedLockCount;<a name="line.98"></a> -<span class="sourceLineNo">099</span><a name="line.99"></a> -<span class="sourceLineNo">100</span> if (queue.hasExclusiveLock()) {<a name="line.100"></a> -<span class="sourceLineNo">101</span> lockType = LockType.EXCLUSIVE;<a name="line.101"></a> -<span class="sourceLineNo">102</span> exclusiveLockOwnerProcedure = queue.getExclusiveLockOwnerProcedure();<a name="line.102"></a> -<span class="sourceLineNo">103</span> sharedLockCount = 0;<a name="line.103"></a> -<span class="sourceLineNo">104</span> } else {<a name="line.104"></a> -<span class="sourceLineNo">105</span> lockType = LockType.SHARED;<a name="line.105"></a> -<span class="sourceLineNo">106</span> exclusiveLockOwnerProcedure = null;<a name="line.106"></a> -<span class="sourceLineNo">107</span> sharedLockCount = queue.getSharedLockCount();<a name="line.107"></a> -<span class="sourceLineNo">108</span> }<a name="line.108"></a> -<span class="sourceLineNo">109</span><a name="line.109"></a> -<span class="sourceLineNo">110</span> List<Procedure<?>> waitingProcedures = new ArrayList<>();<a name="line.110"></a> -<span class="sourceLineNo">111</span><a name="line.111"></a> -<span class="sourceLineNo">112</span> for (Procedure<?> procedure : queue) {<a name="line.112"></a> -<span class="sourceLineNo">113</span> if (!(procedure instanceof LockProcedure)) {<a name="line.113"></a> -<span class="sourceLineNo">114</span> continue;<a name="line.114"></a> -<span class="sourceLineNo">115</span> }<a name="line.115"></a> +<span class="sourceLineNo">035</span>import org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap;<a name="line.35"></a> +<span class="sourceLineNo">036</span><a name="line.36"></a> +<span class="sourceLineNo">037</span>/**<a name="line.37"></a> +<span class="sourceLineNo">038</span> * <p><a name="line.38"></a> +<span class="sourceLineNo">039</span> * Locks on namespaces, tables, and regions.<a name="line.39"></a> +<span class="sourceLineNo">040</span> * </p><a name="line.40"></a> +<span class="sourceLineNo">041</span> * <p><a name="line.41"></a> +<span class="sourceLineNo">042</span> * Since LockAndQueue implementation is NOT thread-safe, schedLock() guards all calls to these<a name="line.42"></a> +<span class="sourceLineNo">043</span> * locks.<a name="line.43"></a> +<span class="sourceLineNo">044</span> * </p><a name="line.44"></a> +<span class="sourceLineNo">045</span> */<a name="line.45"></a> +<span class="sourceLineNo">046</span>@InterfaceAudience.Private<a name="line.46"></a> +<span class="sourceLineNo">047</span>class SchemaLocking {<a name="line.47"></a> +<span class="sourceLineNo">048</span> private final Map<ServerName, LockAndQueue> serverLocks = new HashMap<>();<a name="line.48"></a> +<span class="sourceLineNo">049</span> private final Map<String, LockAndQueue> namespaceLocks = new HashMap<>();<a name="line.49"></a> +<span class="sourceLineNo">050</span> private final Map<TableName, LockAndQueue> tableLocks = new HashMap<>();<a name="line.50"></a> +<span class="sourceLineNo">051</span> // Single map for all regions irrespective of tables. Key is encoded region name.<a name="line.51"></a> +<span class="sourceLineNo">052</span> private final Map<String, LockAndQueue> regionLocks = new HashMap<>();<a name="line.52"></a> +<span class="sourceLineNo">053</span> private final Map<String, LockAndQueue> peerLocks = new HashMap<>();<a name="line.53"></a> +<span class="sourceLineNo">054</span> private final LockAndQueue metaLock = new LockAndQueue();<a name="line.54"></a> +<span class="sourceLineNo">055</span><a name="line.55"></a> +<span class="sourceLineNo">056</span> private <T> LockAndQueue getLock(Map<T, LockAndQueue> map, T key) {<a name="line.56"></a> +<span class="sourceLineNo">057</span> LockAndQueue lock = map.get(key);<a name="line.57"></a> +<span class="sourceLineNo">058</span> if (lock == null) {<a name="line.58"></a> +<span class="sourceLineNo">059</span> lock = new LockAndQueue();<a name="line.59"></a> +<span class="sourceLineNo">060</span> map.put(key, lock);<a name="line.60"></a> +<span class="sourceLineNo">061</span> }<a name="line.61"></a> +<span class="sourceLineNo">062</span> return lock;<a name="line.62"></a> +<span class="sourceLineNo">063</span> }<a name="line.63"></a> +<span class="sourceLineNo">064</span><a name="line.64"></a> +<span class="sourceLineNo">065</span> LockAndQueue getTableLock(TableName tableName) {<a name="line.65"></a> +<span class="sourceLineNo">066</span> return getLock(tableLocks, tableName);<a name="line.66"></a> +<span class="sourceLineNo">067</span> }<a name="line.67"></a> +<span class="sourceLineNo">068</span><a name="line.68"></a> +<span class="sourceLineNo">069</span> LockAndQueue removeTableLock(TableName tableName) {<a name="line.69"></a> +<span class="sourceLineNo">070</span> return tableLocks.remove(tableName);<a name="line.70"></a> +<span class="sourceLineNo">071</span> }<a name="line.71"></a> +<span class="sourceLineNo">072</span><a name="line.72"></a> +<span class="sourceLineNo">073</span> LockAndQueue getNamespaceLock(String namespace) {<a name="line.73"></a> +<span class="sourceLineNo">074</span> return getLock(namespaceLocks, namespace);<a name="line.74"></a> +<span class="sourceLineNo">075</span> }<a name="line.75"></a> +<span class="sourceLineNo">076</span><a name="line.76"></a> +<span class="sourceLineNo">077</span> LockAndQueue getRegionLock(String encodedRegionName) {<a name="line.77"></a> +<span class="sourceLineNo">078</span> return getLock(regionLocks, encodedRegionName);<a name="line.78"></a> +<span class="sourceLineNo">079</span> }<a name="line.79"></a> +<span class="sourceLineNo">080</span><a name="line.80"></a> +<span class="sourceLineNo">081</span> LockAndQueue getMetaLock() {<a name="line.81"></a> +<span class="sourceLineNo">082</span> return metaLock;<a name="line.82"></a> +<span class="sourceLineNo">083</span> }<a name="line.83"></a> +<span class="sourceLineNo">084</span><a name="line.84"></a> +<span class="sourceLineNo">085</span> LockAndQueue removeRegionLock(String encodedRegionName) {<a name="line.85"></a> +<span class="sourceLineNo">086</span> return regionLocks.remove(encodedRegionName);<a name="line.86"></a> +<span class="sourceLineNo">087</span> }<a name="line.87"></a> +<span class="sourceLineNo">088</span><a name="line.88"></a> +<span class="sourceLineNo">089</span> LockAndQueue getServerLock(ServerName serverName) {<a name="line.89"></a> +<span class="sourceLineNo">090</span> return getLock(serverLocks, serverName);<a name="line.90"></a> +<span class="sourceLineNo">091</span> }<a name="line.91"></a> +<span class="sourceLineNo">092</span><a name="line.92"></a> +<span class="sourceLineNo">093</span> LockAndQueue getPeerLock(String peerId) {<a name="line.93"></a> +<span class="sourceLineNo">094</span> return getLock(peerLocks, peerId);<a name="line.94"></a> +<span class="sourceLineNo">095</span> }<a name="line.95"></a> +<span class="sourceLineNo">096</span><a name="line.96"></a> +<span class="sourceLineNo">097</span> LockAndQueue removePeerLock(String peerId) {<a name="line.97"></a> +<span class="sourceLineNo">098</span> return peerLocks.remove(peerId);<a name="line.98"></a> +<span class="sourceLineNo">099</span> }<a name="line.99"></a> +<span class="sourceLineNo">100</span><a name="line.100"></a> +<span class="sourceLineNo">101</span> private LockedResource createLockedResource(LockedResourceType resourceType, String resourceName,<a name="line.101"></a> +<span class="sourceLineNo">102</span> LockAndQueue queue) {<a name="line.102"></a> +<span class="sourceLineNo">103</span> LockType lockType;<a name="line.103"></a> +<span class="sourceLineNo">104</span> Procedure<?> exclusiveLockOwnerProcedure;<a name="line.104"></a> +<span class="sourceLineNo">105</span> int sharedLockCount;<a name="line.105"></a> +<span class="sourceLineNo">106</span><a name="line.106"></a> +<span class="sourceLineNo">107</span> if (queue.hasExclusiveLock()) {<a name="line.107"></a> +<span class="sourceLineNo">108</span> lockType = LockType.EXCLUSIVE;<a name="line.108"></a> +<span class="sourceLineNo">109</span> exclusiveLockOwnerProcedure = queue.getExclusiveLockOwnerProcedure();<a name="line.109"></a> +<span class="sourceLineNo">110</span> sharedLockCount = 0;<a name="line.110"></a> +<span class="sourceLineNo">111</span> } else {<a name="line.111"></a> +<span class="sourceLineNo">112</span> lockType = LockType.SHARED;<a name="line.112"></a> +<span class="sourceLineNo">113</span> exclusiveLockOwnerProcedure = null;<a name="line.113"></a> +<span class="sourceLineNo">114</span> sharedLockCount = queue.getSharedLockCount();<a name="line.114"></a> +<span class="sourceLineNo">115</span> }<a name="line.115"></a> <span class="sourceLineNo">116</span><a name="line.116"></a> -<span class="sourceLineNo">117</span> waitingProcedures.add(procedure);<a name="line.117"></a> -<span class="sourceLineNo">118</span> }<a name="line.118"></a> -<span class="sourceLineNo">119</span><a name="line.119"></a> -<span class="sourceLineNo">120</span> return new LockedResource(resourceType, resourceName, lockType, exclusiveLockOwnerProcedure,<a name="line.120"></a> -<span class="sourceLineNo">121</span> sharedLockCount, waitingProcedures);<a name="line.121"></a> -<span class="sourceLineNo">122</span> }<a name="line.122"></a> +<span class="sourceLineNo">117</span> List<Procedure<?>> waitingProcedures = new ArrayList<>();<a name="line.117"></a> +<span class="sourceLineNo">118</span><a name="line.118"></a> +<span class="sourceLineNo">119</span> for (Procedure<?> procedure : queue) {<a name="line.119"></a> +<span class="sourceLineNo">120</span> if (!(procedure instanceof LockProcedure)) {<a name="line.120"></a> +<span class="sourceLineNo">121</span> continue;<a name="line.121"></a> +<span class="sourceLineNo">122</span> }<a name="line.122"></a> <span class="sourceLineNo">123</span><a name="line.123"></a> -<span class="sourceLineNo">124</span> private <T> void addToLockedResources(List<LockedResource> lockedResources,<a name="line.124"></a> -<span class="sourceLineNo">125</span> Map<T, LockAndQueue> locks, Function<T, String> keyTransformer,<a name="line.125"></a> -<span class="sourceLineNo">126</span> LockedResourceType resourcesType) {<a name="line.126"></a> -<span class="sourceLineNo">127</span> locks.entrySet().stream().filter(e -> e.getValue().isLocked())<a name="line.127"></a> -<span class="sourceLineNo">128</span> .map(e -> createLockedResource(resourcesType, keyTransformer.apply(e.getKey()), e.getValue()))<a name="line.128"></a> -<span class="sourceLineNo">129</span> .forEachOrdered(lockedResources::add);<a name="line.129"></a> -<span class="sourceLineNo">130</span> }<a name="line.130"></a> -<span class="sourceLineNo">131</span><a name="line.131"></a> -<span class="sourceLineNo">132</span> /**<a name="line.132"></a> -<span class="sourceLineNo">133</span> * List lock queues.<a name="line.133"></a> -<span class="sourceLineNo">134</span> * @return the locks<a name="line.134"></a> -<span class="sourceLineNo">135</span> */<a name="line.135"></a> -<span class="sourceLineNo">136</span> List<LockedResource> getLocks() {<a name="line.136"></a> -<span class="sourceLineNo">137</span> List<LockedResource> lockedResources = new ArrayList<>();<a name="line.137"></a> -<span class="sourceLineNo">138</span> addToLockedResources(lockedResources, serverLocks, sn -> sn.getServerName(),<a name="line.138"></a> -<span class="sourceLineNo">139</span> LockedResourceType.SERVER);<a name="line.139"></a> -<span class="sourceLineNo">140</span> addToLockedResources(lockedResources, namespaceLocks, Function.identity(),<a name="line.140"></a> -<span class="sourceLineNo">141</span> LockedResourceType.NAMESPACE);<a name="line.141"></a> -<span class="sourceLineNo">142</span> addToLockedResources(lockedResources, tableLocks, tn -> tn.getNameAsString(),<a name="line.142"></a> -<span class="sourceLineNo">143</span> LockedResourceType.TABLE);<a name="line.143"></a> -<span class="sourceLineNo">144</span> addToLockedResources(lockedResources, regionLocks, Function.identity(),<a name="line.144"></a> -<span class="sourceLineNo">145</span> LockedResourceType.REGION);<a name="line.145"></a> -<span class="sourceLineNo">146</span> addToLockedResources(lockedResources, peerLocks, Function.identity(), LockedResourceType.PEER);<a name="line.146"></a> -<span class="sourceLineNo">147</span> return lockedResources;<a name="line.147"></a> -<span class="sourceLineNo">148</span> }<a name="line.148"></a> -<span class="sourceLineNo">149</span><a name="line.149"></a> -<span class="sourceLineNo">150</span> /**<a name="line.150"></a> -<span class="sourceLineNo">151</span> * @return {@link LockedResource} for resource of specified type & name. null if resource is not<a name="line.151"></a> -<span class="sourceLineNo">152</span> * locked.<a name="line.152"></a> -<span class="sourceLineNo">153</span> */<a name="line.153"></a> -<span class="sourceLineNo">154</span> LockedResource getLockResource(LockedResourceType resourceType, String resourceName) {<a name="line.154"></a> -<span class="sourceLineNo">155</span> LockAndQueue queue;<a name="line.155"></a> -<span class="sourceLineNo">156</span> switch (resourceType) {<a name="line.156"></a> -<span class="sourceLineNo">157</span> case SERVER:<a name="line.157"></a> -<span class="sourceLineNo">158</span> queue = serverLocks.get(ServerName.valueOf(resourceName));<a name="line.158"></a> -<span class="sourceLineNo">159</span> break;<a name="line.159"></a> -<span class="sourceLineNo">160</span> case NAMESPACE:<a name="line.160"></a> -<span class="sourceLineNo">161</span> queue = namespaceLocks.get(resourceName);<a name="line.161"></a> -<span class="sourceLineNo">162</span> break;<a name="line.162"></a> -<span class="sourceLineNo">163</span> case TABLE:<a name="line.163"></a> -<span class="sourceLineNo">164</span> queue = tableLocks.get(TableName.valueOf(resourceName));<a name="line.164"></a> -<span class="sourceLineNo">165</span> break;<a name="line.165"></a> -<span class="sourceLineNo">166</span> case REGION:<a name="line.166"></a> -<span class="sourceLineNo">167</span> queue = regionLocks.get(resourceName);<a name="line.167"></a> +<span class="sourceLineNo">124</span> waitingProcedures.add(procedure);<a name="line.124"></a> +<span class="sourceLineNo">125</span> }<a name="line.125"></a> +<span class="sourceLineNo">126</span><a name="line.126"></a> +<span class="sourceLineNo">127</span> return new LockedResource(resourceType, resourceName, lockType, exclusiveLockOwnerProcedure,<a name="line.127"></a> +<span class="sourceLineNo">128</span> sharedLockCount, waitingProcedures);<a name="line.128"></a> +<span class="sourceLineNo">129</span> }<a name="line.129"></a> +<span class="sourceLineNo">130</span><a name="line.130"></a> +<span class="sourceLineNo">131</span> private <T> void addToLockedResources(List<LockedResource> lockedResources,<a name="line.131"></a> +<span class="sourceLineNo">132</span> Map<T, LockAndQueue> locks, Function<T, String> keyTransformer,<a name="line.132"></a> +<span class="sourceLineNo">133</span> LockedResourceType resourcesType) {<a name="line.133"></a> +<span class="sourceLineNo">134</span> locks.entrySet().stream().filter(e -> e.getValue().isLocked())<a name="line.134"></a> +<span class="sourceLineNo">135</span> .map(e -> createLockedResource(resourcesType, keyTransformer.apply(e.getKey()), e.getValue()))<a name="line.135"></a> +<span class="sourceLineNo">136</span> .forEachOrdered(lockedResources::add);<a name="line.136"></a> +<span class="sourceLineNo">137</span> }<a name="line.137"></a> +<span class="sourceLineNo">138</span><a name="line.138"></a> +<span class="sourceLineNo">139</span> /**<a name="line.139"></a> +<span class="sourceLineNo">140</span> * List lock queues.<a name="line.140"></a> +<span class="sourceLineNo">141</span> * @return the locks<a name="line.141"></a> +<span class="sourceLineNo">142</span> */<a name="line.142"></a> +<span class="sourceLineNo">143</span> List<LockedResource> getLocks() {<a name="line.143"></a> +<span class="sourceLineNo">144</span> List<LockedResource> lockedResources = new ArrayList<>();<a name="line.144"></a> +<span class="sourceLineNo">145</span> addToLockedResources(lockedResources, serverLocks, sn -> sn.getServerName(),<a name="line.145"></a> +<span class="sourceLineNo">146</span> LockedResourceType.SERVER);<a name="line.146"></a> +<span class="sourceLineNo">147</span> addToLockedResources(lockedResources, namespaceLocks, Function.identity(),<a name="line.147"></a> +<span class="sourceLineNo">148</span> LockedResourceType.NAMESPACE);<a name="line.148"></a> +<span class="sourceLineNo">149</span> addToLockedResources(lockedResources, tableLocks, tn -> tn.getNameAsString(),<a name="line.149"></a> +<span class="sourceLineNo">150</span> LockedResourceType.TABLE);<a name="line.150"></a> +<span class="sourceLineNo">151</span> addToLockedResources(lockedResources, regionLocks, Function.identity(),<a name="line.151"></a> +<span class="sourceLineNo">152</span> LockedResourceType.REGION);<a name="line.152"></a> +<span class="sourceLineNo">153</span> addToLockedResources(lockedResources, peerLocks, Function.identity(), LockedResourceType.PEER);<a name="line.153"></a> +<span class="sourceLineNo">154</span> addToLockedResources(lockedResources, ImmutableMap.of(TableName.META_TABLE_NAME, metaLock),<a name="line.154"></a> +<span class="sourceLineNo">155</span> tn -> tn.getNameAsString(), LockedResourceType.META);<a name="line.155"></a> +<span class="sourceLineNo">156</span> return lockedResources;<a name="line.156"></a> +<span class="sourceLineNo">157</span> }<a name="line.157"></a> +<span class="sourceLineNo">158</span><a name="line.158"></a> +<span class="sourceLineNo">159</span> /**<a name="line.159"></a> +<span class="sourceLineNo">160</span> * @return {@link LockedResource} for resource of specified type & name. null if resource is not<a name="line.160"></a> +<span class="sourceLineNo">161</span> * locked.<a name="line.161"></a> +<span class="sourceLineNo">162</span> */<a name="line.162"></a> +<span class="sourceLineNo">163</span> LockedResource getLockResource(LockedResourceType resourceType, String resourceName) {<a name="line.163"></a> +<span class="sourceLineNo">164</span> LockAndQueue queue;<a name="line.164"></a> +<span class="sourceLineNo">165</span> switch (resourceType) {<a name="line.165"></a> +<span class="sourceLineNo">166</span> case SERVER:<a name="line.166"></a> +<span class="sourceLineNo">167</span> queue = serverLocks.get(ServerName.valueOf(resourceName));<a name="line.167"></a> <span class="sourceLineNo">168</span> break;<a name="line.168"></a> -<span class="sourceLineNo">169</span> case PEER:<a name="line.169"></a> -<span class="sourceLineNo">170</span> queue = peerLocks.get(resourceName);<a name="line.170"></a> +<span class="sourceLineNo">169</span> case NAMESPACE:<a name="line.169"></a> +<span class="sourceLineNo">170</span> queue = namespaceLocks.get(resourceName);<a name="line.170"></a> <span class="sourceLineNo">171</span> break;<a name="line.171"></a> -<span class="sourceLineNo">172</span> default:<a name="line.172"></a> -<span class="sourceLineNo">173</span> queue = null;<a name="line.173"></a> +<span class="sourceLineNo">172</span> case TABLE:<a name="line.172"></a> +<span class="sourceLineNo">173</span> queue = tableLocks.get(TableName.valueOf(resourceName));<a name="line.173"></a> <span class="sourceLineNo">174</span> break;<a name="line.174"></a> -<span class="sourceLineNo">175</span> }<a name="line.175"></a> -<span class="sourceLineNo">176</span> return queue != null ? createLockedResource(resourceType, resourceName, queue) : null;<a name="line.176"></a> -<span class="sourceLineNo">177</span> }<a name="line.177"></a> -<span class="sourceLineNo">178</span><a name="line.178"></a> -<span class="sourceLineNo">179</span> /**<a name="line.179"></a> -<span class="sourceLineNo">180</span> * Removes all locks by clearing the maps. Used when procedure executor is stopped for failure and<a name="line.180"></a> -<span class="sourceLineNo">181</span> * recovery testing.<a name="line.181"></a> -<span class="sourceLineNo">182</span> */<a name="line.182"></a> -<span class="sourceLineNo">183</span> void clear() {<a name="line.183"></a> -<span class="sourceLineNo">184</span> serverLocks.clear();<a name="line.184"></a> -<span class="sourceLineNo">185</span> namespaceLocks.clear();<a name="line.185"></a> -<span class="sourceLineNo">186</span> tableLocks.clear();<a name="line.186"></a> -<span class="sourceLineNo">187</span> regionLocks.clear();<a name="line.187"></a> -<span class="sourceLineNo">188</span> peerLocks.clear();<a name="line.188"></a> -<span class="sourceLineNo">189</span> }<a name="line.189"></a> -<span class="sourceLineNo">190</span><a name="line.190"></a> -<span class="sourceLineNo">191</span> @Override<a name="line.191"></a> -<span class="sourceLineNo">192</span> public String toString() {<a name="line.192"></a> -<span class="sourceLineNo">193</span> return "serverLocks=" + filterUnlocked(this.serverLocks) + ", namespaceLocks=" +<a name="line.193"></a> -<span class="sourceLineNo">194</span> filterUnlocked(this.namespaceLocks) + ", tableLocks=" + filterUnlocked(this.tableLocks) +<a name="line.194"></a> -<span class="sourceLineNo">195</span> ", regionLocks=" + filterUnlocked(this.regionLocks) + ", peerLocks=" +<a name="line.195"></a> -<span class="sourceLineNo">196</span> filterUnlocked(this.peerLocks);<a name="line.196"></a> -<span class="sourceLineNo">197</span> }<a name="line.197"></a> -<span class="sourceLineNo">198</span><a name="line.198"></a> -<span class="sourceLineNo">199</span> private String filterUnlocked(Map<?, LockAndQueue> locks) {<a name="line.199"></a> -<span class="sourceLineNo">200</span> StringBuilder sb = new StringBuilder("{");<a name="line.200"></a> -<span class="sourceLineNo">201</span> int initialLength = sb.length();<a name="line.201"></a> -<span class="sourceLineNo">202</span> for (Map.Entry<?, LockAndQueue> entry : locks.entrySet()) {<a name="line.202"></a> -<span class="sourceLineNo">203</span> if (!entry.getValue().isLocked()) {<a name="line.203"></a> -<span class="sourceLineNo">204</span> continue;<a name="line.204"></a> -<span class="sourceLineNo">205</span> }<a name="line.205"></a> -<span class="sourceLineNo">206</span> if (sb.length() > initialLength) {<a name="line.206"></a> -<span class="sourceLineNo">207</span> sb.append(", ");<a name="line.207"></a> -<span class="sourceLineNo">208</span> }<a name="line.208"></a> -<span class="sourceLineNo">209</span> sb.append("{").append(entry.getKey()).append("=").append(entry.getValue()).append("}");<a name="line.209"></a> -<span class="sourceLineNo">210</span> }<a name="line.210"></a> -<span class="sourceLineNo">211</span> sb.append("}");<a name="line.211"></a> -<span class="sourceLineNo">212</span> return sb.toString();<a name="line.212"></a> -<span class="sourceLineNo">213</span> }<a name="line.213"></a> -<span class="sourceLineNo">214</span>}<a name="line.214"></a> +<span class="sourceLineNo">175</span> case REGION:<a name="line.175"></a> +<span class="sourceLineNo">176</span> queue = regionLocks.get(resourceName);<a name="line.176"></a> +<span class="sourceLineNo">177</span> break;<a name="line.177"></a> +<span class="sourceLineNo">178</span> case PEER:<a name="line.178"></a> +<span class="sourceLineNo">179</span> queue = peerLocks.get(resourceName);<a name="line.179"></a> +<span class="sourceLineNo">180</span> break;<a name="line.180"></a> +<span class="sourceLineNo">181</span> case META:<a name="line.181"></a> +<span class="sourceLineNo">182</span> queue = metaLock;<a name="line.182"></a> +<span class="sourceLineNo">183</span> default:<a name="line.183"></a> +<span class="sourceLineNo">184</span> queue = null;<a name="line.184"></a> +<span class="sourceLineNo">185</span> break;<a name="line.185"></a> +<span class="sourceLineNo">186</span> }<a name="line.186"></a> +<span class="sourceLineNo">187</span> return queue != null ? createLockedResource(resourceType, resourceName, queue) : null;<a name="line.187"></a> +<span class="sourceLineNo">188</span> }<a name="line.188"></a> +<span class="sourceLineNo">189</span><a name="line.189"></a> +<span class="sourceLineNo">190</span> /**<a name="line.190"></a> +<span class="sourceLineNo">191</span> * Removes all locks by clearing the maps. Used when procedure executor is stopped for failure and<a name="line.191"></a> +<span class="sourceLineNo">192</span> * recovery testing.<a name="line.192"></a> +<span class="sourceLineNo">193</span> */<a name="line.193"></a> +<span class="sourceLineNo">194</span> void clear() {<a name="line.194"></a> +<span class="sourceLineNo">195</span> serverLocks.clear();<a name="line.195"></a> +<span class="sourceLineNo">196</span> namespaceLocks.clear();<a name="line.196"></a> +<span class="sourceLineNo">197</span> tableLocks.clear();<a name="line.197"></a> +<span class="sourceLineNo">198</span> regionLocks.clear();<a name="line.198"></a> +<span class="sourceLineNo">199</span> peerLocks.clear();<a name="line.199"></a> +<span class="sourceLineNo">200</span> }<a name="line.200"></a> +<span class="sourceLineNo">201</span><a name="line.201"></a> +<span class="sourceLineNo">202</span> @Override<a name="line.202"></a> +<span class="sourceLineNo">203</span> public String toString() {<a name="line.203"></a> +<span class="sourceLineNo">204</span> return "serverLocks=" + filterUnlocked(this.serverLocks) + ", namespaceLocks=" +<a name="line.204"></a> +<span class="sourceLineNo">205</span> filterUnlocked(this.namespaceLocks) + ", tableLocks=" + filterUnlocked(this.tableLocks) +<a name="line.205"></a> +<span class="sourceLineNo">206</span> ", regionLocks=" + filterUnlocked(this.regionLocks) + ", peerLocks=" +<a name="line.206"></a> +<span class="sourceLineNo">207</span> filterUnlocked(this.peerLocks) + ", metaLocks=" +<a name="line.207"></a> +<span class="sourceLineNo">208</span> filterUnlocked(ImmutableMap.of(TableName.META_TABLE_NAME, metaLock));<a name="line.208"></a> +<span class="sourceLineNo">209</span> }<a name="line.209"></a> +<span class="sourceLineNo">210</span><a name="line.210"></a> +<span class="sourceLineNo">211</span> private String filterUnlocked(Map<?, LockAndQueue> locks) {<a name="line.211"></a> +<span class="sourceLineNo">212</span> StringBuilder sb = new StringBuilder("{");<a name="line.212"></a> +<span class="sourceLineNo">213</span> int initialLength = sb.length();<a name="line.213"></a> +<span class="sourceLineNo">214</span> for (Map.Entry<?, LockAndQueue> entry : locks.entrySet()) {<a name="line.214"></a> +<span class="sourceLineNo">215</span> if (!entry.getValue().isLocked()) {<a name="line.215"></a> +<span class="sourceLineNo">216</span> continue;<a name="line.216"></a> +<span class="sourceLineNo">217</span> }<a name="line.217"></a> +<span class="sourceLineNo">218</span> if (sb.length() > initialLength) {<a name="line.218"></a> +<span class="sourceLineNo">219</span> sb.append(", ");<a name="line.219"></a> +<span class="sourceLineNo">220</span> }<a name="line.220"></a> +<span class="sourceLineNo">221</span> sb.append("{").append(entry.getKey()).append("=").append(entry.getValue()).append("}");<a name="line.221"></a> +<span class="sourceLineNo">222</span> }<a name="line.222"></a> +<span class="sourceLineNo">223</span> sb.append("}");<a name="line.223"></a> +<span class="sourceLineNo">224</span> return sb.toString();<a name="line.224"></a> +<span class="sourceLineNo">225</span> }<a name="line.225"></a> +<span class="sourceLineNo">226</span>}<a name="line.226"></a>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.html index 455d1b4..2dafe34 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.html @@ -6,7 +6,7 @@ </head> <body> <div class="sourceContainer"> -<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a> +<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> @@ -63,8 +63,8 @@ <span class="sourceLineNo">055</span> */<a name="line.55"></a> <span class="sourceLineNo">056</span>@InterfaceAudience.Private<a name="line.56"></a> <span class="sourceLineNo">057</span>public class ServerCrashProcedure<a name="line.57"></a> -<span class="sourceLineNo">058</span>extends StateMachineProcedure<MasterProcedureEnv, ServerCrashState><a name="line.58"></a> -<span class="sourceLineNo">059</span>implements ServerProcedureInterface {<a name="line.59"></a> +<span class="sourceLineNo">058</span> extends StateMachineProcedure<MasterProcedureEnv, ServerCrashState><a name="line.58"></a> +<span class="sourceLineNo">059</span> implements ServerProcedureInterface {<a name="line.59"></a> <span class="sourceLineNo">060</span> private static final Logger LOG = LoggerFactory.getLogger(ServerCrashProcedure.class);<a name="line.60"></a> <span class="sourceLineNo">061</span><a name="line.61"></a> <span class="sourceLineNo">062</span> /**<a name="line.62"></a> @@ -171,11 +171,11 @@ <span class="sourceLineNo">163</span> "; cycles=" + getCycles());<a name="line.163"></a> <span class="sourceLineNo">164</span> }<a name="line.164"></a> <span class="sourceLineNo">165</span> // Handle RIT against crashed server. Will cancel any ongoing assigns/unassigns.<a name="line.165"></a> -<span class="sourceLineNo">166</span> // Returns list of regions we need to reassign. NOTE: there is nothing to stop a<a name="line.166"></a> -<span class="sourceLineNo">167</span> // dispatch happening AFTER this point. Check for the condition if a dispatch RPC fails<a name="line.167"></a> -<span class="sourceLineNo">168</span> // inside in AssignProcedure/UnassignProcedure. AssignProcedure just keeps retrying.<a name="line.168"></a> -<span class="sourceLineNo">169</span> // UnassignProcedure is more complicated. See where it does the check by calling<a name="line.169"></a> -<span class="sourceLineNo">170</span> // am#isDeadServerProcessed.<a name="line.170"></a> +<span class="sourceLineNo">166</span> // Returns list of regions we need to reassign.<a name="line.166"></a> +<span class="sourceLineNo">167</span> // NOTE: there is nothing to stop a dispatch happening AFTER this point. Check for the<a name="line.167"></a> +<span class="sourceLineNo">168</span> // condition if a dispatch RPC fails inside in AssignProcedure/UnassignProcedure.<a name="line.168"></a> +<span class="sourceLineNo">169</span> // AssignProcedure just keeps retrying. UnassignProcedure is more complicated. See where<a name="line.169"></a> +<span class="sourceLineNo">170</span> // it does the check by calling am#isLogSplittingDone.<a name="line.170"></a> <span class="sourceLineNo">171</span> List<RegionInfo> toAssign = handleRIT(env, regionsOnCrashedServer);<a name="line.171"></a> <span class="sourceLineNo">172</span> AssignmentManager am = env.getAssignmentManager();<a name="line.172"></a> <span class="sourceLineNo">173</span> // CreateAssignProcedure will try to use the old location for the region deploy.<a name="line.173"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.ServerOperationType.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.ServerOperationType.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.ServerOperationType.html index cfe94f5..6c34462 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.ServerOperationType.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.ServerOperationType.html @@ -27,37 +27,35 @@ <span class="sourceLineNo">019</span><a name="line.19"></a> <span class="sourceLineNo">020</span>import org.apache.hadoop.hbase.ServerName;<a name="line.20"></a> <span class="sourceLineNo">021</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.21"></a> -<span class="sourceLineNo">022</span>import org.apache.yetus.audience.InterfaceStability;<a name="line.22"></a> -<span class="sourceLineNo">023</span><a name="line.23"></a> -<span class="sourceLineNo">024</span>/**<a name="line.24"></a> -<span class="sourceLineNo">025</span> * Procedures that handle servers -- e.g. server crash -- must implement this Interface.<a name="line.25"></a> -<span class="sourceLineNo">026</span> * It is used by the procedure runner to figure locking and what queuing.<a name="line.26"></a> -<span class="sourceLineNo">027</span> */<a name="line.27"></a> -<span class="sourceLineNo">028</span>@InterfaceAudience.Private<a name="line.28"></a> -<span class="sourceLineNo">029</span>@InterfaceStability.Evolving<a name="line.29"></a> -<span class="sourceLineNo">030</span>public interface ServerProcedureInterface {<a name="line.30"></a> -<span class="sourceLineNo">031</span> public enum ServerOperationType {<a name="line.31"></a> -<span class="sourceLineNo">032</span> CRASH_HANDLER<a name="line.32"></a> -<span class="sourceLineNo">033</span> }<a name="line.33"></a> -<span class="sourceLineNo">034</span><a name="line.34"></a> -<span class="sourceLineNo">035</span> /**<a name="line.35"></a> -<span class="sourceLineNo">036</span> * @return Name of this server instance.<a name="line.36"></a> -<span class="sourceLineNo">037</span> */<a name="line.37"></a> -<span class="sourceLineNo">038</span> ServerName getServerName();<a name="line.38"></a> -<span class="sourceLineNo">039</span><a name="line.39"></a> -<span class="sourceLineNo">040</span> /**<a name="line.40"></a> -<span class="sourceLineNo">041</span> * @return True if this server has an hbase:meta table region.<a name="line.41"></a> -<span class="sourceLineNo">042</span> */<a name="line.42"></a> -<span class="sourceLineNo">043</span> boolean hasMetaTableRegion();<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> * Given an operation type we can take decisions about what to do with pending operations.<a name="line.46"></a> -<span class="sourceLineNo">047</span> * e.g. if we get a crash handler and we have some assignment operation pending<a name="line.47"></a> -<span class="sourceLineNo">048</span> * we can abort those operations.<a name="line.48"></a> -<span class="sourceLineNo">049</span> * @return the operation type that the procedure is executing.<a name="line.49"></a> -<span class="sourceLineNo">050</span> */<a name="line.50"></a> -<span class="sourceLineNo">051</span> ServerOperationType getServerOperationType();<a name="line.51"></a> -<span class="sourceLineNo">052</span>}<a name="line.52"></a> +<span class="sourceLineNo">022</span><a name="line.22"></a> +<span class="sourceLineNo">023</span>/**<a name="line.23"></a> +<span class="sourceLineNo">024</span> * Procedures that handle servers -- e.g. server crash -- must implement this Interface.<a name="line.24"></a> +<span class="sourceLineNo">025</span> * It is used by the procedure runner to figure locking and what queuing.<a name="line.25"></a> +<span class="sourceLineNo">026</span> */<a name="line.26"></a> +<span class="sourceLineNo">027</span>@InterfaceAudience.Private<a name="line.27"></a> +<span class="sourceLineNo">028</span>public interface ServerProcedureInterface {<a name="line.28"></a> +<span class="sourceLineNo">029</span> public enum ServerOperationType {<a name="line.29"></a> +<span class="sourceLineNo">030</span> CRASH_HANDLER<a name="line.30"></a> +<span class="sourceLineNo">031</span> }<a name="line.31"></a> +<span class="sourceLineNo">032</span><a name="line.32"></a> +<span class="sourceLineNo">033</span> /**<a name="line.33"></a> +<span class="sourceLineNo">034</span> * @return Name of this server instance.<a name="line.34"></a> +<span class="sourceLineNo">035</span> */<a name="line.35"></a> +<span class="sourceLineNo">036</span> ServerName getServerName();<a name="line.36"></a> +<span class="sourceLineNo">037</span><a name="line.37"></a> +<span class="sourceLineNo">038</span> /**<a name="line.38"></a> +<span class="sourceLineNo">039</span> * @return True if this server has an hbase:meta table region.<a name="line.39"></a> +<span class="sourceLineNo">040</span> */<a name="line.40"></a> +<span class="sourceLineNo">041</span> boolean hasMetaTableRegion();<a name="line.41"></a> +<span class="sourceLineNo">042</span><a name="line.42"></a> +<span class="sourceLineNo">043</span> /**<a name="line.43"></a> +<span class="sourceLineNo">044</span> * Given an operation type we can take decisions about what to do with pending operations.<a name="line.44"></a> +<span class="sourceLineNo">045</span> * e.g. if we get a crash handler and we have some assignment operation pending<a name="line.45"></a> +<span class="sourceLineNo">046</span> * we can abort those operations.<a name="line.46"></a> +<span class="sourceLineNo">047</span> * @return the operation type that the procedure is executing.<a name="line.47"></a> +<span class="sourceLineNo">048</span> */<a name="line.48"></a> +<span class="sourceLineNo">049</span> ServerOperationType getServerOperationType();<a name="line.49"></a> +<span class="sourceLineNo">050</span>}<a name="line.50"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.html index cfe94f5..6c34462 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.html @@ -27,37 +27,35 @@ <span class="sourceLineNo">019</span><a name="line.19"></a> <span class="sourceLineNo">020</span>import org.apache.hadoop.hbase.ServerName;<a name="line.20"></a> <span class="sourceLineNo">021</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.21"></a> -<span class="sourceLineNo">022</span>import org.apache.yetus.audience.InterfaceStability;<a name="line.22"></a> -<span class="sourceLineNo">023</span><a name="line.23"></a> -<span class="sourceLineNo">024</span>/**<a name="line.24"></a> -<span class="sourceLineNo">025</span> * Procedures that handle servers -- e.g. server crash -- must implement this Interface.<a name="line.25"></a> -<span class="sourceLineNo">026</span> * It is used by the procedure runner to figure locking and what queuing.<a name="line.26"></a> -<span class="sourceLineNo">027</span> */<a name="line.27"></a> -<span class="sourceLineNo">028</span>@InterfaceAudience.Private<a name="line.28"></a> -<span class="sourceLineNo">029</span>@InterfaceStability.Evolving<a name="line.29"></a> -<span class="sourceLineNo">030</span>public interface ServerProcedureInterface {<a name="line.30"></a> -<span class="sourceLineNo">031</span> public enum ServerOperationType {<a name="line.31"></a> -<span class="sourceLineNo">032</span> CRASH_HANDLER<a name="line.32"></a> -<span class="sourceLineNo">033</span> }<a name="line.33"></a> -<span class="sourceLineNo">034</span><a name="line.34"></a> -<span class="sourceLineNo">035</span> /**<a name="line.35"></a> -<span class="sourceLineNo">036</span> * @return Name of this server instance.<a name="line.36"></a> -<span class="sourceLineNo">037</span> */<a name="line.37"></a> -<span class="sourceLineNo">038</span> ServerName getServerName();<a name="line.38"></a> -<span class="sourceLineNo">039</span><a name="line.39"></a> -<span class="sourceLineNo">040</span> /**<a name="line.40"></a> -<span class="sourceLineNo">041</span> * @return True if this server has an hbase:meta table region.<a name="line.41"></a> -<span class="sourceLineNo">042</span> */<a name="line.42"></a> -<span class="sourceLineNo">043</span> boolean hasMetaTableRegion();<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> * Given an operation type we can take decisions about what to do with pending operations.<a name="line.46"></a> -<span class="sourceLineNo">047</span> * e.g. if we get a crash handler and we have some assignment operation pending<a name="line.47"></a> -<span class="sourceLineNo">048</span> * we can abort those operations.<a name="line.48"></a> -<span class="sourceLineNo">049</span> * @return the operation type that the procedure is executing.<a name="line.49"></a> -<span class="sourceLineNo">050</span> */<a name="line.50"></a> -<span class="sourceLineNo">051</span> ServerOperationType getServerOperationType();<a name="line.51"></a> -<span class="sourceLineNo">052</span>}<a name="line.52"></a> +<span class="sourceLineNo">022</span><a name="line.22"></a> +<span class="sourceLineNo">023</span>/**<a name="line.23"></a> +<span class="sourceLineNo">024</span> * Procedures that handle servers -- e.g. server crash -- must implement this Interface.<a name="line.24"></a> +<span class="sourceLineNo">025</span> * It is used by the procedure runner to figure locking and what queuing.<a name="line.25"></a> +<span class="sourceLineNo">026</span> */<a name="line.26"></a> +<span class="sourceLineNo">027</span>@InterfaceAudience.Private<a name="line.27"></a> +<span class="sourceLineNo">028</span>public interface ServerProcedureInterface {<a name="line.28"></a> +<span class="sourceLineNo">029</span> public enum ServerOperationType {<a name="line.29"></a> +<span class="sourceLineNo">030</span> CRASH_HANDLER<a name="line.30"></a> +<span class="sourceLineNo">031</span> }<a name="line.31"></a> +<span class="sourceLineNo">032</span><a name="line.32"></a> +<span class="sourceLineNo">033</span> /**<a name="line.33"></a> +<span class="sourceLineNo">034</span> * @return Name of this server instance.<a name="line.34"></a> +<span class="sourceLineNo">035</span> */<a name="line.35"></a> +<span class="sourceLineNo">036</span> ServerName getServerName();<a name="line.36"></a> +<span class="sourceLineNo">037</span><a name="line.37"></a> +<span class="sourceLineNo">038</span> /**<a name="line.38"></a> +<span class="sourceLineNo">039</span> * @return True if this server has an hbase:meta table region.<a name="line.39"></a> +<span class="sourceLineNo">040</span> */<a name="line.40"></a> +<span class="sourceLineNo">041</span> boolean hasMetaTableRegion();<a name="line.41"></a> +<span class="sourceLineNo">042</span><a name="line.42"></a> +<span class="sourceLineNo">043</span> /**<a name="line.43"></a> +<span class="sourceLineNo">044</span> * Given an operation type we can take decisions about what to do with pending operations.<a name="line.44"></a> +<span class="sourceLineNo">045</span> * e.g. if we get a crash handler and we have some assignment operation pending<a name="line.45"></a> +<span class="sourceLineNo">046</span> * we can abort those operations.<a name="line.46"></a> +<span class="sourceLineNo">047</span> * @return the operation type that the procedure is executing.<a name="line.47"></a> +<span class="sourceLineNo">048</span> */<a name="line.48"></a> +<span class="sourceLineNo">049</span> ServerOperationType getServerOperationType();<a name="line.49"></a> +<span class="sourceLineNo">050</span>}<a name="line.50"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html index 517f17e..2ab42e6 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html @@ -23,39 +23,36 @@ <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.master.procedure;<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.TableName;<a name="line.21"></a> -<span class="sourceLineNo">022</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.22"></a> -<span class="sourceLineNo">023</span>import org.apache.yetus.audience.InterfaceStability;<a name="line.23"></a> -<span class="sourceLineNo">024</span><a name="line.24"></a> -<span class="sourceLineNo">025</span>/**<a name="line.25"></a> -<span class="sourceLineNo">026</span> * Procedures that operates on a specific Table (e.g. create, delete, snapshot, ...)<a name="line.26"></a> -<span class="sourceLineNo">027</span> * must implement this interface to allow the system handle the lock/concurrency problems.<a name="line.27"></a> -<span class="sourceLineNo">028</span> */<a name="line.28"></a> -<span class="sourceLineNo">029</span>@InterfaceAudience.Private<a name="line.29"></a> -<span class="sourceLineNo">030</span>@InterfaceStability.Evolving<a name="line.30"></a> -<span class="sourceLineNo">031</span>public interface TableProcedureInterface {<a name="line.31"></a> -<span class="sourceLineNo">032</span> public enum TableOperationType {<a name="line.32"></a> -<span class="sourceLineNo">033</span> CREATE, DELETE, DISABLE, EDIT, ENABLE, READ,<a name="line.33"></a> -<span class="sourceLineNo">034</span> REGION_EDIT, REGION_SPLIT, REGION_MERGE, REGION_ASSIGN, REGION_UNASSIGN,<a name="line.34"></a> -<span class="sourceLineNo">035</span> REGION_GC, MERGED_REGIONS_GC/* region operations */<a name="line.35"></a> -<span class="sourceLineNo">036</span> }<a name="line.36"></a> -<span class="sourceLineNo">037</span><a name="line.37"></a> -<span class="sourceLineNo">038</span> /**<a name="line.38"></a> -<span class="sourceLineNo">039</span> * @return the name of the table the procedure is operating on<a name="line.39"></a> -<span class="sourceLineNo">040</span> */<a name="line.40"></a> -<span class="sourceLineNo">041</span> TableName getTableName();<a name="line.41"></a> -<span class="sourceLineNo">042</span><a name="line.42"></a> -<span class="sourceLineNo">043</span> /**<a name="line.43"></a> -<span class="sourceLineNo">044</span> * Given an operation type we can take decisions about what to do with pending operations.<a name="line.44"></a> -<span class="sourceLineNo">045</span> * e.g. if we get a delete and we have some table operation pending (e.g. add column)<a name="line.45"></a> -<span class="sourceLineNo">046</span> * we can abort those operations.<a name="line.46"></a> -<span class="sourceLineNo">047</span> * @return the operation type that the procedure is executing.<a name="line.47"></a> -<span class="sourceLineNo">048</span> */<a name="line.48"></a> -<span class="sourceLineNo">049</span> TableOperationType getTableOperationType();<a name="line.49"></a> -<span class="sourceLineNo">050</span>}<a name="line.50"></a> +<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.master.procedure;<a name="line.18"></a> +<span class="sourceLineNo">019</span><a name="line.19"></a> +<span class="sourceLineNo">020</span>import org.apache.hadoop.hbase.TableName;<a name="line.20"></a> +<span class="sourceLineNo">021</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.21"></a> +<span class="sourceLineNo">022</span><a name="line.22"></a> +<span class="sourceLineNo">023</span>/**<a name="line.23"></a> +<span class="sourceLineNo">024</span> * Procedures that operates on a specific Table (e.g. create, delete, snapshot, ...)<a name="line.24"></a> +<span class="sourceLineNo">025</span> * must implement this interface to allow the system handle the lock/concurrency problems.<a name="line.25"></a> +<span class="sourceLineNo">026</span> */<a name="line.26"></a> +<span class="sourceLineNo">027</span>@InterfaceAudience.Private<a name="line.27"></a> +<span class="sourceLineNo">028</span>public interface TableProcedureInterface {<a name="line.28"></a> +<span class="sourceLineNo">029</span> public enum TableOperationType {<a name="line.29"></a> +<span class="sourceLineNo">030</span> CREATE, DELETE, DISABLE, EDIT, ENABLE, READ,<a name="line.30"></a> +<span class="sourceLineNo">031</span> REGION_EDIT, REGION_SPLIT, REGION_MERGE, REGION_ASSIGN, REGION_UNASSIGN,<a name="line.31"></a> +<span class="sourceLineNo">032</span> REGION_GC, MERGED_REGIONS_GC/* region operations */<a name="line.32"></a> +<span class="sourceLineNo">033</span> }<a name="line.33"></a> +<span class="sourceLineNo">034</span><a name="line.34"></a> +<span class="sourceLineNo">035</span> /**<a name="line.35"></a> +<span class="sourceLineNo">036</span> * @return the name of the table the procedure is operating on<a name="line.36"></a> +<span class="sourceLineNo">037</span> */<a name="line.37"></a> +<span class="sourceLineNo">038</span> TableName getTableName();<a name="line.38"></a> +<span class="sourceLineNo">039</span><a name="line.39"></a> +<span class="sourceLineNo">040</span> /**<a name="line.40"></a> +<span class="sourceLineNo">041</span> * Given an operation type we can take decisions about what to do with pending operations.<a name="line.41"></a> +<span class="sourceLineNo">042</span> * e.g. if we get a delete and we have some table operation pending (e.g. add column)<a name="line.42"></a> +<span class="sourceLineNo">043</span> * we can abort those operations.<a name="line.43"></a> +<span class="sourceLineNo">044</span> * @return the operation type that the procedure is executing.<a name="line.44"></a> +<span class="sourceLineNo">045</span> */<a name="line.45"></a> +<span class="sourceLineNo">046</span> TableOperationType getTableOperationType();<a name="line.46"></a> +<span class="sourceLineNo">047</span>}<a name="line.47"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html index 517f17e..2ab42e6 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html @@ -23,39 +23,36 @@ <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.master.procedure;<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.TableName;<a name="line.21"></a> -<span class="sourceLineNo">022</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.22"></a> -<span class="sourceLineNo">023</span>import org.apache.yetus.audience.InterfaceStability;<a name="line.23"></a> -<span class="sourceLineNo">024</span><a name="line.24"></a> -<span class="sourceLineNo">025</span>/**<a name="line.25"></a> -<span class="sourceLineNo">026</span> * Procedures that operates on a specific Table (e.g. create, delete, snapshot, ...)<a name="line.26"></a> -<span class="sourceLineNo">027</span> * must implement this interface to allow the system handle the lock/concurrency problems.<a name="line.27"></a> -<span class="sourceLineNo">028</span> */<a name="line.28"></a> -<span class="sourceLineNo">029</span>@InterfaceAudience.Private<a name="line.29"></a> -<span class="sourceLineNo">030</span>@InterfaceStability.Evolving<a name="line.30"></a> -<span class="sourceLineNo">031</span>public interface TableProcedureInterface {<a name="line.31"></a> -<span class="sourceLineNo">032</span> public enum TableOperationType {<a name="line.32"></a> -<span class="sourceLineNo">033</span> CREATE, DELETE, DISABLE, EDIT, ENABLE, READ,<a name="line.33"></a> -<span class="sourceLineNo">034</span> REGION_EDIT, REGION_SPLIT, REGION_MERGE, REGION_ASSIGN, REGION_UNASSIGN,<a name="line.34"></a> -<span class="sourceLineNo">035</span> REGION_GC, MERGED_REGIONS_GC/* region operations */<a name="line.35"></a> -<span class="sourceLineNo">036</span> }<a name="line.36"></a> -<span class="sourceLineNo">037</span><a name="line.37"></a> -<span class="sourceLineNo">038</span> /**<a name="line.38"></a> -<span class="sourceLineNo">039</span> * @return the name of the table the procedure is operating on<a name="line.39"></a> -<span class="sourceLineNo">040</span> */<a name="line.40"></a> -<span class="sourceLineNo">041</span> TableName getTableName();<a name="line.41"></a> -<span class="sourceLineNo">042</span><a name="line.42"></a> -<span class="sourceLineNo">043</span> /**<a name="line.43"></a> -<span class="sourceLineNo">044</span> * Given an operation type we can take decisions about what to do with pending operations.<a name="line.44"></a> -<span class="sourceLineNo">045</span> * e.g. if we get a delete and we have some table operation pending (e.g. add column)<a name="line.45"></a> -<span class="sourceLineNo">046</span> * we can abort those operations.<a name="line.46"></a> -<span class="sourceLineNo">047</span> * @return the operation type that the procedure is executing.<a name="line.47"></a> -<span class="sourceLineNo">048</span> */<a name="line.48"></a> -<span class="sourceLineNo">049</span> TableOperationType getTableOperationType();<a name="line.49"></a> -<span class="sourceLineNo">050</span>}<a name="line.50"></a> +<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.master.procedure;<a name="line.18"></a> +<span class="sourceLineNo">019</span><a name="line.19"></a> +<span class="sourceLineNo">020</span>import org.apache.hadoop.hbase.TableName;<a name="line.20"></a> +<span class="sourceLineNo">021</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.21"></a> +<span class="sourceLineNo">022</span><a name="line.22"></a> +<span class="sourceLineNo">023</span>/**<a name="line.23"></a> +<span class="sourceLineNo">024</span> * Procedures that operates on a specific Table (e.g. create, delete, snapshot, ...)<a name="line.24"></a> +<span class="sourceLineNo">025</span> * must implement this interface to allow the system handle the lock/concurrency problems.<a name="line.25"></a> +<span class="sourceLineNo">026</span> */<a name="line.26"></a> +<span class="sourceLineNo">027</span>@InterfaceAudience.Private<a name="line.27"></a> +<span class="sourceLineNo">028</span>public interface TableProcedureInterface {<a name="line.28"></a> +<span class="sourceLineNo">029</span> public enum TableOperationType {<a name="line.29"></a> +<span class="sourceLineNo">030</span> CREATE, DELETE, DISABLE, EDIT, ENABLE, READ,<a name="line.30"></a> +<span class="sourceLineNo">031</span> REGION_EDIT, REGION_SPLIT, REGION_MERGE, REGION_ASSIGN, REGION_UNASSIGN,<a name="line.31"></a> +<span class="sourceLineNo">032</span> REGION_GC, MERGED_REGIONS_GC/* region operations */<a name="line.32"></a> +<span class="sourceLineNo">033</span> }<a name="line.33"></a> +<span class="sourceLineNo">034</span><a name="line.34"></a> +<span class="sourceLineNo">035</span> /**<a name="line.35"></a> +<span class="sourceLineNo">036</span> * @return the name of the table the procedure is operating on<a name="line.36"></a> +<span class="sourceLineNo">037</span> */<a name="line.37"></a> +<span class="sourceLineNo">038</span> TableName getTableName();<a name="line.38"></a> +<span class="sourceLineNo">039</span><a name="line.39"></a> +<span class="sourceLineNo">040</span> /**<a name="line.40"></a> +<span class="sourceLineNo">041</span> * Given an operation type we can take decisions about what to do with pending operations.<a name="line.41"></a> +<span class="sourceLineNo">042</span> * e.g. if we get a delete and we have some table operation pending (e.g. add column)<a name="line.42"></a> +<span class="sourceLineNo">043</span> * we can abort those operations.<a name="line.43"></a> +<span class="sourceLineNo">044</span> * @return the operation type that the procedure is executing.<a name="line.44"></a> +<span class="sourceLineNo">045</span> */<a name="line.45"></a> +<span class="sourceLineNo">046</span> TableOperationType getTableOperationType();<a name="line.46"></a> +<span class="sourceLineNo">047</span>}<a name="line.47"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/LockedResourceType.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/LockedResourceType.html b/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/LockedResourceType.html index d8856d5..7815079 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/LockedResourceType.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/LockedResourceType.html @@ -30,7 +30,7 @@ <span class="sourceLineNo">022</span><a name="line.22"></a> <span class="sourceLineNo">023</span>@InterfaceAudience.Private<a name="line.23"></a> <span class="sourceLineNo">024</span>public enum LockedResourceType {<a name="line.24"></a> -<span class="sourceLineNo">025</span> SERVER, NAMESPACE, TABLE, REGION, PEER<a name="line.25"></a> +<span class="sourceLineNo">025</span> SERVER, NAMESPACE, TABLE, REGION, PEER, META<a name="line.25"></a> <span class="sourceLineNo">026</span>}<a name="line.26"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/downloads.html ---------------------------------------------------------------------- diff --git a/downloads.html b/downloads.html index 7e1c290..6c33f85 100644 --- a/downloads.html +++ b/downloads.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase Downloads</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -366,7 +366,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/export_control.html ---------------------------------------------------------------------- diff --git a/export_control.html b/export_control.html index 46e3314..a3ff00c 100644 --- a/export_control.html +++ b/export_control.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Export Control @@ -331,7 +331,7 @@ for more details.</p> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/index.html ---------------------------------------------------------------------- diff --git a/index.html b/index.html index 468a756..08ee8b8 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase⢠Home</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -411,7 +411,7 @@ Apache HBase is an open-source, distributed, versioned, non-relational database <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/integration.html ---------------------------------------------------------------------- diff --git a/integration.html b/integration.html index ce7d47b..87d99f8 100644 --- a/integration.html +++ b/integration.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – CI Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -291,7 +291,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/issue-tracking.html ---------------------------------------------------------------------- diff --git a/issue-tracking.html b/issue-tracking.html index 82fc47e..a7a2581 100644 --- a/issue-tracking.html +++ b/issue-tracking.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Issue Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -288,7 +288,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/license.html ---------------------------------------------------------------------- diff --git a/license.html b/license.html index 42d4568..d447e87 100644 --- a/license.html +++ b/license.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Licenses</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -491,7 +491,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/mail-lists.html ---------------------------------------------------------------------- diff --git a/mail-lists.html b/mail-lists.html index 7f4be96..ba4a6ad 100644 --- a/mail-lists.html +++ b/mail-lists.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Mailing Lists</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -341,7 +341,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/metrics.html ---------------------------------------------------------------------- diff --git a/metrics.html b/metrics.html index 149c6f9..7cdf89c 100644 --- a/metrics.html +++ b/metrics.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase (TM) Metrics @@ -459,7 +459,7 @@ export HBASE_REGIONSERVER_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxrem <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/old_news.html ---------------------------------------------------------------------- diff --git a/old_news.html b/old_news.html index 18ef417..f751a9a 100644 --- a/old_news.html +++ b/old_news.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Old Apache HBase (TM) News @@ -440,7 +440,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/plugin-management.html ---------------------------------------------------------------------- diff --git a/plugin-management.html b/plugin-management.html index eebdd47..8b68e5f 100644 --- a/plugin-management.html +++ b/plugin-management.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Plugin Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -440,7 +440,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/plugins.html ---------------------------------------------------------------------- diff --git a/plugins.html b/plugins.html index f9a2155..160e019 100644 --- a/plugins.html +++ b/plugins.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Plugins</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -375,7 +375,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/poweredbyhbase.html ---------------------------------------------------------------------- diff --git a/poweredbyhbase.html b/poweredbyhbase.html index bf397e9..778ff7e 100644 --- a/poweredbyhbase.html +++ b/poweredbyhbase.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Powered By Apache HBaseÂ</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -769,7 +769,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/project-info.html ---------------------------------------------------------------------- diff --git a/project-info.html b/project-info.html index 91ee4af..3987652 100644 --- a/project-info.html +++ b/project-info.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Information</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -335,7 +335,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/project-reports.html ---------------------------------------------------------------------- diff --git a/project-reports.html b/project-reports.html index 6604e7a..4c97966 100644 --- a/project-reports.html +++ b/project-reports.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Generated Reports</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -305,7 +305,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/project-summary.html ---------------------------------------------------------------------- diff --git a/project-summary.html b/project-summary.html index bd4e27c..338bab9 100644 --- a/project-summary.html +++ b/project-summary.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Summary</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -331,7 +331,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/pseudo-distributed.html ---------------------------------------------------------------------- diff --git a/pseudo-distributed.html b/pseudo-distributed.html index e40e585..79a1277 100644 --- a/pseudo-distributed.html +++ b/pseudo-distributed.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Running Apache HBase (TM) in pseudo-distributed mode @@ -308,7 +308,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/replication.html ---------------------------------------------------------------------- diff --git a/replication.html b/replication.html index 51fa00c..89bc76a 100644 --- a/replication.html +++ b/replication.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase (TM) Replication @@ -303,7 +303,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/resources.html ---------------------------------------------------------------------- diff --git a/resources.html b/resources.html index a8e16be..f97be42 100644 --- a/resources.html +++ b/resources.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Other Apache HBase (TM) Resources</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -331,7 +331,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/621486f3/source-repository.html ---------------------------------------------------------------------- diff --git a/source-repository.html b/source-repository.html index da33d34..5ca36ef 100644 --- a/source-repository.html +++ b/source-repository.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180610" /> + <meta name="Date-Revision-yyyymmdd" content="20180611" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Source Code Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -299,7 +299,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-06-10</li> + <li id="publishDate" class="pull-right">Last Published: 2018-06-11</li> </p> </div>