zoukankan      html  css  js  c++  java
  • MR的常用命令

    [hadoop@hadoop001 ~]$ mapred job
    Usage: CLI <command> <args>
    [-submit <job-file>]
    [-status <job-id>]
    [-counter <job-id> <group-name> <counter-name>]
    [-kill <job-id>]
    [-set-priority <job-id> <priority>]. Valid values for priorities are: VERY_HIGH HIGH NORMAL LOW VERY_LOW
    [-events <job-id> <from-event-#> <#-of-events>]
    [-history [all] <jobHistoryFile|jobId> [-outfile <file>] [-format <human|json>]]
    [-list [all]]
    [-list-active-trackers]
    [-list-blacklisted-trackers]
    [-list-attempt-ids <job-id> <task-type> <task-state>]. Valid values for <task-type> are MAP REDUCE. Valid values for <task-state> are running, completed
    [-kill-task <task-attempt-id>]
    [-fail-task <task-attempt-id>]
    [-logs <job-id> <task-attempt-id>]

    Generic options supported are
    -conf <configuration file> specify an application configuration file
    -D <property=value> use value for given property
    -fs <local|namenode:port> specify a namenode
    -jt <local|resourcemanager:port> specify a ResourceManager
    -files <comma separated list of files> specify comma separated files to be copied to the map reduce cluster
    -libjars <comma separated list of jars> specify comma separated jar files to include in the classpath.
    -archives <comma separated list of archives> specify comma separated archives to be unarchived on the compute machines.

    The general command line syntax is
    bin/hadoop command [genericOptions] [commandOptions]

    [hadoop@hadoop001 ~]$

  • 相关阅读:
    Docker之路-docker架构
    Docker之路-认识docker
    Docker之路-版本选择及安装
    Golang理解-集合
    大话算法-动态规划算法
    运维职责
    Golang理解-匿名结构体
    DotNetty项目基本了解和介绍
    变量声明在循环体内还是循环体外的争论
    SqlServer与MySql语法比较
  • 原文地址:https://www.cnblogs.com/xuziyu/p/10456727.html
Copyright © 2011-2022 走看看