[Openstack] [Sahara]Cloudera-Manager generate empty Hadoop/HDFS configration

fuguangping fuguangping at unitedstack.com
Mon Aug 8 08:56:30 UTC 2016


Hi all,


I installed sahara on Openstack liberty version, and I succeed to deploy CDH-5.4 without any error. But When I login to the Cloudera-manager VM, I found some wrong Hadoop/HDFS configurations:


[root at int32bit-hadoop-1-cdh-master-001 hdfs]# hdfs dfs -df
Filesystem         Size        Used    Available  Use%
file:///    20061442048  5187198976  14874243072   26%


I checked the hadoop config file in /etc/hadoop/conf, it seemed that the Cloudera-manager fail to update config:


[root at int32bit-hadoop-1-cdh-master-001 hdfs]# cat /etc/hadoop/conf/core-site.xml
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> 



<configuration>
</configuration>



As showed above, the core-site.xml is empty.


Then I checked other config files, it showed the same result with empty configuration.


Here's my master role processes:


CLOUDERA_MANAGER
YARN_JOBHISTORY
YARN_RESOURCEMANAGER
HDFS_SECONDARYNAMENODE
HDFS_NAMENODE 


and slave role processes:


HBASE_REGIONSERVER
HDFS_DATANODE
YARN_NODEMANAGER



sahara.conf:


[DEFAULT]
debug=true
verbose = true
log_dir = /var/log/sahara
use_syslog = false
use_stderr = true
rpc_backend = rabbit
use_floating_ips= True
use_neutron = true
use_namespaces = true
use_rootwrap = true
rootwrap_command="sudo sahara-rootwrap /etc/sahara/rootwrap.conf"


plugins = vanilla,hdp,spark,cdh,ambari,fake,mapr,storm
infrastructure_engine = heat


...


Any help is greatly appreciated.


Regards,

Guangping Fu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160808/c1448ee1/attachment.html>


More information about the Openstack mailing list