Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Can't find method newStub in org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService!

avatar

We have newly install CDP-DC 7.1.7 and try to load data using a spark jobs but getting the errors.

----Payload

java -cp /etc/hadoop/conf.cloudera.hdfs/ssl-client.xml:/etc/hbase/conf.cloudera.hbase/hbase-site.xml:/etc/hadoop/conf.cloudera.hdfs/core-site.xml:/etc/hadoop/conf.cloudera.hdfs/hdfs-site.xm:/data/scripts/LeaApp-1.0-SNAPSHOT.jar net.ba.lea.transformation.FileActions "/data/scripts/msc/IN/" "/tmp/nss_processing/" "/data/scripts/msc/reject/" "250" "LEA.DBM_CDR_FILE_HEAD" "NSS" "jdbc:phoenix:gzvlcdpnode01.ba.net:2181:/hbase:phoenix/gzvlcdpnode02@BA.NET:/etc/security/keytab/phoenix.keytab"

error :

Can't find method newStub in org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService!

--------------------------------

But the same code is working fine with CDP-DC 7.1.3.

We have changed  the version only.

Please guide us .

1 ACCEPTED SOLUTION

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Super Collaborator

Greetings @Khairul_Hasan 

 

Hope you are doing well. We wish to follow-up on the above Post. Kindly let us know the Outcome of the above ask from our side. Note that in 7.1.3, CDP uses Phoenix 5.0 & in 7.1.7, CDP have Phoenix 5.1. Henceforth, our ask to include the Phoenix Server & Client Jar explicitly. 

 

Regards, Smarak

avatar
Community Manager

@Khairul_Hasan Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks

 


Regards,

Diana Torres,
Community Moderator


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.
Learn more about the Cloudera Community:

avatar
Super Collaborator

Hello @Khairul_Hasan 

 

We are marking the Post as Closed as we didn't hear from your side on our Update dated 2022-10-10. If your team have any concerns, Feel free to Update this Post. If your team adopted any other approach to resolve the issue, We would appreciate if your team can share the finer details for our wider community. 

 

Regards, Smarak