|
|
|
|
|
- Properties specific to hdfsRights variables
- WLanguage functions that use the hdfsRights type
hdfsRights (Variable type) 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. You can define and change the characteristics of these rights using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
MyConnection is hdfsConnection
MyConnection.namenode = "MyServer"
MyConnection.User = "Admin"
hdfsOpenConnection(MyConnection)
Content is array of hdfsStatus = hdfsList(MyConnection, "/")
FOR EACH elem OF Content
Trace("------------------------------")
Trace(elem.Rights.UserWriting)
Trace(elem.Rights.GroupWriting)
Trace(elem.Rights.OtherWriting)
END
Properties 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.
|
Remarks WLanguage functions that use the hdfsRights type
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|