private void actionDiagnosticCredentials() throws BadConfigException, IOException { if (isHadoopClusterSecure(loadSliderClientXML())) { String credentialCacheFileDescription = null; try { credentialCacheFileDescription = checkCredentialCacheFile(); } catch (BadConfigException e) { log.error("The credential config is not valid: " + e.toString()); throw e; } catch (IOException e) { log.error("Unable to read the credential file: " + e.toString()); throw e; } log.info("Credential cache file for the current user: " + credentialCacheFileDescription); } else { log.info("the cluster is not in secure mode"); } }
private void actionDiagnosticCredentials() throws BadConfigException, IOException { if (isHadoopClusterSecure(loadSliderClientXML())) { String credentialCacheFileDescription = null; try { credentialCacheFileDescription = checkCredentialCacheFile(); } catch (BadConfigException e) { log.error("The credential config is not valid: " + e.toString()); throw e; } catch (IOException e) { log.error("Unable to read the credential file: " + e.toString()); throw e; } log.info("Credential cache file for the current user: " + credentialCacheFileDescription); } else { log.info("the cluster is not in secure mode"); } }