diff --git a/docs/en/hadoop_java_sdk.md b/docs/en/hadoop_java_sdk.md index 19cb746f5aeff057915efba91a5db2621fc44b6b..18885b43ce200aa44a9dfb65edef4fcead17dbe0 100644 --- a/docs/en/hadoop_java_sdk.md +++ b/docs/en/hadoop_java_sdk.md @@ -95,6 +95,7 @@ Then put the JAR file and `$JAVA_HOME/lib/tools.jar` to the classpath of each Ha | `juicefs.superuser` | `hdfs` | The super user | | `juicefs.users` | `null` | The path of username and UID list file, e.g. `jfs://name/etc/users`. The file format is `:`, one user per line. | | `juicefs.groups` | `null` | The path of group name, GID and group members list file, e.g. `jfs://name/etc/groups`. The file format is `::,`, one group per line. | +| `juicefs.umask` | `null` | like 022,default value from fs.permissions.umask-mode | | `juicefs.push-gateway` | | [Prometheus Pushgateway](https://github.com/prometheus/pushgateway) address, format is `:`. | | `juicefs.push-interval` | 10 | Prometheus push interval in seconds | | `juicefs.push-auth` | | [Prometheus basic auth](https://prometheus.io/docs/guides/basic-auth) information, format is `:`. | diff --git a/docs/zh_cn/hadoop_java_sdk.md b/docs/zh_cn/hadoop_java_sdk.md index f50c47f2401208fb91ef3358054197d15a82cbae..d1f76f6c8fceb73e0f5869c223a817dbb93b8859 100644 --- a/docs/zh_cn/hadoop_java_sdk.md +++ b/docs/zh_cn/hadoop_java_sdk.md @@ -95,6 +95,7 @@ $ make | `juicefs.superuser` | `hdfs` | 超级用户 | | `juicefs.users` | `null` | 用户名以及 UID 列表文件的地址,比如 `jfs://name/etc/users`。文件格式为 `:`,一行一个用户。 | | `juicefs.groups` | `null` | 用户组、GID 以及组成员列表文件的地址,比如 `jfs://name/etc/groups`。文件格式为 `::,`,一行一个用户组。 | +| `juicefs.umask` | `null` | 格式为 022,如果没有此配置,默认值是 fs.permissions.umask-mode | | `juicefs.push-gateway` | | [Prometheus Pushgateway](https://github.com/prometheus/pushgateway) 地址,格式为 `:`。 | | `juicefs.push-interval` | 10 | 推送数据到 Prometheus 的时间间隔,单位为秒。 | | `juicefs.push-auth` | | [Prometheus 基本认证](https://prometheus.io/docs/guides/basic-auth)信息,格式为 `:`。 |