peopleDF: org.apache.spark.sql.DataFrame = [_corrupt_record: string]
The above that you are getting is not an error message. Instead, it is just an info message stating that your dataframe has been created but the json format is wrong. The json api of sqlContext is reading it as a corrupt record.
Please refer to the below screenshot: