Skip to content

Commit

Permalink
Fix the Eclipse Spark job submission cluster list not including tag
Browse files Browse the repository at this point in the history
Use title instead of cluster name.

Signed-off-by: Wei Zhang <[email protected]>
  • Loading branch information
wezhang committed Mar 6, 2018
1 parent 78bc0ee commit cf8e943
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ protected Control createContents(Composite parent) {
clustersListComboBox.setToolTipText(
"The HDInsight Spark cluster you want to submit your application to. Only Linux cluster is supported.");
for (IClusterDetail clusterDetail : cachedClusterDetails) {
clustersListComboBox.add(clusterDetail.getName());
clustersListComboBox.setData(clusterDetail.getName(), clusterDetail);
clustersListComboBox.add(clusterDetail.getTitle());
clustersListComboBox.setData(clusterDetail.getTitle(), clusterDetail);
}
if (cachedClusterDetails.size() > 0) {
clustersListComboBox.select(0);
Expand Down

0 comments on commit cf8e943

Please sign in to comment.