Reputation: 57172
I'm running a java app using hadoop-2.0.5-alpha
. My code looks like:
FileSystem fileSystem = FileSystem.get(conf);
Path path = new Path("/tmp/sample.txt");
System.out.println(fileSystem.exists(path));
But I get an exception
com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: callId, status
I haven't been able to find much on what causes this error. Any thoughts?
Upvotes: 0
Views: 202
Reputation: 20816
It seems you are using hadoop-2.0.5-alpha in the client. But the sever version may be too low.
Type hadoop version
to check the version.
Upvotes: 1