ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / HDFS system
  • Properties specific to hdfsStatus variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
hdfsStatus (Variable type)
In french: hdfsInformation
The hdfsStatus type is used to find out the status of an element (file, directory, link) in the Hadoop file system. The characteristics of this status are returned by several WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// 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 directory content
FOR EACH Elem OF Content
Trace(Elem.Path)
END
Properties

Properties specific to hdfsStatus variables

The following properties can be used to handle an element status in the Hadoop file system:
Property nameType usedEffect
BlockSizeIntegerSize of blocks for distributing the element on the different servers.
This property is read-only.
DateLastAccessedDateTimeDate and time of the last access to the element.
This property is read-only.
In previous versions, this property corresponds to "LastAccessDate".
DateModifiedDateTimeDate and time of the last modification made to the element.
This property is read-only.
In previous versions, this property corresponds to "ModificationDate".
GroupCharacter stringName of the group that owns the element.
This property is read-only.
LinkCharacter stringTarget of link, if the element is a link.
This property is read-only.
NumberReplicatIntegerNumber of copies stored for the elements.
This property is read-only.
OwnerCharacter stringOwner of the element.
This property is read-only.
PathCharacter stringPath of the element in the Hadoop file system
This property is read-only.
RightshdfsRights variableAccess rights to the element.
This property is read-only.
SizeIntegerSize of the element in bytes.
This property is read-only.
TypeIntegerType of element:
  • hdfsFile if the element is a file.
  • hdfsDirectory if the element is a directory.
  • hdfsLink if the element is a link to a file.
This property is read-only.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/19/2024

Send a report | Local help