mapred-env.sh 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Licensed to the Apache Software Foundation (ASF) under one or more
  2. # contributor license agreements. See the NOTICE file distributed with
  3. # this work for additional information regarding copyright ownership.
  4. # The ASF licenses this file to You under the Apache License, Version 2.0
  5. # (the "License"); you may not use this file except in compliance with
  6. # the License. You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. ##
  16. ## THIS FILE ACTS AS AN OVERRIDE FOR hadoop-env.sh FOR ALL
  17. ## WORK DONE BY THE mapred AND RELATED COMMANDS.
  18. ##
  19. ## Precedence rules:
  20. ##
  21. ## mapred-env.sh > hadoop-env.sh > hard-coded defaults
  22. ##
  23. ## MAPRED_xyz > HADOOP_xyz > hard-coded defaults
  24. ##
  25. ###
  26. # Generic settings for MapReduce
  27. ###
  28. #Override the log4j settings for all MR apps
  29. # Java property: hadoop.root.logger
  30. # export MAPRED_ROOT_LOGGER="INFO,console"
  31. # Override Hadoop's log directory & file
  32. # Java property: hadoop.log.dir
  33. # export HADOOP_MAPRED_LOG_DIR=""
  34. # Override Hadoop's pid directory
  35. # export HADOOP_MAPRED_PID_DIR=
  36. # Override Hadoop's identity string. $USER by default.
  37. # This is used in writing log and pid files, so keep that in mind!
  38. # Java property: hadoop.id.str
  39. # export HADOOP_MAPRED_IDENT_STRING=$USER
  40. # Override Hadoop's process priority
  41. # Note that sub-processes will also run at this level!
  42. # export HADOOP_MAPRED_NICENESS=0
  43. ###
  44. # Job History Server specific parameters
  45. ###
  46. # Specify the max heapsize for the JobHistoryServer. If no units are
  47. # given, it will be assumed to be in MB.
  48. # This value will be overridden by an Xmx setting specified in either YARN_OPTS,
  49. # HADOOP_OPTS, and/or HADOOP_JOB_HISTORYSERVER_OPTS.
  50. # Default is the same as HADOOP_HEAPSIZE_MAX.
  51. #export HADOOP_JOB_HISTORYSERVER_HEAPSIZE=
  52. # Specify the JVM options to be used when starting the HistoryServer.
  53. # These options will be appended to the options specified as YARN_OPTS
  54. # and therefore may override any similar flags set in YARN_OPTS
  55. #export HADOOP_JOB_HISTORYSERVER_OPTS=
  56. # Specify the log4j settings for the JobHistoryServer
  57. # Java property: hadoop.root.logger
  58. #export HADOOP_JHS_LOGGER=INFO,RFA