This is an automated email from the ASF dual-hosted git repository.

gaurava pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f088f91edba YARN-11820. Fix UTs for TestCombinedSystemMetricsPublisher 
(#7691)
f088f91edba is described below

commit f088f91edbac8d53186f239b3540b9c6c6555842
Author: ASHISH-RANJAN59 <63151788+ashish-ranja...@users.noreply.github.com>
AuthorDate: Mon Jun 16 01:06:06 2025 +0530

    YARN-11820. Fix UTs for TestCombinedSystemMetricsPublisher (#7691)
    
    * This PR installs the required Visual Studio
      redistributable to fix the issue with loading
      leveldbjni library on Windows.
---
 dev-support/docker/Dockerfile_windows_10 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-support/docker/Dockerfile_windows_10 
b/dev-support/docker/Dockerfile_windows_10
index bbd571ae62f..e0ed446abd0 100644
--- a/dev-support/docker/Dockerfile_windows_10
+++ b/dev-support/docker/Dockerfile_windows_10
@@ -119,6 +119,11 @@ RUN powershell pkg-resolver\install-python.ps1
 RUN powershell pkg-resolver\install-pip.ps1
 RUN powershell pip install python-dateutil
 
+## Install the Microsoft Visual C++ 2010 Redistributable to link leveldbjni 
native library
+RUN powershell -Command Invoke-WebRequest -Uri 
https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe
 -OutFile vcredist_x64.exe
+RUN powershell -Command Start-Process -FilePath .\vcredist_x64.exe 
-ArgumentList '/quiet', '/norestart' -Wait
+RUN powershell -Command Remove-Item vcredist_x64.exe
+
 # Create a user HadoopBuilder with basic privileges and use it for building 
Hadoop on Windows.
 RUN powershell New-LocalUser -Name 'HadoopBuilder' -Description 'User account 
for building Apache Hadoop' -Password ([securestring]::new()) 
-AccountNeverExpires -PasswordNeverExpires
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to