Skip to content

Commit ed7aecf

Browse files
authored
HADOOP-18576. Java 11 JavaDoc fails due to missing package comments (#5344)
Add JavaDoc comments to package-info.java to avoid errors resulting from the use of Hadoop annotations. Contributed by Steve Vaughan Jr
1 parent d79e340 commit ed7aecf

File tree

15 files changed

+75
-2
lines changed

15 files changed

+75
-2
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/local/package-info.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Filesystem implementations that allow Hadoop to read directly from
21+
* the local file system.
22+
*/
1823
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
1924
@InterfaceStability.Unstable
2025
package org.apache.hadoop.fs.local;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/package-info.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Support for the execution of a file system command.
21+
*/
1822
@InterfaceAudience.Private
1923
@InterfaceStability.Unstable
2024
package org.apache.hadoop.fs.shell;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/package-info.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Support for embedded HTTP services.
21+
*/
1822
@InterfaceAudience.LimitedPrivate({"HBase", "HDFS", "MapReduce"})
1923
@InterfaceStability.Unstable
2024
package org.apache.hadoop.http;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/bzip2/package-info.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Implementation of compression/decompression for the BZip2
21+
* compression algorithm.
22+
*/
1823
@InterfaceAudience.Private
1924
@InterfaceStability.Unstable
2025
package org.apache.hadoop.io.compress.bzip2;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/lz4/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Implementation of compression/decompression for the LZ4
21+
* compression algorithm.
22+
*
23+
* @see <a href="http://code.google.com/p/lz4/">LZ4</a>
24+
*/
1825
@InterfaceAudience.Private
1926
@InterfaceStability.Unstable
2027
package org.apache.hadoop.io.compress.lz4;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/snappy/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Implementation of compression/decompression for the Snappy
21+
* compression algorithm.
22+
*
23+
* @see <a href="http://code.google.com/p/snappy/">Snappy</a>
24+
*/
1825
@InterfaceAudience.Private
1926
@InterfaceStability.Unstable
2027
package org.apache.hadoop.io.compress.snappy;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/zlib/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Implementation of compression/decompression based on the popular
21+
* gzip compressed file format.
22+
*
23+
* @see <a href="http://www.gzip.org/">gzip</a>
24+
*/
1825
@InterfaceAudience.Private
1926
@InterfaceStability.Unstable
2027
package org.apache.hadoop.io.compress.zlib;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/zstd/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Implementation of compression/decompression based on the zStandard
21+
* compression algorithm.
22+
*
23+
* @see <a href="https://github.com/facebook/zstd">zStandard</a>
24+
*/
1825
@InterfaceAudience.Private
1926
@InterfaceStability.Unstable
2027
package org.apache.hadoop.io.compress.zstd;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/package-info.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Various native IO-related calls not available in Java. These
21+
* functions should generally be used alongside a fallback to another
22+
* more portable mechanism.
23+
*/
1824
@InterfaceAudience.Private
1925
@InterfaceStability.Unstable
2026
package org.apache.hadoop.io.nativeio;

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/package-info.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18+
19+
/**
20+
* Support for service-level authorization.
21+
*/
1822
@InterfaceAudience.Public
1923
@InterfaceStability.Evolving
2024
package org.apache.hadoop.security.authorize;

0 commit comments

Comments
 (0)