You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "markhoerth (via GitHub)" <gi...@apache.org> on 2026/08/09 19:14:21 UTC

[PR] Docs: consolidate the fileset pages [gravitino]

markhoerth opened a new pull request, #12399:
URL: https://github.com/apache/gravitino/pull/12399

   The five per-cloud fileset pages were one page copied five times. After normalizing the cloud name, 70 to 83 percent of each was byte-identical to the S3 page, and all five carried the same twenty headings in the same order. What actually differed per cloud was three or four credential properties, a bundle jar name, and a URI scheme.
   
   Their access sections were worse. Each re-documented the GVFS Java client, Spark, hadoop fs, the Python client, and pandas, roughly 250 lines apiece, all of it already covered in how-to-use-gvfs.md and none of it cloud-specific in substance.
   
   Fold everything into fileset-catalog.md, which already had a Fileset Catalog with Cloud Storage section existing only to link out to the five. Storage backends are now a table plus one short subsection each.
   
   Remove fileset-catalog-index.md, which was a list of links to the pages beside it.
   
   Also fixes a defect the duplication had replicated: four of the five pages had a code comment that escaped its fence and became a level-two heading, so "Replace the following code snippet with the above code snippet with the same environment variables" was rendering as a section in the table of contents.
   
   3,117 lines to roughly 320. `filesets.md` is unchanged.
   
   Follow-up not in this PR: gravitino-site needs the six ids removed from `sidebars.ts` and redirects added for the five deleted cloud slugs, which are the ones most likely to have external inbound links.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "markhoerth (via GitHub)" <gi...@apache.org>.
markhoerth commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5246228668

   @yuqi1129 You were right, and I have restored the five per-cloud pages. Pushed just now.
   
   What I kept from the consolidation is the reference material. The property tables, the fileset model, schema and fileset properties, and property inheritance now live once in fileset-catalog.md rather than being copied five times. That was the drift problem I was trying to solve, and it is solved without touching the user journey.
   
   What is back is the task. Each per-cloud page carries the full runnable path: install the bundle, create the catalog, create the schema, create the fileset, then read it through the Java client, Spark, the Hadoop command line, and Python, with the credential vending variant at the end. Complete start to finish, no cross referencing, which is the point you made.
   
   The pages went from around 550 lines each to around 190, entirely by removing content that fileset-catalog.md now owns. Slugs are unchanged, so no inbound links break.
   
   The fileset catalog index page is not coming back. Its only content was a list of links to the five pages, and the Storage Backends table in fileset-catalog.md now links to each of them directly.
   
   One thing worth flagging that I found while doing this: the Python client spells the storage properties with underscores where the catalog and the Java client use hyphens, s3_endpoint against s3-endpoint. The old pages had both spellings in different sections without ever saying why. Each page now states it explicitly.
   
   The sidebar entries need restoring on the gravitino-site side, which is a separate repo and a separate PR. Note that fileset-catalog-with-cos was never in the sidebar to begin with, so that one is a fix rather than a restore.
   
   Ready for another look when you have time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed pull request #12399: Docs: consolidate the fileset pages
URL: https://github.com/apache/gravitino/pull/12399


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "markhoerth (via GitHub)" <gi...@apache.org>.
markhoerth commented on code in PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#discussion_r3750994851


##########
docs/fileset-catalog.md:
##########
@@ -1,214 +1,200 @@
 ---
 title: "Fileset Catalog"
 slug: "/fileset-catalog"
-date: 2024-4-2
-keyword: "fileset catalog"
+keywords:
+  - fileset
+  - catalog
+  - storage
+  - s3
+  - gcs
+  - adls
+  - oss
+  - cos
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-Fileset catalog is a fileset catalog that using Hadoop Compatible File System (HCFS) to manage
-the storage location of the fileset. It supports the local filesystem and HDFS.
-Gravitino supports [S3](fileset-catalog-with-s3.md), [GCS](fileset-catalog-with-gcs.md),
-[OSS](fileset-catalog-with-oss.md) and [Azure Blob Storage](fileset-catalog-with-adls.md) through Fileset catalog.
-Gravitino also supports [Tencent Cloud COS](fileset-catalog-with-cos.md).
+A fileset catalog manages filesets over a Hadoop Compatible File System. Gravitino owns the catalog rather than federating an external one, so no provider is needed when creating it, and the same catalog, schema, and fileset model works over HDFS, a local filesystem, or object storage.
 
-The rest of this document will use HDFS or local file as an example to illustrate how to use the Fileset catalog.
-For S3, GCS, OSS, Azure Blob Storage and COS, the configuration is similar to HDFS,
-refer to the corresponding document for more details.
+What changes per storage system is small: a bundle jar on the classpath, the URI scheme in the location, and a few credential properties. Creating and managing the objects is covered in [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md), and reading and writing the files in [How to Use GVFS](./how-to-use-gvfs.md). Neither changes because the data sits in S3 rather than HDFS, which is the point of the indirection described in [Filesets](./filesets.md).
 
-Note that Gravitino uses Hadoop 3 dependencies to build Fileset catalog. Theoretically, it should be
-compatible with both Hadoop 2.x and 3.x, since Gravitino doesn't leverage any new features in
-Hadoop 3. If there's any compatibility issue, create an [issue](https://github.com/apache/gravitino/issues).
+The catalog is built against Hadoop 3 but uses no Hadoop 3 features, so Hadoop 2.x should also work. Report any incompatibility as an [issue](https://github.com/apache/gravitino/issues).
 
-## Catalog
+## Catalog Properties
 
-### Catalog Properties
+These apply in addition to the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration).
 
-Besides the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration),
-the Fileset catalog has the following properties:
+| Property Name                        | Description                                                                                                                  | Default Value |
+|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------|---------------|
+| `location`                           | Base storage location, named `unknown`. Always a directory or path prefix, never a single file                               | (none)        |
+| `location-`                          | Prefix for named locations, as `location-{name}={path}`                                                                      | (none)        |
+| `credential-providers`               | Credential provider types, separated by commas                                                                               | (none)        |
+| `config.resources`                   | Configuration files to load, separated by commas, such as `hdfs-site.xml,core-site.xml`                                      | (none)        |
+| `filesystem-conn-timeout-secs`       | Timeout when obtaining a filesystem client, in seconds                                                                       | `6`           |
+| `disable-filesystem-ops`             | Stops the server creating and removing directories when schemas and filesets are created and dropped                         | `false`       |
+| `fileset-cache-eviction-interval-ms` | Fileset cache eviction interval, where `-1` never evicts                                                                     | `3600000`     |
+| `fileset-cache-max-size`             | Maximum filesets held in the cache, where `-1` is unlimited                                                                  | `200000`      |
+| `fs.path.config.<n>`                 | A logical location entry set to a base URI such as `hdfs://cluster1/`. Keys sharing the prefix are forwarded to that filesystem client | (none) |

Review Comment:
   <n> matches the code and how-to-use-gvfs.md, which documents the same key as fs.path.config.<n> and fs_path_config_<n>. Renaming it here alone would put the two pages out of step.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5237726464

   @yuqi1129 @mchades, can you please take a look at this PR?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5315441286

   This is already merged by another PR. I'm going to close this PR. @markhoerth thanks a lot for your contribution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "markhoerth (via GitHub)" <gi...@apache.org>.
markhoerth commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5245893994

   @yuqi1129 thank you, and you are right about the defect. Pushed a revision that addresses it.
   
   **On `how-to-use-gvfs.md`, you are correct and it was a real bug.** That page had two sections whose entire content was links into the pages this PR deletes, one for the Java client and one for Python. A site build against the branch reported eight broken links from that file alone. Both sections now carry the cloud configuration themselves: a property table per storage backend, a worked example, and the `s3_endpoint` asymmetry preserved, since it is optional for the Python client and required for Java. The generic document no longer depends on pages that are going away.
   
   **On the end-to-end journey, I think we were closer than the diff made it look.** `how-to-use-gvfs.md` already carried complete runnable examples for the Hadoop command line, Java, Spark, TensorFlow, the fsspec interface, and pandas. What it was missing was the backend-specific configuration, which is exactly the gap you identified. With that filled in, the full path works for every backend.
   
   **`fileset-catalog.md` now opens with a Quick Start** running catalog, schema, fileset, and access, which the page did not have before. It closes by saying that only the first step changes per backend, so a reader picking a cloud can follow that page start to finish and then follow the GVFS page start to finish, with no inference required about jars, credentials, or configuration.
   
   **Where I would push back is on volume being free.** It is not, and the cost falls on the newcomer rather than on us.
   
   A reader arriving at the fileset section met eight pages and 3,117 lines. Five of them carried the same twenty headings in the same order, and after normalizing the cloud name, 70 to 83 percent of each was byte-identical to the S3 page. That reader cannot tell which page applies to them without opening several, and once inside one they cannot tell which paragraphs are specific to their cloud and which are boilerplate they could have read anywhere. The part that actually differs is three credential properties and a bundle jar. It is sitting in 600 lines of material that is the same everywhere.
   
   The effect is that filesets look harder than they are. Someone evaluating Gravitino sees a wall of documentation and concludes the feature is complicated, when the real answer for their cloud is a handful of properties. Self-containedness is genuinely valuable, and I am not arguing against it. But a page a reader cannot find, or cannot skim once found, is not serving them either. Two complete pages are easier to get started from than five near-identical ones, and that is the trade I was making.
   
   If the runnable path still reads as thin after this revision, tell me where specifically and I will fill it in. I would rather close the gap than restore the copies.
   
   Mark


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#discussion_r3747371200


##########
docs/fileset-catalog.md:
##########
@@ -1,214 +1,200 @@
 ---
 title: "Fileset Catalog"
 slug: "/fileset-catalog"
-date: 2024-4-2
-keyword: "fileset catalog"
+keywords:
+  - fileset
+  - catalog
+  - storage
+  - s3
+  - gcs
+  - adls
+  - oss
+  - cos
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-Fileset catalog is a fileset catalog that using Hadoop Compatible File System (HCFS) to manage
-the storage location of the fileset. It supports the local filesystem and HDFS.
-Gravitino supports [S3](fileset-catalog-with-s3.md), [GCS](fileset-catalog-with-gcs.md),
-[OSS](fileset-catalog-with-oss.md) and [Azure Blob Storage](fileset-catalog-with-adls.md) through Fileset catalog.
-Gravitino also supports [Tencent Cloud COS](fileset-catalog-with-cos.md).
+A fileset catalog manages filesets over a Hadoop Compatible File System. Gravitino owns the catalog rather than federating an external one, so no provider is needed when creating it, and the same catalog, schema, and fileset model works over HDFS, a local filesystem, or object storage.
 
-The rest of this document will use HDFS or local file as an example to illustrate how to use the Fileset catalog.
-For S3, GCS, OSS, Azure Blob Storage and COS, the configuration is similar to HDFS,
-refer to the corresponding document for more details.
+What changes per storage system is small: a bundle jar on the classpath, the URI scheme in the location, and a few credential properties. Creating and managing the objects is covered in [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md), and reading and writing the files in [How to Use GVFS](./how-to-use-gvfs.md). Neither changes because the data sits in S3 rather than HDFS, which is the point of the indirection described in [Filesets](./filesets.md).
 
-Note that Gravitino uses Hadoop 3 dependencies to build Fileset catalog. Theoretically, it should be
-compatible with both Hadoop 2.x and 3.x, since Gravitino doesn't leverage any new features in
-Hadoop 3. If there's any compatibility issue, create an [issue](https://github.com/apache/gravitino/issues).
+The catalog is built against Hadoop 3 but uses no Hadoop 3 features, so Hadoop 2.x should also work. Report any incompatibility as an [issue](https://github.com/apache/gravitino/issues).
 
-## Catalog
+## Catalog Properties
 
-### Catalog Properties
+These apply in addition to the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration).
 
-Besides the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration),
-the Fileset catalog has the following properties:
+| Property Name                        | Description                                                                                                                  | Default Value |
+|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------|---------------|
+| `location`                           | Base storage location, named `unknown`. Always a directory or path prefix, never a single file                               | (none)        |
+| `location-`                          | Prefix for named locations, as `location-{name}={path}`                                                                      | (none)        |
+| `credential-providers`               | Credential provider types, separated by commas                                                                               | (none)        |
+| `config.resources`                   | Configuration files to load, separated by commas, such as `hdfs-site.xml,core-site.xml`                                      | (none)        |
+| `filesystem-conn-timeout-secs`       | Timeout when obtaining a filesystem client, in seconds                                                                       | `6`           |
+| `disable-filesystem-ops`             | Stops the server creating and removing directories when schemas and filesets are created and dropped                         | `false`       |
+| `fileset-cache-eviction-interval-ms` | Fileset cache eviction interval, where `-1` never evicts                                                                     | `3600000`     |
+| `fileset-cache-max-size`             | Maximum filesets held in the cache, where `-1` is unlimited                                                                  | `200000`      |
+| `fs.path.config.<n>`                 | A logical location entry set to a base URI such as `hdfs://cluster1/`. Keys sharing the prefix are forwarded to that filesystem client | (none) |

Review Comment:
   The catalog property key is documented as `fs.path.config.<n>`, but other docs use `fs.path.config.<name>` (e.g., docs/how-to-use-gvfs.md:75). Using a different placeholder here can confuse readers about the actual key pattern.



##########
docs/fileset-catalog.md:
##########
@@ -1,214 +1,200 @@
 ---
 title: "Fileset Catalog"
 slug: "/fileset-catalog"
-date: 2024-4-2
-keyword: "fileset catalog"
+keywords:
+  - fileset
+  - catalog
+  - storage
+  - s3
+  - gcs
+  - adls
+  - oss
+  - cos
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-Fileset catalog is a fileset catalog that using Hadoop Compatible File System (HCFS) to manage
-the storage location of the fileset. It supports the local filesystem and HDFS.
-Gravitino supports [S3](fileset-catalog-with-s3.md), [GCS](fileset-catalog-with-gcs.md),
-[OSS](fileset-catalog-with-oss.md) and [Azure Blob Storage](fileset-catalog-with-adls.md) through Fileset catalog.
-Gravitino also supports [Tencent Cloud COS](fileset-catalog-with-cos.md).
+A fileset catalog manages filesets over a Hadoop Compatible File System. Gravitino owns the catalog rather than federating an external one, so no provider is needed when creating it, and the same catalog, schema, and fileset model works over HDFS, a local filesystem, or object storage.
 
-The rest of this document will use HDFS or local file as an example to illustrate how to use the Fileset catalog.
-For S3, GCS, OSS, Azure Blob Storage and COS, the configuration is similar to HDFS,
-refer to the corresponding document for more details.
+What changes per storage system is small: a bundle jar on the classpath, the URI scheme in the location, and a few credential properties. Creating and managing the objects is covered in [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md), and reading and writing the files in [How to Use GVFS](./how-to-use-gvfs.md). Neither changes because the data sits in S3 rather than HDFS, which is the point of the indirection described in [Filesets](./filesets.md).
 
-Note that Gravitino uses Hadoop 3 dependencies to build Fileset catalog. Theoretically, it should be
-compatible with both Hadoop 2.x and 3.x, since Gravitino doesn't leverage any new features in
-Hadoop 3. If there's any compatibility issue, create an [issue](https://github.com/apache/gravitino/issues).
+The catalog is built against Hadoop 3 but uses no Hadoop 3 features, so Hadoop 2.x should also work. Report any incompatibility as an [issue](https://github.com/apache/gravitino/issues).
 
-## Catalog
+## Catalog Properties
 
-### Catalog Properties
+These apply in addition to the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration).
 
