Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch exceptions when loading HDInsight node #2822

Merged
merged 2 commits into from
Mar 5, 2019

Conversation

t-rufang
Copy link
Contributor

@t-rufang t-rufang commented Mar 4, 2019

To address #2801 #2747

@t-rufang t-rufang added this to the v3.19.0 milestone Mar 4, 2019
@t-rufang t-rufang requested a review from wezhang March 4, 2019 10:42
} catch (Exception ex) {
log().warn("refresh HDInsight storage account node failed. " + ExceptionUtils.getStackTrace(ex));
throw new AzureCmdException(ex.getCause().getMessage(), ex.getCause());
} else if (storageAccount.getAccountType() == StorageAccountTypeEnum.ADLS) {
Copy link
Member

@wezhang wezhang Mar 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

‘else’ ? We need to cover adls gen 2. And log the unsupported account details.

Copy link
Member

@wezhang wezhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Shipit! Thanks Rui!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants