----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29885/#review68053 -----------------------------------------------------------
Ship it! Ship It! - Dmitro Lisnichenko On Jan. 14, 2015, 4:16 p.m., Vitalyi Brodetskyi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/29885/ > ----------------------------------------------------------- > > (Updated Jan. 14, 2015, 4:16 p.m.) > > > Review request for Ambari and Dmitro Lisnichenko. > > > Bugs: AMBARI-9125 > https://issues.apache.org/jira/browse/AMBARI-9125 > > > Repository: ambari > > > Description > ------- > > PROBLEM: > If we specify a comma separated list of directories for SecondaryNameNode > Checkpoint directories via Ambari, the directories are not getting created > and Secondary Nemnode fails to start. Below error message is seen in the > Secondary Namenode logs: > 2015-01-05 20:24:55,077 FATAL namenode.SecondaryNameNode > (SecondaryNameNode.java:main(673)) - Failed to start secondary namenode > org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory > /hadoop/hdfs/namesecondary2 is in an inconsistent state: checkpoint directory > does not exist or is not accessible. > at > org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$CheckpointStorage.recoverCreate(SecondaryNameNode.java:967) > at > org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:243) > at > org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:192) > at > org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:671) > 2015-01-05 20:24:55,082 INFO util.ExitUtil (ExitUtil.java:terminate(124)) - > Exiting with status 1 > 2015-01-05 20:24:55,085 INFO namenode.SecondaryNameNode > (StringUtils.java:run(659)) - SHUTDOWN_MSG: > /************************************************************ > SHUTDOWN_MSG: Shutting down SecondaryNameNode at hdp22.local.com/192.168.56.80 > ************************************************************/ > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_snamenode.py > c650c4d > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py > cfef5c4 > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_snamenode.py 678edc2 > ambari-server/src/test/python/stacks/2.0.6/configs/default.json 9132b2f > > Diff: https://reviews.apache.org/r/29885/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Vitalyi Brodetskyi > >
