Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public interface Constants {
* Config key to specify the name of the default mount table.
*/
String CONFIG_VIEWFS_DEFAULT_MOUNT_TABLE_NAME_KEY =
"fs.viewfs.mounttable.default.name.key";
"fs.viewfs.mounttable.default-name-key";

/**
* Config variable name for the default mount table.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ For example, when the following configuration is used but a path like `viewfs:/f
```

### Solution
To avoid the above problem, the configuration `fs.viewfs.mounttable.default.name.key` has to be set to the name of the cluster, i.e, the following should be added to `core-site.xml`
To avoid the above problem, the configuration `fs.viewfs.mounttable.default-name-key` has to be set to the name of the cluster, i.e, the following should be added to `core-site.xml`
```xml
<property>
<name>fs.viewfs.mounttable.default.name.key</name>
<name>fs.viewfs.mounttable.default-name-key</name>
<value>cluster</value>
</property>
```
Expand Down