ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / HDFS system
  • Properties specific to the description of hdfsStatus variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
hdfsStatus (Type of variable)
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.
Remark: 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
Remarks

Properties specific to the description of 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.
This constant corresponds to "LastAccessDate" in previous versions.
DateModifiedDateTimeDate and time of the last modification made to the element.
This property is read-only.
This constant corresponds to "ModificationDate" in previous versions.
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/02/2022

Send a report | Local help