Cannot find files under NFS mount point

Document ID : KB000074521
Last Modified Date : 22/03/2018
Show Technical Document Details
Issue:
We are not able to use File Trigger jobs under an NFS mount point. The Agent runs as root User.
 
We are able to see the file when we browse the HDFS mount point inside the "Define" tab on Desktop Client.

But when we trigger the execution of the File Trigger job we receive an error:
 
Application Name TEST
Generation Number 12
Job Name Testjob
State FAILED
Status File does not Exist
File name /HDFS/tmp/filename
 
However, the file does exist and it is visible to all users:
 
$ ll /HDFS/tmp/filename
 
-rw-rw-rw- 1 c2 2584148964 7034 MAR 22 2018 /HDFS/tmp/filename
 
Environment:
WA DE 12.0 SP2 Build 1025 on Windows 
 
WA Agent 11.3 SP7 Build 797 on Linux 64-bit
 
 
Resolution:
The encountered problem seems to be related to the Agent configuration.
 
The recommended solution is to proceed by the following steps to allow the file to be found:
 
  1. Add the following parameters in your “agentparm.txt” file to:
 
       filemonplugin.runexternal=true
 
 
  1. Set a default user for submitting jobs using the following parameter:
 
      oscomponent.default.user
 
 
  1. Then stop and restart the Agent for the above modifications to be taken into account.
 
Problem resolved by applying the recommended solution.
 
 
You can consult the following docops page for more information:
 
Configure the Agent to Run File Triggers as Separate Processes
 
https://docops.ca.com/ca-workload-automation-system-agent/11-3/en/configuring/configure-the-agent/configure-the-agent-to-run-file-triggers-as-separate-processes