Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3944

Logs of import scripts should go to Atlas default log directory

    XMLWordPrintableJSON

    Details

    • 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

      Description

      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)

       

        Attachments

          Activity

            People

            • Assignee:
              deepam1982 Deep Singh
              Reporter:
              deepam1982 Deep Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: