File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -548,6 +548,12 @@ impl ContainerConfig {
548
548
args. push_str ( & Self :: export_kerberos_real_env_var_command ( ) ) ;
549
549
}
550
550
551
+ let upgrade_args = if hdfs. is_upgrading ( ) && * role == HdfsRole :: NameNode {
552
+ "-rollingUpgrade started"
553
+ } else {
554
+ ""
555
+ } ;
556
+
551
557
match self {
552
558
ContainerConfig :: Hdfs { role, .. } => {
553
559
args. push_str ( & self . copy_log4j_properties_cmd (
@@ -571,11 +577,6 @@ wait_for_termination $!
571
577
{create_vector_shutdown_file_command}
572
578
"# ,
573
579
hadoop_home = Self :: HADOOP_HOME ,
574
- upgrade_args = if hdfs. is_upgrading( ) && * role == HdfsRole :: NameNode {
575
- "-rollingUpgrade started"
576
- } else {
577
- ""
578
- } ,
579
580
remove_vector_shutdown_file_command =
580
581
remove_vector_shutdown_file_command( STACKABLE_LOG_DIR ) ,
581
582
create_vector_shutdown_file_command =
You can’t perform that action at this time.
0 commit comments