Determine if kerberos is enabled by reading the hadoop conf. Read property "hadoop.security.authentication" and it can have values "simple" or "kerberos". Default it to simple.