瀏覽代碼

HDFS-12710. HTTPFS HTTP max header size env variable is not respected in branch-2. Contributed by Istvan Fajth.

John Zhuge 7 年之前
父節點
當前提交
952aa3f168
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh

+ 2 - 0
hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh

@@ -67,6 +67,8 @@ if [[ "${1}" = "start" || "${1}" = "run" ]]; then
   catalina_set_property "httpfs.admin.port" "${HTTPFS_ADMIN_PORT}"
   catalina_set_property "httpfs.http.port" "${HTTPFS_HTTP_PORT}"
   catalina_set_property "httpfs.http.hostname" "${HTTPFS_HTTP_HOSTNAME}"
+  catalina_set_property "httpfs.max.http.header.size" \
+    "${HTTPFS_MAX_HTTP_HEADER_SIZE}"
   catalina_set_property "httpfs.ssl.enabled" "${HTTPFS_SSL_ENABLED}"
   catalina_set_property "httpfs.ssl.client.auth" "${HTTPFS_SSL_CLIENT_AUTH}"
   catalina_set_property "httpfs.ssl.enabled.protocols" \