|
|
|
|
- Properties specific to hdfsRights variables
- WLanguage functions that use the hdfsRights type
hdfsRights (Type of variable) In french: hdfsDroit
The hdfsRights type is used to define the advanced characteristics regarding the access rights to an element (file, link, directory) of the Hadoop file system. The characteristics of these rights can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
// Connection MyConnection is hdfsConnection MyConnection.namenode = "MyServer" MyConnection.User = "Admin" hdfsOpenConnection(MyConnection) // Retrieve the directory content Content is array of hdfsStatus = hdfsList(MyConnection, "/") // Display the rights FOR EACH elem OF Content Trace("------------------------------") Trace(elem.Rights.UserWriting) Trace(elem.Rights.GroupWriting) Trace(elem.Rights.OtherWriting) END
Remarks Properties specific to hdfsRights variables The following properties can be used to handle the rights: | | | Property name | Type used | Effect |
---|
GroupExecution | Boolean | - True if the members of the owner group have the rights to run a file or the files found in a directory.
- False otherwise.
| GroupReading | Boolean | - True if the members of the owner group have the rights to read.
- False otherwise.
| GroupWriting | Boolean | - True if the members of the owner group have the rights to write.
- False otherwise.
| OtherExecution | Boolean | - True if a user (other than the owner and the members of his group) has the rights to run a file or the files found in a directory.
- False otherwise.
| OtherReading | Boolean | - True if a user (other than the owner and the members of his group) has the rights to read.
- False otherwise.
| OtherWriting | Boolean | - True if a user (other than the owner and the members of his group) has the rights to write.
- False otherwise.
| UserExecution | Boolean | - True if the owner has the rights to run a file or the files found in a directory.
- False otherwise.
| UserReading | Boolean | - True if the owner has the rights to read.
- False otherwise.
| UserWriting | Boolean | - True if the owner has the rights to write.
- False otherwise.
|
WLanguage functions that use the hdfsRights type
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|