Skip to content
This repository has been archived by the owner on Apr 4, 2021. It is now read-only.

FALCON-2047 Use /apps/falcon/extensions/mirroring as base dir for HiveDR instead of /apps/data-mirroring/ #252

Closed
wants to merge 1 commit into from

Conversation

sowmyaramesh
Copy link
Contributor

No description provided.

@vrangan
Copy link

vrangan commented Aug 2, 2016

+1

<excludes>
<exclude>*/**</exclude>
</excludes>
<fileMode>0770</fileMode>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please help me understand the reason for extra write permission here..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PraveenAdlakha : This has been the behavior since HiveDR feature was implemented.

Here is the reason why we falcon expects 770 perm for /apps/data-mirroring now /apps/extensions/mirroring directory :
Directory is used by multiple mirroring jobs to store replication specific data. Deleting this data, even accidentally, can cause mirror jobs to redo already replicated events and this can be expensive. Hence we decided that the directory has to be read+writable by Falcon and multiple users who belong to specific group, which in this case is “users" This way, rest of the world does not have permission to read/delete the data.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the explanation @sowmyaramesh

@bvellanki
Copy link
Contributor

+1 for the review @sowmyaramesh

@peeyushb
Copy link
Contributor

peeyushb commented Aug 4, 2016

Looks good. +1 .

@PraveenAdlakha
Copy link
Contributor

+1 LGTM

@asfgit asfgit closed this in 723f1f7 Aug 4, 2016
pallavi-rao pushed a commit to pallavi-rao/falcon that referenced this pull request Feb 16, 2018
…eDR instead of /apps/data-mirroring/

Author: Sowmya Ramesh <sramesh@hortonworks.com>

Reviewers: "Venkat  Ranganathan <venkat@hortonworks.com>, Balu Vellanki <balu@apache.org>, Peeyush B <pbishnoi@hortonworks.com>, Praveen Adlakha <adlakha.praveen@gmail.com>"

Closes apache#252 from sowmyaramesh/FALCON-2047
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants