Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-17814

spark submit arguments are truncated in yarn-cluster mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.6.1
    • None
    • Spark Core, Spark Submit, YARN
    • None

    Description

      One of our customers is trying to pass in json through spark-submit as follows:
      spark-submit --verbose --class SimpleClass --master yarn-cluster ./simple.jar "{\"mode\":\"wf\", \"arrays\":{\"array\":[1]}}"
      The application reports the passed arguments as: {"mode":"wf", "arrays":{"array":[1]
      
      If the same application is submitted in yarn-client mode, as follows:
      spark-submit --verbose --class SimpleClass --master yarn-client ./simple.jar "{\"mode\":\"wf\", \"arrays\":{\"array\":[1]}}"
      The application reports the passed args as: {"mode":"wf", "arrays":{"array":[1]}}
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shreyass123 shreyas subramanya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: