I am creating a data frame from a json file in HDFS for e.g hdfs://localhost:9000/usr/sparkApp/finalTxtTweets/-1606454440000.txt/part-00000 in scala spark shel
hdfs://localhost:9000/usr/sparkApp/finalTxtTweets/-1606454440000.txt/part-00000