38979/error-while-accessing-file-outformat-method-setoutputpath
Hi, I am trying the word count program. In the driver program when I am trying to access the file outformat method SetOutputpath it shows me an error and suggests a different method. Please find attached snapshot.
You have imported org.apache.hadoop.mapred.FileOutputFormat, you need to import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
So, make this change and the error will be resolved.
Well, the reason you are getting such ...READ MORE
According to me the error is because ...READ MORE
We would like to say that the ...READ MORE
Since your jar file was inside the ...READ MORE
I would recommend you to use FileSystem.rename(). ...READ MORE
I am not sure about the issue. ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Is python installed running on the slaves that ...READ MORE
In your code, you have set some ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.