Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Protocol message contained an invalid tag #16

Open
betht1220 opened this issue Jul 20, 2014 · 3 comments
Open

Protocol message contained an invalid tag #16

betht1220 opened this issue Jul 20, 2014 · 3 comments

Comments

@betht1220
Copy link

I've been struggling with this example trying to make it work.
I am running Hadoop Version: 2.0.5-alpha-gphd-2.1.0.0 with namenode at port 8020
I've run the application as described in the README file
mvn clean package -Pphd20
sh ./target/appassembler/bin/wordcount

I got the error
Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).

Here's the gist containing the stacktrace
https://gist.github.com/betht1220/e9aab0b241778fe93758

Can you please help me out with this
Thanks

@trisberg
Copy link
Contributor

Try using the phd1 profile by specifying -Pphd1. The 2.0.5-alpha-gphd-2.1.0.0 version corresponds to Pivotal HD 1.1, so that's why the phd1 profile is the one to use. You could use the phd20 profile with the latest Pivotal HD 2.0 singlenode VM which has a version of 2.2.0-gphd-3.0.1.0. The Pivotal HD versioning is a bit confusing.

@betht1220
Copy link
Author

Thank you Thomas, it works now. And yes, I though my VM is running PHD2.0 since on PCC, it
has hadoop 2.0.5-alpha-gphd-2.1.0.0 - This is referring to the hadoop client version, correct?

@trisberg
Copy link
Contributor

The server and client versions are the same, 2.0.5-alpha-gphd-2.1.0.0 is Pivotal HD 1.1 even though it's hard to guess that from the version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants