hadoop/hadoop-hdds/docs/content/gdpr/GDPR in Ozone.md

1.5 KiB

title date weight summary icon
GDPR in Ozone 2019-September-17 5 GDPR in Ozone user

Enabling GDPR compliance in Ozone is very straight forward. During bucket creation, you can specify --enforcegdpr=true or -g=true and this will ensure the bucket is GDPR compliant. Thus, any key created under this bucket will automatically be GDPR compliant.

GDPR can only be enabled on a new bucket. For existing buckets, you would have to create a new GDPR compliant bucket and copy data from old bucket into new bucket to take advantage of GDPR.

Example to create a GDPR compliant bucket:

ozone sh bucket create --enforcegdpr=true /hive/jan

ozone sh bucket create -g=true /hive/jan

If you want to create an ordinary bucket then you can skip --enforcegdpr and -g flags.