Four Stars

connection error in thbaseconnection component

Hi,

 

I am designing a job following the steps mentioned in this link: 

https://help.talend.com/reader/DjQ3poRuHpvvdF9GE_JBHA/IZAxmvy6svU2eLWIlZE5HQ

 

But i am facing a zookeper error which is as follows:

 

Starting job hbase_test at 18:16 18/09/2017.

[statistics] connecting to socket on port 3674
[statistics] connected
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException
at mtn_project.hbase_test_0_1.hbase_test.tFixedFlowInput_1Process(hbase_test.java:733)
at mtn_project.hbase_test_0_1.hbase_test.tHBaseConnection_1Process(hbase_test.java:468)
at mtn_project.hbase_test_0_1.hbase_test.runJobInTOS(hbase_test.java:1865)
at mtn_project.hbase_test_0_1.hbase_test.main(hbase_test.java:1714)
Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.KeeperException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 4 more
[statistics] disconnected
[statistics] disconnected
Job hbase_test ended at 18:16 18/09/2017. [exit code=1]

 

Kindly help me in resolving this.

 

Thanks

5 REPLIES
Moderator

Re: connection error in thbaseconnection component

Hi,

Please make sure that zookeeper JAR is located in your HBase installation at "/usr/local/hbase-X.XX./lib".

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: connection error in thbaseconnection component

Hi Sabrina,

 

Thanks for replying.

I have already placed the zookeper zar in the specified location but still the error persists.

Could there be any possibility of any other error which i am not able to locate.

 

and one more thing, i am using talend open studio for big data.

Do I need to have enterprise version for the same.

 

thanks 

Moderator

Re: connection error in thbaseconnection component

Hello,

Can you successfully connect to HBase through client without using talend tool?

Please take a look at this page about 'Compare all bigdata products ':https://www.talend.com/products/big-data/big-data-compare-all/?_ga=2.20052987.2137201197.1505701364-...to right size your solution.

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: connection error in thbaseconnection component

yes i am able to connect to hbase using client and even the connection through Talend is successful, but while running a job it is showing that zookeper error.
Moderator

Re: connection error in thbaseconnection component

Hi,

Is there any extra component in your 'Designer' space? Would you mind posting your current job setting screenshots into forum which will be helpful for us to address your issue?

Thank for your time.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.