This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 2d819c248 [Minor] improvement(docs): Fix some format and spell error 
in docs (#4923)
2d819c248 is described below

commit 2d819c24836ce08bdc3a8cef52c76bdb93a7a100
Author: Qi Yu <[email protected]>
AuthorDate: Thu Sep 12 23:56:10 2024 +0800

    [Minor] improvement(docs): Fix some format and spell error in docs (#4923)
    
    ### What changes were proposed in this pull request?
    
    Fix some document problems.
    
    ### Why are the changes needed?
    
    To improve document readability.
    
    ### Does this PR introduce _any_ user-facing change?
    
    N/A
    
    ### How was this patch tested?
    
    N/A.
---
 docs/how-to-upgrade.md  |  4 ++--
 docs/how-to-use-gvfs.md | 32 ++++++++++++++++----------------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/docs/how-to-upgrade.md b/docs/how-to-upgrade.md
index e463843bb..ef502dabf 100644
--- a/docs/how-to-upgrade.md
+++ b/docs/how-to-upgrade.md
@@ -114,8 +114,8 @@ java -cp h2-1.4.200.jar org.h2.tools.RunScript -url 
"jdbc:h2:file:<db_file>;DB_C
 For PostgreSQL, you can use the following command to apply the upgrade script:
 
 ```shell
-psql -U username -h hostname -d database_name -c "SET search_path TO 
schema_name;" -f upgrade-0.6.0-to-0.7.0-mysql.sql
-psql -U username -h hostname -d database_name -c "SET search_path TO 
schema_name;" -f upgrade-0.7.0-to-0.8.0-mysql.sql
+psql -U username -h hostname -d database_name -c "SET search_path TO 
schema_name;" -f upgrade-0.6.0-to-0.7.0-postgresql.sql
+psql -U username -h hostname -d database_name -c "SET search_path TO 
schema_name;" -f upgrade-0.7.0-to-0.8.0-postgresql.sql
 ```
 
 
diff --git a/docs/how-to-use-gvfs.md b/docs/how-to-use-gvfs.md
index ec3dd6ccd..3a116928a 100644
--- a/docs/how-to-use-gvfs.md
+++ b/docs/how-to-use-gvfs.md
@@ -49,22 +49,22 @@ the path mapping and convert automatically.
 
 ### Configuration
 
-| Configuration item                                    | Description          
                                                                                
                                                                                
                   | Default value | Required                            | 
Since version |
-|-------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|-------------------------------------|---------------|
-| `fs.AbstractFileSystem.gvfs.impl`                     | The Gravitino 
Virtual File System abstract class, set it to 
`org.apache.gravitino.filesystem.hadoop.Gvfs`.                                  
                                                        | (none)        | Yes   
                              | 0.5.0         |
-| `fs.gvfs.impl`                                        | The Gravitino 
Virtual File System implementation class, set it to 
`org.apache.gravitino.filesystem.hadoop.GravitinoVirtualFileSystem`.            
                                                  | (none)        | Yes         
                        | 0.5.0         |
-| `fs.gvfs.impl.disable.cache`                          | Disable the 
Gravitino Virtual File System cache in the Hadoop environment. If you need to 
proxy multi-user operations, please set this value to `true` and create a 
separate File System for each user. | `false`       | No                        
          | 0.5.0         |
-| `fs.gravitino.server.uri`                             | The Gravitino server 
URI which GVFS needs to load the fileset metadata.                              
                                                                                
                   | (none)        | Yes                                 | 
0.5.0         |
-| `fs.gravitino.client.metalake`                        | The metalake to 
which the fileset belongs.                                                      
                                                                                
                        | (none)        | Yes                                 | 
0.5.0         |
-| `fs.gravitino.client.authType`                        | The auth type to 
initialize the Gravitino client to use with the Gravitino Virtual File System. 
Currently only supports `simple`, `oauth2` and `kerberos` auth types.           
                        | `simple`      | No                                  | 
0.5.0         |
-| `fs.gravitino.client.oauth2.serverUri`                | The auth server URI 
for the Gravitino client when using `oauth2` auth type with the Gravitino 
Virtual File System.                                                            
                          | (none)        | Yes if you use `oauth2` auth type   
| 0.5.0         |
-| `fs.gravitino.client.oauth2.credential`               | The auth credential 
for the Gravitino client when using `oauth2` auth type in the Gravitino Virtual 
File System.                                                                    
                    | (none)        | Yes if you use `oauth2` auth type   | 
0.5.0         |
-| `fs.gravitino.client.oauth2.path`                     | The auth server path 
for the Gravitino client when using `oauth2` auth type with the Gravitino 
Virtual File System. Please remove the first slash `/` from the path, for 
example `oauth/token`.         | (none)        | Yes if you use `oauth2` auth 
type   | 0.5.0         |
-| `fs.gravitino.client.oauth2.scope`                    | The auth scope for 
the Gravitino client when using `oauth2` auth type with the Gravitino Virtual 
File System.                                                                    
                       | (none)        | Yes if you use `oauth2` auth type   | 
0.5.0         |
-| `fs.gravitino.client.kerberos.principal`              | The auth principal 
for the Gravitino client when using `kerberos` auth type with the Gravitino 
Virtual File System.                                                            
                         | (none)        | Yes if you use `kerberos` auth type 
| 0.5.1         |
-| `fs.gravitino.client.kerberos.keytabFilePath`         | The auth keytab file 
path for the Gravitino client when using `kerberos` auth type in the Gravitino 
Virtual File System.                                                            
                    | (none)        | No                                  | 
0.5.1         |
-| `fs.gravitino.fileset.cache.maxCapacity`              | The cache capacity 
of the Gravitino Virtual File System.                                           
                                                                                
                     | `20`          | No                                  | 
0.5.0         |
-| `fs.gravitino.fileset.cache.evictionMillsAfterAccess` | The value of time 
that the cache expires after accessing in the Gravitino Virtual File System. 
The value is in `milliseconds`.                                                 
                         | `3600000`      | No                                  
| 0.5.0         |
+| Configuration item                                    | Description          
                                                                                
                                                                                
                    | Default value | Required                            | 
Since version |
+|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|-------------------------------------|---------------|
+| `fs.AbstractFileSystem.gvfs.impl`                     | The Gravitino 
Virtual File System abstract class, set it to 
`org.apache.gravitino.filesystem.hadoop.Gvfs`.                                  
                                                             | (none)        | 
Yes                                 | 0.5.0         |
+| `fs.gvfs.impl`                                        | The Gravitino 
Virtual File System implementation class, set it to 
`org.apache.gravitino.filesystem.hadoop.GravitinoVirtualFileSystem`.            
                                                       | (none)        | Yes    
                             | 0.5.0         |
+| `fs.gvfs.impl.disable.cache`                          | Disable the 
Gravitino Virtual File System cache in the Hadoop environment. If you need to 
proxy multi-user operations, please set this value to `true` and create a 
separate File System for each user.  | `false`       | No                       
           | 0.5.0         |
+| `fs.gravitino.server.uri`                             | The Gravitino server 
URI which GVFS needs to load the fileset metadata.                              
                                                                                
                    | (none)        | Yes                                 | 
0.5.0         |
+| `fs.gravitino.client.metalake`                        | The metalake to 
which the fileset belongs.                                                      
                                                                                
                         | (none)        | Yes                                 
| 0.5.0         |
+| `fs.gravitino.client.authType`                        | The auth type to 
initialize the Gravitino client to use with the Gravitino Virtual File System. 
Currently only supports `simple`, `oauth2` and `kerberos` auth types.           
                         | `simple`      | No                                  
| 0.5.0         |
+| `fs.gravitino.client.oauth2.serverUri`                | The auth server URI 
for the Gravitino client when using `oauth2` auth type with the Gravitino 
Virtual File System.                                                            
                           | (none)        | Yes if you use `oauth2` auth type  
 | 0.5.0         |
+| `fs.gravitino.client.oauth2.credential`               | The auth credential 
for the Gravitino client when using `oauth2` auth type in the Gravitino Virtual 
File System.                                                                    
                     | (none)        | Yes if you use `oauth2` auth type   | 
0.5.0         |
+| `fs.gravitino.client.oauth2.path`                     | The auth server path 
for the Gravitino client when using `oauth2` auth type with the Gravitino 
Virtual File System. Please remove the first slash `/` from the path, for 
example `oauth/token`.          | (none)        | Yes if you use `oauth2` auth 
type   | 0.5.0         |
+| `fs.gravitino.client.oauth2.scope`                    | The auth scope for 
the Gravitino client when using `oauth2` auth type with the Gravitino Virtual 
File System.                                                                    
                        | (none)        | Yes if you use `oauth2` auth type   | 
0.5.0         |
+| `fs.gravitino.client.kerberos.principal`              | The auth principal 
for the Gravitino client when using `kerberos` auth type with the Gravitino 
Virtual File System.                                                            
                          | (none)        | Yes if you use `kerberos` auth type 
| 0.5.1         |
+| `fs.gravitino.client.kerberos.keytabFilePath`         | The auth keytab file 
path for the Gravitino client when using `kerberos` auth type in the Gravitino 
Virtual File System.                                                            
                     | (none)        | No                                  | 
0.5.1         |
+| `fs.gravitino.fileset.cache.maxCapacity`              | The cache capacity 
of the Gravitino Virtual File System.                                           
                                                                                
                      | `20`          | No                                  | 
0.5.0         |
+| `fs.gravitino.fileset.cache.evictionMillsAfterAccess` | The value of time 
that the cache expires after accessing in the Gravitino Virtual File System. 
The value is in `milliseconds`.                                                 
                          | `3600000`     | No                                  
| 0.5.0         |
 
 You can configure these properties in two ways:
 

Reply via email to