HAD-646. /etc/default/hadoop-hdfs-nonstop should be preserved during package update
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/f431feec Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/f431feec Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/f431feec Branch: refs/heads/master Commit: f431feecf6e2cdfc611a7bd8259db448d104a9b8 Parents: 4f81598 Author: Konstantin Boudnik <[email protected]> Authored: Thu Jan 23 11:52:25 2014 -0800 Committer: Konstantin Boudnik <[email protected]> Committed: Thu Jan 23 11:52:25 2014 -0800 ---------------------------------------------------------------------- .../rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/f431feec/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec b/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec index cc64813..d150ef2 100644 --- a/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec +++ b/bigtop-packages/src/rpm/wdd-namenode-nonstop/SPECS/wdd-namenode-nonstop.spec @@ -170,7 +170,7 @@ done %defattr(-,root,root) %{lib_hdfs} %{initd_dir}/hadoop-hdfs-nonstop -/etc/default/hadoop-hdfs-nonstop +%config(noreplace) /etc/default/hadoop-hdfs-nonstop %attr(0755,root,root) %config(noreplace) %{conf_dcone} %config(noreplace) %{etc_hadoop}/conf.nonstop/core-site.xml @@ -184,10 +184,12 @@ done %{lib_hadoop}/sbin/secondary-nonstop-daemon.sh %{lib_hadoop}/sbin/secondary-nonstop-loop.sh %{initd_dir}/hadoop-hdfs-nonstop-checkpoints -/etc/default/hadoop-hdfs-nonstop-checkpoints +%config(noreplace) /etc/default/hadoop-hdfs-nonstop-checkpoints %{conf_checkpoints} %changelog +* Thu Jan 23 2014 Konstantin Boudnik <[email protected]> +- Default settings shouldn't be upgraded in the package update * Thu Oct 24 2013 Konstantin Boudnik <[email protected]> - Adding checkpointing daemon to save checkpoints from all non-stop namenodes, using secondarynamenode mechanism
