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

Fix linked non-cluster-default blob storage not working for HDI cluster issue #4827

Merged
merged 2 commits into from
Dec 18, 2020

Conversation

t-rufang
Copy link
Contributor

No description provided.

@t-rufang t-rufang requested a review from wezhang December 17, 2020 08:52
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.

Thanks Rui!

@@ -90,7 +90,7 @@ public int hashCode() {
}

public String getHadoopBlobFsPropertyKey() {
return String.format("fs.azure.account.key.%s.blob.%s", getStorageAccount(), getEndpointSuffix());
return String.format("spark.hadoop.fs.azure.account.key.%s.blob.%s", getStorageAccount(), getEndpointSuffix());
Copy link
Member

Choose a reason for hiding this comment

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

Let's prefix spark.hadoo. at the calling side since it's a Spark definition

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good suggestion, will make the change in next iteration

@@ -327,6 +327,14 @@ private Integer parseIntegerSafety(@Nullable Object maybeInteger) {
return messageList;
}

@JsonIgnore
public Map<String, Object> updateJobConfig(String key, Object value) {
Copy link
Member

Choose a reason for hiding this comment

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

I prefer to keep this file minimal changes. We can do it at calling side as below:

submitModel.submissionParameter.getJobConfig().put(SparkSubmissionParameter.Conf, ...)

@t-rufang t-rufang force-pushed the rufan/hdi_link_blob_issue branch from 12582bd to 2a7529b Compare December 18, 2020 05:32
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!

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