-Besides the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration),
-the Fileset catalog has the following properties:
+| Property Name                        | Description                                                                                                                  | Default Value |
+|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------|---------------|
+| `location`                           | Base storage location, named `unknown`. Always a directory or path prefix, never a single file                               | (none)        |
+| `location-`                          | Prefix for named locations, as `location-{name}={path}`                                                                      | (none)        |
+| `credential-providers`               | Credential provider types, separated by commas                                                                               | (none)        |
+| `config.resources`                   | Configuration files to load, separated by commas, such as `hdfs-site.xml,core-site.xml`                                      | (none)        |
+| `filesystem-conn-timeout-secs`       | Timeout when obtaining a filesystem client, in seconds                                                                       | `6`           |
+| `disable-filesystem-ops`             | Stops the server creating and removing directories when schemas and filesets are created and dropped                         | `false`       |
+| `fileset-cache-eviction-interval-ms` | Fileset cache eviction interval, where `-1` never evicts                                                                     | `3600000`     |
+| `fileset-cache-max-size`             | Maximum filesets held in the cache, where `-1` is unlimited                                                                  | `200000`      |
+| `fs.path.config.<n>`                 | A logical location entry set to a base URI such as `hdfs://cluster1/`. Keys sharing the prefix are forwarded to that filesystem client | (none) |
 
-| Property Name                        | Description                                                                                                                                                                                                                                                                                                                      | Default Value   | Required |
-|--------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|----------|
-| `location`                           | The storage location managed by Fileset catalog. Its location name is `unknown`. The value should always a directory(HDFS) or path prefix(cloud storage like S3, GCS.) and does not support a single file.                                                                                                                       | (none)          | No       |
-| `location-`                          | The property prefix. User can use `location-{name}={path}` to set multiple locations with different names for the catalog.                                                                                                                                                                                                       | (none)          | No       |
-| `default-filesystem-provider`        | (deprecated) The default filesystem provider of this Fileset catalog if users do not specify the scheme in the URI. Candidate values are 'builtin-local', 'builtin-hdfs', 's3', 'gcs', 'abs' and 'oss'. Default value is `builtin-local`. For S3, if we set this value to 's3', we can omit the prefix 's3a://' in the location. | `builtin-local` | No       |
-| `filesystem-providers`               | (deprecated) The file system providers to add. Users need to set this configuration to support cloud storage or custom HCFS. For instance, set it to `s3` or a comma separated string that contains `s3` like `gs,s3` to support multiple kinds of fileset including `s3`.                                                       | (none)          | NO       |
-| `credential-providers`               | The credential provider types, separated by comma.                                                                                                                                                                                                                                                                               | (none)          | No       |
-| `filesystem-conn-timeout-secs`       | The timeout of getting the file system using Hadoop FileSystem client instance. Time unit: seconds.                                                                                                                                                                                                                              | 6               | No       |
-| `disable-filesystem-ops`             | The configuration to disable file system operations in the server side. If set to true, the Fileset catalog in the server side will not create, drop files or folder when the schema, fileset is created, dropped.                                                                                                               | false           | No       |
-| `fileset-cache-eviction-interval-ms` | The interval in milliseconds to evict the fileset cache, -1 means never evict.                                                                                                                                                                                                                                                   | 3600000         | No       |
-| `fileset-cache-max-size`             | The maximum number of the filesets the cache may contain, -1 means no limit.                                                                                                                                                                                                                                                     | 200000          | No       |
-| `config.resources`                   | The configuration resources, separated by comma. For example, `hdfs-site.xml,core-site.xml`.                                                                                                                                                                                                                                     | (none)          | No       |
-| `fs.path.config.<name>`              | Defines a logical location entry. Set `fs.path.config.<name>` to the real base URI (for example, `hdfs://cluster1/`). Any key that starts with the same prefix (such as `fs.path.config.<name>.config.resource`) is treated as a location-scoped property and will be forwarded to the underlying filesystem client.             | (none)          | No       |
+`default-filesystem-provider` and `filesystem-providers` are deprecated and no longer needed. The catalog loads filesystem providers from the classpath, including cloud providers whenever the matching bundle jar is present.
 
-:::note
-`default-filesystem-provider` and `filesystem-providers` are deprecated. The fileset catalog automatically loads filesystem providers on the classpath, including the built-in filesystem provider and cloud providers when the corresponding bundle jar is present (for example, `gravitino-aws-bundle`, `gravitino-azure-bundle`, `gravitino-aliyun-bundle`, `gravitino-gcp-bundle`, or `gravitino-tencent-bundle`).
-:::
+## Storage Backends
 
-Refer to [Credential vending](./security/credential-vending.md) for more details about credential vending.
+HDFS and local filesystems need no bundle jar and no credential properties. Object storage needs a jar in `${GRAVITINO_HOME}/catalogs/fileset/libs/` and a server restart, plus the properties below.
 
-### HDFS Fileset
+| Storage System          | Bundle Jar                 | URI Scheme           | Credential Providers              |
+|-------------------------|----------------------------|----------------------|-----------------------------------|
+| Amazon S3               | `gravitino-aws-bundle`     | `s3a://`             | `s3-token`, `s3-secret-key`       |
+| Google Cloud Storage    | `gravitino-gcp-bundle`     | `gs://`              | `gcs-token`                       |
+| Azure Data Lake Storage | `gravitino-azure-bundle`   | `abfss://`           | `adls-token`, `azure-account-key` |
+| Alibaba Cloud OSS       | `gravitino-aliyun-bundle`  | `oss://`             | `oss-token`, `oss-secret-key`     |
+| Tencent Cloud COS       | `gravitino-tencent-bundle` | `cosn://`            | `cos-secret-key`                  |
+| HDFS and local          | None, built in             | `hdfs://`, `file://` | None                              |
 
-Apart from the above properties, to access fileset like HDFS fileset, you need to configure the following extra
-properties.
+Bundle jars are published on [Maven Central](https://mvnrepository.com/artifact/org.apache.gravitino) and versioned with the server.
 
-| Property Name                                      | Description                                                                                | Default Value | Required                                                    |
-|----------------------------------------------------|--------------------------------------------------------------------------------------------|---------------|-------------------------------------------------------------|
-| `authentication.impersonation-enable`              | Whether to enable impersonation for the Fileset catalog.                                   | `false`       | No                                                          |
-| `authentication.type`                              | The type of authentication for Fileset catalog, we only support `kerberos`, `simple`.      | `simple`      | No                                                          |
-| `authentication.kerberos.principal`                | The principal of the Kerberos authentication                                               | (none)        | required if the value of `authentication.type` is Kerberos. |
-| `authentication.kerberos.keytab-uri`               | The URI of The keytab for the Kerberos authentication.                                     | (none)        | required if the value of `authentication.type` is Kerberos. |
-| `authentication.kerberos.check-interval-sec`       | The check interval of Kerberos credential for Fileset catalog.                             | 60            | No                                                          |
-| `authentication.kerberos.keytab-fetch-timeout-sec` | The fetch timeout of retrieving Kerberos keytab from `authentication.kerberos.keytab-uri`. | 60            | No                                                          |
+The GVFS client takes the same property names as the catalog, so a client reading an S3 fileset sets `s3-endpoint`, `s3-access-key-id`, and `s3-secret-access-key` alongside its base GVFS configuration. Setting `credential-providers` on the catalog removes that requirement, since Gravitino then issues short-lived credentials per request and the client holds no cloud keys at all. See [Credential Vending](./security/credential-vending.md).

Review Comment:
   This paragraph implies that setting `credential-providers` alone removes the need for clients to provide cloud credentials, but GVFS clients also need credential vending explicitly enabled (see docs/how-to-use-gvfs.md:71 `fs.gravitino.enableCredentialVending`). Without that, readers may expect vending to work automatically.



##########
docs/fileset-catalog.md:
##########
@@ -1,214 +1,200 @@
 ---
 title: "Fileset Catalog"
 slug: "/fileset-catalog"
-date: 2024-4-2
-keyword: "fileset catalog"
+keywords:
+  - fileset
+  - catalog
+  - storage
+  - s3
+  - gcs
+  - adls
+  - oss
+  - cos
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-Fileset catalog is a fileset catalog that using Hadoop Compatible File System (HCFS) to manage
-the storage location of the fileset. It supports the local filesystem and HDFS.
-Gravitino supports [S3](fileset-catalog-with-s3.md), [GCS](fileset-catalog-with-gcs.md),
-[OSS](fileset-catalog-with-oss.md) and [Azure Blob Storage](fileset-catalog-with-adls.md) through Fileset catalog.
-Gravitino also supports [Tencent Cloud COS](fileset-catalog-with-cos.md).
+A fileset catalog manages filesets over a Hadoop Compatible File System. Gravitino owns the catalog rather than federating an external one, so no provider is needed when creating it, and the same catalog, schema, and fileset model works over HDFS, a local filesystem, or object storage.
 
-The rest of this document will use HDFS or local file as an example to illustrate how to use the Fileset catalog.
-For S3, GCS, OSS, Azure Blob Storage and COS, the configuration is similar to HDFS,
-refer to the corresponding document for more details.
+What changes per storage system is small: a bundle jar on the classpath, the URI scheme in the location, and a few credential properties. Creating and managing the objects is covered in [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md), and reading and writing the files in [How to Use GVFS](./how-to-use-gvfs.md). Neither changes because the data sits in S3 rather than HDFS, which is the point of the indirection described in [Filesets](./filesets.md).
 
-Note that Gravitino uses Hadoop 3 dependencies to build Fileset catalog. Theoretically, it should be
-compatible with both Hadoop 2.x and 3.x, since Gravitino doesn't leverage any new features in
-Hadoop 3. If there's any compatibility issue, create an [issue](https://github.com/apache/gravitino/issues).
+The catalog is built against Hadoop 3 but uses no Hadoop 3 features, so Hadoop 2.x should also work. Report any incompatibility as an [issue](https://github.com/apache/gravitino/issues).
 
-## Catalog
+## Catalog Properties
 
-### Catalog Properties
+These apply in addition to the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration).
 
-Besides the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration),
-the Fileset catalog has the following properties:
+| Property Name                        | Description                                                                                                                  | Default Value |
+|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------|---------------|
+| `location`                           | Base storage location, named `unknown`. Always a directory or path prefix, never a single file                               | (none)        |
+| `location-`                          | Prefix for named locations, as `location-{name}={path}`                                                                      | (none)        |
+| `credential-providers`               | Credential provider types, separated by commas                                                                               | (none)        |
+| `config.resources`                   | Configuration files to load, separated by commas, such as `hdfs-site.xml,core-site.xml`                                      | (none)        |
+| `filesystem-conn-timeout-secs`       | Timeout when obtaining a filesystem client, in seconds                                                                       | `6`           |
+| `disable-filesystem-ops`             | Stops the server creating and removing directories when schemas and filesets are created and dropped                         | `false`       |
+| `fileset-cache-eviction-interval-ms` | Fileset cache eviction interval, where `-1` never evicts                                                                     | `3600000`     |
+| `fileset-cache-max-size`             | Maximum filesets held in the cache, where `-1` is unlimited                                                                  | `200000`      |
+| `fs.path.config.<n>`                 | A logical location entry set to a base URI such as `hdfs://cluster1/`. Keys sharing the prefix are forwarded to that filesystem client | (none) |
 
-| Property Name                        | Description                                                                                                                                                                                                                                                                                                                      | Default Value   | Required |
-|--------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|----------|
-| `location`                           | The storage location managed by Fileset catalog. Its location name is `unknown`. The value should always a directory(HDFS) or path prefix(cloud storage like S3, GCS.) and does not support a single file.                                                                                                                       | (none)          | No       |
-| `location-`                          | The property prefix. User can use `location-{name}={path}` to set multiple locations with different names for the catalog.                                                                                                                                                                                                       | (none)          | No       |
-| `default-filesystem-provider`        | (deprecated) The default filesystem provider of this Fileset catalog if users do not specify the scheme in the URI. Candidate values are 'builtin-local', 'builtin-hdfs', 's3', 'gcs', 'abs' and 'oss'. Default value is `builtin-local`. For S3, if we set this value to 's3', we can omit the prefix 's3a://' in the location. | `builtin-local` | No       |
-| `filesystem-providers`               | (deprecated) The file system providers to add. Users need to set this configuration to support cloud storage or custom HCFS. For instance, set it to `s3` or a comma separated string that contains `s3` like `gs,s3` to support multiple kinds of fileset including `s3`.                                                       | (none)          | NO       |
-| `credential-providers`               | The credential provider types, separated by comma.                                                                                                                                                                                                                                                                               | (none)          | No       |
-| `filesystem-conn-timeout-secs`       | The timeout of getting the file system using Hadoop FileSystem client instance. Time unit: seconds.                                                                                                                                                                                                                              | 6               | No       |
-| `disable-filesystem-ops`             | The configuration to disable file system operations in the server side. If set to true, the Fileset catalog in the server side will not create, drop files or folder when the schema, fileset is created, dropped.                                                                                                               | false           | No       |
-| `fileset-cache-eviction-interval-ms` | The interval in milliseconds to evict the fileset cache, -1 means never evict.                                                                                                                                                                                                                                                   | 3600000         | No       |
-| `fileset-cache-max-size`             | The maximum number of the filesets the cache may contain, -1 means no limit.                                                                                                                                                                                                                                                     | 200000          | No       |
-| `config.resources`                   | The configuration resources, separated by comma. For example, `hdfs-site.xml,core-site.xml`.                                                                                                                                                                                                                                     | (none)          | No       |
-| `fs.path.config.<name>`              | Defines a logical location entry. Set `fs.path.config.<name>` to the real base URI (for example, `hdfs://cluster1/`). Any key that starts with the same prefix (such as `fs.path.config.<name>.config.resource`) is treated as a location-scoped property and will be forwarded to the underlying filesystem client.             | (none)          | No       |
+`default-filesystem-provider` and `filesystem-providers` are deprecated and no longer needed. The catalog loads filesystem providers from the classpath, including cloud providers whenever the matching bundle jar is present.
 
-:::note
-`default-filesystem-provider` and `filesystem-providers` are deprecated. The fileset catalog automatically loads filesystem providers on the classpath, including the built-in filesystem provider and cloud providers when the corresponding bundle jar is present (for example, `gravitino-aws-bundle`, `gravitino-azure-bundle`, `gravitino-aliyun-bundle`, `gravitino-gcp-bundle`, or `gravitino-tencent-bundle`).
-:::
+## Storage Backends
 
-Refer to [Credential vending](./security/credential-vending.md) for more details about credential vending.
+HDFS and local filesystems need no bundle jar and no credential properties. Object storage needs a jar in `${GRAVITINO_HOME}/catalogs/fileset/libs/` and a server restart, plus the properties below.
 
-### HDFS Fileset
+| Storage System          | Bundle Jar                 | URI Scheme           | Credential Providers              |
+|-------------------------|----------------------------|----------------------|-----------------------------------|
+| Amazon S3               | `gravitino-aws-bundle`     | `s3a://`             | `s3-token`, `s3-secret-key`       |
+| Google Cloud Storage    | `gravitino-gcp-bundle`     | `gs://`              | `gcs-token`                       |
+| Azure Data Lake Storage | `gravitino-azure-bundle`   | `abfss://`           | `adls-token`, `azure-account-key` |
+| Alibaba Cloud OSS       | `gravitino-aliyun-bundle`  | `oss://`             | `oss-token`, `oss-secret-key`     |
+| Tencent Cloud COS       | `gravitino-tencent-bundle` | `cosn://`            | `cos-secret-key`                  |
+| HDFS and local          | None, built in             | `hdfs://`, `file://` | None                              |
 
-Apart from the above properties, to access fileset like HDFS fileset, you need to configure the following extra
-properties.
+Bundle jars are published on [Maven Central](https://mvnrepository.com/artifact/org.apache.gravitino) and versioned with the server.
 
-| Property Name                                      | Description                                                                                | Default Value | Required                                                    |
-|----------------------------------------------------|--------------------------------------------------------------------------------------------|---------------|-------------------------------------------------------------|
-| `authentication.impersonation-enable`              | Whether to enable impersonation for the Fileset catalog.                                   | `false`       | No                                                          |
-| `authentication.type`                              | The type of authentication for Fileset catalog, we only support `kerberos`, `simple`.      | `simple`      | No                                                          |
-| `authentication.kerberos.principal`                | The principal of the Kerberos authentication                                               | (none)        | required if the value of `authentication.type` is Kerberos. |
-| `authentication.kerberos.keytab-uri`               | The URI of The keytab for the Kerberos authentication.                                     | (none)        | required if the value of `authentication.type` is Kerberos. |
-| `authentication.kerberos.check-interval-sec`       | The check interval of Kerberos credential for Fileset catalog.                             | 60            | No                                                          |
-| `authentication.kerberos.keytab-fetch-timeout-sec` | The fetch timeout of retrieving Kerberos keytab from `authentication.kerberos.keytab-uri`. | 60            | No                                                          |
+The GVFS client takes the same property names as the catalog, so a client reading an S3 fileset sets `s3-endpoint`, `s3-access-key-id`, and `s3-secret-access-key` alongside its base GVFS configuration. Setting `credential-providers` on the catalog removes that requirement, since Gravitino then issues short-lived credentials per request and the client holds no cloud keys at all. See [Credential Vending](./security/credential-vending.md).
 
-The `config.resources` property allows users to specify custom configuration files.
+### Amazon S3
 
-The Gravitino Fileset extends the following properties in the `xxx-site.xml`:
+| Property Name          | Description                | Required |
+|------------------------|----------------------------|----------|
+| `s3-endpoint`          | Endpoint of the S3 service | Yes      |
+| `s3-access-key-id`     | Access key                 | Yes      |
+| `s3-secret-access-key` | Secret key                 | Yes      |
 
-| Property Name                                     | Description                                                             | Default Value | Required                                                    |
-|---------------------------------------------------|-------------------------------------------------------------------------|---------------|-------------------------------------------------------------|
-| hadoop.security.authentication.kerberos.principal | The principal of the Kerberos authentication for HDFS client.           | (none)        | required if the value of `authentication.type` is Kerberos. |
-| hadoop.security.authentication.kerberos.keytab    | The keytab file path of the Kerberos authentication for HDFS client.    | (none)        | required if the value of `authentication.type` is Kerberos. |
-| hadoop.security.authentication.kerberos.krb5.conf | The krb5.conf file path of the Kerberos authentication for HDFS client. | (none)        | No                                                          |
+S3-compatible storage such as MinIO uses the same properties with its own endpoint.
 
-### Fileset Catalog with Cloud Storage
-
-In the current implementation, the fileset uses the HDFS protocol to access its location. If users use S3, GCS, OSS,
-Azure Blob Storage or Tencent Cloud COS, they can also configure the `config.resources` to specify custom configuration
-files.
+```shell
+curl -X POST -H "Content-Type: application/json" \
+  -d '{
+        "name": "{catalog_name}",
+        "type": "FILESET",
+        "comment": "",
+        "properties": {
+          "location": "s3a://{bucket}/{prefix}",
+          "s3-endpoint": "{endpoint}",
+          "s3-access-key-id": "{access_key_id}",
+          "s3-secret-access-key": "{secret_access_key}"
+        }
+      }' \
+  http://localhost:8090/api/metalakes/{metalake}/catalogs
+```
 
-- For S3, refer to [Fileset-catalog-with-s3](./fileset-catalog-with-s3.md) for more details.
-- For GCS, refer to [Fileset-catalog-with-gcs](./fileset-catalog-with-gcs.md) for more details.
-- For OSS, refer to [Fileset-catalog-with-oss](./fileset-catalog-with-oss.md) for more details.
-- For Azure Blob Storage, refer to [Fileset-catalog-with-adls](./fileset-catalog-with-adls.md) for more details.
-- For Tencent Cloud COS, refer to [Fileset-catalog-with-cos](./fileset-catalog-with-cos.md) for more details.
+### Google Cloud Storage
 
-### Implement a Custom HCFS File System Fileset
+| Property Name              | Description                           | Required |
+|----------------------------|---------------------------------------|----------|
+| `gcs-service-account-file` | Path to the service account JSON file | Yes      |
 
-Developers and users can custom their own HCFS file system fileset by implementing the`FileSystemProvider` interface in
-the jar [gravitino-hadoop-common](https://repo1.maven.org/maven2/org/apache/gravitino/gravitino-hadoop-common/). The
-`FileSystemProvider` interface is defined as follows:
+The path is read wherever it is configured, so the file must exist on the server for the catalog, and on the client machine for a client not using vended credentials.
 
-```java
-  
-  // Create a FileSystem instance by the properties you have set when creating the catalog. 
-  FileSystem getFileSystem(@Nonnull Path path, @Nonnull Map<String, String> config)
-      throws IOException;
-  
-  // The schema name of the file system provider. 'file' for Local file system,
-  // 'hdfs' for HDFS, 's3a' for AWS S3, 'gs' for GCS, 'oss' for Aliyun OSS, 'cosn' for Tencent Cloud COS.
-  String scheme();
-
-  // Name of the file system provider. 'builtin-local' for Local file system, 'builtin-hdfs' for HDFS, 
-  // 's3' for AWS S3, 'gcs' for GCS, 'oss' for Aliyun OSS, 'cos' for Tencent Cloud COS.
-  String name();
-```
+### Azure Data Lake Storage
 
-In the meantime, `FileSystemProvider` uses Java SPI to load the custom file system provider. You
-need to create a file named `org.apache.gravitino.catalog.hadoop.fs.FileSystemProvider` in the
-`META-INF/services` directory of the jar file. The content of the file is the full class name of
-the custom file system provider. For example, the content of `S3FileSystemProvider` is as follows:
-![img.png](assets/fileset/custom-filesystem-provider.png)
+| Property Name                | Description          | Required |
+|------------------------------|----------------------|----------|
+| `azure-storage-account-name` | Storage account name | Yes      |
+| `azure-storage-account-key`  | Storage account key  | Yes      |
 
-After implementing the `FileSystemProvider` interface, you need to put the jar file into the
-`$GRAVITINO_HOME/catalogs/fileset/libs` directory. Then you can use your custom file system provider.
+### Alibaba Cloud OSS
 
-### Fileset Catalog Authentication
+| Property Name           | Description                 | Required |
+|-------------------------|-----------------------------|----------|
+| `oss-endpoint`          | Endpoint of the OSS service | Yes      |
+| `oss-access-key-id`     | Access key                  | Yes      |
+| `oss-secret-access-key` | Secret key                  | Yes      |
 
-The Fileset catalog supports multi-level authentication to control access, allowing different authentication settings
-for the catalog, schema, and fileset. The priority of authentication settings is as follows: catalog < schema < fileset.
-Specifically:
+### Tencent Cloud COS
 
-- **Catalog**: The default authentication is `simple`.
-- **Schema**: Inherits the authentication setting from the catalog if not explicitly set. For more information about
-  schema settings, refer to [Schema properties](#schema-properties).
-- **Fileset**: Inherits the authentication setting from the schema if not explicitly set. For more information about
-  fileset settings, refer to [Fileset properties](#fileset-properties).
+| Property Name           | Description                                         | Required |
+|-------------------------|-----------------------------------------------------|----------|
+| `cos-region`            | Bucket region, for example `ap-guangzhou`           | Yes      |
+| `cos-access-key-id`     | Access key, the Tencent Cloud `SecretId`            | Yes      |
+| `cos-secret-access-key` | Secret key, the Tencent Cloud `SecretKey`           | Yes      |
+| `cos-endpoint`          | Endpoint host suffix, only for non-public endpoints | No       |
 
-The default value of `authentication.impersonation-enable` is false, and the default value for catalogs about this
-configuration is false, for
-schemas and filesets, the default value is inherited from the parent. Value set by the user will override the parent
-value, and the priority mechanism is the same as authentication.
+`cos-endpoint` is a host suffix rather than a URL, so it takes `cos.ap-guangzhou.myqcloud.com` and not `https://cos.ap-guangzhou.myqcloud.com`. When unset it is derived from `cos-region`, which is what you want unless you are pointing at an internal or VPC endpoint.
 
-### Catalog Operations
+### Multiple Storage Systems
 
-Refer to [Catalog operations](./manage-fileset-metadata-using-gravitino.md#catalog-operations) for more details.
+One catalog can carry the properties for several storage systems at once, and Gravitino selects among them by the URI scheme of the object being accessed.
 
-## Schema
+## HDFS and Kerberos
 
-### Schema Capabilities
+A secured HDFS cluster needs these on the catalog, and they can be narrowed on a schema or fileset.
 
-The Fileset catalog supports creating, updating, deleting, and listing schema.
+| Property Name                                      | Description                                                | Default Value |
+|----------------------------------------------------|-------------------------------------------------------------|---------------|
+| `authentication.type`                              | `simple` or `kerberos`                                      | `simple`      |
+| `authentication.impersonation-enable`              | Whether the catalog impersonates the calling user           | `false`       |
+| `authentication.kerberos.principal`                | Kerberos principal, required when the type is `kerberos`    | (none)        |
+| `authentication.kerberos.keytab-uri`               | URI of the keytab, required when the type is `kerberos`     | (none)        |
+| `authentication.kerberos.check-interval-sec`       | Credential check interval                                   | `60`          |
+| `authentication.kerberos.keytab-fetch-timeout-sec` | Timeout when retrieving the keytab                          | `60`          |
 
-### Schema Properties
+The HDFS client itself is configured through the files named in `config.resources`, where Gravitino recognizes three additional keys: `hadoop.security.authentication.kerberos.principal`, `hadoop.security.authentication.kerberos.keytab`, and `hadoop.security.authentication.kerberos.krb5.conf`.
 
-All the catalog properties are inherited by the schema. Besides, the Fileset catalog schema has the following
-properties:
+## Schema Properties
 
-| Property name                         | Description                                                                                                               | Default value             | Required |
-|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------|---------------------------|----------|
-| `location`                            | The storage location managed by schema. Its location name is `unknown`. It's also should be a directory or path prefix.   | (none)                    | No       |
-| `location-`                           | The property prefix. User can use `location-{name}={path}` to set multiple locations with different names for the schema. | (none)                    | No       |
-| `authentication.impersonation-enable` | Whether to enable impersonation for this schema of the Fileset catalog.                                                   | The parent(catalog) value | No       |
-| `authentication.type`                 | The type of authentication for this schema of Fileset catalog , we only support `kerberos`, `simple`.                     | The parent(catalog) value | No       |
-| `authentication.kerberos.principal`   | The principal of the Kerberos authentication for this schema.                                                             | The parent(catalog) value | No       |
-| `authentication.kerberos.keytab-uri`  | The URI of The keytab for the Kerberos authentication for this schema.                                                    | The parent(catalog) value | No       |
-| `credential-providers`                | The credential provider types, separated by comma.                                                                        | (none)                    | No       |
-| `config.resources`                    | The configuration resources, separated by comma. For example, `hdfs-site.xml,core-site.xml`.                              | (none)                    | No       |
+Schemas inherit every catalog property and can override these.
 
-### Schema Operations
+| Property Name                         | Description                                        | Default Value  |
+|---------------------------------------|-----------------------------------------------------|----------------|
+| `location`                            | Base storage location for the schema, named `unknown` | (none)       |
+| `location-`                           | Prefix for named locations                          | (none)         |
+| `credential-providers`                | Credential provider types, separated by commas      | (none)         |
+| `config.resources`                    | Configuration files to load                         | (none)         |
+| `authentication.type`                 | `simple` or `kerberos`                              | Catalog value  |
+| `authentication.impersonation-enable` | Whether to impersonate the calling user             | Catalog value  |
+| `authentication.kerberos.principal`   | Kerberos principal for this schema                  | Catalog value  |
+| `authentication.kerberos.keytab-uri`  | Keytab URI for this schema                          | Catalog value  |
 
-Refer to [Schema operation](./manage-fileset-metadata-using-gravitino.md#schema-operations) for more details.
+Creating or dropping a schema creates or removes the matching directories, except when `disable-filesystem-ops` is `true` or the location contains [placeholders](./manage-fileset-metadata-using-gravitino.md#placeholder).
 
-:::note
-During schema creation or deletion, Gravitino automatically creates or removes the corresponding filesystem directories
-for the schema locations.
-This behavior is skipped in either of these cases:
+## Fileset Properties
 
-1. When the catalog property `disable-filesystem-ops` is set to `true`
-2. When the location contains [placeholders](./manage-fileset-metadata-using-gravitino.md#placeholder)
-:::
+Filesets inherit every schema property, including those the schema inherited from the catalog.
 
-## Fileset
+| Property Name                         | Description                                                            | Default Value                        | Immutable |
+|---------------------------------------|-------------------------------------------------------------------------|--------------------------------------|-----------|
+| `location`                            | Storage location for the fileset, named `unknown`                       | (none)                               | No        |
+| `default-location-name`               | Which location GVFS uses when none is named. Required with several      | The only location, when there is one | Yes       |
+| `placeholder-`                        | Values substituted into placeholders in the location                    | (none)                               | Yes       |
+| `credential-providers`                | Credential provider types, separated by commas                          | (none)                               | No        |
+| `config.resources`                    | Configuration files to load                                             | (none)                               | No        |
+| `authentication.type`                 | `simple` or `kerberos`                                                  | Schema value                         | No        |
+| `authentication.impersonation-enable` | Whether to impersonate the calling user                                 | Schema value                         | Yes       |
+| `authentication.kerberos.principal`   | Kerberos principal for this fileset                                     | Schema value                         | No        |
+| `authentication.kerberos.keytab-uri`  | Keytab URI for this fileset                                             | Schema value                         | No        |
 
-### Fileset Capabilities
+Three placeholders are supplied by Gravitino and cannot be set: `placeholder-catalog`, `placeholder-schema`, and `placeholder-fileset`, which resolve to the names of the objects themselves.
 
-- The Fileset catalog supports creating, updating, deleting, and listing filesets.
+## Property Inheritance
 
-### Fileset Properties
+Authentication and credential settings resolve from the nearest level outward, so a fileset value beats a schema value, which beats a catalog value. A catalog can therefore set a default that individual filesets override without repeating the rest of the configuration.
 
-All the schema properties are inherited by the fileset. include the properties inherited from the catalog.
-Besides, the Fileset catalog fileset has the following properties:
+## Implementing a Custom Filesystem Provider
 
-| Property name                         | Description                                                                                                             | Default value                                                                                                  | Required                                   | Immutable |
-|---------------------------------------|-------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|--------------------------------------------|-----------|
-| `location`                            | The storage location managed by schema. Its location name is `unknown`. It's also should be a directory or path prefix. | (none)                                                                                                         | No                                         |
-| `authentication.impersonation-enable` | Whether to enable impersonation for the Fileset catalog fileset.                                                        | The parent(schema) value                                                                                       | No                                         | Yes       |
-| `authentication.type`                 | The type of authentication for Fileset catalog fileset, we only support `kerberos`, `simple`.                           | The parent(schema) value                                                                                       | No                                         | No        |
-| `authentication.kerberos.principal`   | The principal of the Kerberos authentication for the fileset.                                                           | The parent(schema) value                                                                                       | No                                         | No        |
-| `authentication.kerberos.keytab-uri`  | The URI of The keytab for the Kerberos authentication for the fileset.                                                  | The parent(schema) value                                                                                       | No                                         | No        |
-| `credential-providers`                | The credential provider types, separated by comma.                                                                      | (none)                                                                                                         | No                                         | No        |
-| `placeholder-`                        | Properties that start with `placeholder-` are used to replace placeholders in the location.                             | (none)                                                                                                         | No                                         | Yes       |
-| `default-location-name`               | The name of the default location of the fileset, mainly used for GVFS operations without specifying a location name.    | When the fileset has only one location, its location name will be automatically selected as the default value. | Yes, if the fileset has multiple locations | Yes       |
-| `config.resources`                    | The configuration resources, separated by comma. For example, `hdfs-site.xml,core-site.xml`.                            | (none)                                                                                                         | No                                         | NO        |
+A storage system Gravitino does not ship support for can be added by implementing `FileSystemProvider` from [gravitino-hadoop-common](https://repo1.maven.org/maven2/org/apache/gravitino/gravitino-hadoop-common/):
 
-Some properties are reserved and cannot be set by users:
+```java
+// Build a FileSystem from the properties set when the catalog was created.
+FileSystem getFileSystem(@Nonnull Path path, @Nonnull Map<String, String> config)
+    throws IOException;
 
-| Property name         | Description                           | Default value               |
-|-----------------------|---------------------------------------|-----------------------------|
-| `placeholder-catalog` | The placeholder for the catalog name. | catalog name of the fileset |
-| `placeholder-schema`  | The placeholder for the schema name.  | schema name of the fileset  |
-| `placeholder-fileset` | The placeholder for the fileset name. | fileset name                |
+// URI scheme, such as 'file', 'hdfs', 's3a', 'gs', 'oss', or 'cosn'.
+String scheme();
 
-Credential providers can be specified in several places, as listed below. Gravitino checks the `credential-providers`
-setting in the following order of precedence:
+// Provider name, such as 'builtin-local', 'builtin-hdfs', 's3', 'gcs', 'oss', or 'cos'.
+String name();
+```
 
-1. Fileset properties
-2. Schema properties
-3. Catalog properties
+The provider is discovered through Java SPI, so the jar needs a `META-INF/services/org.apache.gravitino.catalog.hadoop.fs.FileSystemProvider` file naming the implementing class. Place the jar in `${GRAVITINO_HOME}/catalogs/fileset/libs/` and restart the server.
 
-### Fileset Operations
+## Further Reading
 
-Refer to [Fileset operations](./manage-fileset-metadata-using-gravitino.md#fileset-operations) for more details.
+- [Filesets](./filesets.md) for the fileset model itself
+- [How to Use GVFS](./how-to-use-gvfs.md) for reading and writing fileset data
+- [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md) for the API
+- [Credential Vending](./security/credential-vending.md) for issuing short-lived storage credentials

Review Comment:
   This PR deletes the per-cloud fileset pages, but other docs still link to them (e.g., docs/how-to-use-gvfs.md links to ./fileset-catalog-with-s3.md, ./fileset-catalog-with-gcs.md, ./fileset-catalog-with-oss.md, ./fileset-catalog-with-adls.md). Those links will become broken unless they’re updated to point at the consolidated sections in this page.



##########
docs/fileset-catalog.md:
##########
@@ -1,214 +1,200 @@
 ---
 title: "Fileset Catalog"
 slug: "/fileset-catalog"
-date: 2024-4-2
-keyword: "fileset catalog"
+keywords:
+  - fileset
+  - catalog
+  - storage
+  - s3
+  - gcs
+  - adls
+  - oss
+  - cos
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-Fileset catalog is a fileset catalog that using Hadoop Compatible File System (HCFS) to manage
-the storage location of the fileset. It supports the local filesystem and HDFS.
-Gravitino supports [S3](fileset-catalog-with-s3.md), [GCS](fileset-catalog-with-gcs.md),
-[OSS](fileset-catalog-with-oss.md) and [Azure Blob Storage](fileset-catalog-with-adls.md) through Fileset catalog.
-Gravitino also supports [Tencent Cloud COS](fileset-catalog-with-cos.md).
+A fileset catalog manages filesets over a Hadoop Compatible File System. Gravitino owns the catalog rather than federating an external one, so no provider is needed when creating it, and the same catalog, schema, and fileset model works over HDFS, a local filesystem, or object storage.
 
-The rest of this document will use HDFS or local file as an example to illustrate how to use the Fileset catalog.
-For S3, GCS, OSS, Azure Blob Storage and COS, the configuration is similar to HDFS,
-refer to the corresponding document for more details.
+What changes per storage system is small: a bundle jar on the classpath, the URI scheme in the location, and a few credential properties. Creating and managing the objects is covered in [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md), and reading and writing the files in [How to Use GVFS](./how-to-use-gvfs.md). Neither changes because the data sits in S3 rather than HDFS, which is the point of the indirection described in [Filesets](./filesets.md).
 
-Note that Gravitino uses Hadoop 3 dependencies to build Fileset catalog. Theoretically, it should be
-compatible with both Hadoop 2.x and 3.x, since Gravitino doesn't leverage any new features in
-Hadoop 3. If there's any compatibility issue, create an [issue](https://github.com/apache/gravitino/issues).
+The catalog is built against Hadoop 3 but uses no Hadoop 3 features, so Hadoop 2.x should also work. Report any incompatibility as an [issue](https://github.com/apache/gravitino/issues).
 
-## Catalog
+## Catalog Properties
 
-### Catalog Properties
+These apply in addition to the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration).
 
-Besides the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration),
-the Fileset catalog has the following properties:
+| Property Name                        | Description                                                                                                                  | Default Value |
+|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------|---------------|
+| `location`                           | Base storage location, named `unknown`. Always a directory or path prefix, never a single file                               | (none)        |
+| `location-`                          | Prefix for named locations, as `location-{name}={path}`                                                                      | (none)        |
+| `credential-providers`               | Credential provider types, separated by commas                                                                               | (none)        |
+| `config.resources`                   | Configuration files to load, separated by commas, such as `hdfs-site.xml,core-site.xml`                                      | (none)        |
+| `filesystem-conn-timeout-secs`       | Timeout when obtaining a filesystem client, in seconds                                                                       | `6`           |
+| `disable-filesystem-ops`             | Stops the server creating and removing directories when schemas and filesets are created and dropped                         | `false`       |
+| `fileset-cache-eviction-interval-ms` | Fileset cache eviction interval, where `-1` never evicts                                                                     | `3600000`     |
+| `fileset-cache-max-size`             | Maximum filesets held in the cache, where `-1` is unlimited                                                                  | `200000`      |
+| `fs.path.config.<n>`                 | A logical location entry set to a base URI such as `hdfs://cluster1/`. Keys sharing the prefix are forwarded to that filesystem client | (none) |
 
-| Property Name                        | Description                                                                                                                                                                                                                                                                                                                      | Default Value   | Required |
-|--------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|----------|
-| `location`                           | The storage location managed by Fileset catalog. Its location name is `unknown`. The value should always a directory(HDFS) or path prefix(cloud storage like S3, GCS.) and does not support a single file.                                                                                                                       | (none)          | No       |
-| `location-`                          | The property prefix. User can use `location-{name}={path}` to set multiple locations with different names for the catalog.                                                                                                                                                                                                       | (none)          | No       |
-| `default-filesystem-provider`        | (deprecated) The default filesystem provider of this Fileset catalog if users do not specify the scheme in the URI. Candidate values are 'builtin-local', 'builtin-hdfs', 's3', 'gcs', 'abs' and 'oss'. Default value is `builtin-local`. For S3, if we set this value to 's3', we can omit the prefix 's3a://' in the location. | `builtin-local` | No       |
-| `filesystem-providers`               | (deprecated) The file system providers to add. Users need to set this configuration to support cloud storage or custom HCFS. For instance, set it to `s3` or a comma separated string that contains `s3` like `gs,s3` to support multiple kinds of fileset including `s3`.                                                       | (none)          | NO       |
-| `credential-providers`               | The credential provider types, separated by comma.                                                                                                                                                                                                                                                                               | (none)          | No       |
-| `filesystem-conn-timeout-secs`       | The timeout of getting the file system using Hadoop FileSystem client instance. Time unit: seconds.                                                                                                                                                                                                                              | 6               | No       |
-| `disable-filesystem-ops`             | The configuration to disable file system operations in the server side. If set to true, the Fileset catalog in the server side will not create, drop files or folder when the schema, fileset is created, dropped.                                                                                                               | false           | No       |
-| `fileset-cache-eviction-interval-ms` | The interval in milliseconds to evict the fileset cache, -1 means never evict.                                                                                                                                                                                                                                                   | 3600000         | No       |
-| `fileset-cache-max-size`             | The maximum number of the filesets the cache may contain, -1 means no limit.                                                                                                                                                                                                                                                     | 200000          | No       |
-| `config.resources`                   | The configuration resources, separated by comma. For example, `hdfs-site.xml,core-site.xml`.                                                                                                                                                                                                                                     | (none)          | No       |
-| `fs.path.config.<name>`              | Defines a logical location entry. Set `fs.path.config.<name>` to the real base URI (for example, `hdfs://cluster1/`). Any key that starts with the same prefix (such as `fs.path.config.<name>.config.resource`) is treated as a location-scoped property and will be forwarded to the underlying filesystem client.             | (none)          | No       |
+`default-filesystem-provider` and `filesystem-providers` are deprecated and no longer needed. The catalog loads filesystem providers from the classpath, including cloud providers whenever the matching bundle jar is present.
 
-:::note
-`default-filesystem-provider` and `filesystem-providers` are deprecated. The fileset catalog automatically loads filesystem providers on the classpath, including the built-in filesystem provider and cloud providers when the corresponding bundle jar is present (for example, `gravitino-aws-bundle`, `gravitino-azure-bundle`, `gravitino-aliyun-bundle`, `gravitino-gcp-bundle`, or `gravitino-tencent-bundle`).
-:::
+## Storage Backends
 
-Refer to [Credential vending](./security/credential-vending.md) for more details about credential vending.
+HDFS and local filesystems need no bundle jar and no credential properties. Object storage needs a jar in `${GRAVITINO_HOME}/catalogs/fileset/libs/` and a server restart, plus the properties below.
 
-### HDFS Fileset
+| Storage System          | Bundle Jar                 | URI Scheme           | Credential Providers              |
+|-------------------------|----------------------------|----------------------|-----------------------------------|
+| Amazon S3               | `gravitino-aws-bundle`     | `s3a://`             | `s3-token`, `s3-secret-key`       |
+| Google Cloud Storage    | `gravitino-gcp-bundle`     | `gs://`              | `gcs-token`                       |
+| Azure Data Lake Storage | `gravitino-azure-bundle`   | `abfss://`           | `adls-token`, `azure-account-key` |
+| Alibaba Cloud OSS       | `gravitino-aliyun-bundle`  | `oss://`             | `oss-token`, `oss-secret-key`     |
+| Tencent Cloud COS       | `gravitino-tencent-bundle` | `cosn://`            | `cos-secret-key`                  |
+| HDFS and local          | None, built in             | `hdfs://`, `file://` | None                              |
 
-Apart from the above properties, to access fileset like HDFS fileset, you need to configure the following extra
-properties.
+Bundle jars are published on [Maven Central](https://mvnrepository.com/artifact/org.apache.gravitino) and versioned with the server.
 
-| Property Name                                      | Description                                                                                | Default Value | Required                                                    |
-|----------------------------------------------------|--------------------------------------------------------------------------------------------|---------------|-------------------------------------------------------------|
-| `authentication.impersonation-enable`              | Whether to enable impersonation for the Fileset catalog.                                   | `false`       | No                                                          |
-| `authentication.type`                              | The type of authentication for Fileset catalog, we only support `kerberos`, `simple`.      | `simple`      | No                                                          |
-| `authentication.kerberos.principal`                | The principal of the Kerberos authentication                                               | (none)        | required if the value of `authentication.type` is Kerberos. |
-| `authentication.kerberos.keytab-uri`               | The URI of The keytab for the Kerberos authentication.                                     | (none)        | required if the value of `authentication.type` is Kerberos. |
-| `authentication.kerberos.check-interval-sec`       | The check interval of Kerberos credential for Fileset catalog.                             | 60            | No                                                          |
-| `authentication.kerberos.keytab-fetch-timeout-sec` | The fetch timeout of retrieving Kerberos keytab from `authentication.kerberos.keytab-uri`. | 60            | No                                                          |
+The GVFS client takes the same property names as the catalog, so a client reading an S3 fileset sets `s3-endpoint`, `s3-access-key-id`, and `s3-secret-access-key` alongside its base GVFS configuration. Setting `credential-providers` on the catalog removes that requirement, since Gravitino then issues short-lived credentials per request and the client holds no cloud keys at all. See [Credential Vending](./security/credential-vending.md).
 
-The `config.resources` property allows users to specify custom configuration files.
+### Amazon S3
 
-The Gravitino Fileset extends the following properties in the `xxx-site.xml`:
+| Property Name          | Description                | Required |
+|------------------------|----------------------------|----------|
+| `s3-endpoint`          | Endpoint of the S3 service | Yes      |
+| `s3-access-key-id`     | Access key                 | Yes      |
+| `s3-secret-access-key` | Secret key                 | Yes      |
 
-| Property Name                                     | Description                                                             | Default Value | Required                                                    |
-|---------------------------------------------------|-------------------------------------------------------------------------|---------------|-------------------------------------------------------------|
-| hadoop.security.authentication.kerberos.principal | The principal of the Kerberos authentication for HDFS client.           | (none)        | required if the value of `authentication.type` is Kerberos. |
-| hadoop.security.authentication.kerberos.keytab    | The keytab file path of the Kerberos authentication for HDFS client.    | (none)        | required if the value of `authentication.type` is Kerberos. |
-| hadoop.security.authentication.kerberos.krb5.conf | The krb5.conf file path of the Kerberos authentication for HDFS client. | (none)        | No                                                          |
+S3-compatible storage such as MinIO uses the same properties with its own endpoint.
 
-### Fileset Catalog with Cloud Storage
-
-In the current implementation, the fileset uses the HDFS protocol to access its location. If users use S3, GCS, OSS,
-Azure Blob Storage or Tencent Cloud COS, they can also configure the `config.resources` to specify custom configuration
-files.
+```shell
+curl -X POST -H "Content-Type: application/json" \
+  -d '{
+        "name": "{catalog_name}",
+        "type": "FILESET",
+        "comment": "",
+        "properties": {
+          "location": "s3a://{bucket}/{prefix}",
+          "s3-endpoint": "{endpoint}",
+          "s3-access-key-id": "{access_key_id}",
+          "s3-secret-access-key": "{secret_access_key}"
+        }
+      }' \
+  http://localhost:8090/api/metalakes/{metalake}/catalogs
+```
 
-- For S3, refer to [Fileset-catalog-with-s3](./fileset-catalog-with-s3.md) for more details.
-- For GCS, refer to [Fileset-catalog-with-gcs](./fileset-catalog-with-gcs.md) for more details.
-- For OSS, refer to [Fileset-catalog-with-oss](./fileset-catalog-with-oss.md) for more details.
-- For Azure Blob Storage, refer to [Fileset-catalog-with-adls](./fileset-catalog-with-adls.md) for more details.
-- For Tencent Cloud COS, refer to [Fileset-catalog-with-cos](./fileset-catalog-with-cos.md) for more details.
+### Google Cloud Storage
 
-### Implement a Custom HCFS File System Fileset
+| Property Name              | Description                           | Required |
+|----------------------------|---------------------------------------|----------|
+| `gcs-service-account-file` | Path to the service account JSON file | Yes      |
 
-Developers and users can custom their own HCFS file system fileset by implementing the`FileSystemProvider` interface in
-the jar [gravitino-hadoop-common](https://repo1.maven.org/maven2/org/apache/gravitino/gravitino-hadoop-common/). The
-`FileSystemProvider` interface is defined as follows:
+The path is read wherever it is configured, so the file must exist on the server for the catalog, and on the client machine for a client not using vended credentials.
 
-```java
-  
-  // Create a FileSystem instance by the properties you have set when creating the catalog. 
-  FileSystem getFileSystem(@Nonnull Path path, @Nonnull Map<String, String> config)
-      throws IOException;
-  
-  // The schema name of the file system provider. 'file' for Local file system,
-  // 'hdfs' for HDFS, 's3a' for AWS S3, 'gs' for GCS, 'oss' for Aliyun OSS, 'cosn' for Tencent Cloud COS.
-  String scheme();
-
-  // Name of the file system provider. 'builtin-local' for Local file system, 'builtin-hdfs' for HDFS, 
-  // 's3' for AWS S3, 'gcs' for GCS, 'oss' for Aliyun OSS, 'cos' for Tencent Cloud COS.
-  String name();
-```
+### Azure Data Lake Storage
 
-In the meantime, `FileSystemProvider` uses Java SPI to load the custom file system provider. You
-need to create a file named `org.apache.gravitino.catalog.hadoop.fs.FileSystemProvider` in the
-`META-INF/services` directory of the jar file. The content of the file is the full class name of
-the custom file system provider. For example, the content of `S3FileSystemProvider` is as follows:
-![img.png](assets/fileset/custom-filesystem-provider.png)
+| Property Name                | Description          | Required |
+|------------------------------|----------------------|----------|
+| `azure-storage-account-name` | Storage account name | Yes      |
+| `azure-storage-account-key`  | Storage account key  | Yes      |
 
-After implementing the `FileSystemProvider` interface, you need to put the jar file into the
-`$GRAVITINO_HOME/catalogs/fileset/libs` directory. Then you can use your custom file system provider.
+### Alibaba Cloud OSS
 
-### Fileset Catalog Authentication
+| Property Name           | Description                 | Required |
+|-------------------------|-----------------------------|----------|
+| `oss-endpoint`          | Endpoint of the OSS service | Yes      |
+| `oss-access-key-id`     | Access key                  | Yes      |
+| `oss-secret-access-key` | Secret key                  | Yes      |
 
-The Fileset catalog supports multi-level authentication to control access, allowing different authentication settings
-for the catalog, schema, and fileset. The priority of authentication settings is as follows: catalog < schema < fileset.
-Specifically:
+### Tencent Cloud COS
 
-- **Catalog**: The default authentication is `simple`.
-- **Schema**: Inherits the authentication setting from the catalog if not explicitly set. For more information about
-  schema settings, refer to [Schema properties](#schema-properties).
-- **Fileset**: Inherits the authentication setting from the schema if not explicitly set. For more information about
-  fileset settings, refer to [Fileset properties](#fileset-properties).
+| Property Name           | Description                                         | Required |
+|-------------------------|-----------------------------------------------------|----------|
+| `cos-region`            | Bucket region, for example `ap-guangzhou`           | Yes      |
+| `cos-access-key-id`     | Access key, the Tencent Cloud `SecretId`            | Yes      |
+| `cos-secret-access-key` | Secret key, the Tencent Cloud `SecretKey`           | Yes      |
+| `cos-endpoint`          | Endpoint host suffix, only for non-public endpoints | No       |
 
-The default value of `authentication.impersonation-enable` is false, and the default value for catalogs about this
-configuration is false, for
-schemas and filesets, the default value is inherited from the parent. Value set by the user will override the parent
-value, and the priority mechanism is the same as authentication.
+`cos-endpoint` is a host suffix rather than a URL, so it takes `cos.ap-guangzhou.myqcloud.com` and not `https://cos.ap-guangzhou.myqcloud.com`. When unset it is derived from `cos-region`, which is what you want unless you are pointing at an internal or VPC endpoint.
 
-### Catalog Operations
+### Multiple Storage Systems
 
-Refer to [Catalog operations](./manage-fileset-metadata-using-gravitino.md#catalog-operations) for more details.
+One catalog can carry the properties for several storage systems at once, and Gravitino selects among them by the URI scheme of the object being accessed.
 
-## Schema
+## HDFS and Kerberos
 
-### Schema Capabilities
+A secured HDFS cluster needs these on the catalog, and they can be narrowed on a schema or fileset.
 
-The Fileset catalog supports creating, updating, deleting, and listing schema.
+| Property Name                                      | Description                                                | Default Value |
+|----------------------------------------------------|-------------------------------------------------------------|---------------|
+| `authentication.type`                              | `simple` or `kerberos`                                      | `simple`      |
+| `authentication.impersonation-enable`              | Whether the catalog impersonates the calling user           | `false`       |
+| `authentication.kerberos.principal`                | Kerberos principal, required when the type is `kerberos`    | (none)        |
+| `authentication.kerberos.keytab-uri`               | URI of the keytab, required when the type is `kerberos`     | (none)        |
+| `authentication.kerberos.check-interval-sec`       | Credential check interval                                   | `60`          |
+| `authentication.kerberos.keytab-fetch-timeout-sec` | Timeout when retrieving the keytab                          | `60`          |
 
-### Schema Properties
+The HDFS client itself is configured through the files named in `config.resources`, where Gravitino recognizes three additional keys: `hadoop.security.authentication.kerberos.principal`, `hadoop.security.authentication.kerberos.keytab`, and `hadoop.security.authentication.kerberos.krb5.conf`.
 
-All the catalog properties are inherited by the schema. Besides, the Fileset catalog schema has the following
-properties:
+## Schema Properties
 
-| Property name                         | Description                                                                                                               | Default value             | Required |
-|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------|---------------------------|----------|
-| `location`                            | The storage location managed by schema. Its location name is `unknown`. It's also should be a directory or path prefix.   | (none)                    | No       |
-| `location-`                           | The property prefix. User can use `location-{name}={path}` to set multiple locations with different names for the schema. | (none)                    | No       |
-| `authentication.impersonation-enable` | Whether to enable impersonation for this schema of the Fileset catalog.                                                   | The parent(catalog) value | No       |
-| `authentication.type`                 | The type of authentication for this schema of Fileset catalog , we only support `kerberos`, `simple`.                     | The parent(catalog) value | No       |
-| `authentication.kerberos.principal`   | The principal of the Kerberos authentication for this schema.                                                             | The parent(catalog) value | No       |
-| `authentication.kerberos.keytab-uri`  | The URI of The keytab for the Kerberos authentication for this schema.                                                    | The parent(catalog) value | No       |
-| `credential-providers`                | The credential provider types, separated by comma.                                                                        | (none)                    | No       |
-| `config.resources`                    | The configuration resources, separated by comma. For example, `hdfs-site.xml,core-site.xml`.                              | (none)                    | No       |
+Schemas inherit every catalog property and can override these.
 
-### Schema Operations
+| Property Name                         | Description                                        | Default Value  |
+|---------------------------------------|-----------------------------------------------------|----------------|
+| `location`                            | Base storage location for the schema, named `unknown` | (none)       |
+| `location-`                           | Prefix for named locations                          | (none)         |
+| `credential-providers`                | Credential provider types, separated by commas      | (none)         |
+| `config.resources`                    | Configuration files to load                         | (none)         |
+| `authentication.type`                 | `simple` or `kerberos`                              | Catalog value  |
+| `authentication.impersonation-enable` | Whether to impersonate the calling user             | Catalog value  |
+| `authentication.kerberos.principal`   | Kerberos principal for this schema                  | Catalog value  |
+| `authentication.kerberos.keytab-uri`  | Keytab URI for this schema                          | Catalog value  |
 
-Refer to [Schema operation](./manage-fileset-metadata-using-gravitino.md#schema-operations) for more details.
+Creating or dropping a schema creates or removes the matching directories, except when `disable-filesystem-ops` is `true` or the location contains [placeholders](./manage-fileset-metadata-using-gravitino.md#placeholder).
 
-:::note
-During schema creation or deletion, Gravitino automatically creates or removes the corresponding filesystem directories
-for the schema locations.
-This behavior is skipped in either of these cases:
+## Fileset Properties
 
-1. When the catalog property `disable-filesystem-ops` is set to `true`
-2. When the location contains [placeholders](./manage-fileset-metadata-using-gravitino.md#placeholder)
-:::
+Filesets inherit every schema property, including those the schema inherited from the catalog.
 
-## Fileset
+| Property Name                         | Description                                                            | Default Value                        | Immutable |
+|---------------------------------------|-------------------------------------------------------------------------|--------------------------------------|-----------|
+| `location`                            | Storage location for the fileset, named `unknown`                       | (none)                               | No        |
+| `default-location-name`               | Which location GVFS uses when none is named. Required with several      | The only location, when there is one | Yes       |

Review Comment:
   The `default-location-name` description is truncated ("Required with several"), which reads like an incomplete sentence and makes the requirement unclear.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5237868701

   File `how-to-use-gvfs.md` has referred to files removed in this PR; we also need to modify it. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5264107260

   @markhoerth @jerryshao 
   
   As addressed above, files like `fileset-catalog-with-adls.md` contain full information for beginners who are not very familiar with Gravitino. Via those files, they can set up Gravitino and use fileset end to end, so It's not proper to simplify them too much. I have created a new PR to optimize them. see #12434


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5252748454

   > One thing worth flagging that I found while doing this: the Python client spells the storage properties with underscores where the catalog and the Java client use hyphens, s3_endpoint against s3-endpoint. The old pages had both spellings in different sections without ever saying why. Each page now states it explicitly.
   
   The difference in the name for `s3_endpoint` and `s3-endpoint` is that '_' is the normalization for Python, which '-' is for Java; it's by design.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on code in PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#discussion_r3757920845


##########
docs/fileset-catalog.md:
##########
@@ -1,214 +1,266 @@
 ---
 title: "Fileset Catalog"
 slug: "/fileset-catalog"
-date: 2024-4-2
-keyword: "fileset catalog"
+keywords:
+  - fileset
+  - catalog
+  - storage
+  - s3
+  - gcs
+  - adls
+  - oss
+  - cos
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-Fileset catalog is a fileset catalog that using Hadoop Compatible File System (HCFS) to manage
-the storage location of the fileset. It supports the local filesystem and HDFS.
-Gravitino supports [S3](fileset-catalog-with-s3.md), [GCS](fileset-catalog-with-gcs.md),
-[OSS](fileset-catalog-with-oss.md) and [Azure Blob Storage](fileset-catalog-with-adls.md) through Fileset catalog.
-Gravitino also supports [Tencent Cloud COS](fileset-catalog-with-cos.md).
+A fileset catalog manages filesets over a Hadoop Compatible File System. Gravitino owns the catalog rather than federating an external one, so no provider is needed when creating it, and the same catalog, schema, and fileset model works over HDFS, a local filesystem, or object storage.
 
-The rest of this document will use HDFS or local file as an example to illustrate how to use the Fileset catalog.
-For S3, GCS, OSS, Azure Blob Storage and COS, the configuration is similar to HDFS,
-refer to the corresponding document for more details.
+What changes per storage system is small: a bundle jar on the classpath, the URI scheme in the location, and a few credential properties. Creating and managing the objects is covered in [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md), and reading and writing the files in [How to Use GVFS](./how-to-use-gvfs.md). Neither changes because the data sits in S3 rather than HDFS, which is the point of the indirection described in [Filesets](./filesets.md).
 
-Note that Gravitino uses Hadoop 3 dependencies to build Fileset catalog. Theoretically, it should be
-compatible with both Hadoop 2.x and 3.x, since Gravitino doesn't leverage any new features in
-Hadoop 3. If there's any compatibility issue, create an [issue](https://github.com/apache/gravitino/issues).
+The catalog is built against Hadoop 3 but uses no Hadoop 3 features, so Hadoop 2.x should also work. Report any incompatibility as an [issue](https://github.com/apache/gravitino/issues).
 
-## Catalog
+## Quick Start
 
-### Catalog Properties
+**1. Create the catalog.** No provider is needed. Give it a base `location` and, for object
+storage, the credential properties for that backend.
 
-Besides the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration),
-the Fileset catalog has the following properties:
+```shell
+curl -X POST -H "Content-Type: application/json" \
+  -d '{
+        "name": "{catalog_name}",
+        "type": "FILESET",
+        "comment": "",
+        "properties": {
+          "location": "hdfs://{cluster}/{path}"
+        }
+      }' \
+  http://localhost:8090/api/metalakes/{metalake}/catalogs
+```
 
-| Property Name                        | Description                                                                                                                                                                                                                                                                                                                      | Default Value   | Required |
-|--------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|----------|
-| `location`                           | The storage location managed by Fileset catalog. Its location name is `unknown`. The value should always a directory(HDFS) or path prefix(cloud storage like S3, GCS.) and does not support a single file.                                                                                                                       | (none)          | No       |
-| `location-`                          | The property prefix. User can use `location-{name}={path}` to set multiple locations with different names for the catalog.                                                                                                                                                                                                       | (none)          | No       |
-| `default-filesystem-provider`        | (deprecated) The default filesystem provider of this Fileset catalog if users do not specify the scheme in the URI. Candidate values are 'builtin-local', 'builtin-hdfs', 's3', 'gcs', 'abs' and 'oss'. Default value is `builtin-local`. For S3, if we set this value to 's3', we can omit the prefix 's3a://' in the location. | `builtin-local` | No       |
-| `filesystem-providers`               | (deprecated) The file system providers to add. Users need to set this configuration to support cloud storage or custom HCFS. For instance, set it to `s3` or a comma separated string that contains `s3` like `gs,s3` to support multiple kinds of fileset including `s3`.                                                       | (none)          | NO       |
-| `credential-providers`               | The credential provider types, separated by comma.                                                                                                                                                                                                                                                                               | (none)          | No       |
-| `filesystem-conn-timeout-secs`       | The timeout of getting the file system using Hadoop FileSystem client instance. Time unit: seconds.                                                                                                                                                                                                                              | 6               | No       |
-| `disable-filesystem-ops`             | The configuration to disable file system operations in the server side. If set to true, the Fileset catalog in the server side will not create, drop files or folder when the schema, fileset is created, dropped.                                                                                                               | false           | No       |
-| `fileset-cache-eviction-interval-ms` | The interval in milliseconds to evict the fileset cache, -1 means never evict.                                                                                                                                                                                                                                                   | 3600000         | No       |
-| `fileset-cache-max-size`             | The maximum number of the filesets the cache may contain, -1 means no limit.                                                                                                                                                                                                                                                     | 200000          | No       |
-| `config.resources`                   | The configuration resources, separated by comma. For example, `hdfs-site.xml,core-site.xml`.                                                                                                                                                                                                                                     | (none)          | No       |
-| `fs.path.config.<name>`              | Defines a logical location entry. Set `fs.path.config.<name>` to the real base URI (for example, `hdfs://cluster1/`). Any key that starts with the same prefix (such as `fs.path.config.<name>.config.resource`) is treated as a location-scoped property and will be forwarded to the underlying filesystem client.             | (none)          | No       |
+**2. Create a schema.** The directory is created under the catalog location unless
+`disable-filesystem-ops` is set.
 
-:::note
-`default-filesystem-provider` and `filesystem-providers` are deprecated. The fileset catalog automatically loads filesystem providers on the classpath, including the built-in filesystem provider and cloud providers when the corresponding bundle jar is present (for example, `gravitino-aws-bundle`, `gravitino-azure-bundle`, `gravitino-aliyun-bundle`, `gravitino-gcp-bundle`, or `gravitino-tencent-bundle`).
-:::
+```shell
+curl -X POST -H "Content-Type: application/json" \
+  -d '{"name": "{schema_name}", "comment": "", "properties": {}}' \
+  http://localhost:8090/api/metalakes/{metalake}/catalogs/{catalog_name}/schemas
+```
 
-Refer to [Credential vending](./security/credential-vending.md) for more details about credential vending.
+**3. Create a fileset.**
+
+```shell
+curl -X POST -H "Content-Type: application/json" \
+  -d '{
+        "name": "{fileset_name}",
+        "type": "MANAGED",
+        "comment": "",
+        "properties": {}
+      }' \
+  http://localhost:8090/api/metalakes/{metalake}/catalogs/{catalog_name}/schemas/{schema_name}/filesets
+```
 
-### HDFS Fileset
+**4. Read and write the files.** The fileset is addressable as
+`gvfs://fileset/{catalog_name}/{schema_name}/{fileset_name}` from the Java client, the Python
+client, Spark, and the Hadoop shell. See [How to Use GVFS](./how-to-use-gvfs.md).
+
+Only step 1 changes per storage backend, and only in the `location` scheme and the credential
+properties. Steps 2 through 4 are the same over HDFS, S3, GCS, ADLS, OSS, and COS.
+
+## Catalog Properties
+
+These apply in addition to the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration).
+
+| Property Name                        | Description                                                                                                                            | Default Value |
+|--------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|---------------|
+| `location`                           | Base storage location, named `unknown`. Always a directory or path prefix, never a single file                                         | (none)        |
+| `location-`                          | Prefix for named locations, as `location-{name}={path}`                                                                                | (none)        |
+| `credential-providers`               | Credential provider types, separated by commas                                                                                         | (none)        |
+| `config.resources`                   | Configuration files to load, separated by commas, such as `hdfs-site.xml,core-site.xml`                                                | (none)        |
+| `filesystem-conn-timeout-secs`       | Timeout when obtaining a filesystem client, in seconds                                                                                 | `6`           |
+| `disable-filesystem-ops`             | Stops the server creating and removing directories when schemas and filesets are created and dropped                                   | `false`       |
+| `fileset-cache-eviction-interval-ms` | Fileset cache eviction interval, where `-1` never evicts                                                                               | `3600000`     |
+| `fileset-cache-max-size`             | Maximum filesets held in the cache, where `-1` is unlimited                                                                            | `200000`      |
+| `fs.path.config.<n>`                 | A logical location entry set to a base URI such as `hdfs://cluster1/`. Keys sharing the prefix are forwarded to that filesystem client | (none)        |

Review Comment:
   fs.path.config.<n>, It should be `name` NOT `n` here.



##########
docs/fileset-catalog-with-s3.md:
##########
@@ -1,568 +1,200 @@
 ---
-title: "Fileset Catalog with S3"
+title: "Fileset Catalog with Amazon S3"
 slug: "/fileset-catalog-with-s3"
-date: 2025-01-03
 keyword: "Fileset catalog S3"
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-This document explains how to configure a Fileset catalog with S3 in Gravitino.
+A fileset catalog backed by Amazon S3 stores fileset data in S3 while Gravitino manages the metadata. Clients reach the data through the Gravitino Virtual File System (GVFS) using a `gvfs://` path, so the storage backend stays behind the catalog.
 
-## Prerequisites
+Everything here is specific to S3. For the fileset model, the shared catalog, schema, and fileset properties, and property inheritance, see [Fileset Catalog](./fileset-catalog.md).
 
-To create a Fileset catalog with S3, follow these steps:
+## Quick Start
 
-1. Download the [`gravitino-aws-bundle-${gravitino-version}.jar`](https://mvnrepository.com/artifact/org.apache.gravitino/gravitino-aws-bundle) file.
-2. Place this file in the Gravitino Fileset catalog classpath at `${GRAVITINO_HOME}/catalogs/fileset/libs/`.
-3. Start the Gravitino server using the following command:
-
-```bash
-$ ${GRAVITINO_HOME}/bin/gravitino-server.sh start
-```
-
-Once the server is up and running, you can proceed to configure the Fileset catalog with S3. In the rest of this document we will use `http://localhost:8090` as the Gravitino server URL, replace with your actual server URL.
-
-## S3 Catalog Configuration
-
-### S3 Fileset Catalog Configuration
-
-In addition to the basic configurations mentioned in [Fileset-catalog-catalog-configuration](./fileset-catalog.md#catalog-properties), the following properties are necessary to configure a Fileset catalog with S3:
-
-| Configuration item            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Default value   | Required |
-|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|----------|
-| `filesystem-providers`        | (deprecated) The file system providers to add. Set it to `s3` if it's a S3 fileset, or a comma separated string that contains `s3` like `gs,s3` to support multiple kinds of fileset including `s3`.                                                                                                                                                                                                                                                                                                    | (none)          | Yes      |
-| `default-filesystem-provider` | (deprecated) The name default filesystem providers of this Fileset catalog if users do not specify the scheme in the URI. Default value is `builtin-local`, for S3, if we set this value, we can omit the prefix 's3a://' in the location.                                                                                                                                                                                                                                                              | `builtin-local` | No       |
-| `s3-endpoint`                 | The endpoint of the AWS S3.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | (none)          | Yes      |
-| `s3-access-key-id`            | The access key of the AWS S3.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | (none)          | Yes      |
-| `s3-secret-access-key`        | The secret key of the AWS S3.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | (none)          | Yes      |
-| `credential-providers`        | The credential provider types, separated by comma, possible value can be `s3-token`, `s3-secret-key`. As the default authentication type is using AKSK as the above, this configuration can enable credential vending provided by Gravitino server and client will no longer need to provide authentication information like AKSK to access S3 by GVFS. Once it's set, more configuration items are needed to make it works, see [s3-credential-vending](security/credential-vending.md#s3-credentials) | (none)          | No       |
-
-:::note
-`default-filesystem-provider` and `filesystem-providers` are deprecated. The fileset catalog automatically loads filesystem providers on the classpath, including buildin filesystem provider and cloud providers when the corresponding bundle jar is present (for example, `gravitino-aws-bundle`).
-:::
-
-### Schema Configuration
-
-To learn how to create a schema, refer to [Schema configurations](./fileset-catalog.md#schema-properties).
-
-### Fileset Configuration
-
-For more details on creating a fileset, Refer to [Fileset configurations](./fileset-catalog.md#fileset-properties).
-
-## Create the Catalog, Schema, and Fileset
-
-This section demonstrates how to use the Fileset catalog with S3 in Gravitino, with a complete example.
-
-### Step 1: Create a Fileset Catalog with S3
-
-First of all, you need to create a Fileset catalog with S3. The following example shows how to create a Fileset catalog with S3:
-
-<Tabs groupId="language" queryString>
-<TabItem value="shell" label="Shell">
+**1. Install the bundle.** Download [`gravitino-aws-bundle`](https://mvnrepository.com/artifact/org.apache.gravitino/gravitino-aws-bundle), place it in `${GRAVITINO_HOME}/catalogs/fileset/libs/`, and start the server.
 
 ```shell
-curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
--H "Content-Type: application/json" -d '{
-  "name": "test_catalog",
-  "type": "FILESET",
-  "comment": "This is a S3 fileset catalog",
-  "properties": {
-    "location": "s3a://bucket/root",
-    "s3-access-key-id": "access_key",
-    "s3-secret-access-key": "secret_key",
-    "s3-endpoint": "http://s3.ap-northeast-1.amazonaws.com"
-  }
-}' http://localhost:8090/api/metalakes/metalake/catalogs
-```
-
-</TabItem>
-<TabItem value="java" label="Java">
-
-```java
-GravitinoClient gravitinoClient = GravitinoClient
-    .builder("http://localhost:8090")
-    .withMetalake("metalake")
-    .build();
-
-Map<String, String> s3Properties = ImmutableMap.<String, String>builder()
-    .put("location", "s3a://bucket/root")
-    .put("s3-access-key-id", "access_key")
-    .put("s3-secret-access-key", "secret_key")
-    .put("s3-endpoint", "http://s3.ap-northeast-1.amazonaws.com")
-    .build();
-
-Catalog s3Catalog = gravitinoClient.createCatalog("test_catalog",
-    Type.FILESET,
-    "This is a S3 fileset catalog",
-    s3Properties);
-// ...
-
-```
-
-</TabItem>
-<TabItem value="python" label="Python">
-
-```python
-gravitino_client: GravitinoClient = GravitinoClient(uri="http://localhost:8090", metalake_name="metalake")
-s3_properties = {
-    "location": "s3a://bucket/root",
-    "s3-access-key-id": "access_key"
-    "s3-secret-access-key": "secret_key",
-    "s3-endpoint": "http://s3.ap-northeast-1.amazonaws.com"
-}
-
-s3_catalog = gravitino_client.create_catalog(name="test_catalog",
-                                             catalog_type=Catalog.Type.FILESET,
-                                             provider=None,
-                                             comment="This is a S3 fileset catalog",
-                                             properties=s3_properties)
-```
-
-</TabItem>
-</Tabs>
-
-:::note
-- When using S3, ensure that the location value starts with s3a:// (not s3://) for AWS S3. For example, use s3a://bucket/root, as the s3:// format is not supported by the hadoop-aws library.
-- When using MinIO or other S3-compatible storage services, make sure to set the `s3-endpoint` property to the appropriate endpoint URL. 
-- When using MinIO or other S3-compatible storage services, you may need to set additional properties such as `s3-path-style-access` to `true` depending on the storage service requirements. You can do this in Gravitino's `fileset.conf` file with the "gravitino.bypass." prefix: 
-```bash
-$ cat $GRAVITINO_HOME/catalogs/fileset/conf/fileset.conf
-gravitino.bypass.fs.s3a.path.style.access=true
+${GRAVITINO_HOME}/bin/gravitino-server.sh start
 ```
-:::
-
-### Step 2: Create a Schema
-
-Once your Fileset catalog with S3 is created, you can create a schema under the catalog. Here are examples of how to do that:
 
-<Tabs groupId="language" queryString>
-<TabItem value="shell" label="Shell">
+**2. Create the catalog.**
 
 ```shell
-curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
--H "Content-Type: application/json" -d '{
-  "name": "test_schema",
-  "comment": "This is a S3 schema",
-  "properties": {
-    "location": "s3a://bucket/root/schema"
-  }
-}' http://localhost:8090/api/metalakes/metalake/catalogs/test_catalog/schemas
-```
-
-</TabItem>
-<TabItem value="java" label="Java">
-
-```java
-Catalog catalog = gravitinoClient.loadCatalog("hive_catalog");
-
-SupportsSchemas supportsSchemas = catalog.asSchemas();
-
-Map<String, String> schemaProperties = ImmutableMap.<String, String>builder()
-    .put("location", "s3a://bucket/root/schema")
-    .build();
-Schema schema = supportsSchemas.createSchema("test_schema",
-    "This is a S3 schema",
-    schemaProperties
-);
-// ...
-```
-
-</TabItem>
-<TabItem value="python" label="Python">
-
-```python
-gravitino_client: GravitinoClient = GravitinoClient(uri="http://localhost:8090", metalake_name="metalake")
-catalog: Catalog = gravitino_client.load_catalog(name="test_catalog")
-catalog.as_schemas().create_schema(name="test_schema",
-                                   comment="This is a S3 schema",
-                                   properties={"location": "s3a://bucket/root/schema"})
-```
-
-</TabItem>
-</Tabs>
-
-### Step 3: Create a Fileset
-
-After creating the schema, you can create a fileset. Here are examples for creating a fileset:
-
-<Tabs groupId="language" queryString>
-<TabItem value="shell" label="Shell">
+curl -X POST -H "Content-Type: application/json" \
+  -d '{
+        "name": "{catalog_name}",
+        "type": "FILESET",
+        "comment": "",
+        "properties": {
+          "location": "s3a://{bucket}/{prefix}",
+          "s3-endpoint": "{s3_endpoint}",
+          "s3-access-key-id": "{s3_access_key_id}",
+          "s3-secret-access-key": "{s3_secret_access_key}",

Review Comment:
   Redundant ',' at the end. The other five pages also have the same problem. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5253852709

   Thanks for taking this on — the de-duplication is the right call, and the link cleanup is a real bonus (running the docs link checker against `main`, this branch removes 16 broken links and adds none).
   
   I pushed two commits to the branch directly rather than leaving them as suggestions, since they were mechanical. Please review them:
   
   - `e7bef74` fixes a defect in the examples: the catalog-creation and credential-vending `curl` snippets on all five cloud pages left a trailing comma on the last property, so the JSON is invalid and the server rejects the body as copied. Ten snippets. The same commit restores the `fs.path.config.<name>` placeholder (it had been truncated to `<n>`), realigns the Storage Backends table after the per-cloud links were added to its first column, and repoints two anchors that no longer resolve.
   - `01c182c` merges current `main`. The only conflict was three links in `how-to-use-gvfs.md`: both sides had retargeted `security/security.md` (which `main` has now deleted) to `security/how-to-authenticate.md`, differing only in link text. I kept your "How to authenticate".
   
   ## The main thing: some of the trimming took real content with it
   
   The ~250 lines per page of GVFS/Spark/pandas usage were genuinely duplicated and should go. But a few things that were cut are per-cloud facts a reader cannot reconstruct from anywhere else, and they no longer exist anywhere in the tree.
   
   **1. Which jars the `hadoop fs` path needs, and where they come from.**
   
   Each page now says:
   
   > Add ... to `${HADOOP_HOME}/etc/hadoop/core-site.xml`, then place the same jars in the Hadoop classpath.
   
   "the same jars" refers back to the Java section, but that section describes *Maven dependencies*, so the reference doesn't resolve to anything a reader can copy. What `main` said per cloud:
   
   | Cloud | Removed |
   |---|---|
   | S3 | `hadoop-aws-${hadoop-version}.jar`, from `${HADOOP_HOME}/share/hadoop/tools/lib/` |
   | OSS | `hadoop-aliyun-*.jar`, `jdom2`, `aliyun-sdk-oss` |
   | ADLS | `hadoop-azure-*.jar`, `azure-storage`, `wildfly-openssl` |
   | COS | `hadoop-cos-3.3.0-8.3.23.jar` and `cos_api-bundle-5.6.227.jar` — **explicitly not part of the Apache Hadoop distribution**, must be downloaded from Maven Central |
   
   The COS note is the one I would most want back. Unlike the others, those jars are not in the Hadoop distribution, and nothing in the docs hints at that now.
   
   **2. The Hadoop shell recipe has no configuration example.**
   
   `how-to-use-gvfs.md#via-hadoop-shell-command` is now the only end-to-end CLI walkthrough, and for configuration it says only:
   
   ```shell
   # 1. Configure the hadoop `core-site.xml` configuration
   # You should put the required properties into this file
   ```
   
   No XML. The reader has to hand-translate the configuration table into `core-site.xml` themselves. That section is also written for HDFS (it includes a Kerberos step), and its jar step copies only `gravitino-filesystem-hadoop3-runtime`, not a cloud bundle.
   
   Related inconsistency: that section says jars go in `${HADOOP_HOME}/share/hadoop/common/lib/`, while the cloud pages said `${HADOOP_HOME}/share/hadoop/tools/lib/`. Only one of those survives now, so the branch silently settles the question — worth confirming which is correct.
   
   **3. Two removed warnings.**
   
   - The JDK17 `--add-opens=java.base/sun.nio.ch=ALL-UNNAMED` note for Spark was on all five pages and is now on none. Spark on JDK17 fails without it.
   - The "use `s3a://`, not `s3://`, because `s3://` is not supported by `hadoop-aws`" warning is gone from the S3 page. The examples all use `s3a://` but no longer say why.
   
   ### Suggestion
   
   This can be fixed without undoing the consolidation, roughly 40 lines total:
   
   1. In `how-to-use-gvfs.md`, give the Hadoop shell section a real `core-site.xml` snippet with the four base properties, and state the jar step properly. Shared by all backends, written once.
   2. In each cloud page's `### Hadoop Command Line`, replace the vague sentence with that cloud's jar list (2–3 lines). This is the only genuinely per-cloud part.
   3. Put the `s3a://` warning back on the S3 page (one line), and the JDK17 `--add-opens` note in the shared Spark section (one line).
   
   ## Smaller points
   
   - **The PR description is stale.** It describes deleting the five cloud pages, but later commits restored them in trimmed form; only `fileset-catalog-index.md` is actually deleted now. Since this will likely be squashed, the description becomes the commit message.
   - `s3-endpoint` is `Required: Yes` in the catalog properties table but `No` in the Python table on the same page. If that difference is real it deserves a note in the catalog table; if not, the two should agree.
   - "Set `credential-providers` on the catalog to one of `gcs-token`" reads oddly for the single-value cases (GCS, COS, ADLS).
   - Two links in `how-to-use-gvfs.md` (lines 81 and 471) point at `manage-fileset-metadata-using-gravitino.md#manage-filesets-across-multiple-clusters`, which no longer exists. These predate your PR and I did not want to guess a replacement target, but they sit in a file you are already touching.
   - `how-to-use-gvfs.md` has one misaligned table (the Python configuration table) that came in from `main` via the merge, not from your work — `#12391` widened "built-in IDP" to "local user store" without re-padding. Fixing it here would mix in unrelated changes, so I left it; it probably deserves its own small PR against `main`.
   
   Happy to write the restored sections myself if you would rather not — just say so.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5253907904

   Thanks for taking this on. The de-duplication is the right call — the five pages really were one page copied five times, and the link cleanup is a real bonus (against current `main`, this branch removes 16 broken links and adds none).
   
   I pushed two commits to the branch directly, since they were mechanical. Please review them:
   
   - `e7bef74` — the `curl` snippets on all five cloud pages left a trailing comma on the last property, so the JSON is invalid as copied. Also restores the `fs.path.config.<name>` placeholder (truncated to `<n>`), realigns the Storage Backends table, and repoints two anchors that no longer resolve.
   - `01c182c` — merges current `main`. The only conflict was link text on three links to the authentication page; I kept your wording.
   
   ## My main concern: this is trimmed a bit too far
   
   Reading it end to end, my overall impression is that the cuts went past the duplication and into operational detail that readers actually need.
   
   The `hadoop fs` path is the clearest example. Each page now says to put the properties in `core-site.xml` and "place the same jars in the Hadoop classpath" — but "the same jars" points back at a Maven dependency list, and the specifics that used to be there (which jars, which directory, and for COS the fact that they aren't in the Hadoop distribution at all) are now gone from the whole docs tree. The shared walkthrough in `how-to-use-gvfs.md` doesn't fill the gap either; it just says to put the required properties in the file, without showing them.
   
   But that's only one instance. The same pattern shows up elsewhere — version and environment caveats, the reason behind a scheme or a setting, the small warnings that stop someone an hour of debugging. Individually each looked like boilerplate worth cutting; together they were most of what made these pages usable.
   
   The distinction I'd suggest applying on another pass: text that is duplicated *and* recoverable from the shared pages should go, which is most of what you cut. Text that is duplicated but is the only place a fact is written down needs a home somewhere before it disappears — either once in the shared page, or in the per-cloud section when it genuinely differs per cloud. I don't think this needs many lines to fix, mostly it's about where things land rather than restoring prose.
   
   Happy to go through it with you or write the restored parts myself if that's easier — just say which you'd prefer.
   
   ## Smaller points
   
   - The PR description is now stale: it describes deleting the five cloud pages, but they were restored in trimmed form and only `fileset-catalog-index.md` is actually deleted. Worth rewriting before this is squashed.
   - `s3-endpoint` is `Required: Yes` in the catalog properties table and `No` in the Python table on the same page. If the difference is real it should be called out; if not, they should agree.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5237188975

   @markhoerth can you take a look at these comments? My concern is that though we simplify the doc, we may potentially lose some necessary information needed for users.
   
   The thing why we made the doc so verbose is that we want to make everything clear, even it is duplicated. I'm OK to simplify the doc, but we need to make sure no information is lost.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5237908485

   @markhoerth 
   
   Thanks for working on reducing the duplication. However, I think this PR has gone too far in consolidating these documents. The value of the per-cloud pages is not only to document the differences between storage backends. More importantly, they serve as self-contained, task-oriented quick-start guides. A newcomer can choose a storage backend and follow a single page end to end: create the catalog, schema, and fileset, and then access it through Python GVFS, Spark, or the Hadoop command line.
   
   In the consolidated version, most of these runnable workflows have been removed. Users now need to combine the property tables on this page with the generic GVFS documentation and infer the required backend-specific dependencies, jars, credentials, and configurations themselves. Even as someone familiar with Gravitino, I found it difficult to quickly get started from the simplified version. 
   
   Also, how-to-use-gvfs.md currently relies on the pages being deleted for cloud-specific Java and Python configurations. Therefore, the generic document does not currently provide an equivalent replacement for the removed content. Some duplication is acceptable in tutorial and onboarding documentation because self-containedness is valuable to users. I suggest keeping the per-cloud quick-start pages, or otherwise preserving complete, runnable examples for Python GVFS, Spark, and Hadoop CLI for every supported backend. We can still consolidate the shared reference material and explanations, but I do not think we should remove the end-to-end user journey.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#issuecomment-5233713999

   <!-- coverage-report -->
   ### Code Coverage Report
   |Overall Project|68.35%|:green_circle:|
   |:-|:-|:-:|
   |Files changed|No Java source files changed|-|
   <br>
   
   |Module|Coverage||
   |:-|:-|:-:|
   |aliyun|1.72%|:red_circle:|
   |api|49.37%|:green_circle:|
   |authorization-common|85.96%|:green_circle:|
   |aws|42.04%|:green_circle:|
   |azure|2.47%|:red_circle:|
   |catalog-common|9.92%|:red_circle:|
   |catalog-fileset|79.74%|:green_circle:|
   |catalog-glue|68.95%|:green_circle:|
   |catalog-hive|79.4%|:green_circle:|
   |catalog-jdbc-common|45.7%|:green_circle:|
   |catalog-jdbc-doris|81.8%|:green_circle:|
   |catalog-jdbc-mysql|79.33%|:green_circle:|
   |catalog-jdbc-postgresql|83.39%|:green_circle:|
   |catalog-jdbc-starrocks|79.16%|:green_circle:|
   |catalog-kafka|77.01%|:green_circle:|
   |catalog-lakehouse-generic|59.18%|:green_circle:|
   |catalog-lakehouse-hudi|79.1%|:green_circle:|
   |catalog-lakehouse-iceberg|85.93%|:green_circle:|
   |catalog-lakehouse-paimon|84.23%|:green_circle:|
   |catalog-model|77.72%|:green_circle:|
   |cli|44.48%|:green_circle:|
   |client-java|78.27%|:green_circle:|
   |common|52.57%|:green_circle:|
   |core|83.29%|:green_circle:|
   |filesystem-hadoop3|77.28%|:green_circle:|
   |flink|0.0%|:red_circle:|
   |flink-common|48.68%|:green_circle:|
   |flink-runtime|0.0%|:red_circle:|
   |gcp|14.12%|:red_circle:|
   |hadoop-auth|68.0%|:green_circle:|
   |hadoop-common|12.7%|:red_circle:|
   |hive-metastore-common|53.4%|:green_circle:|
   |iceberg-aliyun-bundle|0.0%|:red_circle:|
   |iceberg-common|64.75%|:green_circle:|
   |iceberg-rest-server|75.03%|:green_circle:|
   |idp-basic|86.02%|:green_circle:|
   |integration-test-common|0.0%|:red_circle:|
   |jobs|62.92%|:green_circle:|
   |lance-common|31.75%|:red_circle:|
   |lance-rest-server|63.47%|:green_circle:|
   |lineage|53.02%|:green_circle:|
   |optimizer|83.24%|:green_circle:|
   |optimizer-api|21.95%|:red_circle:|
   |server|85.76%|:green_circle:|
   |server-common|76.45%|:green_circle:|
   |spark|28.57%|:red_circle:|
   |spark-common|45.89%|:green_circle:|
   |tencent|69.84%|:green_circle:|
   |trino-connector|40.29%|:green_circle:|
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Docs: consolidate the fileset pages [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on code in PR #12399:
URL: https://github.com/apache/gravitino/pull/12399#discussion_r3747870445


##########
docs/fileset-catalog.md:
##########
@@ -1,214 +1,200 @@
 ---
 title: "Fileset Catalog"
 slug: "/fileset-catalog"
-date: 2024-4-2
-keyword: "fileset catalog"
+keywords:
+  - fileset
+  - catalog
+  - storage
+  - s3
+  - gcs
+  - adls
+  - oss
+  - cos
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-Fileset catalog is a fileset catalog that using Hadoop Compatible File System (HCFS) to manage
-the storage location of the fileset. It supports the local filesystem and HDFS.
-Gravitino supports [S3](fileset-catalog-with-s3.md), [GCS](fileset-catalog-with-gcs.md),
-[OSS](fileset-catalog-with-oss.md) and [Azure Blob Storage](fileset-catalog-with-adls.md) through Fileset catalog.
-Gravitino also supports [Tencent Cloud COS](fileset-catalog-with-cos.md).
+A fileset catalog manages filesets over a Hadoop Compatible File System. Gravitino owns the catalog rather than federating an external one, so no provider is needed when creating it, and the same catalog, schema, and fileset model works over HDFS, a local filesystem, or object storage.
 
-The rest of this document will use HDFS or local file as an example to illustrate how to use the Fileset catalog.
-For S3, GCS, OSS, Azure Blob Storage and COS, the configuration is similar to HDFS,
-refer to the corresponding document for more details.
+What changes per storage system is small: a bundle jar on the classpath, the URI scheme in the location, and a few credential properties. Creating and managing the objects is covered in [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md), and reading and writing the files in [How to Use GVFS](./how-to-use-gvfs.md). Neither changes because the data sits in S3 rather than HDFS, which is the point of the indirection described in [Filesets](./filesets.md).
 
-Note that Gravitino uses Hadoop 3 dependencies to build Fileset catalog. Theoretically, it should be
-compatible with both Hadoop 2.x and 3.x, since Gravitino doesn't leverage any new features in
-Hadoop 3. If there's any compatibility issue, create an [issue](https://github.com/apache/gravitino/issues).
+The catalog is built against Hadoop 3 but uses no Hadoop 3 features, so Hadoop 2.x should also work. Report any incompatibility as an [issue](https://github.com/apache/gravitino/issues).
 
-## Catalog
+## Catalog Properties
 
-### Catalog Properties
+These apply in addition to the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration).
 
-Besides the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration),
-the Fileset catalog has the following properties:
+| Property Name                        | Description                                                                                                                  | Default Value |
+|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------|---------------|
+| `location`                           | Base storage location, named `unknown`. Always a directory or path prefix, never a single file                               | (none)        |
+| `location-`                          | Prefix for named locations, as `location-{name}={path}`                                                                      | (none)        |
+| `credential-providers`               | Credential provider types, separated by commas                                                                               | (none)        |
+| `config.resources`                   | Configuration files to load, separated by commas, such as `hdfs-site.xml,core-site.xml`                                      | (none)        |
+| `filesystem-conn-timeout-secs`       | Timeout when obtaining a filesystem client, in seconds                                                                       | `6`           |
+| `disable-filesystem-ops`             | Stops the server creating and removing directories when schemas and filesets are created and dropped                         | `false`       |
+| `fileset-cache-eviction-interval-ms` | Fileset cache eviction interval, where `-1` never evicts                                                                     | `3600000`     |
+| `fileset-cache-max-size`             | Maximum filesets held in the cache, where `-1` is unlimited                                                                  | `200000`      |
+| `fs.path.config.<n>`                 | A logical location entry set to a base URI such as `hdfs://cluster1/`. Keys sharing the prefix are forwarded to that filesystem client | (none) |
 
-| Property Name                        | Description                                                                                                                                                                                                                                                                                                                      | Default Value   | Required |
-|--------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|----------|
-| `location`                           | The storage location managed by Fileset catalog. Its location name is `unknown`. The value should always a directory(HDFS) or path prefix(cloud storage like S3, GCS.) and does not support a single file.                                                                                                                       | (none)          | No       |
-| `location-`                          | The property prefix. User can use `location-{name}={path}` to set multiple locations with different names for the catalog.                                                                                                                                                                                                       | (none)          | No       |
-| `default-filesystem-provider`        | (deprecated) The default filesystem provider of this Fileset catalog if users do not specify the scheme in the URI. Candidate values are 'builtin-local', 'builtin-hdfs', 's3', 'gcs', 'abs' and 'oss'. Default value is `builtin-local`. For S3, if we set this value to 's3', we can omit the prefix 's3a://' in the location. | `builtin-local` | No       |
-| `filesystem-providers`               | (deprecated) The file system providers to add. Users need to set this configuration to support cloud storage or custom HCFS. For instance, set it to `s3` or a comma separated string that contains `s3` like `gs,s3` to support multiple kinds of fileset including `s3`.                                                       | (none)          | NO       |
-| `credential-providers`               | The credential provider types, separated by comma.                                                                                                                                                                                                                                                                               | (none)          | No       |
-| `filesystem-conn-timeout-secs`       | The timeout of getting the file system using Hadoop FileSystem client instance. Time unit: seconds.                                                                                                                                                                                                                              | 6               | No       |
-| `disable-filesystem-ops`             | The configuration to disable file system operations in the server side. If set to true, the Fileset catalog in the server side will not create, drop files or folder when the schema, fileset is created, dropped.                                                                                                               | false           | No       |
-| `fileset-cache-eviction-interval-ms` | The interval in milliseconds to evict the fileset cache, -1 means never evict.                                                                                                                                                                                                                                                   | 3600000         | No       |
-| `fileset-cache-max-size`             | The maximum number of the filesets the cache may contain, -1 means no limit.                                                                                                                                                                                                                                                     | 200000          | No       |
-| `config.resources`                   | The configuration resources, separated by comma. For example, `hdfs-site.xml,core-site.xml`.                                                                                                                                                                                                                                     | (none)          | No       |
-| `fs.path.config.<name>`              | Defines a logical location entry. Set `fs.path.config.<name>` to the real base URI (for example, `hdfs://cluster1/`). Any key that starts with the same prefix (such as `fs.path.config.<name>.config.resource`) is treated as a location-scoped property and will be forwarded to the underlying filesystem client.             | (none)          | No       |
+`default-filesystem-provider` and `filesystem-providers` are deprecated and no longer needed. The catalog loads filesystem providers from the classpath, including cloud providers whenever the matching bundle jar is present.
 
-:::note
-`default-filesystem-provider` and `filesystem-providers` are deprecated. The fileset catalog automatically loads filesystem providers on the classpath, including the built-in filesystem provider and cloud providers when the corresponding bundle jar is present (for example, `gravitino-aws-bundle`, `gravitino-azure-bundle`, `gravitino-aliyun-bundle`, `gravitino-gcp-bundle`, or `gravitino-tencent-bundle`).
-:::
+## Storage Backends
 
-Refer to [Credential vending](./security/credential-vending.md) for more details about credential vending.
+HDFS and local filesystems need no bundle jar and no credential properties. Object storage needs a jar in `${GRAVITINO_HOME}/catalogs/fileset/libs/` and a server restart, plus the properties below.
 
-### HDFS Fileset
+| Storage System          | Bundle Jar                 | URI Scheme           | Credential Providers              |
+|-------------------------|----------------------------|----------------------|-----------------------------------|
+| Amazon S3               | `gravitino-aws-bundle`     | `s3a://`             | `s3-token`, `s3-secret-key`       |
+| Google Cloud Storage    | `gravitino-gcp-bundle`     | `gs://`              | `gcs-token`                       |
+| Azure Data Lake Storage | `gravitino-azure-bundle`   | `abfss://`           | `adls-token`, `azure-account-key` |
+| Alibaba Cloud OSS       | `gravitino-aliyun-bundle`  | `oss://`             | `oss-token`, `oss-secret-key`     |
+| Tencent Cloud COS       | `gravitino-tencent-bundle` | `cosn://`            | `cos-secret-key`                  |
+| HDFS and local          | None, built in             | `hdfs://`, `file://` | None                              |
 
-Apart from the above properties, to access fileset like HDFS fileset, you need to configure the following extra
-properties.
+Bundle jars are published on [Maven Central](https://mvnrepository.com/artifact/org.apache.gravitino) and versioned with the server.
 
-| Property Name                                      | Description                                                                                | Default Value | Required                                                    |
-|----------------------------------------------------|--------------------------------------------------------------------------------------------|---------------|-------------------------------------------------------------|
-| `authentication.impersonation-enable`              | Whether to enable impersonation for the Fileset catalog.                                   | `false`       | No                                                          |
-| `authentication.type`                              | The type of authentication for Fileset catalog, we only support `kerberos`, `simple`.      | `simple`      | No                                                          |
-| `authentication.kerberos.principal`                | The principal of the Kerberos authentication                                               | (none)        | required if the value of `authentication.type` is Kerberos. |
-| `authentication.kerberos.keytab-uri`               | The URI of The keytab for the Kerberos authentication.                                     | (none)        | required if the value of `authentication.type` is Kerberos. |
-| `authentication.kerberos.check-interval-sec`       | The check interval of Kerberos credential for Fileset catalog.                             | 60            | No                                                          |
-| `authentication.kerberos.keytab-fetch-timeout-sec` | The fetch timeout of retrieving Kerberos keytab from `authentication.kerberos.keytab-uri`. | 60            | No                                                          |
+The GVFS client takes the same property names as the catalog, so a client reading an S3 fileset sets `s3-endpoint`, `s3-access-key-id`, and `s3-secret-access-key` alongside its base GVFS configuration. Setting `credential-providers` on the catalog removes that requirement, since Gravitino then issues short-lived credentials per request and the client holds no cloud keys at all. See [Credential Vending](./security/credential-vending.md).
 
-The `config.resources` property allows users to specify custom configuration files.
+### Amazon S3
 
-The Gravitino Fileset extends the following properties in the `xxx-site.xml`:
+| Property Name          | Description                | Required |
+|------------------------|----------------------------|----------|
+| `s3-endpoint`          | Endpoint of the S3 service | Yes      |
+| `s3-access-key-id`     | Access key                 | Yes      |
+| `s3-secret-access-key` | Secret key                 | Yes      |
 
-| Property Name                                     | Description                                                             | Default Value | Required                                                    |
-|---------------------------------------------------|-------------------------------------------------------------------------|---------------|-------------------------------------------------------------|
-| hadoop.security.authentication.kerberos.principal | The principal of the Kerberos authentication for HDFS client.           | (none)        | required if the value of `authentication.type` is Kerberos. |
-| hadoop.security.authentication.kerberos.keytab    | The keytab file path of the Kerberos authentication for HDFS client.    | (none)        | required if the value of `authentication.type` is Kerberos. |
-| hadoop.security.authentication.kerberos.krb5.conf | The krb5.conf file path of the Kerberos authentication for HDFS client. | (none)        | No                                                          |
+S3-compatible storage such as MinIO uses the same properties with its own endpoint.
 
-### Fileset Catalog with Cloud Storage
-
-In the current implementation, the fileset uses the HDFS protocol to access its location. If users use S3, GCS, OSS,
-Azure Blob Storage or Tencent Cloud COS, they can also configure the `config.resources` to specify custom configuration
-files.
+```shell
+curl -X POST -H "Content-Type: application/json" \
+  -d '{
+        "name": "{catalog_name}",
+        "type": "FILESET",
+        "comment": "",
+        "properties": {
+          "location": "s3a://{bucket}/{prefix}",
+          "s3-endpoint": "{endpoint}",
+          "s3-access-key-id": "{access_key_id}",
+          "s3-secret-access-key": "{secret_access_key}"
+        }
+      }' \
+  http://localhost:8090/api/metalakes/{metalake}/catalogs
+```
 
-- For S3, refer to [Fileset-catalog-with-s3](./fileset-catalog-with-s3.md) for more details.
-- For GCS, refer to [Fileset-catalog-with-gcs](./fileset-catalog-with-gcs.md) for more details.
-- For OSS, refer to [Fileset-catalog-with-oss](./fileset-catalog-with-oss.md) for more details.
-- For Azure Blob Storage, refer to [Fileset-catalog-with-adls](./fileset-catalog-with-adls.md) for more details.
-- For Tencent Cloud COS, refer to [Fileset-catalog-with-cos](./fileset-catalog-with-cos.md) for more details.
+### Google Cloud Storage
 
-### Implement a Custom HCFS File System Fileset
+| Property Name              | Description                           | Required |
+|----------------------------|---------------------------------------|----------|
+| `gcs-service-account-file` | Path to the service account JSON file | Yes      |
 
-Developers and users can custom their own HCFS file system fileset by implementing the`FileSystemProvider` interface in
-the jar [gravitino-hadoop-common](https://repo1.maven.org/maven2/org/apache/gravitino/gravitino-hadoop-common/). The
-`FileSystemProvider` interface is defined as follows:
+The path is read wherever it is configured, so the file must exist on the server for the catalog, and on the client machine for a client not using vended credentials.
 
-```java
-  
-  // Create a FileSystem instance by the properties you have set when creating the catalog. 
-  FileSystem getFileSystem(@Nonnull Path path, @Nonnull Map<String, String> config)
-      throws IOException;
-  
-  // The schema name of the file system provider. 'file' for Local file system,
-  // 'hdfs' for HDFS, 's3a' for AWS S3, 'gs' for GCS, 'oss' for Aliyun OSS, 'cosn' for Tencent Cloud COS.
-  String scheme();
-
-  // Name of the file system provider. 'builtin-local' for Local file system, 'builtin-hdfs' for HDFS, 
-  // 's3' for AWS S3, 'gcs' for GCS, 'oss' for Aliyun OSS, 'cos' for Tencent Cloud COS.
-  String name();
-```
+### Azure Data Lake Storage
 
-In the meantime, `FileSystemProvider` uses Java SPI to load the custom file system provider. You
-need to create a file named `org.apache.gravitino.catalog.hadoop.fs.FileSystemProvider` in the
-`META-INF/services` directory of the jar file. The content of the file is the full class name of
-the custom file system provider. For example, the content of `S3FileSystemProvider` is as follows:
-![img.png](assets/fileset/custom-filesystem-provider.png)
+| Property Name                | Description          | Required |
+|------------------------------|----------------------|----------|
+| `azure-storage-account-name` | Storage account name | Yes      |
+| `azure-storage-account-key`  | Storage account key  | Yes      |
 
-After implementing the `FileSystemProvider` interface, you need to put the jar file into the
-`$GRAVITINO_HOME/catalogs/fileset/libs` directory. Then you can use your custom file system provider.
+### Alibaba Cloud OSS
 
-### Fileset Catalog Authentication
+| Property Name           | Description                 | Required |
+|-------------------------|-----------------------------|----------|
+| `oss-endpoint`          | Endpoint of the OSS service | Yes      |
+| `oss-access-key-id`     | Access key                  | Yes      |
+| `oss-secret-access-key` | Secret key                  | Yes      |
 
-The Fileset catalog supports multi-level authentication to control access, allowing different authentication settings
-for the catalog, schema, and fileset. The priority of authentication settings is as follows: catalog < schema < fileset.
-Specifically:
+### Tencent Cloud COS
 
-- **Catalog**: The default authentication is `simple`.
-- **Schema**: Inherits the authentication setting from the catalog if not explicitly set. For more information about
-  schema settings, refer to [Schema properties](#schema-properties).
-- **Fileset**: Inherits the authentication setting from the schema if not explicitly set. For more information about
-  fileset settings, refer to [Fileset properties](#fileset-properties).
+| Property Name           | Description                                         | Required |
+|-------------------------|-----------------------------------------------------|----------|
+| `cos-region`            | Bucket region, for example `ap-guangzhou`           | Yes      |
+| `cos-access-key-id`     | Access key, the Tencent Cloud `SecretId`            | Yes      |
+| `cos-secret-access-key` | Secret key, the Tencent Cloud `SecretKey`           | Yes      |
+| `cos-endpoint`          | Endpoint host suffix, only for non-public endpoints | No       |
 
-The default value of `authentication.impersonation-enable` is false, and the default value for catalogs about this
-configuration is false, for
-schemas and filesets, the default value is inherited from the parent. Value set by the user will override the parent
-value, and the priority mechanism is the same as authentication.
+`cos-endpoint` is a host suffix rather than a URL, so it takes `cos.ap-guangzhou.myqcloud.com` and not `https://cos.ap-guangzhou.myqcloud.com`. When unset it is derived from `cos-region`, which is what you want unless you are pointing at an internal or VPC endpoint.
 
-### Catalog Operations
+### Multiple Storage Systems
 
-Refer to [Catalog operations](./manage-fileset-metadata-using-gravitino.md#catalog-operations) for more details.
+One catalog can carry the properties for several storage systems at once, and Gravitino selects among them by the URI scheme of the object being accessed.
 
-## Schema
+## HDFS and Kerberos
 
-### Schema Capabilities
+A secured HDFS cluster needs these on the catalog, and they can be narrowed on a schema or fileset.
 
-The Fileset catalog supports creating, updating, deleting, and listing schema.
+| Property Name                                      | Description                                                | Default Value |

Review Comment:
   ditto



##########
docs/fileset-catalog.md:
##########
@@ -1,214 +1,200 @@
 ---
 title: "Fileset Catalog"
 slug: "/fileset-catalog"
-date: 2024-4-2
-keyword: "fileset catalog"
+keywords:
+  - fileset
+  - catalog
+  - storage
+  - s3
+  - gcs
+  - adls
+  - oss
+  - cos
 license: "This software is licensed under the Apache License version 2."
 ---
 
-## Introduction
+## Overview
 
-Fileset catalog is a fileset catalog that using Hadoop Compatible File System (HCFS) to manage
-the storage location of the fileset. It supports the local filesystem and HDFS.
-Gravitino supports [S3](fileset-catalog-with-s3.md), [GCS](fileset-catalog-with-gcs.md),
-[OSS](fileset-catalog-with-oss.md) and [Azure Blob Storage](fileset-catalog-with-adls.md) through Fileset catalog.
-Gravitino also supports [Tencent Cloud COS](fileset-catalog-with-cos.md).
+A fileset catalog manages filesets over a Hadoop Compatible File System. Gravitino owns the catalog rather than federating an external one, so no provider is needed when creating it, and the same catalog, schema, and fileset model works over HDFS, a local filesystem, or object storage.
 
-The rest of this document will use HDFS or local file as an example to illustrate how to use the Fileset catalog.
-For S3, GCS, OSS, Azure Blob Storage and COS, the configuration is similar to HDFS,
-refer to the corresponding document for more details.
+What changes per storage system is small: a bundle jar on the classpath, the URI scheme in the location, and a few credential properties. Creating and managing the objects is covered in [Manage Fileset Metadata](./manage-fileset-metadata-using-gravitino.md), and reading and writing the files in [How to Use GVFS](./how-to-use-gvfs.md). Neither changes because the data sits in S3 rather than HDFS, which is the point of the indirection described in [Filesets](./filesets.md).
 
-Note that Gravitino uses Hadoop 3 dependencies to build Fileset catalog. Theoretically, it should be
-compatible with both Hadoop 2.x and 3.x, since Gravitino doesn't leverage any new features in
-Hadoop 3. If there's any compatibility issue, create an [issue](https://github.com/apache/gravitino/issues).
+The catalog is built against Hadoop 3 but uses no Hadoop 3 features, so Hadoop 2.x should also work. Report any incompatibility as an [issue](https://github.com/apache/gravitino/issues).
 
-## Catalog
+## Catalog Properties
 
-### Catalog Properties
+These apply in addition to the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration).
 
-Besides the [common catalog properties](./gravitino-server-config.md#catalog-properties-configuration),
-the Fileset catalog has the following properties:
+| Property Name                        | Description                                                                                                                  | Default Value |
+|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------|---------------|
+| `location`                           | Base storage location, named `unknown`. Always a directory or path prefix, never a single file                               | (none)        |
+| `location-`                          | Prefix for named locations, as `location-{name}={path}`                                                                      | (none)        |
+| `credential-providers`               | Credential provider types, separated by commas                                                                               | (none)        |
+| `config.resources`                   | Configuration files to load, separated by commas, such as `hdfs-site.xml,core-site.xml`                                      | (none)        |
+| `filesystem-conn-timeout-secs`       | Timeout when obtaining a filesystem client, in seconds                                                                       | `6`           |
+| `disable-filesystem-ops`             | Stops the server creating and removing directories when schemas and filesets are created and dropped                         | `false`       |
+| `fileset-cache-eviction-interval-ms` | Fileset cache eviction interval, where `-1` never evicts                                                                     | `3600000`     |
+| `fileset-cache-max-size`             | Maximum filesets held in the cache, where `-1` is unlimited                                                                  | `200000`      |
+| `fs.path.config.<n>`                 | A logical location entry set to a base URI such as `hdfs://cluster1/`. Keys sharing the prefix are forwarded to that filesystem client | (none) |

Review Comment:
   The row is not aligned



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org