官术网_书友最值得收藏!

Setting up the YARN service

In this section, we will set up a YARN service and start the components needed to run and operate a YARN cluster:

  1. Start the ResourceManager daemon and the NodeManager daemon:

$ sbin/start-yarn.sh
  1. Browse the web interface for the ResourceManager; by default it is available at: http://localhost:8088/

  2. Run a MapReduce job

  3. When you're done, stop the daemons with the following:

$ sbin/stop-yarn.sh

The following is the YARN ResourceManager, which you can view by putting the URL http://localhost:8088/ into the browser:

Figure: Screenshot of YARN ResouceManager

The following is a view showing the queues of resources in the cluster, along with any applications running. This is also the place where you can see and monitor the running jobs:

Figure: Screenshot of queues of resources in the cluster

At this time, we should be able to see the running YARN service in our local cluster running Hadoop 3.1.0. Next, we will look at some new features in Hadoop 3.x.

主站蜘蛛池模板: 云林县| 鸡泽县| 夏邑县| 濉溪县| 西华县| 云浮市| 隆昌县| 华坪县| 潞城市| 吕梁市| 平和县| 沅江市| 七台河市| 九江县| 界首市| 呼和浩特市| 金山区| 金沙县| 望城县| 芜湖县| 调兵山市| 高安市| 临城县| 临桂县| 隆林| 延川县| 南宁市| 茶陵县| 绿春县| 洮南市| 乌拉特中旗| 武强县| 三亚市| 抚顺市| 天水市| 淄博市| 泾源县| 海盐县| 会理县| 化德县| 延庆县|