[GitHub] [hadoop] GauthamBanasandra commented on a change in pull request #3151: HADOOP-17778. CI for Centos 8

2021-06-30 Thread GitBox


GauthamBanasandra commented on a change in pull request #3151:
URL: https://github.com/apache/hadoop/pull/3151#discussion_r661641578



##
File path: 
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests/configuration_test.cc
##
@@ -19,6 +19,7 @@
 #include "configuration_test.h"
 #include "common/configuration.h"
 #include "common/configuration_loader.h"
+

Review comment:
   @goiri I've undone the C++ changes.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



[GitHub] [hadoop] GauthamBanasandra commented on a change in pull request #3151: HADOOP-17778. CI for Centos 8

2021-06-29 Thread GitBox


GauthamBanasandra commented on a change in pull request #3151:
URL: https://github.com/apache/hadoop/pull/3151#discussion_r660716133



##
File path: dev-support/Jenkinsfile
##
@@ -56,6 +56,34 @@ pipeline {
 }
 }
 
+// This is an optional stage which runs only when there's a change in
+// C++/C++ build/platform.
+// This stage serves as a means of cross platform validation, which is
+// really needed to ensure that any C++ related/platform change doesn't
+// break the Hadoop build on Centos 8.
+stage ('precommit-run Centos 8') {
+environment {
+DOCKERFILE = 
"${SOURCEDIR}/dev-support/docker/Dockerfile_centos_8"
+IS_OPTIONAL = 1
+}
+
+steps {
+withCredentials(
+[usernamePassword(credentialsId: 
'apache-hadoop-at-github.com',

Review comment:
   @goiri I tried the following -
   1. Putting the stages for Centos 8, Debian 10, Ubuntu Focal under a common 
credentials block - 
https://github.com/apache/hadoop/pull/3145/commits/b1cf25ce9d756c8a3c7cb5ec3b9637c16ec2.
 This results in a syntax error.
   2. Putting all the stages under the same credentials block - 
https://github.com/apache/hadoop/pull/3145/commits/f3b8b72b4c2af3f1584a7228d123049da8290f3c.
 Syntax error.
   3. Creating credential environment variables that are scoped to the stages - 
https://github.com/apache/hadoop/pull/3145/commits/74acdc93c7cb6a5df612a81326f577e87f597c8b.
 This syntax isn't supported as well.
   4. Moved these environment variables to the scope of the whole pipeline - 
https://github.com/apache/hadoop/pull/3145/commits/83d7399b75551a0b9e73a7ba116450a2964eb81e.
 This is not at all recommended since leads to poor management of credentials. 
Moreover, this didn't work.
   
   I think there's no way to work around this one. Could we please proceed with 
the current approach for now?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



[GitHub] [hadoop] GauthamBanasandra commented on a change in pull request #3151: HADOOP-17778. CI for Centos 8

2021-06-29 Thread GitBox


GauthamBanasandra commented on a change in pull request #3151:
URL: https://github.com/apache/hadoop/pull/3151#discussion_r659974899



##
File path: 
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests/configuration_test.cc
##
@@ -19,6 +19,7 @@
 #include "configuration_test.h"
 #include "common/configuration.h"
 #include "common/configuration_loader.h"
+

Review comment:
   Yeah, it was just to trigger the tests. But it also looks nice to 
separate the custom headers from library headers. 😁




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



[GitHub] [hadoop] GauthamBanasandra commented on a change in pull request #3151: HADOOP-17778. CI for Centos 8

2021-06-28 Thread GitBox


GauthamBanasandra commented on a change in pull request #3151:
URL: https://github.com/apache/hadoop/pull/3151#discussion_r659974899



##
File path: 
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests/configuration_test.cc
##
@@ -19,6 +19,7 @@
 #include "configuration_test.h"
 #include "common/configuration.h"
 #include "common/configuration_loader.h"
+

Review comment:
   Yeah, it was just to trigger the tests. But it also looks nice to 
separate the custom headers from library headers. 😁




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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