Skip to content

Commit c500d40

Browse files
authored
Merge branch 'apache:trunk' into YARN-11394
2 parents bd7fcbb + d5c0465 commit c500d40

File tree

203 files changed

+7143
-2258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+7143
-2258
lines changed

LICENSE-binary

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ io.grpc:grpc-netty:1.26.0
260260
io.grpc:grpc-protobuf:1.26.0
261261
io.grpc:grpc-protobuf-lite:1.26.0
262262
io.grpc:grpc-stub:1.26.0
263-
io.netty:netty:3.10.6.Final
264263
io.netty:netty-all:4.1.77.Final
265264
io.netty:netty-buffer:4.1.77.Final
266265
io.netty:netty-codec:4.1.77.Final
@@ -363,7 +362,7 @@ org.lz4:lz4-java:1.7.1
363362
org.objenesis:objenesis:2.6
364363
org.xerial.snappy:snappy-java:1.0.5
365364
org.yaml:snakeyaml:1.33
366-
org.wildfly.openssl:wildfly-openssl:1.0.7.Final
365+
org.wildfly.openssl:wildfly-openssl:1.1.3.Final
367366

368367

369368
--------------------------------------------------------------------------------

hadoop-common-project/hadoop-common/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,6 @@
200200
<artifactId>assertj-core</artifactId>
201201
<scope>test</scope>
202202
</dependency>
203-
<dependency>
204-
<groupId>org.glassfish.grizzly</groupId>
205-
<artifactId>grizzly-http-servlet</artifactId>
206-
<scope>test</scope>
207-
</dependency>
208203
<dependency>
209204
<groupId>commons-beanutils</groupId>
210205
<artifactId>commons-beanutils</artifactId>

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/CryptoOutputStream.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,15 @@ public synchronized void close() throws IOException {
241241
return;
242242
}
243243
try {
244-
flush();
245-
if (closeOutputStream) {
246-
super.close();
247-
codec.close();
244+
try {
245+
flush();
246+
} finally {
247+
if (closeOutputStream) {
248+
super.close();
249+
codec.close();
250+
}
251+
freeBuffers();
248252
}
249-
freeBuffers();
250253
} finally {
251254
closed = true;
252255
}

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;

0 commit comments

Comments
 (0)