We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e719b20 commit 1b1d2f1Copy full SHA for 1b1d2f1
rust/operator-binary/src/container.rs
@@ -696,7 +696,7 @@ impl ContainerConfig {
696
# We only redirect 2 (stderr) to 4 (console).
697
# We leave 1 (stdout) alone so the $(...) can catch it.
698
SERVICE_STATE=$({hadoop_home}/bin/hdfs haadmin -getServiceState "$namenode_id" 2>&4 | tail -n1 || true)
699
-
+
700
if [ "$SERVICE_STATE" == "active" ]
701
then
702
ACTIVE_NAMENODE="$namenode_id"
0 commit comments