Cached FileSystem can lead to persistant IOExceptions -----------------------------------------------------
Key: HIVE-1322 URL: https://issues.apache.org/jira/browse/HIVE-1322 Project: Hadoop Hive Issue Type: Bug Components: Metastore Reporter: Paul Yang Assignee: Paul Yang Priority: Minor Fix For: 0.6.0 In the metastore, the FileSystem object is created through Path.getFileSytem(), which caches the created instance for performance. For DFS, the cached FileSystem seems to retain the original IP (resolved from the supplied hostname). If the hostname->IP mapping changes, then FS operations will throw IOExceptions. Because the FileSystem is cached, re-creating the object has no effect and will continue to result in IOExceptions. One solution is to call close on an IOException. That will remove the entry in the cache. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.