Improve setTtl command to take the time-to-live value with unit

Description

Current setTtl command sets the time-to-live of a path in unit of ms.
This JIRA aims to improve it to take the time duration with a given unit.
e.g. instead of only supporting

also supports

One can take a look at alluxio.Configuration#getMs() method see how getMs() does the similar function to parse time with unit

Environment

None

Activity

Show:
Mohamed Abo el-Hassan
September 15, 2017, 6:12 AM

Feature added and merged into master

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Mohamed Abo el-Hassan

Reporter

Bin Fan

Labels