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

'atlas.graph.index.search.max-result-set-size' doesn't map to a List object: 150

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 2.3.0
    • None
    • atlas-intg
    • None
    • Important

    Description

      when I run the following sqoop command :

       

       

      sqoop import --connect jdbc:postgresql://server/db --username user -P --table tab --hive-import --create-hive-table

      {{}}

      I get this error:

      {{}}

       

      {{{}22/08/01 16:44:51 INFO atlas.ApplicationProperties: Setting atlas.graph.index.search.max-result-set-size = 150
      22/08/01 16:44:51 INFO atlas.ApplicationProperties: Setting atlas.graph.index.search.solr.wait-searcher = false
      22/08/01 16:44:51 INFO atlas.ApplicationProperties: Property (set to default) atlas.graph.cache.db-cache = true
      22/08/01 16:44:51 INFO atlas.ApplicationProperties: Property (set to default) atlas.graph.cache.db-cache-clean-wait = 20
      22/08/01 16:44:51 INFO atlas.ApplicationProperties: Property (set to default) atlas.graph.cache.db-cache-size = 0.5
      22/08/01 16:44:51 INFO atlas.ApplicationProperties: Property (set to default) atlas.graph.cache.tx-cache-size = 15000
      22/08/01 16:44:51 INFO atlas.ApplicationProperties: Property (set to default) atlas.graph.cache.tx-dirty-size = 120
      22/08/01 16:44:51 INFO hook.AtlasHook: Failed to load application properties
      org.apache.atlas.AtlasException: Failed to load application properties
      at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:155)
      at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:108)
      at org.apache.atlas.hook.AtlasHook.<clinit>(AtlasHook.java:82)
      at org.apache.atlas.sqoop.hook.SqoopHook.<clinit>(SqoopHook.java:86)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:264)
      at org.apache.sqoop.mapreduce.PublishJobData.publishJobData(PublishJobData.java:46)
      at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:284)
      at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:692)
      at org.apache.sqoop.manager.PostgresqlManager.importTable(PostgresqlManager.java:127)
      at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:520)
      at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:628)
      at org.apache.sqoop.Sqoop.run(Sqoop.java:147)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)
      at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234)
      at org.apache.sqoop.Sqoop.runTool(Sqoop.java:243)
      at org.apache.sqoop.Sqoop.main(Sqoop.java:252)
      Caused by: org.apache.commons.configuration.ConversionException: 'atlas.graph.index.search.max-result-set-size' doesn't map to a List object: 150, a java.lang.Integer
      at org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1144)
      at org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1109)
      at org.apache.commons.configuration.AbstractConfiguration.interpolatedConfiguration(AbstractConfiguration.java:1274)
      at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:150)
      ... 17 more
      Exception in thread "main" java.lang.ExceptionInInitializerError
      at org.apache.atlas.sqoop.hook.SqoopHook.<clinit>(SqoopHook.java:86)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:264)
      at org.apache.sqoop.mapreduce.PublishJobData.publishJobData(PublishJobData.java:46)
      at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:284)
      at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:692)
      at org.apache.sqoop.manager.PostgresqlManager.importTable(PostgresqlManager.java:127)
      at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:520)
      at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:628)
      at org.apache.sqoop.Sqoop.run(Sqoop.java:147)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)
      at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234)
      at org.apache.sqoop.Sqoop.runTool(Sqoop.java:243)
      at org.apache.sqoop.Sqoop.main(Sqoop.java:252)
      Caused by: java.lang.NullPointerException
      at org.apache.atlas.hook.AtlasHook.<clinit>(AtlasHook.java:87)
      ... 15 more{}}}{}{}

      Attachments

        Activity

          People

            Unassigned Unassigned
            O.Tougui Omar Tougui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: