PROFESSIONAL ACADEMIC STUDY RESOURCES WEBSITE +1 813 434 1028 proexpertwritings@hotmail.com
Apache Spark and Python “len” function
Description
- Run the example on the poems data in our Hadoop server.
- Use Apache Spark and change the code to count how many words of different lengths are in the poems data.
- To get the length of a string “theWord” in Spark you need to use Python “len” function for each word. For more information check the Python Reference Manual