PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV 24 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<hdfsConnection variable>.CreateDirectory (Function)
In french: <Variable hdfsConnexion>.CréeRépertoire
Creates a directory on a Hadoop server.
Example
// Connection
MyConnection is hdfsConnection
MyConnection..namenode = "MyServer"
MyConnection..User = "Admin"
MyConnection.OpenConnection()
// Define the rights
Rights is hdfsRights
Rights..UserReading = True
Rights..UserWriting = True
// Create the directory
MyConnection.CreateDirectory("/tmp/subdirectory", Rights)
Syntax
<Result> = <Connection>.CreateDirectory(<Path> [, <Rights>])
<Result>: Boolean
  • True if the directory was created,
  • False if a problem occurred. ErrorInfo is used to identify the error.
<Connection>: hdfsConnection variable
Name of hdfsConnection variable corresponding to the connection to the Hadoop server.
<Path>: Character string (with quotes)
Absolute path of directory that will be created on the Hadoop server. This path is case sensitive.
<Rights>: Optional hdfsRights variable
Name of hdfsRights variable corresponding to the rights that will be granted to the created directory.
By default, all the rights are granted to all the users.
Component : wd240big.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment