cherry pick from #49551
This commit is contained in:
@ -64,8 +64,6 @@ public class ModifyNodeHostNameClause extends AlterClause {
|
||||
// if no IP address for the host could be found, 'getByName'
|
||||
// will throw UnknownHostException
|
||||
InetAddress.getByName(newHost);
|
||||
} else {
|
||||
throw new AnalysisException("Invalid hostname: " + newHost);
|
||||
}
|
||||
} catch (UnknownHostException e) {
|
||||
throw new AnalysisException("Unknown hostname: " + e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user