ayushtkn commented on code in PR #5504:
URL: https://github.com/apache/hive/pull/5504#discussion_r1949560920
##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java:
##########
@@ -133,14 +133,8 @@ public FileSystem getFs(Path f) throws MetaException {
/**
- * Hadoop File System reverse lookups paths with raw ip addresses The File
- * System URI always contains the canonical DNS name of the Namenode.
- * Subsequently, operations on paths with raw ip addresses cause an exception
- * since they don't match the file system URI.
Review Comment:
I think this comment is around if someone gives the ip:port of the namenode
rather than the canonical name or the nameservice like he supplies
hdfs://192.168.1.100:8020 rather hdfs://namenode.example.com:8020 or the
namespace & this can lead to mismatch when we are doing some URI matching or
so. I haven't gone through this code. but somewhere it is talking about the
case where some one provides the IP:Port of the namenode directly
cc. @cnauroth in case you have some pointers around this
--
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]