title: how to pass json format as one argument in spark submit?
body: <pre><code> spark-submit --class com.HelloWorld \
  --master yarn --deploy-mode client \
  --executor-memory 5g  /home/Hadoop-Work/HelloWorld.jar \
  "/home/Hadoop-Work/application.properties" \
  "Student_db,stud_info_table,ClassA,\"[\"{\"system\":\"stud_info_table|student_name\",\"actual\":\"stud_info_table|student_phone\",\"class_strength\":\"50\"}\"]\",DepartmentA,120"
  </code></pre>
  
  <p>Here <code>arg(0)</code> is  <code>/home/Hadoop-Work/application.properties</code></p>
  
  <p><code>arg(1)</code> is  <code>"Student_db,stud_info_table,ClassA,\"[\"{\"system\":\"stud_info_table|student_name\",\"actual\":\"stud_info_table|student_phone\",\"class_strength\":\"50\"}\"]\",DepartmentA,120"</code> </p>
  
  <pre class="lang-scala prettyprint-override"><code>object HelloWorld {
  
     def main(args: Array[String]){
  
      val input =args(1)
      val splited = input.split(",")
      val dbname = splited(0)
      val tablename = splited(1)
      val classname = splited(2)
      val jsonInputColumns = splited(3) // here I want json format as one argument ----&gt; "[{system:stud_info_table|student_name,actual:stud_info_table|student_phone,class_strength:50}]"
      val departmentName = splited(4)
      val kafka_timeout_sec = splited(5)      
      }
  
  }
  </code></pre>