From 1350539f2de158c08b47f336e8793e7aaecc8177 Mon Sep 17 00:00:00 2001 From: Gautham B A Date: Wed, 11 May 2022 23:04:22 +0530 Subject: [PATCH] HDFS-16465. Remove redundant strings.h inclusions (#4279) * Remove redundant strings.h inclusions * strings.h was included in a bunch of C/C++ files and were redundant. * Also, strings.h is not available on Windows and thus isn't cross-platform compatible. * Build for all platforms in CI * Revert "Build for all platforms in CI" This reverts commit 2650f047bd6791a5908cfbe50cc8e70d42c512cb. * Debug failure on Centos 8 * Skipping pipeline run on Centos 7 to debug the failure on Centos 8. * Revert "Debug failure on Centos 8" This reverts commit e365e34d6fab9df88f4df622910ddb28a8c8796f. --- .../src/main/native/fuse-dfs/fuse_dfs.h | 1 - .../src/main/native/fuse-dfs/fuse_trash.c | 1 - .../src/main/native/libhdfspp/lib/common/configuration.cc | 1 - .../src/main/native/libhdfspp/lib/common/configuration_loader.cc | 1 - 4 files changed, 4 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_dfs.h b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_dfs.h index 4554dbdbea..5ab8ac4131 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_dfs.h +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_dfs.h @@ -25,7 +25,6 @@ #include #include #include -#include #include #include diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_trash.c b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_trash.c index 02f1b5f282..23a00a2889 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_trash.c +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_trash.c @@ -21,7 +21,6 @@ #include #include #include -#include #include "fuse_context_handle.h" #include "fuse_dfs.h" diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration.cc b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration.cc index 947214bdbd..8219740ef0 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration.cc +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration.cc @@ -35,7 +35,6 @@ #include "hdfspp/uri.h" #include "x-platform/syscall.h" -#include #include #include #include diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration_loader.cc b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration_loader.cc index 5301137505..7d88550a81 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration_loader.cc +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/configuration_loader.cc @@ -21,7 +21,6 @@ #include "x-platform/syscall.h" #include -#include #include #include #include