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

[Atlas: Hive Import] When import-hive is run with incorrect input the information is not conveyed to the user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 3.0.0, 2.3.0
    • atlas-core

    Description

      [root@quasar-cxwzxp-3 bin]# /opt/cloudera/parcels/CDH/lib/atlas/hook-bin/import-hive.sh -f /tmp/file2.txt
      ...
      Log file for import is /var/log/atlas/import-hive.log
      ...
      Hive Meta Data imported successfully!!! 

      In the above example, fileĀ /tmp/file2.txt does not exists.

      The log file is not created in the expected locationĀ /var/log/atlas/import-hive.log which is tracked by Jira**

      Here, this gives the user an impression that the import is success while nothing has actually happened.
      It would be good to convey that no data was imported in such cases

      This is true even when the database name/pattern provided to -d or table name/pattern provided to to -t are incorrect

      Attachments

        1. ATLAS-4421.patch
          3 kB
          Disha Talreja

        Issue Links

          Activity

            People

              dishatalreja Disha Talreja
              dharshmk Dharshana M Krishnamoorthy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: