public void run() {
try {
location = AbstractHadoopCluster.createCluster(selection);
location.setConfPropValue(ConfProp.PI_HADOOP_VERSION, selection);
location.setConfPropValue(ConfProp.PI_LOCATION_NAME, locationName.getText());
panel.dispose();
createControl(parent);
parent.pack();
parent.getParent().layout(true);
} catch (CoreException e) {
MessageDialog.openError(Display.getDefault().getActiveShell(), "HDFS Error", "Unable to create HDFS site :"