Member since
04-04-2017
3
Posts
0
Kudos Received
0
Solutions
04-17-2017
07:16 PM
And also, we had to change another default configuration for Ambari Metrics: You can see that by default, the HBase temporary directory is created inside /usr/hdp/, which should not.
... View more
04-12-2017
01:24 AM
Thanks @Namit Maheshwari @rguruvannagari We managed to solve our problem with your help. I'll explain what we did to make the installation successful, if it can help someone.
In the end, it has nothing to do with the Linux distro or the hardware (IBM Power) but the issue was the default configuration for HDFS. First, we deleted by hand every directory that is not /usr/hdp/2.6.0.x-xxxx/, /usr/hdp/current/, and /usr/hdp/share/. Everything that look like a service directory. Our problem was that we had
a /usr/hdp/hadoop/ directory that should not have been there, without understanding why the installation process created it. Second, we changed the HDFS configurations for the NameNode directories and the DataNodes directories. During the installation process, Amabri set up these default paths where we can see our culprit in the NameNode directories: /usr/hdp/hadoop. That's probably why the installation script create this directory, because it's defined in the configuration file. We keep only the local FS /hadoop/hdfs/namenode/ directory for the NameNode (we could have add another one from the network storage but we don't have network storage). We also added our 12 disks per nodes paths for the DataNode directories and deleted the others. I'm just surprised that Ambari will propose "faulty" directories as default, but heh, I guess it's not perfect and you still need to know what you're doing! In the end, the installation process for the NameNodes went through, as the other services. Thanks again,
François
... View more
04-04-2017
08:50 PM
Hi, We're installing HDP 2.6.0 on IBM Power servers, through Ambari 2.5. We have 8 nodes, 1 EdgeNode, 3 MasterNodes, and 4 DataNodes. We're also trying to install all the Hadoop services that can be installed through Ambari. We changed some of the proposed service node placement beacause Ambari tends to put a lot of them on the EdgeNode. We're running into a problem where the NameNode service is trying to install, but it makes the whole installation fail; you can see the full error log attached. In summary, it looks like a Python script tries to grep the HDP version but returns nothing. When we delete the /usr/hdp/hadoop/ directory it works; the grep command will return the HDP version, but somewhere in the installation process, the /usr/hdp/hadoop directory is recreated and it makes the grep command fail again. # /usr/bin/ambari-python-wrap /usr/bin/hdp-select versions
ERROR: Unexpected file/directory found in /usr/hdp: hadoop We obviously don't want to hardcode the HDP version in the Python script. namenode-install-error.txt
... View more
Labels:
- Labels:
-
Apache Hadoop