Description
Currently, when addFile or addJar is used to upload a file or a jar which was already uploaded, it results in IOException. On the other hand, the SparkContext's behavior is to ignore adding of duplicate jars/files and logging appropriate warning message. The same should be done for addFile and addJar APIs in Livy.