[ https://issues.apache.org/jira/browse/HDFS-16681?focusedWorklogId=794607&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-794607 ]
ASF GitHub Bot logged work on HDFS-16681: ----------------------------------------- Author: ASF GitHub Bot Created on: 24/Jul/22 07:08 Start Date: 24/Jul/22 07:08 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on PR #4615: URL: https://github.com/apache/hadoop/pull/4615#issuecomment-1193261317 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |:----:|----------:|--------:|:--------:|:-------:| | +0 :ok: | reexec | 26m 49s | | Docker mode activated. | |||| _ Prechecks _ | | +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 0s | | codespell was not available. | | +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available. | | +1 :green_heart: | @author | 0m 0s | | The patch does not contain any @author tags. | | +1 :green_heart: | test4tests | 0m 0s | | The patch appears to include 1 new or modified test files. | |||| _ trunk Compile Tests _ | | +1 :green_heart: | mvninstall | 31m 6s | | trunk passed | | +1 :green_heart: | compile | 3m 45s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 35s | | trunk passed | | +1 :green_heart: | shadedclient | 66m 20s | | branch has no errors when building and testing our client artifacts. | |||| _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 21s | | the patch passed | | +1 :green_heart: | compile | 3m 28s | | the patch passed | | +1 :green_heart: | cc | 3m 28s | | the patch passed | | +1 :green_heart: | javac | 3m 28s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | mvnsite | 0m 22s | | the patch passed | | +1 :green_heart: | shadedclient | 32m 3s | | patch has no errors when building and testing our client artifacts. | |||| _ Other Tests _ | | +1 :green_heart: | unit | 113m 25s | | hadoop-hdfs-native-client in the patch passed. | | +1 :green_heart: | asflicense | 0m 41s | | The patch does not generate ASF License warnings. | | | | 246m 22s | | | | Subsystem | Report/Notes | |----------:|:-------------| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4615/1/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/4615 | | Optional Tests | dupname asflicense compile cc mvnsite javac unit codespell detsecrets | | uname | Linux 49aaa0ac343d 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / af899ed0872a57b41cde1b6474cff1e985bab380 | | Default Java | Debian-11.0.16+8-post-Debian-1deb10u1 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4615/1/testReport/ | | modules | C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4615/1/console | | versions | git=2.20.1 maven=3.6.0 | | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org | This message was automatically generated. Issue Time Tracking ------------------- Worklog Id: (was: 794607) Time Spent: 40m (was: 0.5h) > Do not pass GCC flags for MSVC in libhdfspp > ------------------------------------------- > > Key: HDFS-16681 > URL: https://issues.apache.org/jira/browse/HDFS-16681 > Project: Hadoop HDFS > Issue Type: Bug > Components: libhdfs++ > Affects Versions: 3.4.0 > Environment: Windows 10 > Reporter: Gautham Banasandra > Assignee: Gautham Banasandra > Priority: Major > Labels: libhdfscpp, pull-request-available > Time Spent: 40m > Remaining Estimate: 0h > > The tests in HDFS native client uses the *-Wno-missing-field-initializers* > flag to ignore warnings about uninitialized members - > https://github.com/apache/hadoop/blob/8f83d9f56d775c73af6e3fa1d6a9aa3e64eebc37/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests/CMakeLists.txt#L27-L28 > {code} > set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-field-initializers") > set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-field-initializers") > {code} > This leads to the following error on Visual C++. > {code} > [exec] > "E:\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\ALL_BUILD.vcxproj" > (default target) (1) -> > [exec] > "E:\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\main\native\libhdfspp\tests\x-platform\x_platform_dirent_test_obj.vcxproj" > (default target) (24) -> > [exec] cl : command line error D8021: invalid numeric argument > '/Wno-missing-field-initializers' > [E:\hadoop-hdfs-project\hadoop-hdfs-native-client\target\native\main\native\libhdfspp\tests\x-platform\x_platform_dirent_test_obj.vcxproj] > {code} > Thus, we need to pass this flag only when the compiler isn't Visual C++. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org