云计算课程实验
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 line
1.5 KiB

  1. #!/bin/bash
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License. See accompanying LICENSE file.
  14. #
  15. # Set httpfs specific environment variables here.
  16. # Settings for the Embedded Tomcat that runs HttpFS
  17. # Java System properties for HttpFS should be specified in this variable
  18. #
  19. # export CATALINA_OPTS=
  20. # HttpFS logs directory
  21. #
  22. # export HTTPFS_LOG=${HTTPFS_HOME}/logs
  23. export HTTPFS_LOG=/var/log/hadoop-hdfs
  24. # HttpFS temporary directory
  25. #
  26. # export HTTPFS_TEMP=${HTTPFS_HOME}/temp
  27. # The HTTP port used by HttpFS
  28. #
  29. # export HTTPFS_HTTP_PORT=14000
  30. export HTTPFS_HTTP_PORT=14000
  31. # The Admin port used by HttpFS
  32. #
  33. # export HTTPFS_ADMIN_PORT=`expr ${HTTPFS_HTTP_PORT} + 1`
  34. # The hostname HttpFS server runs on
  35. #
  36. # export HTTPFS_HTTP_HOSTNAME=`hostname -f`
  37. # Indicates if HttpFS is using SSL
  38. #
  39. # export HTTPFS_SSL_ENABLED=false
  40. # The location of the SSL keystore if using SSL
  41. #
  42. # export HTTPFS_SSL_KEYSTORE_FILE=${HOME}/.keystore
  43. # The password of the SSL keystore if using SSL
  44. #
  45. # export HTTPFS_SSL_KEYSTORE_PASS=password