You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (Jira)" <ji...@apache.org> on 2020/01/16 05:36:00 UTC

[jira] [Resolved] (RANGER-2685) set_globals.sh will throw an exception "cp ews/logs/* failed"

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

Pradeep Agrawal resolved RANGER-2685.
-------------------------------------
    Resolution: Fixed

Patch committed : [https://github.com/apache/ranger/commit/3e5ccd6c7892636a30ab3b1e96d79109b7915268]

[~liujiayi771] : Please close the RR.

> set_globals.sh will throw an exception "cp ews/logs/* failed"
> -------------------------------------------------------------
>
>                 Key: RANGER-2685
>                 URL: https://issues.apache.org/jira/browse/RANGER-2685
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>            Reporter: Jiayi Liu
>            Priority: Major
>         Attachments: 0001-RANGER-2685.patch
>
>
> set_globals.sh try to copy files in ews/logs although there are no files in ews/logs, and the cp command will throw an exception "cp: cannot stat ‘ews/logs/*’: No such file or directory". We need to check if there are files in the folder.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)