Attempting to set variable info with rxSetVarInfo() on an .xdf file in HDFS may fail with an error similar to:
No valid path can be found for creating the file or directory '/user/RevoShare/<user>/xxxxxxxxx.xdf'.
This may occur for a non-composite .xdf file in HDFS. In HDFS, rxSetVarInfo() is supported only for composite .xdf files. It is not supported for single .xdf files because the file header, which is being modified in this operation, is expected to be stored separately from the file.
To use rxSetVarInfo(), copy the single .xdf file to a local filesystem or convert to a composite .xdf file in HDFS using rxDataStep().