Loading Failed Due to Cannot Open TokenBank

Problem

The loading job failed.

Error message

Error: The loading job failed due to cannot open TokenBank.so in ...
image::loading_failed_due_to_cannot_open_tokenBank.png[Error message]

Diagnosis

Check to see if TokenBank.so exists:

ls $(gadmin config get System.AppRoot)/bin/TokenBank.so

Workaround

More simply, run the following command in the GSQL shell:

recompile loading job

Alternatively, you may copy it from a good node to the problem node:

1. gfetch <good_node_name> $(gadmin config get System.AppRoot)/bin/TokenBank.so .
2. mv TokenBank.so_<good_node_name> $(gadmin config get System.AppRoot)/bin/TokenBank.so