Writing to files using the MapR server is working fine but append mode is not working. The first time the Job runs, it throws the following error:
[FATAL]: ereceipts.test_jms_mq_to_maprdb_0_1.TEST_JMS_MQ_to_MapRDB - tHDFSOutput_2 Not supported java.io.IOException: Not supported
To resolve this issue, perform the following steps:
Verify that the file permission is set to write, by running the command -ls -la on the directory where the Job is writing the file.
Ensure that the Append feature is enabled.
Set dfs.support.append as true in the hdfs-site.xml file, as shown below:
<property> <name>dfs.support.append</name> <value>true</value> </property>