Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostLocation ¶
GetHostLocation splits HDFS URI into host:port part and location part.
Example ¶
uri := fmt.Sprintf("%s://%s%s", scheme, hostPort, location) host, loc, _ := GetHostLocation(uri) fmt.Println(host) fmt.Println(loc)
Output: host.domain.com:1234 /a/b/c
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.