mapred-env.sh 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. # Job History Server specific parameters
  27. ###
  28. # Specify the max heapsize for the JobHistoryServer. If no units are
  29. # given, it will be assumed to be in MB.
  30. # This value will be overridden by an Xmx setting specified in HADOOP_OPTS,
  31. # and/or HADOOP_JOB_HISTORYSERVER_OPTS.
  32. # Default is the same as HADOOP_HEAPSIZE_MAX.
  33. #export HADOOP_JOB_HISTORYSERVER_HEAPSIZE=
  34. # Specify the JVM options to be used when starting the HistoryServer.
  35. # These options will be appended to the options specified as HADOOP_OPTS
  36. # and therefore may override any similar flags set in HADOOP_OPTS
  37. #export HADOOP_JOB_HISTORYSERVER_OPTS=
  38. # Specify the log4j settings for the JobHistoryServer
  39. # Java property: hadoop.root.logger
  40. #export HADOOP_JHS_LOGGER=INFO,RFA