ODPI-143. java.io.IOException: Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/19654438 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/19654438 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/19654438 Branch: refs/heads/BIGTOP-2666 Commit: 19654438387dfd13166a66baa2fd5c082c101101 Parents: bebdd09 Author: Roman Shaposhnik <[email protected]> Authored: Mon Nov 7 23:39:12 2016 -0800 Committer: Roman Shaposhnik <[email protected]> Committed: Fri Feb 24 11:47:33 2017 -0800 ---------------------------------------------------------------------- bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml | 7 ------- docker/sandbox/site.yaml.template.centos-6_hadoop | 9 ++++++--- 2 files changed, 6 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/19654438/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml ---------------------------------------------------------------------- diff --git a/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml b/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml index 5a36484..e95150a 100644 --- a/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml +++ b/bigtop-deploy/puppet/modules/hadoop/templates/hdfs-site.xml @@ -242,13 +242,6 @@ <value><%= @hdfs_data_dirs.map { |dir| "file://#{dir}" }.join(",") %></value> </property> - <!-- BEGIN: Specific change for ODPi reference build ONLY --> - <property> - <name>dfs.client.block.write.replace-datanode-on-failure.enable</name> - <value>false</value> - </property> - <!-- END: Specific change for ODPi reference build ONLY --> - <% if @hdfs_replace_datanode_on_failure %> <property> <name>dfs.client.block.write.replace-datanode-on-failure.enable</name> http://git-wip-us.apache.org/repos/asf/bigtop/blob/19654438/docker/sandbox/site.yaml.template.centos-6_hadoop ---------------------------------------------------------------------- diff --git a/docker/sandbox/site.yaml.template.centos-6_hadoop b/docker/sandbox/site.yaml.template.centos-6_hadoop index 71a7c33..63d0325 100644 --- a/docker/sandbox/site.yaml.template.centos-6_hadoop +++ b/docker/sandbox/site.yaml.template.centos-6_hadoop @@ -15,6 +15,9 @@ bigtop::hadoop_head_node: "head.node.fqdn" hadoop::hadoop_storage_dirs: [/data/1, /data/2] -bigtop::bigtop_repo_uri: http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/centos/6/x86_64 -hadoop_cluster_node::cluster_components: [hadoop, yarn] -bigtop::jdk_package_name: java-1.7.0-openjdk-devel.x86_64 +bigtop::bigtop_repo_uri: $2 +hadoop_cluster_node::cluster_components: $3 +bigtop::jdk_package_name: $4 +hadoop::common_hdfs::testonly_hdfs_sshkeys: "yes" +hadoop::common_hdfs::hdfs_replace_datanode_on_failure: "false" +EOF
