You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Deep Singh (Jira)" <ji...@apache.org> on 2020/09/18 22:24:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Deep Singh resolved ATLAS-3944.
-------------------------------
Resolution: Fixed
> 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)