1835 matches across 13 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …n/applications/distributedshell/ApplicationMaster.java | 1780 | new org.apache.hadoop.yarn.api.records.timelineservice.TimelineEvent(); |
| CRITICAL | …n/applications/distributedshell/ApplicationMaster.java | 1866 | new org.apache.hadoop.yarn.api.records.timelineservice.TimelineEvent(); |
| CRITICAL | …n/applications/distributedshell/ApplicationMaster.java | 1904 | new org.apache.hadoop.yarn.api.records.timelineservice.TimelineEvent(); |
| CRITICAL | …vice/timelineservice/TestServiceTimelinePublisher.java | 226 | new org.apache.hadoop.yarn.service.api.records.Configuration()); |
| CRITICAL | …vice/timelineservice/TestServiceTimelinePublisher.java | 246 | new org.apache.hadoop.yarn.service.api.records.Configuration()); |
| CRITICAL | …apache/hadoop/yarn/service/provider/ProviderUtils.java | 469 | org.apache.commons.io.IOUtils.write(content, output, StandardCharsets.UTF_8); |
| CRITICAL | …rg/apache/hadoop/yarn/service/component/Component.java | 760 | org.apache.hadoop.yarn.api.records.ResourceInformation.newInstance( |
| CRITICAL | …yarn/service/component/instance/ComponentInstance.java | 217 | new org.apache.hadoop.yarn.service.api.records.Container(); |
| CRITICAL | …org/apache/hadoop/yarn/service/utils/ServiceUtils.java | 518 | org.apache.commons.io.IOUtils.copy(in, taos); |
| CRITICAL | …ineservice/collector/NodeTimelineCollectorManager.java | 235 | return org.apache.hadoop.yarn.api.records.Token.newInstance( |
| CRITICAL | …he/hadoop/yarn/server/resourcemanager/Application.java | 292 | org.apache.hadoop.yarn.server.utils.BuilderUtils.newResourceRequest( |
| CRITICAL | …p/yarn/server/resourcemanager/TestResourceManager.java | 97 | new org.apache.hadoop.yarn.server.resourcemanager.NodeManager( |
| CRITICAL | …he/hadoop/yarn/server/resourcemanager/NodeManager.java | 160 | org.apache.hadoop.yarn.server.resourcemanager.NodeManager.createNodeStatus( |
| CRITICAL | …e/hadoop/yarn/server/resourcemanager/AdminService.java | 275 | org.apache.hadoop.ipc.Server.getRemoteAddress() + |
| CRITICAL | …e/hadoop/yarn/server/resourcemanager/AdminService.java | 284 | org.apache.hadoop.ipc.Server.getRemoteAddress() + " denied " + |
| CRITICAL | …adoop/yarn/server/resourcemanager/ClientRMService.java | 769 | if (!org.apache.commons.lang3.StringUtils.isAsciiPrintable(tag)) { |
| CRITICAL | …n/server/resourcemanager/webapp/RMAppAttemptBlock.java | 489 | org.apache.hadoop.util.StringUtils.formatTime(Times.elapsed( |
| CRITICAL | …resourcemanager/placement/QueuePlacementRuleUtils.java | 127 | if (!org.apache.commons.lang3.StringUtils.isEmpty(mapping.getParentQueue())) { |
| CRITICAL | …a/org/apache/hadoop/yarn/TestYarnServerApiClasses.java | 428 | org.apache.hadoop.yarn.api.records.Token.newInstance(new byte[0], |
| CRITICAL | …oop/yarn/server/util/timeline/TimelineServerUtils.java | 72 | org.apache.commons.lang3.StringUtils.join(target, ","); |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1572 | org.apache.commons.lang3.StringUtils.repeat("A", 1024))); |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1574 | org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1578 | org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1587 | org.apache.commons.lang3.StringUtils.repeat("A", 1024), |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1588 | org.apache.commons.lang3.StringUtils.repeat("A", 1024), |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1589 | org.apache.commons.lang3.StringUtils.repeat("A", 1024))); |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1593 | org.apache.commons.lang3.StringUtils.repeat("E", 4095), |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1594 | org.apache.commons.lang3.StringUtils.repeat("E", 2047), |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1595 | org.apache.commons.lang3.StringUtils.repeat("E", 2047 - callCmd.length()))); |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1599 | org.apache.commons.lang3.StringUtils.repeat("X", 4095), |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1600 | org.apache.commons.lang3.StringUtils.repeat("X", 2047), |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1601 | org.apache.commons.lang3.StringUtils.repeat("X", 2048 - callCmd.length()))); |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1620 | builder.env("somekey", org.apache.commons.lang3.StringUtils.repeat("A", 1024)); |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1621 | builder.env("somekey", org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1624 | builder.env("somekey", org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1646 | builder.mkdir(new Path(org.apache.commons.lang3.StringUtils.repeat("A", 1024))); |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1647 | builder.mkdir(new Path(org.apache.commons.lang3.StringUtils.repeat("E", |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1650 | builder.mkdir(new Path(org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1671 | builder.link(new Path(org.apache.commons.lang3.StringUtils.repeat("A", 1024)), |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1672 | new Path(org.apache.commons.lang3.StringUtils.repeat("B", 1024))); |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1674 | new Path(org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1676 | new Path(org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1680 | new Path(org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …ger/containermanager/launcher/TestContainerLaunch.java | 1682 | new Path(org.apache.commons.lang3.StringUtils.repeat( |
| CRITICAL | …server/nodemanager/WindowsSecureContainerExecutor.java | 338 | org.apache.hadoop.util.StringUtils.stringifyException(e))); |
| CRITICAL | …server/nodemanager/WindowsSecureContainerExecutor.java | 714 | org.apache.hadoop.util.StringUtils.stringifyException(e))); |
| CRITICAL | …nodemanager/containermanager/ContainerManagerImpl.java | 1417 | org.apache.hadoop.yarn.api.records.Container.newInstance( |
| CRITICAL | …in/resources/webapps/static/jquery/jquery-3.6.0.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f |
| CRITICAL | …s/webapps/static/jquery/jquery-ui-1.13.2.custom.min.js | 6 | !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict" |
| CRITICAL | …rg/apache/hadoop/yarn/util/ProcfsBasedProcessTree.java | 812 | org.apache.hadoop.io.IOUtils.closeStream(in); |
| CRITICAL | …hadoop/yarn/util/Log4jWarningErrorMetricsAppender.java | 156 | org.apache.commons.lang3.StringUtils.left(message, MAX_MESSAGE_SIZE); |
| CRITICAL | …/yarn/security/client/RMDelegationTokenIdentifier.java | 168 | return org.apache.hadoop.yarn.api.records.Token.newInstance( |
| CRITICAL | …rg/apache/hadoop/yarn/logaggregation/LogToolUtils.java | 101 | org.apache.hadoop.io.IOUtils.skipFully(fis, toSkip); |
| CRITICAL | …rg/apache/hadoop/yarn/logaggregation/LogToolUtils.java | 129 | org.apache.hadoop.io.IOUtils.skipFully(fis, skipAfterRead); |
| CRITICAL | …he/hadoop/yarn/logaggregation/AggregatedLogFormat.java | 842 | org.apache.hadoop.io.IOUtils.skipFully( |
| CRITICAL | …he/hadoop/yarn/logaggregation/AggregatedLogFormat.java | 865 | org.apache.hadoop.io.IOUtils.skipFully( |
| CRITICAL | …he/hadoop/yarn/logaggregation/AggregatedLogFormat.java | 973 | org.apache.hadoop.io.IOUtils.skipFully( |
| CRITICAL | …he/hadoop/yarn/logaggregation/AggregatedLogFormat.java | 994 | org.apache.hadoop.io.IOUtils.skipFully( |
| CRITICAL | …in/java/org/apache/hadoop/yarn/client/cli/NodeCLI.java | 131 | org.apache.hadoop.util.StringUtils.toUpperCase( |
| CRITICAL | …apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java | 149 | new org.apache.hadoop.yarn.api.records.ResourceRequest.ResourceRequestComparator()); |
| 413 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | start-build-env.sh | 1 | #!/usr/bin/env bash |
| LOW | …applications-distributedshell/src/test/resources/b.txt | 1 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| LOW | …applications-distributedshell/src/test/resources/a.txt | 1 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| LOW | …/yarn/applications/distributedshell/PlacementSpec.java | 61 | */ |
| LOW | …apache/hadoop/yarn/service/TestYarnNativeServices.java | 721 | } |
| LOW | …inition/YARN-Simplified-V1-API-Layer-For-Services.yaml | 1 | # Hadoop YARN REST APIs for services v1 spec in YAML |
| LOW | …cations-catalog-docker/src/main/scripts/setup-image.sh | 1 | #!/bin/bash |
| LOW | …ications-catalog-docker/src/main/scripts/entrypoint.sh | 1 | #!/bin/bash -x |
| LOW | …ources/configsets/exampleCollection/conf/protwords.txt | 1 | # The ASF licenses this file to You under the Apache License, Version 2.0 |
| LOW | …sources/configsets/exampleCollection/conf/synonyms.txt | 1 | # The ASF licenses this file to You under the Apache License, Version 2.0 |
| LOW | …ources/configsets/exampleCollection/conf/stopwords.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …onfigsets/exampleCollection/conf/lang/stopwords_en.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh | 1 | #!/usr/bin/env bash |
| LOW | hadoop-yarn-project/hadoop-yarn/bin/yarn-daemons.sh | 1 | #!/usr/bin/env bash |
| LOW | hadoop-yarn-project/hadoop-yarn/bin/start-yarn.sh | 1 | #!/usr/bin/env bash |
| LOW | hadoop-yarn-project/hadoop-yarn/bin/stop-yarn.sh | 1 | #!/usr/bin/env bash |
| LOW | hadoop-yarn-project/hadoop-yarn/bin/yarn-config.sh | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more |
| LOW | …arn/server/resourcemanager/TestApplicationCleanup.java | 441 | |
| LOW | …emanager/scheduler/capacity/TestApplicationLimits.java | 961 | // can be used for AMs is 30%. So, 30% of <memory: 100GB, vCores: 1000> is |
| LOW | …/resourcemanager/scheduler/capacity/TestLeafQueue.java | 3861 | // host_0_1: < null > |
| LOW | …/resourcemanager/scheduler/capacity/TestLeafQueue.java | 3901 | applyCSAssignment(clusterResource, assignment, a, nodes, apps); |
| LOW | …/resourcemanager/scheduler/capacity/TestLeafQueue.java | 3941 | // rack_0: < null > |
| LOW | …/resourcemanager/scheduler/capacity/TestLeafQueue.java | 3961 | |
| LOW | …/resourcemanager/scheduler/capacity/TestLeafQueue.java | 4001 | // rack_0: < null > |
| LOW | …/resourcemanager/scheduler/capacity/TestLeafQueue.java | 4021 | // Now sanity-check node_local |
| LOW | …ager/scheduler/capacity/TestCapacitySchedulerPerf.java | 101 | return retVal; |
| LOW | …ySchedulerNewQueueAutoCreationWithCapacityVectors.java | 121 | |
| LOW | …esourcemanager/nodelabels/TestRMNodeLabelsManager.java | 201 | isEqualTo(Resources.multiply(SMALL_RESOURCE, 1)); |
| LOW | …ourcemanager/nodelabels/TestNodeAttributesManager.java | 181 | // A2=host1_v1_2 |
| LOW | …oop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java | 1381 | rmNode.updateClusterUtilizationMetrics(); |
| LOW | …r/monitor/capacity/FifoIntraQueuePreemptionPlugin.java | 521 | |
| LOW | …r/resourcemanager/scheduler/capacity/UsersManager.java | 781 | // - maxUserLimit = total-partition-resource (IGNORE_PARTITION_EXCLUSIVITY) |
| LOW | …uler/capacity/allocator/RegularContainerAllocator.java | 601 | // some containers to meet this queue, its parents', or the users' |
| LOW | …n/server/resourcemanager/reservation/InMemoryPlan.java | 641 | long periodicSearchEnd = (endTime - shift) % period; |
| LOW | …erver/resourcemanager/rmcontainer/RMContainerImpl.java | 641 | Resource rmContainerResource = container.getAllocatedResource(); |
| LOW | …erver/resourcemanager/rmcontainer/RMContainerImpl.java | 661 | // 4. When NM reports 5G to RM, RM now sees its own allocation as 4G |
| LOW | …ver/federation/store/impl/SQLFederationStateStore.java | 1301 | try { |
| LOW | …ver/federation/store/impl/SQLFederationStateStore.java | 1581 | |
| LOW | …rver/hadoop-yarn-server-nodemanager/src/CMakeLists.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | …n/server/nodemanager/TestDefaultContainerExecutor.java | 661 | |
| LOW | …n/server/nodemanager/TestDefaultContainerExecutor.java | 681 | // } |
| LOW | …n/server/nodemanager/TestDefaultContainerExecutor.java | 701 | // r.setSeed(jobSeed); |
| LOW | …n/server/nodemanager/TestDefaultContainerExecutor.java | 721 | // DefaultContainerExecutor dce = new DefaultContainerExecutor(lfs); |
| LOW | …n/server/nodemanager/TestDefaultContainerExecutor.java | 741 | // verify(spylfs).mkdir(jobdir, |
| LOW | …in/native/container-executor/impl/container-executor.c | 21 | #include "utils/docker-util.h" |
| LOW | …in/native/container-executor/impl/container-executor.c | 41 | #include <stdio.h> |
| LOW | …in/native/container-executor/impl/container-executor.c | 61 | #ifndef HAVE_FDOPENDIR |
| LOW | …rc/main/native/container-executor/impl/configuration.h | 21 | |
| LOW | …in/native/container-executor/impl/container-executor.h | 61 | #define USER_DIR_PATTERN "%s/usercache/%s" |
| LOW | …manager/src/main/native/container-executor/impl/main.c | 21 | #include "container-executor.h" |
| LOW | …rc/main/native/container-executor/impl/configuration.c | 21 | |
| LOW | …ain/native/container-executor/impl/utils/docker-util.c | 21 | #include <sys/wait.h> |
| LOW | …main/native/container-executor/impl/utils/file-utils.c | 21 | #include <sys/types.h> |
| LOW | …ain/native/container-executor/impl/utils/docker-util.h | 21 | |
| LOW | …ain/native/container-executor/impl/utils/cJSON/cJSON.h | 61 | #endif |
| LOW | …ain/native/container-executor/impl/utils/cJSON/cJSON.h | 81 | /* project version */ |
| LOW | …ain/native/container-executor/impl/utils/cJSON/cJSON.c | 21 | */ |
| LOW | …ain/native/container-executor/impl/utils/cJSON/cJSON.c | 41 | #include <stdio.h> |
| LOW | …main/native/container-executor/impl/runc/runc_config.h | 21 | // Section for all runC config keys |
| 1119 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …ources/configsets/exampleCollection/conf/protwords.txt | 13 | #----------------------------------------------------------------------- |
| MEDIUM | …sources/configsets/exampleCollection/conf/synonyms.txt | 13 | #----------------------------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1231 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1233 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1253 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1255 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1286 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1288 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1300 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1302 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1315 | # --------------------------------------------------- |
| MEDIUM | …doop-aws/src/site/markdown/tools/hadoop-aws/testing.md | 1319 | # --------------------------------------------------- |
| MEDIUM | …oop/fs/s3a/statistics/impl/AwsStatisticsCollector.java | 71 | // ┌─────────────────────────────────────────┐ |
| MEDIUM | …oop/fs/s3a/statistics/impl/AwsStatisticsCollector.java | 79 | // └─────────────────────────────────────────┘ |
| MEDIUM | …oop/fs/s3a/statistics/impl/AwsStatisticsCollector.java | 81 | // ┌─────────────────────────────────────────────────────────────────┐ |
| MEDIUM | …oop/fs/s3a/statistics/impl/AwsStatisticsCollector.java | 88 | // └─────────────────────────────────────────────────────────────────┘ |
| MEDIUM | …oop/fs/s3a/statistics/impl/AwsStatisticsCollector.java | 90 | // ┌─────────────────────────────────┐ |
| MEDIUM | …oop/fs/s3a/statistics/impl/AwsStatisticsCollector.java | 97 | // └─────────────────────────────────┘ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 23 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 25 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 54 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 56 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 105 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 107 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 139 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 141 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 198 | # ------------------------------------------------------------------------------ |
| MEDIUM | …oop-azure/dev-support/testrun-scripts/configsupport.sh | 200 | # ------------------------------------------------------------------------------ |
| MEDIUM | …ject/hadoop-hdfs/src/test/resources/hadoop-dfs-dir.txt | 23 | # --------------------- |
| MEDIUM | …ject/hadoop-hdfs/src/test/resources/hadoop-dfs-dir.txt | 35 | # --------------------------------------- |
| MEDIUM | …project/hadoop-hdfs/src/main/bin/distribute-exclude.sh | 19 | # ------------------------------------------------------------------ |
| MEDIUM | …doop-hdfs-project/hadoop-hdfs/src/main/bin/stop-dfs.sh | 51 | #--------------------------------------------------------- |
| MEDIUM | …doop-hdfs-project/hadoop-hdfs/src/main/bin/stop-dfs.sh | 69 | #--------------------------------------------------------- |
| MEDIUM | …doop-hdfs-project/hadoop-hdfs/src/main/bin/stop-dfs.sh | 80 | #--------------------------------------------------------- |
| MEDIUM | …doop-hdfs-project/hadoop-hdfs/src/main/bin/stop-dfs.sh | 100 | #--------------------------------------------------------- |
| MEDIUM | …doop-hdfs-project/hadoop-hdfs/src/main/bin/stop-dfs.sh | 116 | #--------------------------------------------------------- |
| MEDIUM | …oop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh | 84 | #--------------------------------------------------------- |
| MEDIUM | …oop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh | 103 | #--------------------------------------------------------- |
| MEDIUM | …oop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh | 114 | #--------------------------------------------------------- |
| MEDIUM | …oop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh | 144 | #--------------------------------------------------------- |
| MEDIUM | …oop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh | 161 | #--------------------------------------------------------- |
| MEDIUM | …-project/hadoop-hdfs/src/main/bin/refresh-namenodes.sh | 19 | # ------------------------------------------------------------------ |
| MEDIUM | dev-support/docker/hadoop_env_checks.sh | 21 | # ------------------------------------------------------- |
| MEDIUM | dev-support/docker/hadoop_env_checks.sh | 41 | # ------------------------------------------------------- |
| MEDIUM | dev-support/docker/hadoop_env_checks.sh | 58 | # ------------------------------------------------------- |
| MEDIUM | dev-support/docker/hadoop_env_checks.sh | 83 | # ------------------------------------------------------- |
| MEDIUM | dev-support/docker/hadoop_env_checks.sh | 111 | # ------------------------------------------------------- |
| MEDIUM | dev-support/docker/hadoop_env_checks.sh | 117 | # ------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …server/resourcemanager/TestResourceTrackerService.java | 3298 | // Step 1: Create a Configuration object to hold the settings. |
| LOW | …server/resourcemanager/TestResourceTrackerService.java | 3301 | // Step 2: Setup the host files. |
| LOW | …server/resourcemanager/TestResourceTrackerService.java | 3313 | // Step 3: Create a MockRM (ResourceManager) instance to simulate RM behavior |
| LOW | …server/resourcemanager/TestResourceTrackerService.java | 3319 | // Step 4: Register and simulate node activity for "test_host1" |
| LOW | …server/resourcemanager/TestResourceTrackerService.java | 3325 | // Step 5: Validate that test_host3 is marked as a LOST node |
| LOW | …server/resourcemanager/TestResourceTrackerService.java | 3332 | // Step 6: Validate node metrics for lost, active, and decommissioned nodes |
| LOW | …server/resourcemanager/TestResourceTrackerService.java | 3341 | // Step 7: Register and simulate node activity for "test_host3" |
| LOW | …server/resourcemanager/TestResourceTrackerService.java | 3346 | // Step 8: Validate updated node metrics after registering test_host3 |
| LOW | …ity/TestCapacitySchedulerMultiNodesWithPreemption.java | 139 | // Step 1: Launch an App in Default Queue which utilizes the entire cluster |
| LOW | …ity/TestCapacitySchedulerMultiNodesWithPreemption.java | 151 | // Step 2: Wait till the nodes utilization are full |
| LOW | …ity/TestCapacitySchedulerMultiNodesWithPreemption.java | 162 | // Step 3: Launch another App in Queue A which will be Reserved |
| LOW | …ity/TestCapacitySchedulerMultiNodesWithPreemption.java | 187 | // Step 4: Wait for Preemption to happen. It will preempt Node1 (1GB) |
| LOW | …ity/TestCapacitySchedulerMultiNodesWithPreemption.java | 204 | // Step 5: Don't release the container from NodeManager so that Reservation |
| LOW | …ity/TestCapacitySchedulerMultiNodesWithPreemption.java | 242 | // Step 6: Okay, now preempted node is Node1 and reserved node is Node3 |
| LOW | …ity/TestCapacitySchedulerMultiNodesWithPreemption.java | 261 | // Step 7: Wait for app-2 to get ALLOCATED |
| LOW | …ity/TestCapacitySchedulerMultiNodesWithPreemption.java | 266 | // Step 8: Validate if app-2 has got 1 live container and |
| LOW | …rcemanager/scheduler/capacity/AbstractParentQueue.java | 521 | // We need to check if the parent of the child queue is exactly this |
| LOW | …/src/main/resources/webapps/static/jt/jquery.jstree.js | 1413 | // this variable stores the path to the themes folder - if left as false - it will be autodetected |
| LOW | …he/hadoop/yarn/client/api/impl/TestYarnClientImpl.java | 183 | // Step 1: Start a MiniDFSCluster for Log Aggregation Path |
| LOW | …he/hadoop/yarn/client/api/impl/TestYarnClientImpl.java | 195 | // Step 2: Prepare a Mock FileSystem which returns Delegation Token |
| LOW | …he/hadoop/yarn/client/api/impl/TestYarnClientImpl.java | 216 | // Step 3: Prepare a Mock YarnClientImpl |
| LOW | …he/hadoop/yarn/client/api/impl/TestYarnClientImpl.java | 245 | // Step 4: Prepare a ApplicationSubmissionContext and submit the app |
| LOW | …he/hadoop/yarn/client/api/impl/TestYarnClientImpl.java | 262 | // Step 5: Verify automatic addition of HDFS DT for log aggregation path |
| LOW | …pache/hadoop/io/compress/bzip2/CBZip2OutputStream.java | 1827 | // Step 1: |
| LOW | …pache/hadoop/io/compress/bzip2/CBZip2OutputStream.java | 1851 | // Step 2: |
| LOW | …pache/hadoop/io/compress/bzip2/CBZip2OutputStream.java | 1871 | // Step 3: |
| LOW | …/apache/hadoop/fs/gs/GoogleCloudStorageFileSystem.java | 119 | // we need to check if there are no conflicting items in the directory tree: |
| LOW | …/apache/hadoop/fs/gs/GoogleCloudStorageFileSystem.java | 220 | // Before creating a leaf directory we need to check if there are no conflicting files |
| LOW | …hadoop/fs/azurebfs/services/ITestAbfsOutputStream.java | 411 | // Step 2: Mock the clientHandler to return the blobClient when getBlobClient is called |
| LOW | …a/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java | 1013 | for (T enumConstant : defaultValue.getDeclaringClass().getEnumConstants()) { // Step 3: Iterate over enum constant |
| LOW | …che/hadoop/fs/azurebfs/services/AbfsRestOperation.java | 130 | * This variable stores the tracing context used for last Rest Operation. |
| LOW | …apache/hadoop/fs/azurebfs/services/AbfsBlobClient.java | 414 | // If the list operation returns no paths, we need to check if the path is a file. |
| LOW | …src/main/java/org/apache/hadoop/hdfs/StripeReader.java | 439 | // Step 1: prepare indices and output buffers for missing data units |
| LOW | …src/main/java/org/apache/hadoop/hdfs/StripeReader.java | 450 | // Step 2: decode into prepared output buffers |
| LOW | …src/main/java/org/apache/hadoop/hdfs/StripeReader.java | 453 | // Step 3: fill original application buffer with decoded data |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 349 | // Step 1: map the byte range to StripingCells |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 353 | // Step 2: get the unmerged ranges on each internal block |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 357 | // Step 3: merge into stripes |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 361 | // Step 4: calculate each chunk's position in destination buffer. Since the |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 384 | // Step 5: prepare ALLZERO blocks |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 408 | // Step 0: analyze range and calculate basic parameters |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 411 | // Step 1: map the byte range to StripingCells |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 415 | // Step 2: get the unmerged ranges on each internal block |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 419 | // Step 3: merge into at most 5 stripes |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 423 | // Step 4: calculate each chunk's position in destination buffer |
| LOW | …java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java | 426 | // Step 5: prepare ALLZERO blocks |
| LOW | …e/hadoop/hdfs/server/blockmanagement/BlockManager.java | 2150 | // Step 1: categorize at-risk blocks into replication and EC tasks |
| LOW | …e/hadoop/hdfs/server/blockmanagement/BlockManager.java | 2171 | // Step 2: choose target nodes for each reconstruction task |
| LOW | …e/hadoop/hdfs/server/blockmanagement/BlockManager.java | 2192 | // Step 3: add tasks to the DN |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …eservice/storage/common/HBaseTimelineStorageUtils.java | 95 | // Essentially we are treating it like an 'unsigned very very long' and |
| MEDIUM | …org/apache/hadoop/registry/server/dns/RegistryDNS.java | 222 | // registryDNS can utilize local DNS server as upstream lookup. |
| MEDIUM | …oop-common/src/main/native/gtest/include/gtest/gtest.h | 9436 | // This implementation is *not* meant to be as highly tuned or robust |
| MEDIUM | …oop-common/src/main/native/gtest/include/gtest/gtest.h | 9508 | // In practice, this can be used to test functions that utilize the |
| MEDIUM | …main/java/org/apache/hadoop/util/DirectBufferPool.java | 48 | // Essentially implement a multimap with weak values. |
| MEDIUM | …g/apache/hadoop/fs/statistics/IOStatisticsLogging.java | 232 | // robust extract and convert to string |
| MEDIUM | …mmon-project/hadoop-common/src/main/conf/hadoop-env.sh | 127 | # Similarly, end users should utilize ${HOME}/.hadooprc . |
| MEDIUM | …/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java | 4451 | // Essentially: no DTs, no canonical service name. |
| MEDIUM | …tools/hadoop-sls/src/main/html/js/thirdparty/jquery.js | 10821 | // understands anonymous AMD modules. A named AMD is safest and most robust |
| MEDIUM | …azurebfs/services/AbfsManagedApacheHttpConnection.java | 119 | return true; // Definitely stale |
| MEDIUM | …n/java/org/apache/hadoop/tools/dynamometer/Client.java | 502 | // Store a temporary config to leverage Configuration's time duration |
| MEDIUM | …s/src/test/java/org/apache/hadoop/hdfs/TestHFlush.java | 309 | // Make sure we work with DFS in order to utilize all its functionality |
| MEDIUM | …c/test/java/org/apache/hadoop/hdfs/TestDFSUpgrade.java | 64 | // TODO: Avoid hard-coding expected_txid. The test should be more robust. |
| MEDIUM | …e/hadoop/hdfs/server/namenode/TestCacheDirectives.java | 965 | // the NameNode be robust against this. |
| MEDIUM | …s/server/datanode/erasurecode/ErasureCodingWorker.java | 78 | // Essentially, this is a cachedThreadPool. |
| MEDIUM | …rg/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java | 5076 | // robust. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ain/webapp/docs/development/adding-validation-rules.md | 243 | export function getAffectedQueuesForValidation( |
| LOW | …ain/webapp/docs/development/adding-validation-rules.md | 355 | function evaluateWithStagedChanges(context: ValidationContext): ValidationIssue[] { |
| LOW | …ain/webapp/docs/development/adding-validation-rules.md | 445 | function evaluateDefaultLifetimeConstraint(context: ValidationContext): ValidationIssue[] { |
| LOW | …acity-scheduler-ui/src/main/webapp/src/types/guards.ts | 35 | export function getQueueNameValidationError(name: string): string | null { |
| LOW | …uler-ui/src/main/webapp/src/config/validation-rules.ts | 102 | function evaluateCapacityTypeConsistency(context: ValidationContext): ValidationIssue[] { |
| LOW | …uler-ui/src/main/webapp/src/config/validation-rules.ts | 237 | function evaluateMaxCapacityRelationship(context: ValidationContext): ValidationIssue[] { |
| LOW | …uler-ui/src/main/webapp/src/config/validation-rules.ts | 331 | function evaluateParentChildCapacityConstraints(context: ValidationContext): ValidationIssue[] { |
| LOW | …uler-ui/src/main/webapp/src/config/validation-rules.ts | 397 | function evaluateParentChildCapacityMode(context: ValidationContext): ValidationIssue[] { |
| LOW | …uler-ui/src/main/webapp/src/config/validation-rules.ts | 476 | function evaluateWeightModeTransitionFlexibleAQC(context: ValidationContext): ValidationIssue[] { |
| LOW | …er-ui/src/main/webapp/src/config/properties/helpers.ts | 27 | export function getTemplatePropertyDefinitions(): PropertyDescriptor[] { |
| LOW | …er-ui/src/main/webapp/src/config/properties/helpers.ts | 31 | export function getTemplatePropertiesByCategory(category: PropertyCategory): PropertyDescriptor[] { |
| LOW | …rc/features/property-editor/hooks/usePropertyEditor.ts | 36 | function mergeFormAndValidationErrors( |
| LOW | …gement/components/QueueVisualizationContainer.test.tsx | 109 | function createSchedulerStoreState() { |
| LOW | …gement/components/QueueVisualizationContainer.test.tsx | 176 | function defaultSchedulerStoreImpl( |
| LOW | …rc/features/queue-management/hooks/useQueueTreeData.ts | 618 | function augmentQueueTreeWithStagedQueues( |
| LOW | …ebapp/src/features/template-config/utils/scopeUtils.ts | 136 | function stagedTemplatePathsForSuffix( |
| LOW | …src/features/staged-changes/utils/queueStateManager.ts | 18 | export function getParentQueuesForAdditions( |
| LOW | …src/features/staged-changes/utils/queueStateManager.ts | 66 | export function getQueuesForAutoCreationEnable(changes: StagedChange[]): string[] { |
| LOW | …src/features/staged-changes/utils/queueStateManager.ts | 105 | export function prepareMutationRequestForSubmission(request: SchedConfUpdateInfo): { |
| LOW | …src/features/staged-changes/utils/queueStateManager.ts | 140 | export function prepareMutationRequestWithVersion( |
| LOW | …/features/placement-rules/utils/placementRulesUtils.ts | 42 | export function extractPlacementRulesFromConfig( |
| LOW | …acement-rules/components/CustomPlacementHelpDialog.tsx | 39 | export function CustomPlacementHelpDialog({ |
| LOW | …s/global-settings/hooks/useGlobalPropertyValidation.ts | 24 | export function useGlobalPropertyValidation() { |
| LOW | …webapp/src/features/validation/utils/affectedQueues.ts | 25 | export function getAffectedQueuesForValidation( |
| LOW | …-scheduler-ui/src/main/webapp/src/utils/configUtils.ts | 60 | export function getEffectivePropertyValue( |
| LOW | …-scheduler-ui/src/main/webapp/src/utils/configUtils.ts | 96 | export function buildEffectivePropertyKey(queuePath: string, propertyName: string): string { |
| LOW | …cheduler-ui/src/main/webapp/src/utils/propertyUtils.ts | 65 | export function buildNodeLabelPropertyKey( |
| LOW | …ler-ui/src/main/webapp/src/lib/errors/readOnlyGuard.ts | 15 | export function createReadOnlyBlockedError(operation: string): { |
| LOW | …duler-ui/src/main/webapp/src/lib/errors/error-utils.ts | 68 | export function createDetailedErrorMessage( |
| LOW | …n/server/resourcemanager/webapp/RMAppAttemptBlock.java | 77 | .append("function getTableDataFromObjectArray(objectArray, fields) {") |
| LOW | …n/server/resourcemanager/webapp/RMAppAttemptBlock.java | 242 | .append("function handleRefreshSchedulerActDone(data){") |
| LOW | …n/server/resourcemanager/webapp/RMAppAttemptBlock.java | 249 | .append("function handleQuerySchedulerActDone(data){") |
| LOW | …n/server/resourcemanager/webapp/RMAppAttemptBlock.java | 279 | .append("function refreshSchedulerDiagnostics() {") |
| LOW | …n/server/resourcemanager/webapp/RMAppAttemptBlock.java | 284 | .append("function querySchedulerDiagnostics() {") |
| LOW | …ache/hadoop/yarn/server/AMHeartbeatRequestHandler.java | 44 | public class AMHeartbeatRequestHandler extends SubjectInheritingThread { |
| LOW | …doop/yarn/server/timeline/TestTimelineDataManager.java | 43 | public class TestTimelineDataManager extends TimelineStoreTestUtils { |
| LOW | …e/hadoop/yarn/server/timeline/TimelineDataManager.java | 55 | public class TimelineDataManager extends AbstractService { |
| LOW | …adoop-yarn-ui/src/main/webapp/app/adapters/yarn-log.js | 21 | function createEmptyContainerLogInfo(location) { |
| LOW | …rn-ui/src/main/webapp/app/components/sunburst-chart.js | 195 | function initializeBreadcrumbTrail() { |
| LOW | …n-ui/src/main/webapp/app/helpers/log-adapter-helper.js | 19 | export function createEmptyContainerLogInfo(location) { |
| LOW | …oop-yarn-ui/src/main/webapp/app/initializers/loader.js | 61 | function getYarnHttpProtocolScheme(rmhost, application) { |
| LOW | …tools/hadoop-sls/src/main/html/js/thirdparty/jquery.js | 9039 | function addToPrefiltersOrTransports( structure ) { |
| LOW | …tools/hadoop-sls/src/main/html/js/thirdparty/jquery.js | 9073 | function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { |
| LOW | …oject/hadoop-hdfs/src/main/webapps/static/rest-csrf.js | 39 | function getTrimmedStringArrayValue(element) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …/hadoop/fs/gs/GoogleCloudStorageClientReadChannel.java | 521 | // close existing contentChannel as requested bytes can't be served from current |
| HIGH | …doop/fs/azurebfs/services/ITestAbfsPositionedRead.java | 160 | // disabled, it will only read the exact bytes as requested and no data |
| HIGH | …e/hadoop/hdfs/server/namenode/TestCacheDirectives.java | 1097 | // only 3 because the file only has 3 replicas, not 4 as requested. |
| HIGH | …p/hdfs/server/blockmanagement/LowRedundancyBlocks.java | 257 | //there is less than a third as many blocks as requested; |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …ge-project/hadoop-gcp/src/test/resources/core-site.xml | 40 | # Create a file auth-keys.xml - DO NOT ADD TO REVISION CONTROL |
| MEDIUM | …ct/hadoop-huaweicloud/src/test/resources/core-site.xml | 128 | # Create a file auth-keys.xml - DO NOT ADD TO REVISION CONTROL |
| MEDIUM | …doop-tools/hadoop-aws/src/test/resources/core-site.xml | 225 | # Create a file auth-keys.xml - DO NOT ADD TO REVISION CONTROL |
| MEDIUM | …p-tools/hadoop-aliyun/src/test/resources/core-site.xml | 38 | # Create a file auth-keys.xml - DO NOT ADD TO REVISION CONTROL |
| MEDIUM | …ools/hadoop-azure-datalake/src/test/resources/adls.xml | 17 | # Create a file auth-keys.xml - DO NOT ADD TO REVISION CONTROL |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …applications-catalog-webapp/src/main/webapp/theme.html | 631 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed diam eget risus varius blandit sit amet non |
| LOW | …applications-catalog-webapp/src/main/webapp/theme.html | 631 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed diam eget risus varius blandit sit amet non |
| LOW | …applications-catalog-webapp/src/main/webapp/theme.html | 632 | magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo cursus magna, vel scelerisque |
| LOW | …applications-catalog-webapp/src/main/webapp/theme.html | 632 | magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo cursus magna, vel scelerisque |
| LOW | …nager/placement/csmappingrule/TestVariableContext.java | 188 | .put("%userPhone", "555-3221") |
| LOW | …nager/placement/csmappingrule/TestVariableContext.java | 202 | testCases.put("%userPhone", "555-3221"); |
| LOW | …va/org/apache/hadoop/yarn/webapp/view/LipsumBlock.java | 30 | __("Lorem ipsum dolor sit amet, consectetur adipiscing elit.", |
| LOW | …va/org/apache/hadoop/yarn/webapp/view/LipsumBlock.java | 30 | __("Lorem ipsum dolor sit amet, consectetur adipiscing elit.", |
| LOW | …t/java/org/apache/hadoop/example/ITUseMiniCluster.java | 65 | private static final String TEXT = "Lorem ipsum dolor sit amet, consectetur " |
| LOW | …t/java/org/apache/hadoop/example/ITUseMiniCluster.java | 65 | private static final String TEXT = "Lorem ipsum dolor sit amet, consectetur " |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …/timelineservice/reader/filter/TimelineFilterList.java | 31 | * operator {@link Operator#AND} or {@link Operator#OR}. Since you can use |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …project/hadoop-common/src/main/bin/hadoop-functions.sh | 1946 | # Check if jsvc -help has entry for option -cwd |
| LOW | dev-support/jenkins.sh | 246 | # Check if the CI needs to be run, if so, do so :) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …heduler-ui/src/main/webapp/public/mockServiceWorker.js | 122 | async function handleRequest(event, requestId) { |
| LOW | …tools/hadoop-sls/src/main/html/js/thirdparty/jquery.js | 4401 | function getData( data ) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | dev-support/docker/pkg-resolver/resolve.py | 29 | |
| LOW | dev-support/docker/pkg-resolver/resolve.py | 42 |