Skip to content

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

Merged
t-rufang merged 2 commits intomicrosoft:developfrom
t-rufang:rufan/hdi_link_blob_issue
Dec 18, 2020
Merged

Fix linked non-cluster-default blob storage not working for HDI cluster issue#4827
t-rufang merged 2 commits intomicrosoft:developfrom
t-rufang:rufan/hdi_link_blob_issue

Conversation

@t-rufang
Copy link
Copy Markdown
Contributor

No description provided.

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


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
Copy Markdown
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
Copy Markdown
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

}

@JsonIgnore
public Map<String, Object> updateJobConfig(String key, Object value) {
Copy link
Copy Markdown
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
Copy Markdown
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