You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/17 18:13:00 UTC

[jira] [Commented] (ATLAS-3944) Logs of import scripts should go to Atlas default log directory

    [ https://issues.apache.org/jira/browse/ATLAS-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197886#comment-17197886 ] 

ASF subversion and git services commented on ATLAS-3944:
--------------------------------------------------------

Commit 62c682b344c245015bca4e3d6bf7f55b5394a5e2 in atlas's branch refs/heads/master from Deep Singh
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=62c682b ]

ATLAS-3944: Logs of import scripts should go to Atlas default log directory

Signed-off-by: Ashutosh Mestry <am...@cloudera.com>


> Logs of import scripts should go to Atlas default log directory
> ---------------------------------------------------------------
>
>                 Key: ATLAS-3944
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3944
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-intg
>    Affects Versions: trunk, 2.1.0
>            Reporter: Deep Singh
>            Assignee: Deep Singh
>            Priority: Major
>             Fix For: trunk
>
>         Attachments: 0001-Setting-default-log-directory-to-var-log-atlas.patch
>
>
> Import scripts like import-hbase.sh try to dump logs in a log directory inside the base directory. Most of the users running import scripts have read-only access to the base directory, this leads to the following error exception.
> java.io.FileNotFoundException: /opt/cloudera/parcels/CDH/lib/atlas/logs/import-hbase.log (No such file or directory)
> Although there is a mechanism to set the log location to the desired directory using env variable ATLAS_LOG_DIR, but by default, the script must try to dump logs in Atlas default logs directory (/var/log/atlas)
>  



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