Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 84CA718CAD for ; Sun, 18 Oct 2015 22:14:05 +0000 (UTC) Received: (qmail 29379 invoked by uid 500); 18 Oct 2015 22:14:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 29287 invoked by uid 500); 18 Oct 2015 22:14:05 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 29261 invoked by uid 99); 18 Oct 2015 22:14:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Oct 2015 22:14:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 11CF22C1F5F for ; Sun, 18 Oct 2015 22:14:05 +0000 (UTC) Date: Sun, 18 Oct 2015 22:14:05 +0000 (UTC) From: "Theodore Omtzigt (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-13462) NameNode fails to start due to unexpected version of storage directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-13462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962654#comment-14962654 ] Theodore Omtzigt commented on AMBARI-13462: ------------------------------------------- Sumit: good call on the /opt/hadoop-2.6.0 jars. Stupidity on our side: another engineer was/is developing an Ansible playbook to install Hadoop and designed a setup where the JDK installation also sets the HADOOP_PREFIX environment variable. So that got picked up by the ambari agent resulting in our troubles. Clearly this was NOT a fresh install as I reported in the bug report. When I cleaned out the remnants of the Ansible playbook that set the HADOOP_PREFIX variable, the HDP 2.3.2 cluster came up in without a hitch. This is thus not a bug in Ambari/HDP, but squarely our mistakes and poor engineering process. Terribly sorry to have occupied your time. Thank you very much for your support, and the debug process that you presented. That clearly was invaluable to us. Thank you, and we can close this bug ticket. > NameNode fails to start due to unexpected version of storage directory > ---------------------------------------------------------------------- > > Key: AMBARI-13462 > URL: https://issues.apache.org/jira/browse/AMBARI-13462 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.1.2 > Environment: Ubuntu 14.04 LTS fresh install > Reporter: Theodore Omtzigt > > NameNode service does not start on fresh install through Wizard. > 2015-10-18 10:18:54,427 FATAL namenode.NameNode (NameNode.java:main(1509)) - Failed to start namenode. > org.apache.hadoop.hdfs.server.common.IncorrectVersionException: Unexpected version of storage directory /hadoop/hdfs/namenode. Reported: -63. Expecting = -60. > Removing the content of /hadoop/hdfs/namenode, and restarting the NameNode through the Ambari server, yields a repeatable process to trigger this bug. -- This message was sent by Atlassian JIRA (v6.3.4#6332)