Skip to content

Commit 212fa2e

Browse files
KangZhiDongApache9
authored andcommitted
HBASE-22962 Fix typo in javadoc description (#569)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
1 parent 4af1b0e commit 212fa2e

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

hbase-common/src/main/java/org/apache/hadoop/hbase/util/CommonFSUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public static String removeWALRootPath(Path path, final Configuration conf) thro
337337
}
338338

339339
/**
340-
* Return the 'path' component of a Path. In Hadoop, Path is an URI. This
340+
* Return the 'path' component of a Path. In Hadoop, Path is a URI. This
341341
* method returns the 'path' component of a Path's URI: e.g. If a Path is
342342
* <code>hdfs://example.org:9000/hbase_trunk/TestTable/compaction.dir</code>,
343343
* this method returns <code>/hbase_trunk/TestTable/compaction.dir</code>.

hbase-http/src/main/java/org/apache/hadoop/hbase/http/jmx/JMXJsonServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public class JMXJsonServlet extends HttpServlet {
119119
/**
120120
* If query string includes 'description', then we will emit bean and attribute descriptions to
121121
* output IFF they are not null and IFF the description is not the same as the attribute name:
122-
* i.e. specify an URL like so: /jmx?description=true
122+
* i.e. specify a URL like so: /jmx?description=true
123123
*/
124124
private static final String INCLUDE_DESCRIPTION = "description";
125125

hbase-http/src/test/java/org/apache/hadoop/hbase/http/TestGlobalFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ static void access(String urlstring) throws IOException {
114114
public void testServletFilter() throws Exception {
115115
Configuration conf = new Configuration();
116116

117-
//start a http server with CountingFilter
117+
//start an http server with CountingFilter
118118
conf.set(HttpServer.FILTER_INITIALIZERS_PROPERTY,
119119
RecordingFilter.Initializer.class.getName());
120120
HttpServer http = createTestServer(conf);

hbase-http/src/test/java/org/apache/hadoop/hbase/http/TestPathFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static void access(String urlstring) throws IOException {
115115
public void testPathSpecFilters() throws Exception {
116116
Configuration conf = new Configuration();
117117

118-
//start a http server with CountingFilter
118+
//start an http server with CountingFilter
119119
conf.set(HttpServer.FILTER_INITIALIZERS_PROPERTY,
120120
RecordingFilter.Initializer.class.getName());
121121
String[] pathSpecs = { "/path", "/path/*" };

hbase-http/src/test/java/org/apache/hadoop/hbase/http/TestServletFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static void access(String urlstring) throws IOException {
125125
public void testServletFilter() throws Exception {
126126
Configuration conf = new Configuration();
127127

128-
//start a http server with CountingFilter
128+
//start an http server with CountingFilter
129129
conf.set(HttpServer.FILTER_INITIALIZERS_PROPERTY,
130130
SimpleFilter.Initializer.class.getName());
131131
HttpServer http = createTestServer(conf);
@@ -187,7 +187,7 @@ public void initFilter(FilterContainer container, Configuration conf) {
187187
@Test
188188
public void testServletFilterWhenInitThrowsException() throws Exception {
189189
Configuration conf = new Configuration();
190-
// start a http server with ErrorFilter
190+
// start an http server with ErrorFilter
191191
conf.set(HttpServer.FILTER_INITIALIZERS_PROPERTY,
192192
ErrorFilter.Initializer.class.getName());
193193
HttpServer http = createTestServer(conf);

hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Response.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.apache.http.HttpResponse;
3030

3131
/**
32-
* The HTTP result code, response headers, and body of a HTTP response.
32+
* The HTTP result code, response headers, and body of an HTTP response.
3333
*/
3434
@InterfaceAudience.Public
3535
public class Response {

hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheableDeserializerIdManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public class CacheableDeserializerIdManager {
3434
private static final AtomicInteger identifier = new AtomicInteger(0);
3535

3636
/**
37-
* Register the given cacheable deserializer and generate an unique identifier
38-
* id for it
39-
* @param cd
37+
* Register the given {@link Cacheable} -- usually an hfileblock instance, these implement
38+
* the Cacheable Interface -- deserializer and generate a unique identifier id for it and return
39+
* this as our result.
4040
* @return the identifier of given cacheable deserializer
4141
*/
4242
public static int registerDeserializer(CacheableDeserializer<Cacheable> cd) {

hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ public void doGet(HttpServletRequest request,
457457
redirectHost = request.getServerName();
458458
if(!Addressing.isLocalAddress(InetAddress.getByName(redirectHost))) {
459459
LOG.warn("Couldn't resolve '" + redirectHost + "' as an address local to this node and '" +
460-
MASTER_HOSTNAME_KEY + "' is not set; client will get a HTTP 400 response. If " +
460+
MASTER_HOSTNAME_KEY + "' is not set; client will get an HTTP 400 response. If " +
461461
"your HBase deployment relies on client accessible names that the region server process " +
462462
"can't resolve locally, then you should set the previously mentioned configuration variable " +
463463
"to an appropriate hostname.");

hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSyncUp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class DummyServer implements Server {
105105
ZKWatcher zkw;
106106

107107
DummyServer(ZKWatcher zkw) {
108-
// an unique name in case the first run fails
108+
// a unique name in case the first run fails
109109
hostname = System.currentTimeMillis() + ".SyncUpTool.replication.org";
110110
this.zkw = zkw;
111111
}

hbase-server/src/test/java/org/apache/hadoop/hbase/GenericTestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static String getMethodName() {
5959

6060
/**
6161
* Generates a process-wide unique sequence number.
62-
* @return an unique sequence number
62+
* @return a unique sequence number
6363
*/
6464
public static int uniqueSequenceId() {
6565
return sequence.incrementAndGet();

0 commit comments

Comments
 (0)