소스 검색

AMBARI-11192 - The Default hdfs-site.xml Should Have Client Retry Logic Enabled For Rolling Upgrade (jonathanhurley)

Jonathan Hurley 10 년 전
부모
커밋
094c56ef31
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hdfs-site.xml

+ 6 - 0
ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hdfs-site.xml

@@ -33,6 +33,12 @@
     <value>/hadoop/hdfs/journalnode</value>
     <description>The path where the JournalNode daemon will store its local state. </description>
   </property>
+  
+  <property>
+    <name>dfs.client.retry.policy.enabled</name>
+    <value>true</value>
+    <description>Enables HDFS client retry in the event of a NameNode failure.</description>
+  </property>
 
   <property>
     <name>dfs.encryption.key.provider.uri</name>