MapR append functionality is not working

Problem Description

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

 

Solution

To resolve this issue, perform the following steps:

  1. 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.

  2. Ensure that the Append feature is enabled.

    HDFS Put.png

     

  3. 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>
    
Version history
Revision #:
6 of 6
Last update:
‎04-13-2019 12:34 PM
Updated by: