blob: 490269b4d8b131774a4d9f6f94a9e77b7768a3b6 [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Source code</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="source: package: org.apache.hadoop.hbase.client, class: TestFromClientSideScanExcpetion, class: MyHStore">
<meta name="generator" content="javadoc/SourceToHTMLConverter">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body class="source-page">
<main role="main">
<div class="source-container">
<pre><span class="source-line-no">001</span><span id="line-1">/*</span>
<span class="source-line-no">002</span><span id="line-2"> * Licensed to the Apache Software Foundation (ASF) under one</span>
<span class="source-line-no">003</span><span id="line-3"> * or more contributor license agreements. See the NOTICE file</span>
<span class="source-line-no">004</span><span id="line-4"> * distributed with this work for additional information</span>
<span class="source-line-no">005</span><span id="line-5"> * regarding copyright ownership. The ASF licenses this file</span>
<span class="source-line-no">006</span><span id="line-6"> * to you under the Apache License, Version 2.0 (the</span>
<span class="source-line-no">007</span><span id="line-7"> * "License"); you may not use this file except in compliance</span>
<span class="source-line-no">008</span><span id="line-8"> * with the License. You may obtain a copy of the License at</span>
<span class="source-line-no">009</span><span id="line-9"> *</span>
<span class="source-line-no">010</span><span id="line-10"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<span class="source-line-no">011</span><span id="line-11"> *</span>
<span class="source-line-no">012</span><span id="line-12"> * Unless required by applicable law or agreed to in writing, software</span>
<span class="source-line-no">013</span><span id="line-13"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<span class="source-line-no">014</span><span id="line-14"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<span class="source-line-no">015</span><span id="line-15"> * See the License for the specific language governing permissions and</span>
<span class="source-line-no">016</span><span id="line-16"> * limitations under the License.</span>
<span class="source-line-no">017</span><span id="line-17"> */</span>
<span class="source-line-no">018</span><span id="line-18">package org.apache.hadoop.hbase.client;</span>
<span class="source-line-no">019</span><span id="line-19"></span>
<span class="source-line-no">020</span><span id="line-20">import static org.hamcrest.CoreMatchers.instanceOf;</span>
<span class="source-line-no">021</span><span id="line-21">import static org.hamcrest.MatcherAssert.assertThat;</span>
<span class="source-line-no">022</span><span id="line-22">import static org.junit.Assert.assertEquals;</span>
<span class="source-line-no">023</span><span id="line-23">import static org.junit.Assert.assertTrue;</span>
<span class="source-line-no">024</span><span id="line-24">import static org.junit.Assert.fail;</span>
<span class="source-line-no">025</span><span id="line-25"></span>
<span class="source-line-no">026</span><span id="line-26">import java.io.IOException;</span>
<span class="source-line-no">027</span><span id="line-27">import java.util.ArrayList;</span>
<span class="source-line-no">028</span><span id="line-28">import java.util.List;</span>
<span class="source-line-no">029</span><span id="line-29">import java.util.NavigableSet;</span>
<span class="source-line-no">030</span><span id="line-30">import java.util.concurrent.atomic.AtomicBoolean;</span>
<span class="source-line-no">031</span><span id="line-31">import java.util.concurrent.atomic.AtomicLong;</span>
<span class="source-line-no">032</span><span id="line-32">import org.apache.hadoop.conf.Configuration;</span>
<span class="source-line-no">033</span><span id="line-33">import org.apache.hadoop.fs.FileSystem;</span>
<span class="source-line-no">034</span><span id="line-34">import org.apache.hadoop.fs.Path;</span>
<span class="source-line-no">035</span><span id="line-35">import org.apache.hadoop.hbase.DoNotRetryIOException;</span>
<span class="source-line-no">036</span><span id="line-36">import org.apache.hadoop.hbase.ExtendedCell;</span>
<span class="source-line-no">037</span><span id="line-37">import org.apache.hadoop.hbase.HBaseClassTestRule;</span>
<span class="source-line-no">038</span><span id="line-38">import org.apache.hadoop.hbase.HBaseTestingUtil;</span>
<span class="source-line-no">039</span><span id="line-39">import org.apache.hadoop.hbase.HConstants;</span>
<span class="source-line-no">040</span><span id="line-40">import org.apache.hadoop.hbase.TableName;</span>
<span class="source-line-no">041</span><span id="line-41">import org.apache.hadoop.hbase.exceptions.ScannerResetException;</span>
<span class="source-line-no">042</span><span id="line-42">import org.apache.hadoop.hbase.regionserver.DelegatingKeyValueScanner;</span>
<span class="source-line-no">043</span><span id="line-43">import org.apache.hadoop.hbase.regionserver.HRegion;</span>
<span class="source-line-no">044</span><span id="line-44">import org.apache.hadoop.hbase.regionserver.HStore;</span>
<span class="source-line-no">045</span><span id="line-45">import org.apache.hadoop.hbase.regionserver.KeyValueScanner;</span>
<span class="source-line-no">046</span><span id="line-46">import org.apache.hadoop.hbase.regionserver.RegionServerServices;</span>
<span class="source-line-no">047</span><span id="line-47">import org.apache.hadoop.hbase.regionserver.ReversedStoreScanner;</span>
<span class="source-line-no">048</span><span id="line-48">import org.apache.hadoop.hbase.regionserver.ScanInfo;</span>
<span class="source-line-no">049</span><span id="line-49">import org.apache.hadoop.hbase.regionserver.StoreScanner;</span>
<span class="source-line-no">050</span><span id="line-50">import org.apache.hadoop.hbase.testclassification.ClientTests;</span>
<span class="source-line-no">051</span><span id="line-51">import org.apache.hadoop.hbase.testclassification.MediumTests;</span>
<span class="source-line-no">052</span><span id="line-52">import org.apache.hadoop.hbase.util.Bytes;</span>
<span class="source-line-no">053</span><span id="line-53">import org.apache.hadoop.hbase.wal.WAL;</span>
<span class="source-line-no">054</span><span id="line-54">import org.junit.AfterClass;</span>
<span class="source-line-no">055</span><span id="line-55">import org.junit.BeforeClass;</span>
<span class="source-line-no">056</span><span id="line-56">import org.junit.ClassRule;</span>
<span class="source-line-no">057</span><span id="line-57">import org.junit.Rule;</span>
<span class="source-line-no">058</span><span id="line-58">import org.junit.Test;</span>
<span class="source-line-no">059</span><span id="line-59">import org.junit.experimental.categories.Category;</span>
<span class="source-line-no">060</span><span id="line-60">import org.junit.rules.TestName;</span>
<span class="source-line-no">061</span><span id="line-61"></span>
<span class="source-line-no">062</span><span id="line-62">@Category({ MediumTests.class, ClientTests.class })</span>
<span class="source-line-no">063</span><span id="line-63">public class TestFromClientSideScanExcpetion {</span>
<span class="source-line-no">064</span><span id="line-64"></span>
<span class="source-line-no">065</span><span id="line-65"> @ClassRule</span>
<span class="source-line-no">066</span><span id="line-66"> public static final HBaseClassTestRule CLASS_RULE =</span>
<span class="source-line-no">067</span><span id="line-67"> HBaseClassTestRule.forClass(TestFromClientSideScanExcpetion.class);</span>
<span class="source-line-no">068</span><span id="line-68"></span>
<span class="source-line-no">069</span><span id="line-69"> protected final static HBaseTestingUtil TEST_UTIL = new HBaseTestingUtil();</span>
<span class="source-line-no">070</span><span id="line-70"></span>
<span class="source-line-no">071</span><span id="line-71"> private static byte[] FAMILY = Bytes.toBytes("testFamily");</span>
<span class="source-line-no">072</span><span id="line-72"></span>
<span class="source-line-no">073</span><span id="line-73"> private static int SLAVES = 3;</span>
<span class="source-line-no">074</span><span id="line-74"></span>
<span class="source-line-no">075</span><span id="line-75"> @Rule</span>
<span class="source-line-no">076</span><span id="line-76"> public TestName name = new TestName();</span>
<span class="source-line-no">077</span><span id="line-77"></span>
<span class="source-line-no">078</span><span id="line-78"> @BeforeClass</span>
<span class="source-line-no">079</span><span id="line-79"> public static void setUpBeforeClass() throws Exception {</span>
<span class="source-line-no">080</span><span id="line-80"> Configuration conf = TEST_UTIL.getConfiguration();</span>
<span class="source-line-no">081</span><span id="line-81"> conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 3);</span>
<span class="source-line-no">082</span><span id="line-82"> conf.setLong(HConstants.HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD, 6000000);</span>
<span class="source-line-no">083</span><span id="line-83"> conf.setClass(HConstants.REGION_IMPL, MyHRegion.class, HRegion.class);</span>
<span class="source-line-no">084</span><span id="line-84"> conf.setBoolean("hbase.client.log.scanner.activity", true);</span>
<span class="source-line-no">085</span><span id="line-85"> // We need more than one region server in this test</span>
<span class="source-line-no">086</span><span id="line-86"> TEST_UTIL.startMiniCluster(SLAVES);</span>
<span class="source-line-no">087</span><span id="line-87"> }</span>
<span class="source-line-no">088</span><span id="line-88"></span>
<span class="source-line-no">089</span><span id="line-89"> @AfterClass</span>
<span class="source-line-no">090</span><span id="line-90"> public static void tearDownAfterClass() throws Exception {</span>
<span class="source-line-no">091</span><span id="line-91"> TEST_UTIL.shutdownMiniCluster();</span>
<span class="source-line-no">092</span><span id="line-92"> }</span>
<span class="source-line-no">093</span><span id="line-93"></span>
<span class="source-line-no">094</span><span id="line-94"> private static AtomicBoolean ON = new AtomicBoolean(false);</span>
<span class="source-line-no">095</span><span id="line-95"> private static AtomicLong REQ_COUNT = new AtomicLong(0);</span>
<span class="source-line-no">096</span><span id="line-96"> private static AtomicBoolean IS_DO_NOT_RETRY = new AtomicBoolean(false); // whether to throw</span>
<span class="source-line-no">097</span><span id="line-97"> // DNRIOE</span>
<span class="source-line-no">098</span><span id="line-98"> private static AtomicBoolean THROW_ONCE = new AtomicBoolean(true); // whether to only throw once</span>
<span class="source-line-no">099</span><span id="line-99"></span>
<span class="source-line-no">100</span><span id="line-100"> private static void reset() {</span>
<span class="source-line-no">101</span><span id="line-101"> ON.set(false);</span>
<span class="source-line-no">102</span><span id="line-102"> REQ_COUNT.set(0);</span>
<span class="source-line-no">103</span><span id="line-103"> IS_DO_NOT_RETRY.set(false);</span>
<span class="source-line-no">104</span><span id="line-104"> THROW_ONCE.set(true);</span>
<span class="source-line-no">105</span><span id="line-105"> }</span>
<span class="source-line-no">106</span><span id="line-106"></span>
<span class="source-line-no">107</span><span id="line-107"> private static void inject() {</span>
<span class="source-line-no">108</span><span id="line-108"> ON.set(true);</span>
<span class="source-line-no">109</span><span id="line-109"> }</span>
<span class="source-line-no">110</span><span id="line-110"></span>
<span class="source-line-no">111</span><span id="line-111"> public static final class MyHRegion extends HRegion {</span>
<span class="source-line-no">112</span><span id="line-112"></span>
<span class="source-line-no">113</span><span id="line-113"> @SuppressWarnings("deprecation")</span>
<span class="source-line-no">114</span><span id="line-114"> public MyHRegion(Path tableDir, WAL wal, FileSystem fs, Configuration confParam,</span>
<span class="source-line-no">115</span><span id="line-115"> RegionInfo regionInfo, TableDescriptor htd, RegionServerServices rsServices) {</span>
<span class="source-line-no">116</span><span id="line-116"> super(tableDir, wal, fs, confParam, regionInfo, htd, rsServices);</span>
<span class="source-line-no">117</span><span id="line-117"> }</span>
<span class="source-line-no">118</span><span id="line-118"></span>
<span class="source-line-no">119</span><span id="line-119"> @Override</span>
<span class="source-line-no">120</span><span id="line-120"> protected HStore instantiateHStore(ColumnFamilyDescriptor family, boolean warmup)</span>
<span class="source-line-no">121</span><span id="line-121"> throws IOException {</span>
<span class="source-line-no">122</span><span id="line-122"> return new MyHStore(this, family, conf, warmup);</span>
<span class="source-line-no">123</span><span id="line-123"> }</span>
<span class="source-line-no">124</span><span id="line-124"> }</span>
<span class="source-line-no">125</span><span id="line-125"></span>
<span class="source-line-no">126</span><span id="line-126"> public static final class MyHStore extends HStore {</span>
<span class="source-line-no">127</span><span id="line-127"></span>
<span class="source-line-no">128</span><span id="line-128"> public MyHStore(HRegion region, ColumnFamilyDescriptor family, Configuration confParam,</span>
<span class="source-line-no">129</span><span id="line-129"> boolean warmup) throws IOException {</span>
<span class="source-line-no">130</span><span id="line-130"> super(region, family, confParam, warmup);</span>
<span class="source-line-no">131</span><span id="line-131"> }</span>
<span class="source-line-no">132</span><span id="line-132"></span>
<span class="source-line-no">133</span><span id="line-133"> @Override</span>
<span class="source-line-no">134</span><span id="line-134"> protected KeyValueScanner createScanner(Scan scan, ScanInfo scanInfo,</span>
<span class="source-line-no">135</span><span id="line-135"> NavigableSet&lt;byte[]&gt; targetCols, long readPt) throws IOException {</span>
<span class="source-line-no">136</span><span id="line-136"> return scan.isReversed()</span>
<span class="source-line-no">137</span><span id="line-137"> ? new ReversedStoreScanner(this, scanInfo, scan, targetCols, readPt)</span>
<span class="source-line-no">138</span><span id="line-138"> : new MyStoreScanner(this, scanInfo, scan, targetCols, readPt);</span>
<span class="source-line-no">139</span><span id="line-139"> }</span>
<span class="source-line-no">140</span><span id="line-140"> }</span>
<span class="source-line-no">141</span><span id="line-141"></span>
<span class="source-line-no">142</span><span id="line-142"> public static final class MyStoreScanner extends StoreScanner {</span>
<span class="source-line-no">143</span><span id="line-143"> public MyStoreScanner(HStore store, ScanInfo scanInfo, Scan scan, NavigableSet&lt;byte[]&gt; columns,</span>
<span class="source-line-no">144</span><span id="line-144"> long readPt) throws IOException {</span>
<span class="source-line-no">145</span><span id="line-145"> super(store, scanInfo, scan, columns, readPt);</span>
<span class="source-line-no">146</span><span id="line-146"> }</span>
<span class="source-line-no">147</span><span id="line-147"></span>
<span class="source-line-no">148</span><span id="line-148"> @Override</span>
<span class="source-line-no">149</span><span id="line-149"> protected List&lt;KeyValueScanner&gt; selectScannersFrom(HStore store,</span>
<span class="source-line-no">150</span><span id="line-150"> List&lt;? extends KeyValueScanner&gt; allScanners) {</span>
<span class="source-line-no">151</span><span id="line-151"> List&lt;KeyValueScanner&gt; scanners = super.selectScannersFrom(store, allScanners);</span>
<span class="source-line-no">152</span><span id="line-152"> List&lt;KeyValueScanner&gt; newScanners = new ArrayList&lt;&gt;(scanners.size());</span>
<span class="source-line-no">153</span><span id="line-153"> for (KeyValueScanner scanner : scanners) {</span>
<span class="source-line-no">154</span><span id="line-154"> newScanners.add(new DelegatingKeyValueScanner(scanner) {</span>
<span class="source-line-no">155</span><span id="line-155"> @Override</span>
<span class="source-line-no">156</span><span id="line-156"> public boolean reseek(ExtendedCell key) throws IOException {</span>
<span class="source-line-no">157</span><span id="line-157"> if (ON.get()) {</span>
<span class="source-line-no">158</span><span id="line-158"> REQ_COUNT.incrementAndGet();</span>
<span class="source-line-no">159</span><span id="line-159"> if (!THROW_ONCE.get() || REQ_COUNT.get() == 1) {</span>
<span class="source-line-no">160</span><span id="line-160"> if (IS_DO_NOT_RETRY.get()) {</span>
<span class="source-line-no">161</span><span id="line-161"> throw new DoNotRetryIOException("Injected exception");</span>
<span class="source-line-no">162</span><span id="line-162"> } else {</span>
<span class="source-line-no">163</span><span id="line-163"> throw new IOException("Injected exception");</span>
<span class="source-line-no">164</span><span id="line-164"> }</span>
<span class="source-line-no">165</span><span id="line-165"> }</span>
<span class="source-line-no">166</span><span id="line-166"> }</span>
<span class="source-line-no">167</span><span id="line-167"> return super.reseek(key);</span>
<span class="source-line-no">168</span><span id="line-168"> }</span>
<span class="source-line-no">169</span><span id="line-169"> });</span>
<span class="source-line-no">170</span><span id="line-170"> }</span>
<span class="source-line-no">171</span><span id="line-171"> return newScanners;</span>
<span class="source-line-no">172</span><span id="line-172"> }</span>
<span class="source-line-no">173</span><span id="line-173"> }</span>
<span class="source-line-no">174</span><span id="line-174"></span>
<span class="source-line-no">175</span><span id="line-175"> /**</span>
<span class="source-line-no">176</span><span id="line-176"> * Tests the case where a Scan can throw an IOException in the middle of the seek / reseek leaving</span>
<span class="source-line-no">177</span><span id="line-177"> * the server side RegionScanner to be in dirty state. The client has to ensure that the</span>
<span class="source-line-no">178</span><span id="line-178"> * ClientScanner does not get an exception and also sees all the data.</span>
<span class="source-line-no">179</span><span id="line-179"> */</span>
<span class="source-line-no">180</span><span id="line-180"> @Test</span>
<span class="source-line-no">181</span><span id="line-181"> public void testClientScannerIsResetWhenScanThrowsIOException()</span>
<span class="source-line-no">182</span><span id="line-182"> throws IOException, InterruptedException {</span>
<span class="source-line-no">183</span><span id="line-183"> reset();</span>
<span class="source-line-no">184</span><span id="line-184"> THROW_ONCE.set(true); // throw exceptions only once</span>
<span class="source-line-no">185</span><span id="line-185"> TableName tableName = TableName.valueOf(name.getMethodName());</span>
<span class="source-line-no">186</span><span id="line-186"> try (Table t = TEST_UTIL.createTable(tableName, FAMILY)) {</span>
<span class="source-line-no">187</span><span id="line-187"> int rowCount = TEST_UTIL.loadTable(t, FAMILY, false);</span>
<span class="source-line-no">188</span><span id="line-188"> TEST_UTIL.getAdmin().flush(tableName);</span>
<span class="source-line-no">189</span><span id="line-189"> inject();</span>
<span class="source-line-no">190</span><span id="line-190"> int actualRowCount = TEST_UTIL.countRows(t, new Scan().addColumn(FAMILY, FAMILY));</span>
<span class="source-line-no">191</span><span id="line-191"> assertEquals(rowCount, actualRowCount);</span>
<span class="source-line-no">192</span><span id="line-192"> }</span>
<span class="source-line-no">193</span><span id="line-193"> assertTrue(REQ_COUNT.get() &gt; 0);</span>
<span class="source-line-no">194</span><span id="line-194"> }</span>
<span class="source-line-no">195</span><span id="line-195"></span>
<span class="source-line-no">196</span><span id="line-196"> /**</span>
<span class="source-line-no">197</span><span id="line-197"> * Tests the case where a coprocessor throws a DoNotRetryIOException in the scan. The expectation</span>
<span class="source-line-no">198</span><span id="line-198"> * is that the exception will bubble up to the client scanner instead of being retried.</span>
<span class="source-line-no">199</span><span id="line-199"> */</span>
<span class="source-line-no">200</span><span id="line-200"> @Test</span>
<span class="source-line-no">201</span><span id="line-201"> public void testScannerThrowsExceptionWhenCoprocessorThrowsDNRIOE()</span>
<span class="source-line-no">202</span><span id="line-202"> throws IOException, InterruptedException {</span>
<span class="source-line-no">203</span><span id="line-203"> reset();</span>
<span class="source-line-no">204</span><span id="line-204"> IS_DO_NOT_RETRY.set(true);</span>
<span class="source-line-no">205</span><span id="line-205"> TableName tableName = TableName.valueOf(name.getMethodName());</span>
<span class="source-line-no">206</span><span id="line-206"> try (Table t = TEST_UTIL.createTable(tableName, FAMILY)) {</span>
<span class="source-line-no">207</span><span id="line-207"> TEST_UTIL.loadTable(t, FAMILY, false);</span>
<span class="source-line-no">208</span><span id="line-208"> TEST_UTIL.getAdmin().flush(tableName);</span>
<span class="source-line-no">209</span><span id="line-209"> inject();</span>
<span class="source-line-no">210</span><span id="line-210"> TEST_UTIL.countRows(t, new Scan().addColumn(FAMILY, FAMILY));</span>
<span class="source-line-no">211</span><span id="line-211"> fail("Should have thrown an exception");</span>
<span class="source-line-no">212</span><span id="line-212"> } catch (DoNotRetryIOException expected) {</span>
<span class="source-line-no">213</span><span id="line-213"> // expected</span>
<span class="source-line-no">214</span><span id="line-214"> }</span>
<span class="source-line-no">215</span><span id="line-215"> assertTrue(REQ_COUNT.get() &gt; 0);</span>
<span class="source-line-no">216</span><span id="line-216"> }</span>
<span class="source-line-no">217</span><span id="line-217"></span>
<span class="source-line-no">218</span><span id="line-218"> /**</span>
<span class="source-line-no">219</span><span id="line-219"> * Tests the case where a coprocessor throws a regular IOException in the scan. The expectation is</span>
<span class="source-line-no">220</span><span id="line-220"> * that the we will keep on retrying, but fail after the retries are exhausted instead of retrying</span>
<span class="source-line-no">221</span><span id="line-221"> * indefinitely.</span>
<span class="source-line-no">222</span><span id="line-222"> */</span>
<span class="source-line-no">223</span><span id="line-223"> @Test</span>
<span class="source-line-no">224</span><span id="line-224"> public void testScannerFailsAfterRetriesWhenCoprocessorThrowsIOE()</span>
<span class="source-line-no">225</span><span id="line-225"> throws IOException, InterruptedException {</span>
<span class="source-line-no">226</span><span id="line-226"> TableName tableName = TableName.valueOf(name.getMethodName());</span>
<span class="source-line-no">227</span><span id="line-227"> reset();</span>
<span class="source-line-no">228</span><span id="line-228"> THROW_ONCE.set(false); // throw exceptions in every retry</span>
<span class="source-line-no">229</span><span id="line-229"> try (Table t = TEST_UTIL.createTable(tableName, FAMILY)) {</span>
<span class="source-line-no">230</span><span id="line-230"> TEST_UTIL.loadTable(t, FAMILY, false);</span>
<span class="source-line-no">231</span><span id="line-231"> TEST_UTIL.getAdmin().flush(tableName);</span>
<span class="source-line-no">232</span><span id="line-232"> inject();</span>
<span class="source-line-no">233</span><span id="line-233"> TEST_UTIL.countRows(t, new Scan().addColumn(FAMILY, FAMILY));</span>
<span class="source-line-no">234</span><span id="line-234"> fail("Should have thrown an exception");</span>
<span class="source-line-no">235</span><span id="line-235"> } catch (ScannerResetException expected) {</span>
<span class="source-line-no">236</span><span id="line-236"> // expected</span>
<span class="source-line-no">237</span><span id="line-237"> } catch (RetriesExhaustedException e) {</span>
<span class="source-line-no">238</span><span id="line-238"> // expected</span>
<span class="source-line-no">239</span><span id="line-239"> assertThat(e.getCause(), instanceOf(ScannerResetException.class));</span>
<span class="source-line-no">240</span><span id="line-240"> }</span>
<span class="source-line-no">241</span><span id="line-241"> assertTrue(REQ_COUNT.get() &gt;= 3);</span>
<span class="source-line-no">242</span><span id="line-242"> }</span>
<span class="source-line-no">243</span><span id="line-243">}</span>
</pre>
</div>
</main>
</body>
</html>