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

Trying to access jar on s3 using livy

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            poonam.chaudharir poonam chaudhari

            Dates

              Created:
              Updated:

              Slack

                Issue deployment