You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mi...@apache.org on 2015/10/22 02:06:55 UTC

svn commit: r1709937 [4/7] - in /hbase/hbase.apache.org/trunk: ./ devapidocs/ devapidocs/org/apache/hadoop/hbase/class-use/ devapidocs/org/apache/hadoop/hbase/regionserver/ devapidocs/org/apache/hadoop/hbase/tmpl/common/ devapidocs/org/apache/hadoop/hb...

Modified: hbase/hbase.apache.org/trunk/xref/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/xref/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html?rev=1709937&r1=1709936&r2=1709937&view=diff
==============================================================================
--- hbase/hbase.apache.org/trunk/xref/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html (original)
+++ hbase/hbase.apache.org/trunk/xref/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html Thu Oct 22 00:06:53 2015
@@ -597,23 +597,23 @@
 <a class="jxr_linenumber" name="587" href="#587">587</a>         <strong class="jxr_keyword">if</strong> (top) {
 <a class="jxr_linenumber" name="588" href="#588">588</a>           <em class="jxr_comment">//check if larger than last key.</em>
 <a class="jxr_linenumber" name="589" href="#589">589</a>           <a href="../../../../../org/apache/hadoop/hbase/KeyValue.html">KeyValue</a> splitKey = KeyValueUtil.createFirstOnRow(splitRow);
-<a class="jxr_linenumber" name="590" href="#590">590</a>           <a href="../../../../../org/apache/hadoop/hbase/Cell.html">Cell</a> lastKey = f.createReader().getLastKey();
+<a class="jxr_linenumber" name="590" href="#590">590</a>           <a href="../../../../../org/apache/hadoop/hbase/Cell.html">Cell</a> lastKey = f.getLastKey();
 <a class="jxr_linenumber" name="591" href="#591">591</a>           <em class="jxr_comment">// If lastKey is null means storefile is empty.</em>
 <a class="jxr_linenumber" name="592" href="#592">592</a>           <strong class="jxr_keyword">if</strong> (lastKey == <strong class="jxr_keyword">null</strong>) {
 <a class="jxr_linenumber" name="593" href="#593">593</a>             <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
 <a class="jxr_linenumber" name="594" href="#594">594</a>           }
-<a class="jxr_linenumber" name="595" href="#595">595</a>           <strong class="jxr_keyword">if</strong> (f.getReader().getComparator().compare(splitKey, lastKey) &gt; 0) {
+<a class="jxr_linenumber" name="595" href="#595">595</a>           <strong class="jxr_keyword">if</strong> (f.getComparator().compare(splitKey, lastKey) &gt; 0) {
 <a class="jxr_linenumber" name="596" href="#596">596</a>             <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
 <a class="jxr_linenumber" name="597" href="#597">597</a>           }
 <a class="jxr_linenumber" name="598" href="#598">598</a>         } <strong class="jxr_keyword">else</strong> {
 <a class="jxr_linenumber" name="599" href="#599">599</a>           <em class="jxr_comment">//check if smaller than first key</em>
 <a class="jxr_linenumber" name="600" href="#600">600</a>           <a href="../../../../../org/apache/hadoop/hbase/KeyValue.html">KeyValue</a> splitKey = KeyValueUtil.createLastOnRow(splitRow);
-<a class="jxr_linenumber" name="601" href="#601">601</a>           <a href="../../../../../org/apache/hadoop/hbase/Cell.html">Cell</a> firstKey = f.createReader().getFirstKey();
+<a class="jxr_linenumber" name="601" href="#601">601</a>           <a href="../../../../../org/apache/hadoop/hbase/Cell.html">Cell</a> firstKey = f.getFirstKey();
 <a class="jxr_linenumber" name="602" href="#602">602</a>           <em class="jxr_comment">// If firstKey is null means storefile is empty.</em>
 <a class="jxr_linenumber" name="603" href="#603">603</a>           <strong class="jxr_keyword">if</strong> (firstKey == <strong class="jxr_keyword">null</strong>) {
 <a class="jxr_linenumber" name="604" href="#604">604</a>             <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
 <a class="jxr_linenumber" name="605" href="#605">605</a>           }
-<a class="jxr_linenumber" name="606" href="#606">606</a>           <strong class="jxr_keyword">if</strong> (f.getReader().getComparator().compare(splitKey, firstKey) &lt; 0) {
+<a class="jxr_linenumber" name="606" href="#606">606</a>           <strong class="jxr_keyword">if</strong> (f.getComparator().compare(splitKey, firstKey) &lt; 0) {
 <a class="jxr_linenumber" name="607" href="#607">607</a>             <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
 <a class="jxr_linenumber" name="608" href="#608">608</a>           }
 <a class="jxr_linenumber" name="609" href="#609">609</a>         }