-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: trunk, 2.1.0
-
Fix Version/s: trunk
-
Component/s: atlas-intg
-
Labels:None
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)