- buildEnvMap
- isSet
- extractDomainNameFromFQDN
- extractFirstLine
Extract the first line of a multi-line string. This is typically used to prune
the stack trace appen
- getApplicationResourceInputStream
- getHdpVersion
Retrieve the HDP version if it is an HDP cluster, or null otherwise. It first
checks if system prope
- isHdp
Query to find if it is an HDP cluster
- listDir
List a directory in the local filesystem
- sortApplicationsByMostRecent
Sorts the given list of application reports, most recently started or finished
instance first.
- truncate
Truncate the given string to a maximum length provided with a pad (...) added to
the end if expected
- write
Write bytes to a file
- addBuildInfo
Add the cluster build information; this will include Hadoop details too