名稱 | 值 | 說明 |
httpfs.http.port | 14000 |
HttpFS REST API 的 HTTP 埠。
|
httpfs.http.hostname | 0.0.0.0 |
HttpFS REST API 的繫結主機。
|
httpfs.http.administrators | | 管理員的 ACL,此組態用於控制哪些使用者可以存取 HttpFS 伺服器的預設 servlet。值應為使用者和群組的逗號分隔清單。使用者清單會先出現,並以空白分隔,接著是群組清單,例如:「user1,user2 group1,group2」。使用者和群組都是選填的,因此「user1」、「 group1」、「」、「user1 group1」、「user1,user2 group1,group2」都是有效的(請注意「 group1」中的前導空白)。「*」會授予所有使用者和群組存取權,例如「*」、「 *」和「 *」都是有效的。
|
httpfs.ssl.enabled | false |
是否啟用 SSL。預設為 false,即已停用。
|
hadoop.http.idle_timeout.ms | 60000 |
Httpfs 伺服器連線逾時(毫秒)。
|
hadoop.http.max.threads | 1000 |
執行緒的最大數量。
|
hadoop.http.max.request.header.size | 65536 |
HTTP 要求標頭的最大大小。
|
hadoop.http.max.response.header.size | 65536 |
HTTP 回應標頭的最大大小。
|
hadoop.http.temp.dir | ${hadoop.tmp.dir}/httpfs |
HttpFS 暫存目錄。
|
httpfs.buffer.size | 4096 |
從 HDFS 串流資料或串流資料至 HDFS 時,讀取/寫入要求所使用的緩衝區大小。
|
httpfs.services |
org.apache.hadoop.lib.service.instrumentation.InstrumentationService, org.apache.hadoop.lib.service.scheduler.SchedulerService, org.apache.hadoop.lib.service.security.GroupsService, org.apache.hadoop.lib.service.hadoop.FileSystemAccessService
|
httpfs 伺服器使用的服務。
|
kerberos.realm | LOCALHOST |
Kerberos 領域,僅在用戶端與 httpfs 或 HttpFS 與 HDFS 之間使用 Kerberos 驗證時使用。此屬性僅用於解析此組態檔中的其他屬性。
|
httpfs.hostname | ${httpfs.http.hostname} |
用於合成 httpfs 使用的 HTTP Kerberos 主體的屬性。此屬性僅用於解析此組態檔中的其他屬性。
|
hadoop.http.authentication.signature.secret.file | ${httpfs.config.dir}/httpfs-signature.secret |
包含用於簽署 HttpFS hadoop-auth cookie 的機密的檔案。此檔案應僅允許執行 HttpFS 服務的系統使用者讀取。如果在負載平衡器/循環方式中使用多個 HttpFS 伺服器,則它們應共用機密檔案。如果此處指定的機密檔案不存在,則會在啟動時產生隨機機密。httpfs.authentication.signature.secret.file 已過時。請改用 hadoop.http.authentication.signature.secret.file。
|
hadoop.http.authentication.type | simple |
定義 httpfs 用於其 HTTP 用戶端的驗證機制。有效值為「simple」或「kerberos」。如果使用「simple」,則 HTTP 用戶端必須使用「user.name」查詢字串參數指定使用者名稱。如果使用「kerberos」,則 HTTP 用戶端必須使用 HTTP SPNEGO 或委派權杖。httpfs.authentication.type 已過時。請改用 hadoop.http.authentication.type。
|
hadoop.http.authentication.kerberos.principal | HTTP/${httpfs.hostname}@${kerberos.realm} |
HTTP 端點中 HttpFS 使用的 HTTP Kerberos 主體。根據 Kerberos HTTP SPNEGO 規範,HTTP Kerberos 主體必須以「HTTP/」開頭。httpfs.authentication.kerberos.principal 已過時。請改用 hadoop.http.authentication.kerberos.principal。
|
hadoop.http.authentication.kerberos.keytab | ${user.home}/httpfs.keytab |
httpfs 在 HTTP 端點中使用的 HTTP Kerberos 主體的認證憑證的 Kerberos keytab 檔案。httpfs.authentication.kerberos.keytab 已棄用。請改用 hadoop.http.authentication.kerberos.keytab。
|
httpfs.delegation.token.manager.update.interval | 86400 |
HttpFS 委派權杖更新間隔,預設 1 天,以秒為單位。
|
httpfs.delegation.token.manager.max.lifetime | 604800 |
HttpFS 委派權杖最長生命週期,預設 7 天,以秒為單位。
|
httpfs.delegation.token.manager.renewal.interval | 86400 |
HttpFS 委派權杖更新間隔,預設 1 天,以秒為單位。
|
httpfs.hadoop.authentication.type | simple |
定義 httpfs 用於連線到 HDFS Namenode 的驗證機制。有效值為「simple」和「kerberos」。
|
httpfs.hadoop.authentication.kerberos.keytab | ${user.home}/httpfs.keytab |
httpfs 用於連線到 HDFS Namenode 的 Kerberos 主體的認證憑證的 Kerberos keytab 檔案。
|
httpfs.hadoop.authentication.kerberos.principal | ${user.name}/${httpfs.hostname}@${kerberos.realm} |
httpfs 用於連線到 HDFS Namenode 的 Kerberos 主體。
|
httpfs.hadoop.filesystem.cache.purge.frequency | 60 |
閒置檔案系統清除常駐程式執行的頻率(以秒為單位)。
|
httpfs.hadoop.filesystem.cache.purge.timeout | 60 |
閒置檔案系統被清除的逾時時間(以秒為單位)。
|
httpfs.access.mode | read-write |
設定 HTTPFS 的存取模式。如果存取不被允許,則會傳回禁止(403)。有效的存取模式為:read-write 允許完全存取 write-only PUT POST 和 DELETE 完全存取。GET 只允許 GETFILESTATUS 和 LISTSTATUS read-only GET PUT POST 和 DELETE 被禁止
|