I had a similar problem where a glue job was not seeing the database in the catalog. The option "Use Glue data catalog as the Hive metastore" was not flag and it must be flag as true to solve this problem