2016-04-05 10 views
0

Ich habe core-site.xml, , hdfs-site.xml und yarn-site.xml Datei bei '$ (hadoop_home) \ etc \ hadoop'.Wie bekomme ich Hadoop Konfiguration xml info mit Rest api

Ich muss diese XML-Dateien mit Weblink oder WebHdfs Rest Befehl erhalten.

In folgenden Link kann ich core-site.xml, mapred-site.xml mit jmx (oder) Rest Befehl erhalten.

http: // < hostname>: 8088/conf

Wie auch core-site.xml und yarn-site.xml Eigentum zu bekommen?

Antwort

2

Endlich habe ich eine Lösung für das Erhalten von Hadoop-Konfigurationsinformationen mit dem Befehl rest oder jmx.

NameNode Konfiguration:

http: // < host-name>: 50070/conf -> (Kern-site.xml, mapred-site.xml, Garn-site.xml, hdfs-Website .xml)

Node Manager Konfiguration:

http: // < hostname>: 8042/conf -> (Kern-site.xml, mapred-site.xml, Garn-site.xml)

Ressourcenmanager Konfiguration:

http: // < hostname>: 8088/conf -> (Kern-site.xml, mapred-site.xml)

Hinweis: Stellen Sie sicher, DataNode und nodeManager-Informationen müssen mit dem Slave-Knoten überprüfen. Namnode- und ResourceManager-Informationen müssen mit dem Master-Knoten

überprüft werden
Verwandte Themen