[ 
https://issues.apache.org/jira/browse/FLUME-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ferenc Szabo updated FLUME-3139:
--------------------------------
    Description: 
Paths in the following config properties are not resolved properly
checkpointDir
backupCheckpointDir
dataDir

expected behaviour:
 ~/myDataDir should be resolved as /home/<current_user>/myDataDir

actual behaviour:
 ~/myDataDir is resolved as <current_working_directory>/~/myDataDir

  was:
Paths in the following config properties are not resolved properly
checkpointDir
backupCheckpointDir
dataDir

expected behaviour:
 ~/myDataDir should be resolved as /home/<current_user>/myDataDir

actual behaviour:
 ~/myDataDir is resolved as <current_working_directory>/myDataDir


> Resolve tilde (~) character in file channel config as the users home directory
> ------------------------------------------------------------------------------
>
>                 Key: FLUME-3139
>                 URL: https://issues.apache.org/jira/browse/FLUME-3139
>             Project: Flume
>          Issue Type: Bug
>          Components: File Channel
>    Affects Versions: 1.7.0
>            Reporter: Ferenc Szabo
>
> Paths in the following config properties are not resolved properly
> checkpointDir
> backupCheckpointDir
> dataDir
> expected behaviour:
>  ~/myDataDir should be resolved as /home/<current_user>/myDataDir
> actual behaviour:
>  ~/myDataDir is resolved as <current_working_directory>/~/myDataDir



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to