From Thursday, July, 9, 3:00 PM Pacific,
our Community site will be in
read-only mode
through Sunday, July 12th.
Thank you for your patience.

Using Talend Studio 6.4.1 with Cloudera CDH 5.11

Problem Description

Talend supports CDH 5.10 on Talend 6.4.1, but doesn't support CDH 5.11. CDH 5.12 is supported in Talend Winter ’18, so this means that there’s a gap in CDH official compatible versions. Moreover, you will not find CDH 5.11 among the list of distributions in Studio 6.5 this winter release, but you will find CDH 5.12.


Root Cause

CDH 5.12 has numerous features that far exceed CDH 5.11. Talend is working with all Hadoop platform providers to find a generic way of connecting to any version of a cluster, and that will address those skipped versions and more.



  • New single-node Cloudera Hadoop Cluster, installed on a Red Hat 7.4 AWS AMI using Cloudera Manager 5.11.

    If you need to install an old version of CDH, see this link: Installing Older version of CDH.

  • Spark core distribution, Kafka 0.10.0, and Spark 2.1 (as Spark 1.6 is installed by default).

    If you need to reproduce the same, see this link for Kafka: Install Kafka on CDH and this link for Spark2: Install Spark2 on CDH.

  • TAC and a JobServer are installed on the Cluster in order to be fully able to test Spark Jobs on Yarn.
  • Talend Studio 6.4.1 is installed on a Windows AWS machine, and a Hadoop cluster is installed on RedHat 7.4 on AWS.




Create a Hadoop cluster connection

  1. In Talend Studio, from the Repository, right-click the Hadoop cluster and select Create a Hadoop Cluster.



  2. The best practice when you want to connect to an unsupported version of a cluster is to find the closest supported version, and then manually specify the Hadoop services.


    Select Custom unsupported for the distribution, then select Cloudera for the distribution and CDH5.10 Yarn mode for the version.



  3. From there, you can replace the different libraries with the appropriate version of the jar.



    You can find a great video tutorial here: How to add an unsupported Hadoop distribution to Talend Studio that describes how to find and replace a jar (it's made for HDP but reusable for CDH).

  4. You may not have to go through the custom unsupported connection; you may be able to use the CDH5.10 distribution and use the Cloudera Manager Service to retrieve the cluster configuration and use CDH5.10 libraries.

    hadoop version.png


  5. Next, paste the hostname of your cluster and fetch Hadoop components.



  6. Specify a user name and check the services.



  7. In the metadata of the repository, under the Hadoop cluster, you should see the connection you just created.



Standard Jobs on the Cluster

  1. Testing started with a very simple Job to put data in HDFS using a tHDFSPut component, adding a tHDFSconnection component, and the Job executed successfully.



  2. Another Job used the same file, and loaded it into an Hbase table that stored the RAW data and another where blank values were replaced with Null in order to leverage Hbase sparse data capabilities.



  3. The same was done with Hive, and all Jobs executed successfully.


Big Data Batch Job with MapReduce

  1. Testing of Big Data Batch Jobs started with a very simple one, with one map and one reduce task that filters the data set and then aggregates the result of the filtering.



  2. A more complex Job was tested, using a tMap component.




Big Data Batch Job with Spark

Spark 2.1 must be installed manually using Cloudera Manager and CSD parcels in order to test Spark 1.6 and 2.1 Jobs.

  1. Convert your first Map Reduce Job to a Spark Job.
  2. Add a tHDFSConnection for the storage.
  3. Set up the Spark configuration of the Job to use the machine where Talend Studio is installed as a Spark driver (the Spark driver machine should be in the same private network as the cluster machine in order to resolve private IP within the VPC).

    spark job.png


  4. A more complex Job involved reading from an Hbase table and applying more complex aggregations.



  5. Last, the Spark Machine learning Library was tested using the Naïve Bayes classification algorithm against the very famous Iris data set.

    1. Creating the model with the training dataset:



    2. Scoring the test dataset with the predictive model:



    3. The accuracy of the predictive model is pretty good, only one the predictions went rogue:



  6. The Spark Jobs were tested with both versions of Spark, and they executed successfully.


Big Data Streaming Job with Spark

  1. Spark Streaming Jobs were tested using Kafka: one job produces and sends messages to a topic, and another Job consumes those messages.

    Note: Be sure that you installed a version of Kafka that is supported by Talend Studio 6.4.1, in this case version 0.10.0.

  2. The following Job produces and sends a message to a Kafka topic:



  3. The following Job consumes those messages and shows them in a log table:



  4. Everything worked well.

    streaming results.png




Even though version CDH 5.11 is not officially supported in Talend Studio 6.4.1, everything went well and the configuration was pretty straight forward, so you can still use your favorite data integration tool for most of the main critical tasks and even more. It's possible that every single detail was not tested, but overall no compatibility issues arose.


You are more than welcome to share your experiences, and address the issues you might be facing with this setup in the comment section.

Version history
Revision #:
29 of 29
Last update:
‎04-13-2019 12:21 PM
Updated by:
Four Stars



Nice article.But when I'm trying to connect to Cloudera 5.11 using Talend Open studio 6.4.1 I'm facing issue as below attached and couldn't figure out where I'm doing wrong any help is appreciated.

Talend connection.PNG



org.talend.designer.hdfsbrowse.exceptions.HadoopServerException: org.talend.designer.hdfsbrowse.exceptions.HadoopServerException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
at org.talend.designer.hdfsbrowse.hadoop.service.check.AbstractCheckedServiceProvider.checkService(
at org.talend.designer.hdfsbrowse.hadoop.service.HadoopServiceBean.check(
at org.talend.designer.hdfsbrowse.hadoop.service.check.CheckHadoopServicesDialog$
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
Caused by: org.talend.designer.hdfsbrowse.exceptions.HadoopServerException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
at org.talend.designer.hdfsbrowse.hadoop.service.check.CheckedWorkUnit.execute(
at org.talend.designer.hdfsbrowse.hadoop.service.check.AbstractCheckedServiceProvider.checkService(
... 5 more
Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
at Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.talend.designer.hdfsbrowse.hadoop.service.check.CheckedWorkUnit.execute(
... 6 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.talend.core.utils.ReflectionUtils.invokeStaticMethod(
at org.talend.designer.hdfsbrowse.hadoop.service.check.provider.CheckedNamenodeProvider.check(
at org.talend.designer.hdfsbrowse.hadoop.service.check.AbstractCheckedServiceProvider$
at org.talend.designer.hdfsbrowse.hadoop.service.check.CheckedWorkUnit$
at Source)
... 3 more
Caused by: java.lang.IllegalArgumentException: ip-20-0-21-161.ec2.internal
at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(
at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(
at org.apache.hadoop.hdfs.DFSClient.<init>(
at org.apache.hadoop.hdfs.DFSClient.<init>(
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(
at org.apache.hadoop.fs.FileSystem.createFileSystem(
at org.apache.hadoop.fs.FileSystem.get(
... 11 more
Caused by: ip-20-0-21-161.ec2.internal
... 19 more




Hi @Rohith,

Sorry my late answer...

First if you want to reproduce the connection to CDH 5.11 that i've shown in the article, choose the Cloudera CDH 5.10 distribution (the last version supported by Talend Studio) and not the custom distribution.

If it doesn't solve your issue, i've noticed that you are using ec2 private Dns, are you sure that your Talend Studio in a part of the same VPC ? If yes can you check Security group if the machine with your Studio is allowed to access the cluster to those specific ports ?

Because it seems that's might be the issue : "Caused by: ip-20-0-21-161.ec2.internal"