Liang-Chi Hsieh
8f60a90688
HADOOP-17125. Use snappy-java in SnappyCodec ( #2297 )
...
This switches the SnappyCodec to use the java-snappy codec, rather than the native one.
To use the codec, snappy-java.jar (from org.xerial.snappy) needs to be on the classpath.
This comesin as an avro dependency, so it is already on the hadoop-common classpath,
as well as in hadoop-common/lib.
The version used is now managed in the hadoop-project POM; initially 1.1.7.7
Contributed by DB Tsai and Liang-Chi Hsieh
Change-Id: Id52a404a0005480e68917cd17f0a27b7744aea4e
2020-10-06 17:15:17 +01:00
Adam Antal
3ae78e40bf
YARN-10393. MR job live lock caused by completed state container leak in heartbeat between node manager and RM. Contributed by zhenzhao wang and Jim Brennan
...
(cherry picked from commit a1f7e760df
)
2020-10-05 10:10:46 +02:00
bilaharith
d80dfad900
HADOOP-17183. ABFS: Enabling checkaccess on ABFS ( #2331 )
...
Contributed by Bilahari TH
Change-Id: If4224697deed733d6db44145994cdd85547c27d1
2020-10-01 21:29:48 +01:00
Karen Coppage
43c9959b3a
HADOOP-17267. Add debug-level logs in Filesystem.close() ( #2321 )
...
When a filesystem is closed, the FileSystem log will, at debug level,
log the method calling close/closeAll.
At trace level: the full calling stack.
Contributed by Karen Coppage.
Change-Id: I1444f065c171fd31d42b497c92ba4517969f67f0
2020-09-29 16:09:14 +01:00
Wanqiang Ji
eb6134cd22
MAPREDUCE-7289. Fix wrong comment in LongLong.java ( #2338 )
...
(cherry picked from commit 143bdd4188
)
2020-09-29 23:07:58 +09:00
Eric Yang
9176e8fe5d
YARN-9809. Added node manager health status to resource manager registration call.
...
Contributed by Eric Badger via eyang
(cherry picked from commit e8dc862d38
)
2020-09-28 16:41:53 +00:00
Hui Fei
ed19f63998
HADOOP-17277. Correct spelling errors for separator ( #2322 )
...
Contributed by Hui Fei.
(cherry picked from commit 474fa80bfb
)
2020-09-23 15:39:51 +09:00
Kihwal Lee
7eb91ac1b2
HDFS-15581. Access Controlled HttpFS Server. Contributed by Richard Ross.
...
(cherry picked from commit dfc2682213
)
2020-09-22 10:55:26 -05:00
S O'Donnell
5f321df0a0
HDFS-15415. Reduce locking in Datanode DirectoryScanner. Contributed by Stephen O'Donnell
2020-09-22 12:00:02 +01:00
crossfire
c3cb86ba42
HADOOP-17088. Failed to load XInclude files with relative path. ( #2097 )
...
Contributed by Yushi Hayasaka.
Change-Id: I8aad5143c34fb831bef0077f7b659643f8ae073a
2020-09-21 19:13:20 +01:00
Mukund Thakur
7e642ec5a3
HADOOP-17023. Tune S3AFileSystem.listStatus() ( #2257 )
...
S3AFileSystem.listStatus() is optimized for invocations
where the path supplied is a non-empty directory.
The number of S3 requests is significantly reduced, saving
time, money, and reducing the risk of S3 throttling.
Contributed by Mukund Thakur.
Change-Id: I7cc5f87aa16a4819e245e0fbd2aad226bd500f3f
2020-09-21 17:30:15 +01:00
zz
e5e91397de
MAPREDUCE-7294. Only application master should upload resource to Yarn Shared Cache ( #2223 )
...
Contributed by Zhenzhao Wang <zhenzhaowang@gmail.com>
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2020-09-19 23:26:37 -07:00
David Tucker
75bc54a66d
HADOOP-15136. Correct typos in filesystem.md ( #2314 )
...
Contributed by David Tucker
Change-Id: I130e15d4f625a5b1b30967e6cfc1684079dd1f98
2020-09-18 18:31:15 +01:00
Uma Maheswara Rao G
2ce5846bfa
HDFS-15585: ViewDFS#getDelegationToken should not throw UnsupportedOperationException. ( #2312 ). Contributed by Uma Maheswara Rao G.
2020-09-18 15:23:35 +05:30
Uma Maheswara Rao G
1fc1b34633
HDFS-15558: ViewDistributedFileSystem#recoverLease should call super.recoverLease when there are no mounts configured ( #2275 ) Contributed by Uma Maheswara Rao G.
2020-09-18 15:23:12 +05:30
Uma Maheswara Rao G
2d9c5395ef
HDFS-15578: Fix the rename issues with fallback fs enabled ( #2305 ). Contributed by Uma Maheswara Rao G.
...
Co-authored-by: Uma Maheswara Rao G <umagangumalla@cloudera.com>
(cherry picked from commit e4cb0d3514
)
2020-09-16 23:01:03 -07:00
hemanthboyina
94e5c5257f
HDFS-15574. Remove unnecessary sort of block list in DirectoryScanner. Contributed by Stephen O'Donnell.
2020-09-17 09:40:36 +05:30
Akira Ajisaka
74c0764343
HADOOP-17246. Addendum patch for branch-3.3.
2020-09-16 16:45:20 +09:00
Wanqiang Ji
cda7d6ca85
HADOOP-17246. Fix build the hadoop-build Docker image failed ( #2277 )
...
(cherry picked from commit ce86183691
)
2020-09-16 16:24:44 +09:00
Jim Brennan
0ec21b9667
YARN-10430. Log improvements in NodeStatusUpdaterImpl. Contributed by Bilwa S T.
...
(cherry picked from commit 90894ea641
)
2020-09-14 21:22:02 +00:00
Akira Ajisaka
0731c8b5d0
HDFS-15555. RBF: Refresh cacheNS when SocketException occurs. ( #2267 )
...
(cherry picked from commit c78d18023d
)
2020-09-14 11:36:26 +09:00
Uma Maheswara Rao G
1195dac55e
HDFS-15529: getChildFilesystems should include fallback fs as well ( #2234 ). Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit b3660d0147
)
2020-09-12 20:48:59 -07:00
Uma Maheswara Rao G
bfa145dd7c
HDFS-15532: listFiles on root/InternalDir will fail if fallback root has file. ( #2298 ). Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit d2779de3f5
)
2020-09-12 20:43:34 -07:00
zz
2d5ca83078
HADOOP-15891. provide Regex Based Mount Point In Inode Tree ( #2185 ). Contributed by Zhenzhao Wang.
...
Co-authored-by: Zhenzhao Wang <zhenzhaowang@gmail.com>
(cherry picked from commit 12a316cdf9
)
2020-09-12 20:42:06 -07:00
Mingliang Liu
4eccdd950f
HDFS-15573. Only log warning if considerLoad and considerStorageType are both true. Contributed by Stephen O'Donnell
2020-09-12 01:50:28 -07:00
Steve Loughran
aa80bcb1ec
Revert "HADOOP-17244. S3A directory delete tombstones dir markers prematurely. ( #2280 )"
...
This reverts commit 0c82eb0324
.
Change-Id: I6bd100d9de19660b0f28ee0ab16faf747d6d9f05
2020-09-11 18:07:05 +01:00
Eric E Payne
87ff2f5597
YARN-10390: LeafQueue: retain user limits cache across assignContainers() calls. Contributed by Samir Khan (samkhan).
...
(cherry picked from commit 9afec2ed17
)
2020-09-11 16:19:09 +00:00
hemanthboyina
a2bc0dcd21
HDFS-15564. Add Test annotation for TestPersistBlocks#testRestartDfsWithSync. Contributed by Fei Hui.
...
(cherry picked from commit 2a6fdcedeb
)
2020-09-11 18:22:49 +05:30
Steve Loughran
0c82eb0324
HADOOP-17244. S3A directory delete tombstones dir markers prematurely. ( #2280 )
...
This changes directory tree deletion so that only files are incrementally deleted
from S3Guard after the objects are deleted; the directories are left alone
until metadataStore.deleteSubtree(path) is invoke.
This avoids directory tombstones being added above files/child directories,
which stop the treewalk and delete phase from working.
Also:
* Callback to delete objects splits files and dirs so that
any problems deleting the dirs doesn't trigger s3guard updates
* New statistic to measure #of objects deleted, alongside request count.
* Callback listFilesAndEmptyDirectories renamed listFilesAndDirectoryMarkers
to clarify behavior.
* Test enhancements to replicate the failure and verify the fix
Contributed by Steve Loughran
Change-Id: I0e6ea2c35e487267033b1664228c8837279a35c7
2020-09-10 17:29:33 +01:00
Brahma Reddy Battula
ea37a05d4b
YARN-10397. SchedulerRequest should be forwarded to scheduler if custom scheduler supports placement constraints. Contributed by Bilwa S T.
...
(cherry picked from commit 43572fc7f8
)
2020-09-09 17:09:35 +05:30
Steve Loughran
262c575fab
HADOOP-17181. Handle transient stream read failures in FileSystem contract tests ( #2286 )
...
Contributed by Steve Loughran.
* Fixes AbstractContractSeekTest test to use readFully
* Doesn't do this to AbstractContractUnbufferTest test as it changes the test too much.
Instead just notes in the error that this may be transient
The issue is that read(buffer) doesn't guarantee that the buffer is filled, only that it will
read up to a point, and that may be just be the amount of data left in the TCP packet.
readFully corrects for this, but using it in the unbuffer test runs the risk that what
is tested for in terms of unbuffering doesn't actually get validated.
Change-Id: I046eadb69b80ba0aac468b354c82c4d510dc3699
2020-09-09 12:01:47 +01:00
bibinchundatt
acb219b9c9
YARN-10369. Make NMTokenSecretManagerInRM sending NMToken for nodeId DEBUG. Contributed by Jim Brennan.
...
(cherry picked from commit 5d8600e80a
)
2020-09-08 20:42:27 +00:00
Eric Badger
59e8508ce2
[YARN-10353] Log vcores used and cumulative cpu in containers monitor.
...
Contributed by Jim Brennan
(cherry picked from commit 736bed6d6d
)
2020-09-08 15:37:35 +00:00
Mehakmeet Singh
ccceec8af0
HADOOP-17158. Test timeout for ITestAbfsInputStreamStatistics#testReadAheadCounters ( #2272 )
...
Contributed by: Mehakmeet Singh.
Change-Id: I7ebfa5cd1b5d25f7a750f0c645d7d93c81e89240
2020-09-08 14:02:28 +01:00
Mehakmeet Singh
28f1ded9fe
HADOOP-17113. Adding ReadAhead Counters in ABFS ( #2154 )
...
Contributed by Mehakmeet Singh
Change-Id: I6bbd8165385a9267ed64831bb1efa18b6554feb1
2020-09-08 14:02:02 +01:00
Mehakmeet Singh
7970710418
HADOOP-17229. No update of bytes received counter value after response failure occurs in ABFS ( #2264 )
...
Contributed by Mehakmeet Singh
Change-Id: Ia9ad1b87a460b10d27486bd00ee67c3cedd2b5b5
2020-09-08 13:26:24 +01:00
Adam Antal
5710005a19
YARN-10332. RESOURCE_UPDATE event was repeatedly registered in DECOMMISSIONING state. Contributed by yehuanhuan
...
(cherry picked from commit 34fe74da0e
)
2020-09-07 11:46:30 +02:00
Mukund Thakur
5236c96ead
HADOOP-17167 ITestS3AEncryptionWithDefaultS3Settings failing ( #2187 )
...
Now skips ITestS3AEncryptionWithDefaultS3Settings.testEncryptionOverRename
when server side encryption is not set to sse:kms
Contributed by Mukund Thakur
Change-Id: Ifd83d353e9c7c6f7e1195a2c2f138d85cf876bb1
2020-09-04 15:00:30 +01:00
Steve Loughran
38354006f8
HADOOP-17227. S3A Marker Tool tuning ( #2254 )
...
Contributed by Steve Loughran.
2020-09-04 14:58:54 +01:00
Steve Loughran
1b9109d237
HDFS-15471. TestHDFSContractMultipartUploader failing ( #2252 )
...
Contributed by Steve Loughran
(Was: broken by Steve Loughran)
Change-Id: If6a82706f3ea6d802bc6da03c2a2ca734e30388f
2020-08-28 15:47:06 +01:00
Mehakmeet Singh
f6e1ed4f6b
HADOOP-17194. Adding Context class for AbfsClient in ABFS ( #2216 )
...
Contributed by Mehakmeet Singh.
Change-Id: I120c9a068d758d8e5d071c878a3b7fbeb95e4de6
2020-08-27 11:28:37 +01:00
sguggilam
fcb80c1ade
HADOOP-17159. Make UGI support forceful relogin from keytab ignoring the last login time ( #2249 )
...
Contributed by Sandeep Guggilam.
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Steve Loughran <stevel@apache.org>
2020-08-26 23:49:31 -07:00
Stephen O'Donnell
a9ce6001ea
HDFS-15540. Directories protected from delete can still be moved to the trash. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 2ffe00fc46
)
2020-08-26 23:07:27 -07:00
Ayush Saxena
9eaa3520e6
HDFS-15243. Add an option to prevent sub-directories of protected directories from deletion. Contributed by liuyanyu.
...
(cherry picked from commit 0fe49036e5
)
2020-08-26 23:07:22 -07:00
Mingliang Liu
ee7d214118
Revert "HADOOP-17159 Ability for forceful relogin in UserGroupInformation class ( #2197 )"
...
This reverts commit da129a67bb
.
2020-08-26 11:22:46 -07:00
hemanthboyina
ac0a377779
HDFS-15536. RBF: Clear Quota in Router was not consistent.
...
(cherry picked from commit 6e618b6a7e
)
2020-08-26 13:04:47 +05:30
Uma Maheswara Rao G
ba0eca6a2c
HDFS-15533: Provide DFS API compatible class, but use ViewFileSystemOverloadScheme inside. ( #2229 ). Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit dd013f2fdf
)
2020-08-25 12:00:52 -07:00
S O'Donnell
97d6058aa6
HDFS-14852. Removing from LowRedundancyBlocks does not remove the block from all queues. Contributed by Fei Hui.
...
(cherry picked from commit 6a49bf9bff
)
2020-08-25 15:37:52 +01:00
Mukund Thakur
0840c0c1f3
HADOOP-17074. S3A Listing to be fully asynchronous. ( #2207 )
...
Contributed by Mukund Thakur.
Change-Id: I1b0574a0c9ebc0805f285dd5280a00e5add081f1
2020-08-25 11:30:42 +01:00
sguggilam
da129a67bb
HADOOP-17159 Ability for forceful relogin in UserGroupInformation class ( #2197 )
...
Contributed by Sandeep Guggilam.
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Steve Loughran <stevel@apache.org>
2020-08-24 23:40:56 -07:00