Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
673 commits
Select commit Hold shift + click to select a range
047144d
YARN-10813. Set default capacity of root for node labels. Contributed…
szilard-nemeth Jun 16, 2021
36a4699
HADOOP-17760. Delete hadoop.ssl.enabled and dfs.https.enable from doc…
tasanuma Jun 17, 2021
4cd5a69
HDFS-13671. Namenode deletes large dir slowly caused by FoldedTreeSet…
hust-hhb Jun 17, 2021
6c6afec
HDFS-16074. Remove an expensive debug string concatenation (#3107)
jojochuang Jun 17, 2021
42f80ed
HADOOP-17724. Add Dockerfile for Debian 10 (#3038)
GauthamBanasandra Jun 17, 2021
adc4360
HDFS-15842. HDFS mover to emit metrics. (#2738)
LeonGao91 Jun 19, 2021
d0f7bb6
HDFS-16078. Remove unused parameters for DatanodeManager.handleLifeli…
tomscut Jun 20, 2021
1aed112
HDFS-16061. DFTestUtil.waitReplication can produce false positives (#…
amahussein Jun 20, 2021
e643684
HDFS-16080. RBF: Invoking method in all locations should break the lo…
virajjasani Jun 20, 2021
d9f8868
HDFS-16079. Improve the block state change log (#3120). Contributed b…
tomscut Jun 20, 2021
8b42eb2
HDFS-16075. Use empty array constants present in StorageType and Data…
virajjasani Jun 21, 2021
9786414
MAPREDUCE-7354. Use empty array constant present in TaskCompletionEve…
virajjasani Jun 21, 2021
e2e5fa9
HDFS-14575. LeaseRenewer#daemon threads leak in DFSClient. Contribute…
Hexiaoqiao Jun 21, 2021
f9996bb
HDFS-16082. Atomic operations on exceptionsSinceLastBalance and faile…
virajjasani Jun 23, 2021
b0cb50c
YARN-10826. [UI2] Upgrade Node.js to v12.22.1. (#3128)
iwasakims Jun 23, 2021
7465205
HADOOP-17766. CI for Debian 10 (#3129)
GauthamBanasandra Jun 23, 2021
3129f61
HDFS-16076. Avoid using slow DataNodes for reading by sorting locatio…
tomscut Jun 24, 2021
64e4dfb
HDFS-16085. Move the getPermissionChecker out of the read lock (#3134…
tomscut Jun 24, 2021
fb0a20b
HADOOP-17769. Upgrade JUnit to 4.13.2. fixes TestBlockRecovery (#3130…
amahussein Jun 24, 2021
38d276f
HADOOP-17771. S3AFS creation fails "Unable to find a region via the r…
steveloughran Jun 24, 2021
8d99d3a
HDFS-16044. Fix getListing call getLocatedBlocks even source is a dir…
Hexiaoqiao Jun 24, 2021
1d42abd
YARN-10780. Optimise retrieval of configured node labels in CS queues…
pbacsko Jun 24, 2021
6a67b4a
Revert "HDFS-16044. Fix getListing call getLocatedBlocks even source …
Hexiaoqiao Jun 25, 2021
b106f39
HADOOP-17764. S3AInputStream read does not re-open the input stream o…
majdyz Jun 25, 2021
9b167ef
YARN-10824. Title not set for JHS and NM webpages. Contributed by Bil…
jbrennan333 Jun 25, 2021
ee5d869
HDFS-13916. Distcp SnapshotDiff to support WebHDFS. Contributed by Xu…
iwasakims Jun 21, 2021
4bdaa8e
YARN-10820. Make GetClusterNodesRequestPBImpl thread safe. Contribute…
PrabhuJoseph Jun 17, 2021
08621d5
YARN-10834. Intra-queue preemption: apps that don't use defined custo…
jbrennan333 Jun 28, 2021
a05a50f
HDFS-16092. Avoid creating LayoutFlags redundant objects (#3150)
virajjasani Jun 29, 2021
13584ca
HDFS-16089. Add metric EcReconstructionValidateTimeMillis for Striped…
tomscut Jun 29, 2021
de37111
HADOOP-17777. Update clover-maven-plugin version from 3.3.0 to 4.4.1 …
jiwq Jun 30, 2021
e7e9b57
HDFS-16096. Delete useless method DirectoryWithQuotaFeature#setQuota …
zhuxiangyi Jun 30, 2021
8589d78
HADOOP-17331. [JDK 16] TestDNS fails (#2884)
aajisaka Jun 30, 2021
877a934
HDFS-16090. Fine grained lock for datanodeNetworkCounts (#3148)
virajjasani Jun 30, 2021
f87ca27
HADOOP-17778. CI for Centos 8 (#3151)
GauthamBanasandra Jul 1, 2021
9dd3d09
HDFS-16086. Add volume information to datanode log for tracing (#3136)
tomscut Jul 1, 2021
19bb247
HDFS-16104. Remove unused parameter and fix java doc for DiskBalancer…
tomscut Jul 1, 2021
a735d9d
HDFS-16099. Make bpServiceToActive to be volatile. (#3159)
zhangshuyan0 Jul 1, 2021
792188a
HDFS-16106. Fix flaky unit test TestDFSShell (#3168)
tomscut Jul 2, 2021
ff4561b
HADOOP-17774. S3A bytesRead FS statistic showing twice the correct va…
mehakmeet Jul 2, 2021
e0fbb44
HADOOP-17290. ABFS: Add Identifiers to Client Request Header (#2520)
sumangala-patki Jul 2, 2021
b8286c7
HDFS-16109. Fix flaky some unit tests since they offen timeout (#3172)
tomscut Jul 4, 2021
90318bd
HDFS-16108. Fix incorrect log placeholders used in JournalNodeSyncer …
virajjasani Jul 5, 2021
8395a88
HADOOP-17250 Lot of short reads can be merged with readahead. (#3110)
mukund-thakur Jul 5, 2021
950c721
HADOOP-17402. Add GCS config to the core-site (#2638)
ravwojdyla Jul 5, 2021
c651a30
HADOOP-17749. Remove lock contention in SelectorPool of SocketIOWithT…
liangxs Jul 6, 2021
1c67bde
HDFS-16110. Remove unused method reportChecksumFailure in DFSClient (…
tomscut Jul 6, 2021
63068eb
HDFS-16101. Remove unuse variable and IoException in ProvidedStorageM…
ayushtkn Jul 6, 2021
9ee6e3a
HADOOP-17775. Remove JavaScript package from Docker environment. (#3137)
iwasakims Jul 7, 2021
8154c9e
MAPREDUCE-7351 - CleanupJob during handle of SIGTERM signal (#3176)
shubhamod Jul 7, 2021
7581895
HDFS-16114. the balancer parameters print error (#3179)
JiaguodongF Jul 7, 2021
0a95820
MAPREDUCE-7353: Mapreduce job fails when NM is stopped. Contributed b…
erichadoop Jul 7, 2021
dcb36d3
HDFS-16088. Standby NameNode process getLiveDatanodeStorageReport req…
tomscut Jul 8, 2021
e002c41
HADOOP-17788. Replace IOUtils#closeQuietly usages by Hadoop's own uti…
virajjasani Jul 8, 2021
37bbb37
HDFS-16121. Iterative snapshot diff report can generate duplicate rec…
bshashikant Jul 9, 2021
e68f3df
HDFS-15796. ConcurrentModificationException error happens on NameNode…
Jul 9, 2021
9eecd03
HADOOP-17794. Add a sample configuration to use ZKDelegationTokenSecr…
aajisaka Jul 9, 2021
c8f5788
HADOOP-17793. Better token validation (#3189)
artem-smotrakov Jul 10, 2021
a49ed1f
HDFS-16122. Fix DistCpContext#toString() (#3191). Contributed by tom…
tomscut Jul 10, 2021
0b57ef9
HADOOP-12665. Document hadoop.security.token.service.use_ip. (#3187)
aajisaka Jul 12, 2021
ebfef3b
HADOOP-17770 WASB : Support disabling buffered reads in positional re…
anoopsjohn Jul 13, 2021
0e77ce3
MAPREDUCE-7356. Remove some duplicate dependencies from mapreduce-cli…
virajjasani Jul 13, 2021
78efa96
HDFS-15785. Datanode to support using DNS to resolve nameservices to …
LeonGao91 Jul 13, 2021
97ccfef
HADOOP-17028. ViewFS should initialize mounted target filesystems laz…
abhishekdas99 Jul 13, 2021
8394fe7
HADOOP-17672.Remove an invalid comment content in the FileContext cla…
jianghuazhu Jul 14, 2021
e9e2e07
HADOOP-17795. Provide fallbacks for callqueue.impl and scheduler.impl…
virajjasani Jul 14, 2021
4b3fcd2
YARN-10456. RM PartitionQueueMetrics records are named QueueMetrics i…
jbrennan333 Jul 15, 2021
09efd6a
HDFS-15650. Make the socket timeout for computing checksum of striped…
crossfire Jul 16, 2021
e30e51f
HADOOP-16272. Upgrade HikariCP to 4.0.3 (#3204)
virajjasani Jul 16, 2021
5ebcefb
HADOOP-17803. Remove WARN logging from LoggingAuditor when executing …
mehakmeet Jul 16, 2021
a02578f
HADOOP-17801. No error message reported when bucket doesn't exist in …
mehakmeet Jul 16, 2021
1338051
HDFS-16127. Improper pipeline close recovery causes a permanent write…
kihwal Jul 16, 2021
d0c0f6a
HDFS-16067. Support Append API in NNThroughputBenchmark. Contributed …
Hexiaoqiao Jul 17, 2021
d66302b
YARN-10855. yarn logs cli fails to retrieve logs if any TFile is corr…
zhuqi-lucas Jul 19, 2021
f2e09c4
YARN-10858. [UI2] YARN-10826 breaks Queue view. (#3213)
iwasakims Jul 20, 2021
adbe2f1
HADOOP-16290. Enable RpcMetrics units to be configurable (#3198)
virajjasani Jul 20, 2021
8fd6d47
HDFS-16087. Fix stuck issue in rbfbalance tool (#3141). Contributed …
lipppppp Jul 20, 2021
a4d547b
YARN-10630. [UI2] Ambiguous queue name resolution (#3214)
9uapaw Jul 21, 2021
b944ae2
YARN-10860. Make max container per heartbeat configs refreshable. Con…
zhuqi-lucas Jul 21, 2021
e24fe6c
HADOOP-17796. Upgrade jetty version to 9.4.43 (#3208)
prasad-acit Jul 22, 2021
d914c1e
YARN-10657. We should make max application per queue to support node …
zhuqi-lucas Jul 22, 2021
e31e4e4
HADOOP-17813. Checkstyle - Allow line length: 100
virajjasani Jul 22, 2021
d2ce8cb
HADOOP-17808. ipc.Client to set interrupt flag after catching Interru…
virajjasani Jul 23, 2021
0e55933
YARN-10829. Support getApplications API in FederationClientIntercepto…
akshatb1 Jul 23, 2021
e7de0ca
HADOOP-17458. S3A to treat "SdkClientException: Data read has a diffe…
bogthe Jul 23, 2021
727d8e6
YARN-10833. Set the X-FRAME-OPTIONS header for the default contexts. …
brumi1024 Jul 24, 2021
72a9c64
HADOOP-17317. [JDK 11] Upgrade dnsjava to remove illegal access warni…
aajisaka Jul 24, 2021
3cbee6e
Addendum HADOOP-17770 WASB : Support disabling buffered reads in posi…
anoopsjohn Jul 25, 2021
6e4d4f4
HDFS-12920. HDFS default value change (with adding time unit) breaks …
aajisaka Jul 25, 2021
e76e46c
[UI2] Bump http-proxy to 1.18.1 (#2891)
dependabot[bot] Jul 25, 2021
386072f
HDFS-16131. Show storage type for failed volumes on namenode web (#32…
tomscut Jul 26, 2021
b3c30e9
HDFS-16140. TestBootstrapAliasmap fails by BindException. (#3229)
aajisaka Jul 26, 2021
fa83a9d
HADOOP-17807. Use separate src dir for platform builds (#3210)
GauthamBanasandra Jul 26, 2021
fe1ba90
HDFS-16139. Update BPServiceActor Scheduler's nextBlockReportTime ato…
virajjasani Jul 27, 2021
6f1504b
HADOOP-13887. Support S3 client side encryption (S3-CSE) using AWS-SD…
mehakmeet Jul 27, 2021
5a34b3d
YARN-6221. Entities missing from ATS when summary log file info got r…
szilard-nemeth Jul 27, 2021
f6085a8
HDFS-16119. start balancer with parameters -hotBlockTimeInterval xxx …
JiaguodongF Jul 27, 2021
4ba3561
HADOOP-17765. ABFS: Use Unique File Paths in Tests. (#3153)
sumangala-patki Jul 27, 2021
c1908a6
HDFS-16111. Add a configuration to RoundRobinVolumeChoosingPolicy to …
zhihaixu2012 Jul 28, 2021
0d9a15b
YARN-9551. TestTimelineClientV2Impl.testSyncCall fails intermittent (…
9uapaw Jul 28, 2021
584a531
HDFS-16145. CopyListing fails with FNF exception with snapshot diff. …
bshashikant Jul 28, 2021
66ef9d6
HDFS-16137.Improve the comments related to FairCallQueue#queues. (#3226)
jianghuazhu Jul 28, 2021
ac7f873
YARN-10727. ParentQueue does not validate the queue on removal. Contr…
szilard-nemeth Jul 28, 2021
d360089
HDFS-16144. Revert HDFS-15372 (Files in snapshots no longer see attri…
Jul 28, 2021
4d4da37
HADOOP-17817. S3A to raise IOE if both S3-CSE and S3Guard enabled (#3…
mehakmeet Jul 28, 2021
60cf4ba
YARN-10790. CS Flexible AQC: Add separate parent and leaf template pr…
szilard-nemeth Jul 28, 2021
6a6b999
YARN-6272. TestAMRMClient#testAMRMClientWithContainerResourceChange f…
szilard-nemeth Jul 28, 2021
31543fe
HADOOP-17814. Provide fallbacks for identity/cost providers and backo…
virajjasani Jul 28, 2021
4d1b6fd
HADOOP-17811: ABFS ExponentialRetryPolicy doesn't pick up configurati…
brianloss Jul 28, 2021
e17bd05
HADOOP-17819. Add extensions to ProtobufRpcEngine RequestHeaderProto.…
hchaverri Jul 27, 2021
809ff97
HDFS-15175. Multiple CloseOp shared block instance causes the standby…
Hexiaoqiao Jul 29, 2021
20c1e20
HDFS-15936.Solve SocketTimeoutException#sendPacket() does not record …
jianghuazhu Jul 29, 2021
c3e8039
YARN-10841. Fix token reset synchronization for UAM response token. (…
minni31 Jul 29, 2021
8095b97
YARN-10628. Add node usage metrics in SLS. Contributed by Vadaga Anan…
szilard-nemeth Jul 29, 2021
e903420
YARN-10663. Add runningApps stats in SLS. Contributed by Vadaga Anany…
szilard-nemeth Jul 29, 2021
fab24cc
YARN-10869. CS considers only the default maximum-allocation-mb/vcore…
brumi1024 Jul 29, 2021
a9603e2
YARN-10856. Prevent ATS v2 health check REST API call if the ATS serv…
brumi1024 Jul 29, 2021
7176927
HADOOP-17815. Run CI for Centos 7 (#3231)
GauthamBanasandra Jul 29, 2021
87457da
YARN-10814. Fallback to RandomSecretProvider if the secret file is em…
tomicooler Jul 30, 2021
d879a39
HDFS-14529. SetTimes to throw FileNotFoundException if inode is not f…
jojochuang Jul 30, 2021
84076ce
HADOOP-17139 Re-enable optimized copyFromLocal implementation in S3AF…
bogthe Jul 30, 2021
de59432
HADOOP-17812. NPE in S3AInputStream read() after failure to reconnect…
wbo4958 Jul 30, 2021
2abb688
MAPREDUCE-7258. HistoryServerRest.html#Task_Counters_API, modify the …
cjn082030 Aug 2, 2021
e64e02b
YARN-10854. Support marking inactive node as untracked without config…
zhuqi-lucas Aug 2, 2021
73192a2
HADOOP-17628. Distcp contract test is really slow with ABFS and S3A; …
steveloughran Aug 2, 2021
6f9bced
HADOOP-17822. fs.s3a.acl.default not working after S3A Audit feature …
steveloughran Aug 2, 2021
b12f3ec
HADOOP-17612. Upgrade Zookeeper to 3.6.3 and Curator to 5.2.0 (#3241)
virajjasani Aug 3, 2021
b04b76b
HDFS-16149.Improve the parameter annotation in FairCallQueue#priority…
jianghuazhu Aug 3, 2021
5101205
YARN-10874. Refactor NM ContainerLaunch#getEnvDependencies's unit tes…
tomicooler Aug 3, 2021
1d9f6c0
HDFS-16146. All three replicas are lost due to not adding a new DataN…
zhangshuyan0 Aug 3, 2021
a9c2aab
YARN-10355. Refactor NM ContainerLaunch.java#orderEnvByDependencies
tomicooler Aug 4, 2021
9c2df41
YARN-10849 Clarify testcase documentation for TestServiceAM#testConta…
Aug 4, 2021
ecf9713
HADOOP-17618. ABFS: Partially obfuscate SAS object IDs in Logs (#2845)
sumangala-patki Aug 4, 2021
e9960b8
YARN-10878. move TestNMSimulator off com.google (#3268)
steveloughran Aug 5, 2021
f2b3110
HADOOP-17823. S3A S3Guard tests to skip if S3-CSE are enabled (#3263)
mehakmeet Aug 5, 2021
ec73be3
HADOOP-17816. Run optional CI for changes in C (#3238)
GauthamBanasandra Aug 5, 2021
c06b3e9
HADOOP-17808. Avoid excessive logging for interruption (ADDENDUM) (#3…
virajjasani Aug 6, 2021
5c3b4a1
HDFS-16153. Avoid evaluation of LOG.debug statement in QuorumJournalM…
wzhallright Aug 6, 2021
1d9587f
HADOOP-17837: Add unresolved endpoint value to UnknownHostException (…
bbeaudreault Aug 6, 2021
4527d2f
HDFS-16154. TestMiniJournalCluster failing intermittently because of …
wzhallright Aug 6, 2021
347053d
HADOOP-17837: Add unresolved endpoint value to UnknownHostException (…
bbeaudreault Aug 6, 2021
f254f96
HADOOP-17787. Refactor fetching of credentials in Jenkins (#3167)
GauthamBanasandra Aug 6, 2021
337ba17
HADOOP-17835. Use CuratorCache implementation instead of PathChildren…
virajjasani Aug 7, 2021
3717ff3
Fix potential heap buffer overflow in hdfs.c. Contributed by Igor Che…
aajisaka Jul 22, 2021
526f946
HADOOP-17370. Upgrade commons-compress to 1.21 (#3274)
aajisaka Aug 8, 2021
3941cd8
HDFS-16151. Improve the parameter comments related to ProtobufRpcEngi…
jianghuazhu Aug 8, 2021
e43c743
HADOOP-17841. Remove ListenerHandle from Hadoop registry (#3278)
virajjasani Aug 9, 2021
50c409c
HDFS-15976. Make mkdtemp cross platform (#2908)
GauthamBanasandra Aug 10, 2021
bc2e34e
opentelemetry using javaagent
kiran-maturi Aug 11, 2021
ae8302f
HADOOP-17844. Upgrade JSON smart to 2.4.7 (#3299)
prasad-acit Aug 14, 2021
b5e787f
HADOOP-17799. Improve the GitHub pull request template (#3277)
aajisaka Aug 14, 2021
8faef36
HADOOP-17834. Bump aliyun-sdk-oss to 3.13.0 (#3261)
smengcl Aug 14, 2021
afb0797
added opentelemetry trace options for hdfs
kiran-maturi Aug 16, 2021
cb999d9
HDFS-16163. Avoid locking entire blockPinningFailures map (#3296)
virajjasani Aug 16, 2021
9cb3833
HDFS-16171. De-flake testDecommissionStatus (#3280)
virajjasani Aug 16, 2021
57a17d8
HADOOP-17825. Add BuiltInGzipCompressor (#3250)
viirya Aug 16, 2021
26bf2c5
HDFS-16162.Improve DFSUtil#checkProtectedDescendants() related parame…
jianghuazhu Aug 17, 2021
1983d6a
YARN-10873: Account for scheduled AM containers before deactivating n…
srinivasst Aug 17, 2021
72f756c
HDFS-16174. Refactor TempFile and TempDir in libhdfs++ (#3303)
GauthamBanasandra Aug 17, 2021
3d7ccf5
HADOOP-17836. Improve logging on ABFS error reporting (#3281)
steveloughran Aug 18, 2021
2bc7d0b
HADOOP-17682. ABFS: Support FileStatus input to OpenFileWithOptions()…
sumangala-patki Aug 18, 2021
f5cf2f3
HDFS-16160. Improve the parameter annotation in DatanodeProtocol#send…
tomscut Aug 19, 2021
8a302d3
HDFS-16177. Bug fix for Util#receiveFile (#3310)
tomscut Aug 19, 2021
9c59c12
HDFS-16178. Make recursive rmdir in libhdfs++ cross platform (#3311)
GauthamBanasandra Aug 20, 2021
55bf7e9
HDFS-16180.FsVolumeImpl.nextBlock should consider that the block met…
Neilxzn Aug 24, 2021
0a7f46c
YARN-10838. Implement an optimised version of Configuration getPropsW…
szilard-nemeth Aug 24, 2021
03dec53
HADOOP-17858. Avoid possible class loading deadlock with VerifierNone…
virajjasani Aug 24, 2021
8ac775d
HADOOP-17854. Run junit in Jenkins only if surefire reports exist (#3…
GauthamBanasandra Aug 24, 2021
a009895
HDFS-16184. De-flake TestBlockScanner#testSkipRecentAccessFile (#3329)
virajjasani Aug 25, 2021
ffc76d9
HDFS-16175.Improve the configurable value of Server #PURGE_INTERVAL_N…
jianghuazhu Aug 25, 2021
e48ed3d
HDFS-16157. Support configuring DNS record to get list of journal nod…
LeonGao91 Aug 26, 2021
ea2cf8c
HDFS-16143. Add Timer in EditLogTailer and de-flake TestEditLogTailer…
virajjasani Aug 26, 2021
a9448b2
HDFS-16173.Improve CopyCommands#Put#executor queue configurability. (…
jianghuazhu Aug 27, 2021
14d0755
YARN-10891. Extend QueueInfo with max-parallel-apps in CS. (#3314)
tomicooler Aug 27, 2021
46b6892
HADOOP-17877. BuiltInGzipCompressor header and trailer should not be …
viirya Aug 29, 2021
643df58
MAPREDUCE-7342. Stop RMService in TestClientRedirect.testRedirect() (…
lzx404243 Aug 29, 2021
beb66b2
HADOOP-17544. Mark KeyProvider as Stable. (#2776)
aajisaka Aug 30, 2021
5fda27a
HADOOP-17869. `fs.s3a.connection.maximum` should be bigger than `fs.s…
dongjoon-hyun Aug 30, 2021
23ce19a
HDFS-16192: ViewDistributedFileSystem#rename wrongly using src in the…
umamaheswararao Aug 31, 2021
bcb01d4
HADOOP-17870. Http Filesystem to qualify relative paths. (#3338)
yellowflash Aug 31, 2021
7670bfd
MAPREDUCE-7311. Clear filesystem statistics after tests in TestTaskPr…
lzx404243 Sep 1, 2021
ce92818
HDFS-15966. Empty the statistical parameters when emptying the redund…
langlaile1221 Sep 1, 2021
cdff57c
HADOOP-17886. Upgrade ant to 1.10.11 (#3371)
amahussein Sep 2, 2021
75e02c4
HADOOP-17874. ExceptionsHandler to add terse/suppressed Exceptions in…
virajjasani Sep 3, 2021
fafa6df
HDFS-16202. Use constants "HdfsClientConfigKeys.Failover.PREFIX" inst…
WeisonWei Sep 3, 2021
aa6f709
HADOOP-15129. Datanode caches namenode DNS lookup failure and cannot …
cnauroth Sep 3, 2021
434dc55
HDFS-16199. Resolve log placeholders in NamenodeBeanMetrics (#3362). …
virajjasani Sep 4, 2021
8949898
HDFS-16194. Simplify the code with DatanodeID#getXferAddrWithHostname…
tomscut Sep 5, 2021
7ac0f7c
HDFS-16138. BlockReportProcessingThread exit doesn't print the actual…
prasad-acit Sep 5, 2021
2f405dd
HDFS-16204. Improve FSDirEncryptionZoneOp related parameter comments.…
jianghuazhu Sep 6, 2021
bfd42c4
HADOOP-17156. ABFS: Release the byte buffers held by input streams in…
mukund-thakur Sep 7, 2021
138a360
HADOOP-17894. CredentialProviderFactory.getProviders() recursion load…
steveloughran Sep 7, 2021
b01edfb
YARN-10884: Handle empty owners to parse log files (#3318)
swathic95 Sep 7, 2021
f8120d2
HDFS-16209. Add description for dfs.namenode.caching.enabled (#3378)
tomscut Sep 8, 2021
de02c64
HADOOP-17897. Allow nested blocks in switch case in checkstyle settin…
iwasakims Sep 8, 2021
14262dd
HADOOP-17899. Avoid using implicit dependency on junit-jupiter-api. (…
iwasakims Sep 8, 2021
90687c0
YARN-10576. Update Capacity Scheduler documentation with JSON-based p…
szilard-nemeth Sep 8, 2021
f15b813
YARN-10522. Document for Flexible Auto Queue Creation in Capacity Sch…
brumi1024 Sep 8, 2021
99bebbf
Add documentation for YARN-10623 auto refresh queue conf in CS (#3279)
zhuqi-lucas Sep 8, 2021
7813961
YARN-10646. TestCapacitySchedulerWeightMode test descriptor comments …
brumi1024 Sep 8, 2021
0b93af8
YARN-10919. Remove LeafQueue#scheduler field (#3382)
JackWangCS Sep 8, 2021
881ddfb
YARN-10901. Permission checking error on an existing directory in Log…
tomicooler Sep 8, 2021
560e910
HADOOP-17857. Check real user ACLs in addition to proxied user ACLs. …
szilard-nemeth Sep 8, 2021
229a1b6
YARN-10870. Missing user filtering check -> yarn.webapp.filter-entity…
szilard-nemeth Sep 8, 2021
f0b4c37
YARN-10829. Follow up: Adding null checks before merging ResourceUsag…
akshatb1 Sep 8, 2021
734d8c2
HDFS-16210. RBF: Add the option of refreshCallQueue to RouterAdmin (#…
symious Sep 9, 2021
0a229ab
HDFS-16207. Remove NN logs stack trace for non-existent xattr query (…
amahussein Sep 9, 2021
3d0b559
HADOOP-17887. Remove the wrapper class GzipOutputStream (#3377)
viirya Sep 9, 2021
b8f9965
HADOOP-17804. Expose prometheus metrics only after a flush and dedupe…
Kimahriman Sep 9, 2021
5dfe0ac
HDFS-16065. RBF: Add metrics to record Router's operations (#3100)
symious Sep 9, 2021
6750af5
YARN-10893. Adding metrics for getClusterMetrics and getApplications …
akshatb1 Sep 9, 2021
70bd0f2
YARN-10914. Simplify duplicated code for tracking ResourceUsage in Ab…
tomicooler Sep 10, 2021
ec0f456
YARN-10910. AbstractCSQueue#setupQueueConfigs: Separate validation lo…
brumi1024 Sep 10, 2021
def0a11
YARN-10852. Optimise CSConfiguration getAllUserWeightsForQueue (#3392)
9uapaw Sep 10, 2021
5b812d3
YARN-10872. Replace getPropsWithPrefix calls in AutoCreatedQueueTempl…
brumi1024 Sep 10, 2021
544af0c
HADOOP-17901. Performance degradation in Text.append() after HADOOP-1…
pbacsko Sep 10, 2021
e1384b5
HDFS-16188. RBF: Router to support resolving monitored namenodes with…
LeonGao91 Sep 10, 2021
3eee20a
HADOOP-17904. Test Result Not Working In Jenkins Result. (#3413). Con…
ayushtkn Sep 10, 2021
6703ca8
HDFS-16221. RBF: Add usage of refreshCallQueue for Router (#3421)
symious Sep 12, 2021
585ad60
HDFS-16197.Simplify getting NNStorage in FSNamesystem. (#3357)
jianghuazhu Sep 12, 2021
b194902
YARN-10903. Fix the headroom check in ParentQueue and RegularContaine…
JackWangCS Sep 13, 2021
409780f
YARN-10928. Support default queue config for minimum-user-limit-perce…
zheng-weihao Sep 13, 2021
69a28f4
HDFS-16187. SnapshotDiff behaviour with Xattrs and Acls is not consis…
bshashikant Sep 13, 2021
81a02c0
HDFS-16223. AvailableSpaceRackFaultTolerantBlockPlacementPolicy shoul…
ayushtkn Sep 13, 2021
0a672ea
HADOOP-17900. Move ClusterStorageCapacityExceededException to Public …
ayushtkn Sep 13, 2021
d36cb10
HDFS-16198. Short circuit read leaks Slot objects when InvalidToken e…
EungsopYoo Sep 14, 2021
08e8d7e
HDFS-15920.Solve the problem that the value of SafeModeMonitor#RECHEC…
jianghuazhu Sep 14, 2021
ad8041f
HDFS-16225. Fix typo for FederationTestUtils (#3428). Contributed by …
tomscut Sep 14, 2021
2b3bde9
YARN-10912. AbstractCSQueue#updateConfigurableResourceRequirement: Se…
tomicooler Sep 14, 2021
ee6d496
YARN-10917. Investigate and simplify CapacitySchedulerConfigValidator…
tomicooler Sep 14, 2021
a795d2f
YARN-10915. AbstractCSQueue: Simplify complex logic in methods: deriv…
brumi1024 Sep 14, 2021
95d639a
HADOOP-17891. Exclude snappy-java and lz4-java from relocation in sha…
viirya Sep 14, 2021
f03e77c
HDFS-16181. [SBN Read] Fix display of JournalNode metric RpcRequestCa…
wzhallright Sep 15, 2021
ca8c17c
HADOOP-17907. FileUtil#fullyDelete deletes contents of sym-linked dir…
zheng-weihao Sep 15, 2021
cf52526
YARN-10935. AM Total Queue Limit goes below per-user AM Limit if pare…
ericbadger Sep 15, 2021
da0b400
HADOOP-17195. OutOfMemory error while performing hdfs CopyFromLocal t…
mehakmeet Sep 15, 2021
0acf6b2
Revert "HADOOP-17195. OutOfMemory error while performing hdfs CopyFro…
steveloughran Sep 15, 2021
85ce2b3
HADOOP-17871. S3A CSE: minor tuning (#3412)
mehakmeet Sep 15, 2021
a39d923
HDFS-16203. Discover datanodes with unbalanced block pool usage by th…
tomscut Sep 16, 2021
bb52290
changes to handle NPE and modified serialization and deserialization …
kiran-maturi Sep 20, 2021
9eaca6e
cleanup
kiran-maturi Sep 20, 2021
d78bcc5
Update hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
kiran-maturi Nov 8, 2021
88cd2aa
removed name field for Tracer and moved opentelemetry javaagent to ha…
Nov 24, 2021
9f0c418
merged remote changes
kiran-maturi Nov 25, 2021
24cf3ab
Merge branch 'trunk' of https://github.com/apache/hadoop into backup
kiran-maturi Nov 25, 2021
32e5267
reverted protobuf.version to 2.5.0
kiran-maturi Nov 26, 2021
57ed0dd
addressed review comments
kiran-maturi Mar 22, 2022
ea2dc2c
moving opentelemetry javaagent to hadoop tools and added new field in…
kiran-maturi Apr 12, 2022
a76aa87
Merge branch 'trunk' into HADOOP-15566-javaagent
kiran-maturi Jan 12, 2023
78255c3
Merge branch 'trunk' into HADOOP-15566-javaagent
kiran-maturi Dec 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions hadoop-common-project/hadoop-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,11 @@
<artifactId>lz4-java</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
<version>${opentelemetry.version}</version>
</dependency>
</dependencies>

<build>
Expand Down
10 changes: 10 additions & 0 deletions hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -432,3 +432,13 @@ export HADOOP_OS_TYPE=${HADOOP_OS_TYPE:-$(uname -s)}
# By default, Hadoop uses jsvc which needs to know to launch a
# server jvm.
# export HADOOP_REGISTRYDNS_SECURE_EXTRA_OPTS="-jvm server"

###
# Opentelemetry Trace Exporters Configuration
###
# export OPENTELEMETRY_JAVAAGENT_PATH="$(find $HADOOP_HOME/share/hadoop/tools/lib/ -name opentelemetry-javaagent*)"
# export HADOOP_TRACE_OPTS="-javaagent:$OPENTELEMETRY_JAVAAGENT_PATH -Dotel.traces.exporter=jaeger -Dotel.metrics.exporter=none"
# export HDFS_NAMENODE_OPTS="$HDFS_NAMENODE_OPTS $HADOOP_TRACE_OPTS -Dotel.resource.attributes=service.name=hdfs-namenode"
# export HDFS_DATANODE_OPTS="$HDFS_DATANODE_OPTS $HADOOP_TRACE_OPTS -Dotel.resource.attributes=service.name=hdfs-datanode"
# export HDFS_SECONDARYNAMENODE_OPTS="$HDFS_SECONDARYNAMENODE_OPTS $HADOOP_TRACE_OPTS -Dotel.resource.attributes=service.name=hdfs-secondarynamenode"
# export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS $HADOOP_TRACE_OPTS -Dotel.resource.attributes=service.name=hadoop-client"
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private TableListing createOptionTableListing() {
public int run(String[] argv) {
// initialize FsShell
init();
Tracer tracer = new Tracer.Builder("FsShell").
Tracer tracer = new Tracer.Builder().
conf(TraceUtils.wrapHadoopConf(SHELL_HTRACE_PREFIX, getConf())).
build();
int exitCode = -1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public final class FsTracer {

public static synchronized Tracer get(Configuration conf) {
if (instance == null) {
instance = new Tracer.Builder("FSClient").
instance = new Tracer.Builder().
conf(TraceUtils.wrapHadoopConf(CommonConfigurationKeys.
FS_CLIENT_HTRACE_PREFIX, conf)).
build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2901,15 +2901,15 @@ private void processRpcRequest(RpcRequestHeaderProto header,
Span span = null;
if (header.hasTraceInfo()) {
RPCTraceInfoProto traceInfoProto = header.getTraceInfo();
if (traceInfoProto.hasSpanContext()) {
if (traceInfoProto.getOpenSpanContextMap() != null) {
if (tracer == null) {
setTracer(Tracer.curThreadTracer());
}
if (tracer != null) {
// If the incoming RPC included tracing info, always continue the
// trace
SpanContext spanCtx = TraceUtils.byteStringToSpanContext(
traceInfoProto.getSpanContext());
SpanContext spanCtx = TraceUtils.mapToSpanContext(
traceInfoProto.getOpenSpanContextMap());
if (spanCtx != null) {
span = tracer.newSpan(
RpcClientUtil.toTraceName(rpcRequest.toString()), spanCtx);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,62 @@
*/
package org.apache.hadoop.tracing;

import io.opentelemetry.context.Scope;

import java.io.Closeable;

/***
* This class is a wrapper class on top of opentelemetry Span class
* avoiding direct dependency on opentelemetry API.
*/
public class Span implements Closeable {

private io.opentelemetry.api.trace.Span openSpan;
public Span() {
}

public Span(io.opentelemetry.api.trace.Span openSpan){
this.openSpan = openSpan;
}

public Span addKVAnnotation(String key, String value) {
if(openSpan != null){
openSpan.setAttribute(key, value);
}
return this;
}

public Span addTimelineAnnotation(String msg) {
if(openSpan != null){
openSpan.addEvent(msg);
}
return this;
}

public SpanContext getContext() {
if(openSpan != null){
return new SpanContext(openSpan.getSpanContext());
}
return null;
}

public void finish() {
close();
}

public void close() {
if(openSpan != null){
openSpan.end();
}
}

/***
* This method activates the current span on the current thread
* @return the scope for the current span
*/
public Scope makeCurrent() {
if(openSpan != null){
return openSpan.makeCurrent();
}
return null;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,76 @@
package org.apache.hadoop.tracing;

import java.io.Closeable;
import java.util.HashMap;
import java.util.Map;

import io.opentelemetry.api.trace.TraceFlags;
import io.opentelemetry.api.trace.TraceState;
import io.opentelemetry.api.trace.TraceStateBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* Wrapper class for SpanContext to avoid using OpenTracing/OpenTelemetry
* SpanContext class directly for better separation.
*/
public class SpanContext implements Closeable {
public SpanContext() {
public class SpanContext implements Closeable {
public static final Logger LOG = LoggerFactory.getLogger(SpanContext.class.getName());
private static final String TRACE_ID = "TRACE_ID";
private static final String SPAN_ID = "SPAN_ID";
private static final String TRACE_FLAGS = "TRACE_FLAGS";


private io.opentelemetry.api.trace.SpanContext openSpanContext;
public SpanContext(io.opentelemetry.api.trace.SpanContext openSpanContext) {
this.openSpanContext = openSpanContext;
}

public void close() {

}

public Map<String, String> getKVSpanContext(){
if(openSpanContext != null){
//TODO: may we should move this to Proto
Map<String, String> kvMap = new HashMap<>();
kvMap.put(TRACE_ID, openSpanContext.getTraceId());
kvMap.put(SPAN_ID, openSpanContext.getSpanId());
kvMap.put(TRACE_FLAGS, openSpanContext.getTraceFlags().asHex());
kvMap.putAll(openSpanContext.getTraceState().asMap());
return kvMap;
}
return null;
}

static SpanContext buildFromKVMap(Map<String, String> kvMap){
try{
String traceId = kvMap.get(TRACE_ID);
String spanId = kvMap.get(SPAN_ID);
String traceFlagsHex = kvMap.get(TRACE_FLAGS);
if(traceId == null || spanId == null || traceFlagsHex == null){
return null;
}
TraceFlags traceFlags = TraceFlags.fromHex(traceFlagsHex, 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if traceFlagsHex isn't found? exit fast

TraceStateBuilder traceStateBuilder = TraceState.builder();
for(Map.Entry<String, String> keyValue: kvMap.entrySet()){
if(keyValue.getKey().equals(TRACE_ID) || keyValue.getKey().equals(SPAN_ID) || keyValue.getKey().equals(TRACE_FLAGS)){
continue;
}
traceStateBuilder.put(keyValue.getKey(), keyValue.getValue());
}
TraceState traceState = traceStateBuilder.build();
io.opentelemetry.api.trace.SpanContext spanContext = io.opentelemetry.api.trace.SpanContext.createFromRemoteParent(traceId, spanId, traceFlags, traceState );
return new SpanContext(spanContext);
} catch (Exception e){
LOG.error("Error in processing remote context :", e);
return null;
}


}

public io.opentelemetry.api.trace.SpanContext getOpenSpanContext() {
return openSpanContext;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,32 @@
*/
package org.apache.hadoop.tracing;

import io.opentelemetry.context.Scope;

import java.io.Closeable;

public class TraceScope implements Closeable {
Span span;

Scope openScope;
public TraceScope(Span span) {
this.span = span;
if(span != null){
this.openScope = span.makeCurrent();
}
}

// Add tag to the span
public void addKVAnnotation(String key, String value) {
span.addKVAnnotation(key, value);
}

public void addKVAnnotation(String key, Number value) {
span.addKVAnnotation(key, value.toString());
}


public void addTimelineAnnotation(String msg) {
span.addTimelineAnnotation(msg);
}

public Span span() {
Expand All @@ -51,6 +60,9 @@ public void detach() {
}

public void close() {
if(openScope != null){
openScope.close();
}
if (span != null) {
span.close();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,35 @@

import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.thirdparty.protobuf.ByteString;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;

/**
* This class provides utility functions for tracing.
*/
@InterfaceAudience.Private
public class TraceUtils {
public static final Logger LOG = LoggerFactory.getLogger(TraceUtils.class.getName());
static final String DEFAULT_HADOOP_TRACE_PREFIX = "hadoop.htrace.";

public static TraceConfiguration wrapHadoopConf(final String prefix,
final Configuration conf) {
public static TraceConfiguration wrapHadoopConf(final String prefix, final Configuration conf) {
return null;
}

public static Tracer createAndRegisterTracer(String name) {
return null;
}

public static SpanContext byteStringToSpanContext(ByteString byteString) {
return null;
public static SpanContext mapToSpanContext(Map<String, String> kvMap) {
return SpanContext.buildFromKVMap(kvMap);
}

public static ByteString spanContextToByteString(SpanContext context) {
return null;
public static Map<String, String> spanContextToMap(SpanContext context) {
if (context == null) {
return null;
}
return context.getKVSpanContext();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,24 @@
*/
package org.apache.hadoop.tracing;

import io.opentelemetry.api.GlobalOpenTelemetry;
import io.opentelemetry.context.Context;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* No-Op Tracer (for now) to remove HTrace without changing too many files.
*/
public class Tracer {
public static final Logger LOG = LoggerFactory.getLogger(Tracer.class.getName());
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.contrib.hadoop";
// Singleton
private static final Tracer globalTracer = null;
private final NullTraceScope nullTraceScope;
private final String name;
private static Tracer globalTracer = null;
io.opentelemetry.api.trace.Tracer OTelTracer = GlobalOpenTelemetry.getTracer(INSTRUMENTATION_NAME);

public final static String SPAN_RECEIVER_CLASSES_KEY =
"span.receiver.classes";

public Tracer(String name) {
this.name = name;
nullTraceScope = NullTraceScope.INSTANCE;
}
private Tracer() {}

// Keeping this function at the moment for HTrace compatiblity,
// in fact all threads share a single global tracer for OpenTracing.
Expand All @@ -45,53 +47,52 @@ public static Tracer curThreadTracer() {
* @return org.apache.hadoop.tracing.Span
*/
public static Span getCurrentSpan() {
return null;
io.opentelemetry.api.trace.Span span = io.opentelemetry.api.trace.Span.current();
return span.getSpanContext().isValid()? new Span(span): null;
}

public TraceScope newScope(String description) {
return nullTraceScope;
Span span = new Span(OTelTracer.spanBuilder(description).startSpan());
return new TraceScope(span);
}

public Span newSpan(String description, SpanContext spanCtx) {
return new Span();
io.opentelemetry.api.trace.Span parentSpan = io.opentelemetry.api.trace.Span.wrap(spanCtx.getOpenSpanContext());
io.opentelemetry.api.trace.Span span = OTelTracer.spanBuilder(description).setParent(Context.current().with(parentSpan)).startSpan();
return new Span(span);
}

public TraceScope newScope(String description, SpanContext spanCtx) {
return nullTraceScope;
if(spanCtx == null){
return new TraceScope(new Span(io.opentelemetry.api.trace.Span.getInvalid()));
}
return new TraceScope(newSpan(description, spanCtx));
}

public TraceScope newScope(String description, SpanContext spanCtx,
boolean finishSpanOnClose) {
return nullTraceScope;
return new TraceScope(newSpan(description, spanCtx));
}

public TraceScope activateSpan(Span span) {
return nullTraceScope;
return new TraceScope(span);
}

public void close() {
}

public String getName() {
return name;
}


public static class Builder {
static Tracer globalTracer;
private String name;
static Tracer globalTracer = new Tracer();

public Builder(final String name) {
this.name = name;
public Builder() {
}

public Builder conf(TraceConfiguration conf) {
return this;
}

public Tracer build() {
if (globalTracer == null) {
globalTracer = new Tracer(name);
}
public synchronized Tracer build() {
return globalTracer;
}
}
Expand Down
Loading