I can not see my nodes when I do yarn node -list , although I configured /etc/hadoop/conf/yarn-site.xml with the correct properties (it seems to me, at least for that matter, Slave nodes are not in the Yarn ResourceManager )
Here is what I have done so far:
- installed
resourcemanager on the main - installed
nodemanager on slaves marked yarn-site.xml for this on ALL sites:
<property> <name>yarn.resourcemanager.hostname</name> <value>master-node</value> </property>
after changing the configuration file, restart the resourcemanager and nodemanager on the master and slave devices, respectively.
But still, when I do yarn node -list , I only see
Total Nodes: 0 Node-Id Node-state Node-Http-Address Number-of-Running-Containers
In my nodes, I looked at the .out files in /var/log/hadoop-yarn/ , and I see this in them:
ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 244592 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 32768 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 65536 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
EDIT: when I look at the .log files, I see the following, but I'm not sure how to fix it:
INFO org.apache.hadoop.service.AbstractService: Service NodeManager failed in state STARTED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: <master node ip>:8020:8031 (configuration property 'yarn.resourcemanager.resource-tracker.address') Caused by: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: <master node ip>:8020:8031 (configuration property 'yarn.resourcemanager.resource-tracker.address')
How to connect slave nodes to my node wizard?
hadoop yarn apache-spark
Sother
source share