hadoop打开append功能
打开append功能需要修改hdfs-site的参数:
<property>
<name>dfs.support.append</name>
<value>true</value>
</property>
修改该参数后,整个hadoop集群需要重新启动
还有个另外的参数需要修改的,就是datanode支持的连接的个数:
<property>
<name>dfs.datanode.max.xcievers</name>
<value>4096</value>
</property>