Skip to content
Advertisement

Hadoop NumberFormatException on string ” “

20.2 on windows with cygwin (for a class project). I’m not sure why but I cannot run any jobs — I just get a NumberFormatException. I’m thinking its an issue with my machine because I cannot even run the example wordcount. I am simply running the program through vscode using the args p5_in/wordcount.txt out.

JavaScript

Here is my code, copied directly from https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html

JavaScript

Advertisement

Answer

Turns out WSL was conflicting with something. I disabled WSL and it ran fine.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement