解决Hadoop无法启动JobHistoryServer

gosaint@gosaint:/usr/local/hadoop$ sbin/mr-jobhistory-daemon.sh start

==== 出现如下问题:
WARNING: Use of this script to start the MR JobHistory daemon is deprecated.
WARNING: Attempting to execute replacement "mapred --daemon start" instead.
Usage: mapred [OPTIONS] SUBCOMMAND [SUBCOMMAND OPTIONS]
 or    mapred [OPTIONS] CLASSNAME [CLASSNAME OPTIONS]
  where CLASSNAME is a user-provided Java class

  OPTIONS is none or any of:

--config dir   Hadoop config directory
--debug        turn on shell script debug mode
--help         usage information

  SUBCOMMAND is one of:


    Admin Commands:

frameworkuploader   mapreduce framework upload
hsadmin             job history server admin interface

    Client Commands:

archive             create a Hadoop archive
archive-logs        combine aggregated logs into hadoop archives
classpath           prints the class path needed for running mapreduce subcommands
distcp              copy file or directories recursively
envvars             display computed Hadoop environment variables
job                 manipulate MapReduce jobs
minicluster         CLI MiniCluster
pipes               run a Pipes job
queue               get information regarding JobQueues
sampler             sampler
streaming           launch a mapreduce streaming job
version             print the version

    Daemon Commands:

historyserver       run job history servers as a standalone daemon

SUBCOMMAND may print help when invoked w/o parameters or with -h.

==== 使用如下的命令启动

gosaint@gosaint:/usr/local/hadoop$ sbin/mr-jobhistory-daemon.sh start historyserver

gosaint@gosaint:/usr/local/hadoop$ jps

19872 ResourceManager
20003 NodeManager
20916 Jps
19607 SecondaryNameNode
19240 NameNode
20890 JobHistoryServer
19371 DataNode

访问localhost:8088,正常!

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值