Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-740

Trying to access jar on s3 using livy

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 0.9.0
    • API
    • Spark - 2.3.0.2.6.5.1175-1
      hdp - 2.6.5.1175-1

      AWS jar versions in spark:

      /aws-java-sdk-core-1.10.6.jar
      /aws-java-sdk-kms-1.10.6.jar
      /aws-java-sdk-s3-1.10.6.jar
      /hadoop-aws-2.7.3.2.6.5.1175-1.jar

    Description

      curl -X POST --data '{"file": "s3://livy-test/spark-examples_2.11-2.4.4.jar", "className": "org.apache.spark.examples.SparkPi","conf":{"spark.hadoop.fs.s3.awsAccessKeyId":"**","spark.hadoop.fs.s3.awsSecretAccessKey":"**","spark.executor.extraJavaOptions":"-Dcom.amazonaws.services.s3.enableV4=true","spark.driver.extraJavaOptions":"Dcom.amazonaws.services.s3.enableV4=true"}}' -H "Content-Type: application/json" -H "X-Requested-By: admin" http://hostname:8999/batches

       

      I am trying to submit spark job to like this but it fails with below error:

      AM I missing something here? I have verified aws secret many times.The same secret is working with aws cli. Can you please guide me here?

      Attachments

        1. image-2020-01-10-09-56-27-060.png
          102 kB
          poonam chaudhari

        Activity

          People

            Unassigned Unassigned
            poonam.chaudharir poonam chaudhari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: