Documentation ¶
Overview ¶
package autodetect looks at the system configuration and file names and tries to guess at the correct configuration
package autodetect looks at the system configuration and file names and tries to guess at the correct configuration
package autodetect looks at the system configuration and file names and tries to guess at the correct configuration
Index ¶
- func FindGCLogLocation(hook shutdown.Hook, pid int) (gcLogPattern string, gcLogLoc string, err error)
- func GetDremioPID(hook shutdown.Hook) (int, error)
- func GetDremioPIDFromText(psOutput string) (int, error)
- func IsAWSECoordinator() (bool, string, error)
- func IsAWSEExecutor(nodeName string) (bool, error)
- func IsAWSEExecutorUsingDir(efsFolder, nodeName string) (bool, error)
- func IsAWSEfromLogDirs() (bool, error)
- func ParseGCLogFromFlags(startupFlagsStr string) (logRegex string, gcLogLocation string, err error)
- func ParseGCLogFromFlagsPost25(startupFlagsStr string) (logRegex string, gcLogLocation string, err error)
- func ParseGCLogFromFlagsPre25(startupFlagsStr string) (logRegex string, gcLogLocation string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGCLogLocation ¶
func FindGCLogLocation(hook shutdown.Hook, pid int) (gcLogPattern string, gcLogLoc string, err error)
FindGCLogLocation retrieves the gc log location from ps eww <pid> output
func GetDremioPID ¶
GetDremioPID calls ps aux and finds the DremioDaemon (filtering out the preview engine)
func GetDremioPIDFromText ¶
GetDremioPIDFromText takes the ouput from "ps aux | grep DremioDaemon | grep -v grep | grep -v /etc/dremio/preview" and retrieves the pid
func IsAWSECoordinator ¶
func IsAWSEExecutor ¶
func IsAWSEExecutorUsingDir ¶
func IsAWSEfromLogDirs ¶
func ParseGCLogFromFlags ¶
ParseGCLogFromFlags takes a given string with java startup flags and finds the gclog directive
Types ¶
This section is empty.