[ https://issues.apache.org/jira/browse/FLINK-22092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rui Li resolved FLINK-22092. ---------------------------- Resolution: Fixed > HiveConf can cache hiveSiteURL from classpath and cause FileNotFoundException > ----------------------------------------------------------------------------- > > Key: FLINK-22092 > URL: https://issues.apache.org/jira/browse/FLINK-22092 > Project: Flink > Issue Type: Bug > Components: Connectors / Hive > Reporter: Rui Li > Assignee: Rui Li > Priority: Major > Labels: pull-request-available, stale-assigned > Fix For: 1.13.0 > > > It turns out that FLINK-19702 is incomplete and {{HiveConf}} may still > automatically load hive-site from classpath and set {{hiveSiteURL}} variable. > This can cause problems, e.g. create a HiveCatalog reading hive-site from > classpath, drop this catalog and also remove the hive-site file, create > another HiveCatalog with hive-conf-dir pointing to another location, the 2nd > HiveCatalog cannot be created because {{HiveConf}} has remembered the > hive-site location from the previous one and complains the file can no longer > be found. -- This message was sent by Atlassian Jira (v8.3.4#803005)