hzxiongyinke commented on code in PR #4651:
URL: https://github.com/apache/hive/pull/4651#discussion_r1320025475
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/set/location/AlterTableSetLocationAnalyzer.java:
##########
@@ -56,8 +56,7 @@ protected void analyzeCommand(TableName tableName,
Map<String, String> partition
} catch (FileNotFoundException e) {
// Only check host/port pair is valid, whether the file exist or not
does not matter
} catch (Exception e) {
- throw new SemanticException("Cannot connect to namenode, please check if
host/port pair for " + newLocation +
- " is valid", e);
+ throw new SemanticException("Unable to get path:" + newLocation , e);
Review Comment:
I have change the code,happy to get your suggestions .Best wishes!
:-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]