XComp commented on a change in pull request #13757:
URL: https://github.com/apache/flink/pull/13757#discussion_r510842846



##########
File path: 
flink-end-to-end-tests/test-scripts/docker-hadoop-secure-cluster/bootstrap.sh
##########
@@ -92,7 +92,12 @@ if [ "$1" == "--help" -o "$1" == "-h" ]; then
     exit 0
 elif [ "$1" == "master" ]; then
     yes| sudo -E -u hdfs $HADOOP_PREFIX/bin/hdfs namenode -format
-
+    sudo -E sudo netstat -tulpn >> /var/log/hadoop/debugging.out

Review comment:
       Just as a side-note: I usually added also `-e` as a parameter getting 
"extended" output. Not sure whether it helps in that case but it's just nice to 
read for someone who knows German: `netstat -tulpen` 😄 

##########
File path: 
flink-end-to-end-tests/test-scripts/docker-hadoop-secure-cluster/bootstrap.sh
##########
@@ -92,7 +92,12 @@ if [ "$1" == "--help" -o "$1" == "-h" ]; then
     exit 0
 elif [ "$1" == "master" ]; then
     yes| sudo -E -u hdfs $HADOOP_PREFIX/bin/hdfs namenode -format
-
+    sudo -E sudo netstat -tulpn >> /var/log/hadoop/debugging.out
+    echo "--------------------" >> /var/log/hadoop/debugging.out
+    sudo -E sudo ps -aux >> /var/log/hadoop/debugging.out
+    echo "--------------------" >> /var/log/hadoop/debugging.out
+    sudo -E sudo jps -v >> /var/log/hadoop/debugging.out

Review comment:
       Are you sure that you want to use `sudo -E sudo #...`? I couldn't test 
it quickly but it looks strange.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to