in ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/HdfsProperties.java [74:83]
public void validate() {
if (isBlank(hdfsDestinationDirectory))
throw new IllegalArgumentException("The property hdfsDestinationDirectory can not be null or empty string!");
if (isNotBlank(hdfsKerberosPrincipal) && isBlank(hdfsKerberosKeytabPath))
throw new IllegalArgumentException("The property hdfsKerberosPrincipal is specified but hdfsKerberosKeytabPath is blank!");
if (isBlank(hdfsKerberosPrincipal) && isNotBlank(hdfsKerberosKeytabPath))
throw new IllegalArgumentException("The property hdfsKerberosKeytabPath is specified but hdfsKerberosPrincipal is blank!");
}