Setting retention time in Unravel server
You can set the database retention time using the Manager service.
When changing these settings, be aware that the long retention requires significant disk space. As a rule of thumb, each map-reduce or Spark job requires about 1 MB of disk space; you can store approximately 1000 jobs per 1 GB of disk.
Stop Unravel
<Unravel installation directory>/unravel/manager stop
Change the setting.
<Unravel installation directory>/unravel/manager config properties set com.unraveldata.retention.max.days
<no of days>
<Unravel installation directory>/unravel/manager config properties set com.unraveldata.history.maxSize.weeks<no of weeks>
##For example: /opt/unravel/manager config properties set com.unraveldata.retention.max.days=30 /opt/unravel/manager config properties set com.unraveldata.history.maxSize.weeks=5Apply the changes.
<Unravel installation directory>/unravel/manager config refresh
Start Unravel
<Unravel installation directory>/unravel/manager start