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

execute import-hive.sh raise exception: Failed to load application properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0, 2.0.0
    • Fix Version/s: 2.2.0
    • Component/s: hive-integration
    • Labels:
      None

      Description

      when runĀ import-hive.sh, the script raise as follow:

      2020-06-11 10:49:01,177 INFO - [main:] ~ Looking for atlas-application.properties in classpath (ApplicationProperties:97)
      2020-06-11 10:49:01,181 INFO - [main:] ~ Looking for /atlas-application.properties in classpath (ApplicationProperties:102)
      2020-06-11 10:49:01,182 INFO - [main:] ~ Loading atlas-application.properties from null (ApplicationProperties:110)
      2020-06-11 10:49:01,199 ERROR - [main:] ~ Import failed (HiveMetaStoreBridge:176)
      org.apache.atlas.AtlasException: Failed to load application properties
       at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:121)
       at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:73)
       at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:120)
      Caused by: org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source null
       at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:259)
       at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:238)
       at org.apache.commons.configuration.AbstractFileConfiguration.<init>(AbstractFileConfiguration.java:197)
       at org.apache.commons.configuration.PropertiesConfiguration.<init>(PropertiesConfiguration.java:284)
       at org.apache.atlas.ApplicationProperties.<init>(ApplicationProperties.java:56)
       at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:112)
       ... 2 more
      

      the script can not find the config file of atlas-application.propertiesĀ 

        Attachments

        1. ATLAS-3837.patch
          3 kB
          limbo

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              limbo limbo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: