@Muraliselvaraj When a Sqoop program is executed, it will create a java file like QueryResult.java in the current directory. If QueryResult.java is already there as we already executed the Sqoop command before, the message will be shown. The path needs to be new every time, as this is how the sqoop is designed.
As far as I know it is by design we are seeing this ERROR message, this is a harmless message. 'xxx.java' is the Java source code file which is generated by Sqoop itself on the fly. This would not cause any job failure. 'xxx.java' is only used to be compiled to the actual .class file which is used to submit as MR job. After the job is submitted, we can safely delete it.
Are you seeing any job failure because of this error message?
Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.