[ https://issues.apache.org/jira/browse/ATLAS-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197933#comment-17197933 ]
ASF subversion and git services commented on ATLAS-3944: -------------------------------------------------------- Commit 59a609a277971c246c7892a9e76d6a75e001d8a6 in atlas's branch refs/heads/branch-2.0 from Deep Singh [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=59a609a ] ATLAS-3944: Logs of import scripts should go to Atlas default log directory Signed-off-by: Ashutosh Mestry <ames...@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)