1 /**
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19 package org.apache.hadoop.hbase.mapreduce;
20
21 import java.io.IOException;
22
23 import org.apache.hadoop.hbase.testclassification.LargeTests;
24 import org.junit.Ignore;
25 import org.junit.Test;
26 import org.junit.experimental.categories.Category;
27
28 /**
29 * TestTableInputFormatScan part 2.
30 * @see TestTableInputFormatScanBase
31 */
32 @Category(LargeTests.class)
33 public class TestTableInputFormatScan2 extends TestTableInputFormatScanBase {
34
35 /**
36 * Tests a MR scan using specific start and stop rows.
37 *
38 * @throws IOException
39 * @throws ClassNotFoundException
40 * @throws InterruptedException
41 */
42 @Ignore
43 @Test
44 public void testScanOBBToOPP()
45 throws IOException, InterruptedException, ClassNotFoundException {
46 testScan("obb", "opp", "opo");
47 }
48
49 /**
50 * Tests a MR scan using specific start and stop rows.
51 *
52 * @throws IOException
53 * @throws ClassNotFoundException
54 * @throws InterruptedException
55 */
56 @Ignore
57 @Test
58 public void testScanOBBToQPP()
59 throws IOException, InterruptedException, ClassNotFoundException {
60 testScan("obb", "qpp", "qpo");
61 }
62
63 /**
64 * Tests a MR scan using specific start and stop rows.
65 *
66 * @throws IOException
67 * @throws ClassNotFoundException
68 * @throws InterruptedException
69 */
70 @Ignore
71 @Test
72 public void testScanOPPToEmpty()
73 throws IOException, InterruptedException, ClassNotFoundException {
74 testScan("opp", null, "zzz");
75 }
76
77 /**
78 * Tests a MR scan using specific start and stop rows.
79 *
80 * @throws IOException
81 * @throws ClassNotFoundException
82 * @throws InterruptedException
83 */
84 @Ignore
85 @Test
86 public void testScanYYXToEmpty()
87 throws IOException, InterruptedException, ClassNotFoundException {
88 testScan("yyx", null, "zzz");
89 }
90
91 /**
92 * Tests a MR scan using specific start and stop rows.
93 *
94 * @throws IOException
95 * @throws ClassNotFoundException
96 * @throws InterruptedException
97 */
98 @Ignore
99 @Test
100 public void testScanYYYToEmpty()
101 throws IOException, InterruptedException, ClassNotFoundException {
102 testScan("yyy", null, "zzz");
103 }
104
105 /**
106 * Tests a MR scan using specific start and stop rows.
107 *
108 * @throws IOException
109 * @throws ClassNotFoundException
110 * @throws InterruptedException
111 */
112 @Ignore
113 @Test
114 public void testScanYZYToEmpty()
115 throws IOException, InterruptedException, ClassNotFoundException {
116 testScan("yzy", null, "zzz");
117 }
118
119 @Ignore
120 @Test
121 public void testScanFromConfiguration()
122 throws IOException, InterruptedException, ClassNotFoundException {
123 testScanFromConfiguration("bba", "bbd", "bbc");
124 }
125 }