Skip to content

Commit 16997d0

Browse files
committed
Warning message update for HDI Reader role cluster
1 parent e5ea63f commit 16997d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/common/HDInsightHelperImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public void createRefreshHdiReaderClusterWarningForm(@NotNull HDInsightRootModul
189189
public void run() {
190190
Project project = (Project)module.getProject();
191191
String title = "Cluster Job Access Denied";
192-
String warningText = "<html><pre>You have Read-only permission for this cluster.<br>Please ask the administrator to upgrade your role to Cluster Operator, or<br>‘Link this cluster’ through Ambari credentials to view the corresponding jobs.</pre></html>";
192+
String warningText = "<html><pre>You have Read-only permission for this cluster. Please ask the cluster owner or<br>user access administrator to upgrade your role to HDInsight Cluster Operator in the Azure Portal, or<br>‘Link this cluster’ through Ambari credentials to view the corresponding jobs.</pre></html>";
193193
String okButtonText = "Link this cluster";
194194
WarningMessageForm form = new WarningMessageForm(project, title, warningText, okButtonText) {
195195
@Override
@@ -212,7 +212,7 @@ public void createRefreshHdiReaderStorageAccountsWarningForm(@NotNull Refreshabl
212212
public void run() {
213213
Project project = (Project)node.getProject();
214214
String title = "Storage Access Denied";
215-
String warningText = "<html><pre>You have Read-only permission for this cluster.<br>Please ask the administrator to upgrade your role to Cluster Operator, or <br>use ‘Open Azure Storage Explorer’ to access the storages associated with this cluster.</pre></html>";
215+
String warningText = "<html><pre>You have Read-only permission for this cluster. Please ask the cluster owner or <br>user access administrator to upgrade your role to HDInsight Cluster Operator in the Azure Portal, or <br>use ‘Open Azure Storage Explorer’ to access the storages associated with this cluster.</pre></html>";
216216
String okButtonText = "Open Azure Storage Explorer";
217217
WarningMessageForm form = new WarningMessageForm(project, title, warningText, okButtonText) {
218218
@Override

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/spark/ui/SparkSubmissionContentPanel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ open class SparkSubmissionContentPanel(private val myProject: Project, val type:
130130

131131
private val hdiReaderErrorLabel: JLabel =
132132
JLabel("No Ambari permission to submit job to the selected cluster...").apply {
133-
toolTipText = "No Ambari permission to submit job to the selected cluster. Please ask the administrator to upgrade your role to Cluster Operator, or link to the selected cluster."
133+
toolTipText = "No Ambari permission to submit job to the selected cluster. Please ask the cluster owner or user access administrator to upgrade your role to HDInsight Cluster Operator in the Azure Portal, or link to the selected cluster."
134134
foreground = currentErrorColor
135135
isVisible = false
136136
}

0 commit comments

Comments
 (0)