Reply
Highlighted
Explorer
Posts: 12
Registered: ‎06-14-2018

Could not find yarn-site.xml, make sure to deploy yarn client in UI

[ Edited ]

Deploy hbase failed. It looks for the folder /etc/hadoop/conf.cloudera.yarn. But, at the master server. the folder name is conf.cloudera.YARN and conf.cloudera.HDFS. "YARN" and "HDFS" are capital case. See below. How to solve it?

 

Error Messages:

 

++ echo 'Copying yarn-site.xml to hbase directory'

++ '[' -r /etc/hadoop/conf.cloudera.yarn/yarn-site.xml ']'

++ echo 'Could not find yarn-site.xml, make sure to deploy yarn client in UI'

Could not find yarn-site.xml, make sure to deploy yarn client in UI

 

 

ls -alF /etc/hadoop

total 12

drwxr-xr-x    4 root root   70 Jun 26 11:29 ./

drwxr-xr-x. 101 root root 8192 Jun 26 11:27 ../

lrwxrwxrwx    1 root root   29 Jun 26 11:29 conf -> /etc/alternatives/hadoop-conf/

drwxr-xr-x    2 root root  214 Jun 26 11:29 conf.cloudera.HDFS/

drwxr-xr-x    2 root root  258 Jun 26 11:29 conf.cloudera.YARN/

 

ls -alF /etc/hadoop/conf.cloudera.YARN

total 48

drwxr-xr-x 2 root root  258 Jun 26 11:29 ./

drwxr-xr-x 4 root root   70 Jun 26 11:29 ../

-rw-r--r-- 1 root root   20 Jun 26 11:29 __cloudera_generation__

-rw-r--r-- 1 root root   66 Jun 26 11:29 __cloudera_metadata__

-rw-r--r-- 1 root root 3870 Jun 26 11:29 core-site.xml

-rw-r--r-- 1 root root  617 Jun 26 11:29 hadoop-env.sh

-rw-r--r-- 1 root root 1772 Jun 26 11:29 hdfs-site.xml

-rw-r--r-- 1 root root  314 Jun 26 11:29 log4j.properties

-rw-r--r-- 1 root root 5107 Jun 26 11:29 mapred-site.xml

-rw-r--r-- 1 root root  315 Jun 26 11:29 ssl-client.xml

-rw-r--r-- 1 root root  630 Jun 26 11:29 topology.map

-rwxr-xr-x 1 root root 1594 Jun 26 11:29 topology.py*

-rw-r--r-- 1 root root 3661 Jun 26 11:29 yarn-site.xml

 

 

ls -alF /etc/hadoop/conf.cloudera.HDFS

total 36

drwxr-xr-x 2 root root  214 Jun 26 11:29 ./

drwxr-xr-x 4 root root   70 Jun 26 11:29 ../

-rw-r--r-- 1 root root   20 Jun 26 11:29 __cloudera_generation__

-rw-r--r-- 1 root root   66 Jun 26 11:29 __cloudera_metadata__

-rw-r--r-- 1 root root 3557 Jun 26 11:29 core-site.xml

-rw-r--r-- 1 root root 2696 Jun 26 11:29 hadoop-env.sh

-rw-r--r-- 1 root root 1772 Jun 26 11:29 hdfs-site.xml

-rw-r--r-- 1 root root  314 Jun 26 11:29 log4j.properties

-rw-r--r-- 1 root root  315 Jun 26 11:29 ssl-client.xml

-rw-r--r-- 1 root root  630 Jun 26 11:29 topology.map

-rwxr-xr-x 1 root root 1594 Jun 26 11:29 topology.py*

Announcements