Type:
Bug
Status:
Resolved
Priority:
Major
Resolution:
Fixed
Affects Version/s:
3.3.0
Have observed Log Aggregation code has used FSDataInputStream#read instead of readFully in multiple places like below. One of the place is fixed by YARN-8106 .
This Jira targets to fix at all other places.
LogAggregationIndexedFileController#loadUUIDFromLogFile
byte [] b = new byte [uuid.length];
int actual = fsDataInputStream.read(b);
if (actual != uuid.length || Arrays.equals(b, uuid)) {
{"report":{"fcp":3105.100000023842,"ttfb":601.1000000238419,"pageVisibility":"visible","entityId":13311919,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":0.5,"journeyId":"49febf36-83df-4031-860c-6c203f6c50cc","navigationType":0,"readyForUser":3188,"redirectCount":0,"resourceLoadedEnd":2054,"resourceLoadedStart":611.7000000476837,"resourceTiming":[{"duration":50.699999928474426,"initiatorType":"link","name":"https://issues.apache.org/jira/s/b62489a2eaac59d9b8a093c1a51d034f-CDN/xd97tr/820010/13pdxe5/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":611.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":611.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":662.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":50.700000047683716,"initiatorType":"link","name":"https://issues.apache.org/jira/s/56490edcf9d54e35149505f78cca6a47-CDN/xd97tr/820010/13pdxe5/72cb823bcc50211a60c1ebe830467cae/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,atl.general,atl.global,jira.global,jira.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true&slack-enabled=true","startTime":612,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":612,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":662.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":889.5999999046326,"initiatorType":"script","name":"https://issues.apache.org/jira/s/5263129088916436ab9aeb2417075b3f-CDN/xd97tr/820010/13pdxe5/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/js/_super/batch.js?locale=en-UK","startTime":612.2000000476837,"connectEnd":612.2000000476837,"connectStart":612.2000000476837,"domainLookupEnd":612.2000000476837,"domainLookupStart":612.2000000476837,"fetchStart":612.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":711.7000000476837,"responseEnd":1501.7999999523163,"responseStart":860.8999999761581,"secureConnectionStart":612.2000000476837},{"duration":1441.6000000238419,"initiatorType":"script","name":"https://issues.apache.org/jira/s/611c208bd094adb71a6f4f3e7f6fff3d-CDN/xd97tr/820010/13pdxe5/72cb823bcc50211a60c1ebe830467cae/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,atl.general,atl.global,jira.global,jira.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-UK&richediton=true&slack-enabled=true","startTime":612.3999999761581,"connectEnd":966.8999999761581,"connectStart":710.3999999761581,"domainLookupEnd":710.3999999761581,"domainLookupStart":710.3999999761581,"fetchStart":612.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":967.1000000238419,"responseEnd":2054,"responseStart":1094.6000000238419,"secureConnectionStart":859.2000000476837},{"duration":470.89999997615814,"initiatorType":"script","name":"https://issues.apache.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xd97tr/820010/13pdxe5/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":612.6000000238419,"connectEnd":971.1000000238419,"connectStart":675,"domainLookupEnd":675,"domainLookupStart":675,"fetchStart":612.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":971.2999999523163,"responseEnd":1083.5,"responseStart":1081.7000000476837,"secureConnectionStart":860.7000000476837},{"duration":471.1999999284744,"initiatorType":"script","name":"https://issues.apache.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xd97tr/820010/13pdxe5/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":612.7000000476837,"connectEnd":971.2999999523163,"connectStart":710.7999999523163,"domainLookupEnd":710.7999999523163,"domainLookupStart":710.7999999523163,"fetchStart":612.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":971.5,"responseEnd":1083.8999999761581,"responseStart":1082.8999999761581,"secureConnectionStart":860.3999999761581},{"duration":62,"initiatorType":"link","name":"https://issues.apache.org/jira/s/981f587853769311cda7c3b845131a06-CDN/xd97tr/820010/13pdxe5/cb5a5495a038c0744457f25821ba9ee8/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":612.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":612.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":674.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":518.2999999523163,"initiatorType":"script","name":"https://issues.apache.org/jira/rest/api/1.0/shortcuts/820010/5840efff50357da9055d4714dc0713f/shortcuts.js?context=issuenavigation&context=issueaction","startTime":613,"connectEnd":1021.5,"connectStart":710.7000000476837,"domainLookupEnd":710.7000000476837,"domainLookupStart":710.7000000476837,"fetchStart":613,"redirectEnd":0,"redirectStart":0,"requestStart":1021.7999999523163,"responseEnd":1131.2999999523163,"responseStart":1130.6000000238419,"secureConnectionStart":861.5},{"duration":90.39999997615814,"initiatorType":"link","name":"https://issues.apache.org/jira/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/xd97tr/820010/13pdxe5/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":620.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":620.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":710.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":511.5,"initiatorType":"script","name":"https://issues.apache.org/jira/s/efa8931cd5ac13ed95c56ca8a1dc1967-CDN/xd97tr/820010/13pdxe5/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-UK&richediton=true","startTime":621.3999999761581,"connectEnd":1021.7999999523163,"connectStart":710.8999999761581,"domainLookupEnd":710.8999999761581,"domainLookupStart":710.8999999761581,"fetchStart":621.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":1022,"responseEnd":1132.8999999761581,"responseStart":1131.3999999761581,"secureConnectionStart":861.7999999523163},{"duration":529.6999999284744,"initiatorType":"script","name":"https://issues.apache.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xd97tr/820010/13pdxe5/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":713.1000000238419,"connectEnd":713.1000000238419,"connectStart":713.1000000238419,"domainLookupEnd":713.1000000238419,"domainLookupStart":713.1000000238419,"fetchStart":713.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1133.2000000476837,"responseEnd":1242.7999999523163,"responseStart":1242.2999999523163,"secureConnectionStart":713.1000000238419},{"duration":528,"initiatorType":"script","name":"https://issues.apache.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xd97tr/820010/13pdxe5/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":714.6000000238419,"connectEnd":714.6000000238419,"connectStart":714.6000000238419,"domainLookupEnd":714.6000000238419,"domainLookupStart":714.6000000238419,"fetchStart":714.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1133.5,"responseEnd":1242.6000000238419,"responseStart":1241.6000000238419,"secureConnectionStart":714.6000000238419},{"duration":399.39999997615814,"initiatorType":"xmlhttprequest","name":"https://issues.apache.org/jira/rest/webResources/1.0/resources","startTime":2125.600000023842,"connectEnd":2125.600000023842,"connectStart":2125.600000023842,"domainLookupEnd":2125.600000023842,"domainLookupStart":2125.600000023842,"fetchStart":2125.600000023842,"redirectEnd":0,"redirectStart":0,"requestStart":2411.399999976158,"responseEnd":2525,"responseStart":2524.399999976158,"secureConnectionStart":2125.600000023842}],"fetchStart":0,"domainLookupStart":20,"domainLookupEnd":150,"connectStart":150,"connectEnd":451,"secureConnectionStart":262,"requestStart":451,"responseStart":601,"responseEnd":712,"domLoading":611,"domInteractive":3397,"domContentLoadedEventStart":3397,"domContentLoadedEventEnd":3525,"domComplete":5467,"loadEventStart":5467,"loadEventEnd":5514,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3249.899999976158},{"name":"bigPipe.sidebar-id.end","time":3250.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":3250.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":3253.7000000476837},{"name":"activityTabFullyLoaded","time":3583.399999976158}],"measures":[],"correlationId":"2996107fabebbd","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":111,"dbReadsTimeInMs":4,"dbConnsTimeInMs":13,"applicationHash":"ace47f9899e9ee25d7157d59aa17ab06aee30d3d","experiments":[]}}
YARN-10320does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.YARN-10320This message was automatically generated.