Hive Import Fails After an HDFS Nameservice Change

Problem

Upon changing my nameservice, Datameer Hive jobs are failing to Import. The following error is displayed:

ERROR [2018-06-01 16:59:30.894] [JobScheduler thread-1] (JobScheduler.java:909) - Job 865 failed with exception.

java.lang.IllegalArgumentException: Wrong FS:hdfs://oldname/data, expected: hdfs://newname

 

Cause

There is cached data within Datameer's local file system buried within the "temp" path. 

<datameer_install>/temp

These contain some references to the old service name and need to be purged.

 

Next Steps

Stop Datameer and purge the following temp locations:

<datameer_install>/temp

<datameer_install>/tmp

/path/to/private/folder/temp

/path/to/private/folder/tmp

Then, restart Datameer.