Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
This repository was archived by the owner on Mar 27, 2022. It is now read-only.

Can't install with Ambari 2.5+ #103

Description

@adamresson

I tried upgrading to a newer version of Ambari (2.5 or 2.6) and every time my HDFS NameNode ends up failing.

It turns out, the problem ends up being with the default configuration recommendation provided by ambari, it sets the namenode directory to /mnt/pd1/hadoop/hdfs/namenode,/hadoop/hdfs/namenode which is two directories, but really the same directory since /hadoop is just a symlink to /mnt/pd1/hadoop. Therefore, when NameNode starts up, it tries to 'lock' the directory twice, but can't, since it sees itself as already having locked it.

I've deployed Ambari using the ambari_manual environment instead (where it just deploys ambari, and no services). This works initially, but when you go to install HDFS (unless you manually change the config) you get the same problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions