You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/04/28 17:09:47 UTC

Review Request 20778: Ambari attempts to format HDFS on every reboot on Ubuntu

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20778/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-5592
    https://issues.apache.org/jira/browse/AMBARI-5592


Repository: ambari


Description
-------

This happens due to the fact that /var/run just like /tmp/ gets cleaned on
reboot on Ubuntu, and the fact that we store format marker in /var/run.

We should probably change the location, not removing support of the old one.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/files/checkForFormat.sh f92f613 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_namenode.py 9138d66 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py cd42a7a 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py a7d4171 

Diff: https://reviews.apache.org/r/20778/diff/


Testing
-------


Thanks,

Andrew Onischuk


Re: Review Request 20778: Ambari attempts to format HDFS on every reboot on Ubuntu

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20778/#review41600
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On April 28, 2014, 3:09 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20778/
> -----------------------------------------------------------
> 
> (Updated April 28, 2014, 3:09 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-5592
>     https://issues.apache.org/jira/browse/AMBARI-5592
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> This happens due to the fact that /var/run just like /tmp/ gets cleaned on
> reboot on Ubuntu, and the fact that we store format marker in /var/run.
> 
> We should probably change the location, not removing support of the old one.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/files/checkForFormat.sh f92f613 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_namenode.py 9138d66 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py cd42a7a 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py a7d4171 
> 
> Diff: https://reviews.apache.org/r/20778/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 20778: Ambari attempts to format HDFS on every reboot on Ubuntu

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20778/#review41596
-----------------------------------------------------------


do we need similar fix for 1.x stacks?

- Dmitro Lisnichenko


On April 28, 2014, 3:09 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20778/
> -----------------------------------------------------------
> 
> (Updated April 28, 2014, 3:09 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-5592
>     https://issues.apache.org/jira/browse/AMBARI-5592
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> This happens due to the fact that /var/run just like /tmp/ gets cleaned on
> reboot on Ubuntu, and the fact that we store format marker in /var/run.
> 
> We should probably change the location, not removing support of the old one.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/files/checkForFormat.sh f92f613 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_namenode.py 9138d66 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py cd42a7a 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py a7d4171 
> 
> Diff: https://reviews.apache.org/r/20778/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>