Skip to content

Commit cf8e943

Browse files
committed
Fix the Eclipse Spark job submission cluster list not including tag
Use title instead of cluster name. Signed-off-by: Wei Zhang <[email protected]>
1 parent 78bc0ee commit cf8e943

File tree

1 file changed

+2
-2
lines changed
  • PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.hdinsight/src/com/microsoft/azuretools/hdinsight/spark/ui

1 file changed

+2
-2
lines changed

PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.hdinsight/src/com/microsoft/azuretools/hdinsight/spark/ui/SparkSubmissionExDialog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ protected Control createContents(Composite parent) {
149149
clustersListComboBox.setToolTipText(
150150
"The HDInsight Spark cluster you want to submit your application to. Only Linux cluster is supported.");
151151
for (IClusterDetail clusterDetail : cachedClusterDetails) {
152-
clustersListComboBox.add(clusterDetail.getName());
153-
clustersListComboBox.setData(clusterDetail.getName(), clusterDetail);
152+
clustersListComboBox.add(clusterDetail.getTitle());
153+
clustersListComboBox.setData(clusterDetail.getTitle(), clusterDetail);
154154
}
155155
if (cachedClusterDetails.size() > 0) {
156156
clustersListComboBox.select(0);

0 commit comments

Comments
 (0)