Author: rvs Date: Tue Mar 20 15:35:37 2012 New Revision: 1302941 URL: http://svn.apache.org/viewvc?rev=1302941&view=rev Log: BIGTOP-457. Bigtop 0.3.0: Hadoop namenode doesnt start after installing the deb package (James Page and Vijay Srinivasan via rvs)
Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.postinst Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.postinst URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.postinst?rev=1302941&r1=1302940&r2=1302941&view=diff ============================================================================== --- incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.postinst (original) +++ incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/hadoop.postinst Tue Mar 20 15:35:37 2012 @@ -34,6 +34,8 @@ case "$1" in # We don't want to do this recursively since we may be reinstalling, in which case # users have their own cache/<username> directories which shouldn't be stolen chown root:hadoop /var/lib/hadoop/ /var/lib/hadoop/cache/ /var/lib/hadoop/cache/hadoop/ + # Ensure group write on this directory or we can't start/format namenode or datanode + chmod 775 /var/lib/hadoop/cache/hadoop chmod 1777 /var/lib/hadoop/cache/ update-alternatives --install /etc/hadoop/conf hadoop-conf /etc/hadoop/conf.empty 10 ;;