Reply
New Contributor
Posts: 2
Registered: ‎04-21-2017

BDR Path Exclusion

I have just started working in this environment.

 

I would like to know, how to exclude sub folder from my replication.

 

My directory structure is

                    /data/etl1/source/, /data/etl1/release/

                    /data/etl2/source/, /data/etl2/release/

                    /data/etl3/source/, /data/etl3/release/

                    /data/etl4/source/, /data/etl4/release/

                    /data/etl5/source/, /data/etl5/release/

                    /data/etl6/source/, /data/etl6/release/

 

Now i would exclude all the files from /data/etl?/source/ folder) and should only replicate /data/etl!/source.

 

Source path: /data/

target path: /data/

 

Highlighted
Contributor
Posts: 50
Registered: ‎02-23-2018

Re: BDR Path Exclusion

Hi, 

In my opnion you only should config the hdfs-site.xml file in your configuration path.

 

For example adding this lines on your datanodes(hdfs-site.xml):

            <property>
                 <name>dfs.data.dir</name>
                 <value>file:///data/etl1/"source or release"/</value>
            </property>

 

 

Regards,

Manu.

Announcements