Skip to content

Commit 54a043c

Browse files
committed
Fix Eclipse Spark project wizard v2.3.2 issue
1 parent 2f672ad commit 54a043c

File tree

1 file changed

+7
-0
lines changed
  • PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.hdinsight/src/com/microsoft/azuretools/hdinsight/projects

1 file changed

+7
-0
lines changed

PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.hdinsight/src/com/microsoft/azuretools/hdinsight/projects/SparkLibraryOptionsPanel.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ public void widgetDefaultSelected(SelectionEvent e) {
107107
comboBoxUseMaven = new Combo(comUseMaven, SWT.READ_ONLY);
108108
comboBoxUseMaven.setLayoutData(gridData);
109109
for (SparkVersion sv : SparkVersion.class.getEnumConstants()) {
110+
// Ignore Spark version suports for higher than 2.3.0
111+
switch (sv) {
112+
case SPARK_2_4_0:
113+
case SPARK_2_3_2:
114+
continue;
115+
default:
116+
}
110117
comboBoxUseMaven.add(sv.toString(), comboBoxUseMaven.getItemCount());
111118
}
112119
sparkVersion = SparkVersion.class.getEnumConstants()[0];

0 commit comments

Comments
 (0)