Skip to main content
Pentaho Documentation

Set up Pentaho to Connect to a Hortonworks Cluster

Overview

These instructions explain how to configure Pentaho's HDP shim so Pentaho can connect to a working Hortonworks Data Platform (HDP) cluster. 

Before You Begin

Do these things before you configure the shim.

  1. Verify Support
    Check the Component Reference to verify that your Pentaho version supports your version of the HDP cluster.
     
  2. Set Up a HDP cluster
    Pentaho can connect to secured and unsecured HDP Clusters.
    1. Configure a HDP cluster.  See Hortonwork's documentation if you need help.
    2. Install any required services and service client tools.
    3. Test the cluster.
       
  3. Get Connection Information
    Get connection information for the cluster and services that you will use.  You can get this information from the Hadoop Administrator, or from Ambari or other cluster management tools.
     
  4. Add Yarn User to Superuser Group
    Add the yarn user on the cluster to the group defined by dfs.permissions.superusergroup property. The dfs.permissions.superusergroup property can be found in hdfs-site.xml file on your cluster or in the cluster management application.
     
  5. Review the Version-Specific Notes Section
    Read the Version-Specific Notes section to review special configuration instructions for your version of HDP.

If you are connecting to a secured HDP cluster there are a few additional things you need to do.

  1. Secure the HDP with Kerberos
    Pentaho supports Kerberos authentication.  You will need to:
    1. Configure Kerberos security on the cluster, including the Kerberos Realm, Kerberos KDC, and Kerberos Administrative Server.
    2. Configure the name, data, secondary name, job tracker, and task tracker nodes to accept remote connection requests.
    3. Set up Kerberos for name, data, secondary name, job tracker, and task tracker nodes if you are have deployed Hadoop using an enterprise-level program.
    4. Add the user account credential for each Spoon user that should have access to the Hadoop cluster to the Kerberos database.  Make sure there is an operating system user account on each node in the Hadoop cluster for each user that you want to add to the Kerberos database. Add operating system user accounts if necessary. Note that the user account UIDs must be greater than the minimum user ID value (min.user.id). Usually, the minimum user ID value is set to 1000.
       
  2. Set up Kerberos on your Pentaho computers

Edit Configuration Files on Cluster

There are edits that need to be made to the *-site.xml configuration files on the cluster.  

Edit oozie-site.xml

If you plan to use the Oozie service complete these instructions.

By default, oozie jobs are run by the oozie user.  But, if you use PDI to start an oozie job, you must add the PDI user to the oozie-site.xml file on the cluster so that the PDI user can execute the program in proxy.  

  1. Open the oozie-site.xml file on the cluster.
  2. Add the following lines of the code to the oozie-site.xml file on cluster, substituting <your_pdi_user_name> with the PDI User username, such as jdoe.
<property>
<name>oozie.service.ProxyUserService.proxyuser.<your_pdi_user_name>.groups</name>
<value>*</value>
</property>
<property>
<name>oozie.service.ProxyUserService.proxyuser.<your_pdi_user_name>.hosts</name>
<value>*</value>
</property>
  1. Save and close the file

Configure Pentaho Component Shims

You must configure the shim in each of the following Pentaho components, on each computer from which Pentaho will be used to connect to the cluster.

  • Spoon (PDI Client)
  • Pentaho Data Integration (DI) Server
  • Business Analytics (BA) Server (including Analyzer and Pentaho Interactive Reporting).
  • Pentaho Report Designer (PRD)
  • Pentaho Metadata Editor (PME)

As a best practice, configure the shim in Spoon first.  Spoon has handy features that will help you test your configuration.  Then,  copy the tested Spoon configuration files to other components, making changes if necessary. 

You can also opt to go through these instructions each Pentaho component, and not copy the shim files from Spoon.  If you do not not plan to connect to the cluster from Spoon, you can configure the shim in another component first instead.   

Here are the shim configuration steps.

  • Locate the Shim Directories
  • Select the Correct Shim
  • Download the Shim from the Support Portal (Optional Step)
  • Copy Configuration Files from the Cluster to the Shim
  • Edit the Shim Configuration Files
  • Connect to the HDP Cluster from Spoon

Locate the Pentaho Big Data Plugin and Shim Directories

Shims and other parts of the Pentaho Adaptive Big Data Layer are in the Pentaho Big Data Plugin directory.  The path to this directory differs by component. You need to know the locations of this directory, in each component, to complete shim configuration and testing tasks.

<pentaho home> is the directory where Pentaho is installed.

Components Location of Pentaho Big Data Plugin Directory
Spoon <pentaho home>/design-tools/data-integration/plugins/pentaho-big-data-plugin
DI Server <pentaho home>/server/data-integration-server/pentaho-solutions/system/kettle/plugins/pentaho-big-data-plugin
BA Server <pentaho home>/server/biserver-ee/pentaho-solutions/system/kettle/plugins/pentaho-big-data-plugin
Pentaho Report Designer <pentaho home>/design-tools/report-designer/plugins/pentaho-big-data-plugin
Pentaho Metadata Editor <pentaho home>/design-tools/metadata-editor/plugins/pentaho-big-data-plugin

Shims are located in the pentaho-big-data-plugin/hadoop-configurations directory.  Shim directory names consist of a three or four letter Hadoop Distribution abbreviation followed by the Hadoop Distribution's version number.  The version number does not contain a decimal point.  For example, the shim directory named cdh54 is the shim for the CDH (Cloudera Distribution for Hadoop), version 5.4.  Here is a list of the shim directory abbreviations.

Abbreviation Shim
cdh Cloudera's Distribution of Apache Hadoop
emr Amazon Elastic Map Reduce
hdp Hortonworks Data Platform
mapr MapR

Select the Correct Shim

For the location of the pentaho-big-data-plugin directory listed in these instructions see Locate the Shim Directories.

Although Pentaho often supports one or more versions of a Hadoop distribution, the download of the Pentaho BA suite only contains the latest, supported, Pentaho-certified version of the shim.  The other supported versions of shims can be downloaded from the Pentaho Customer Support Portal

Before you begin, verify that the shim you want is supported by your version of Pentaho shown in the Components Reference.

  1. In a shell tool, go to the pentaho-big-data-plugin/hadoop-configurations directory.  Shim directories are listed there. 
  2. If the shim you want to use is there, you can go to the next step: Copy the Configuration Files from Cluster to Shim.
  3. Go to the Pentaho Customer Support Portal Knowledge Base's Downloads page.  You are prompted to log in if you have not done so already.

 knowledge_base_downloads.png

  1. Enter the name of the shim you want in the search box.  Select the shim from the search results.
  2. Read the instructions, then download the shim.  You might need to scroll down to see the download link.
  3. Unzip the downloaded shim package to the pentaho-big-data-plugin/hadoop-configurations directory.
  4. Go to Copy the Configuration Files from Cluster to Shim.

Copy the Configuration Files from Cluster to Shim

If you are using a cluster, copying configuration files from the cluster to the shim keeps the configuration files in sync and reduces troubleshooting errors.

The location of the pentaho-big-data-plugin directory listed in these instructions is referenced in the Locate the Shim Directories section of this document.

  1. Back up the existing HDP shim files in the pentaho-big-data-plugin/hadoop-configurations/hdpxx directory. 
  2. Copy the following configuration files from the HDP cluster to pentaho-big-data-plugin/hadoop-configurations/hdpxx. They will overwrite the existing files.
  • core-site.xml
  • hbase-site.xml
  • hdfs-site.xml
  • hive-site.xml
  • mapred-site.xml
  • yarn-site.xml
  1. Edit the shim configuration files.

Edit the Shim Configuration Files

For the location of the pentaho-big-data-plugin directory listed in these instructions see Locate the Shim Directories.

You need to verify or change authentication, oozie, hive, mapreduce, and yarn settings in these files:

  • core-site.xml
  • config.properties
  • hbase-site.xml
  • hive-site.xml
  • mapred-site.xml
  • yarn-site.xml

Verify or Edit config.properties (Unsecured Clusters)

If you are connecting to an unsecure cluster, verify the parameters in this section are properly set.  Set the oozie proxy user if needed. 

  1. Go to pentaho-big-data-plugin/hadoop-configurations/hdpxx and open config.properties.
  2. Verify the following parameters are set.  Edit if necessary.
Parameter Values
authentication.superuser.provider NO_AUTH
pentaho.oozie.proxy.user You do not need to verify this unless you plan to access the oozie service through a proxy.  If so, add the proxy user's name here.
java.system.hdp.version HDP Version.  For HDP 2.2, this is 2.2.0.0-2041
  1. Save and close the file.

Verify and Edit config.properties (Secured Clusters)

If you are connecting to a secure cluster, add Kerberos information to the config.properties file.  Set the oozie proxy user if needed.

  1. Go to pentaho-big-data-plugin/hadoop-configurations/hdpxx and open config.properties.
  2. Verify the following parameters are set.  Edit if necessary.
Parameter Values
authentication.superuser.provider hdp-kerberos (This should be the same as the authentication.kerberos.id.)
authentication.kerberos.principal Set the kerberos principal.
authentication.kerberos.password Set the kerberos password.  (You only need to set the authentication.kerberos.password or the authentication.kerberos.keytabLocation.)
authentication.kerberos.keytabLocation Set the kerberos keytab.  (You only need to set the authentication.kerberos.password or the authentication.kerberos.keytabLocation.)
pentaho.oozie.proxy.user You do not need to verify this unless you plan to access the oozie service through a proxy.  If so, add the proxy user's name here.
java.system.hdp.version HDP Version.  For HDP 2.2, this is 2.2.0.0-2041
  1. Save and close the file.

Edit hbase-site.xml

Modify the location of the temporary directory on the file system in the hbase-site.xml file so that the HBase local storage directory can be created.

  1. Go to pentaho-big-data-plugin/hadoop-configurations/hdpxx and open hbase-site.xml.
  2. Make the following change.
Parameter Value
hbase.tmp.dir  /tmp/hadoop/hbase
  1. Save and close the file.

Verify hive-site.xml

Verify that the following parameters are set in the hive-site.xml file.  If they are not set, add them.

  1. Go to pentaho-big-data-plugin/hadoop-configurations/hdpxx and open hive-site.xml.
  2. Verify the following parameter is set.  Edit if necessary.
Parameter Value
hive.metastore.uris Set this to the location of your hive metastore. 
  1. Save and close the file.

Verify and Edit mapred-site.xml

Verify that the following parameters are set in the mapred-site.xml file, then add the mapreduce.app-submission.cross-platform property.

  1. Go to pentaho-big-data-plugin/hadoop-configurations/hdpxx and open mapred-site.xml.
  2. Verify the following parameters are set.  Edit if necessary.
Parameter Value
mapreduce.jobhistory.address Set this to the place where job history logs are stored. 
mapreduce.application.classpath

Add classpath information. Here is an example:

<property>
	<name>mapreduce.application.classpath</name>
	<value>$PWD/mr-framework/hadoop/share/hadoop/mapreduce/*
			:$PWD/mr-framework/hadoop/share/hadoop/mapreduce/lib/*
			:$PWD/mr-framework/hadoop/share/hadoop/common/*:$PWD/mr-framework/hadoop/share/hadoop/common/lib/*
			:$PWD/mr-framework/hadoop/share/hadoop/yarn/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/lib/*
			:$PWD/mr-framework/hadoop/share/hadoop/hdfs/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/lib/*
			:/usr/hdp/${hdp.version}/hadoop/lib/hadoop-lzo-0.6.0.${hdp.version}.jar:/etc/hadoop/conf/secure
	</value>
</property>

 

mapreduce.application.framework.path

Set the framework path.  Here is an example:

<property>
  <name>mapreduce.application.framework.path</name>
  <value>/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework</value>
</property>
  1. Add the following.
Parameter Value
mapreduce.app-submission.cross-platform Add this property to allow mapreduce jobs to run on windows client and linux server platforms, and vice versa.
<property>
  <name>mapreduce.app-submission.cross-platform</name>
  <value>true</value>
</property>
  1. Save and close the file.

Verify yarn-site.xml

Verify that the following parameters are set in the yarn-site.xml file.  If they are not set, add them.

  1. Go to pentaho-big-data-plugin/hadoop-configurations/hdpxx and open yarn-site.xml.
  2. Verify the following parameters are set.  Edit if necessary.
Parameter Values
yarn.application.classpath ​Add the classpaths needed to run YARN applications.  Use commas to separate multiple paths. 
Example:
<property> <name>yarn.application.classpath</name>
 <value>$HADOOP_CONF_DIR,/usr/hdp/current/hadoop-client/*,
/usr/hdp/current/hadoop-client/lib/*,/usr/hdp/current/hadoop-hdfs-client/*,
/usr/hdp/current/hadoop-hdfs-client/lib/*,/usr/hdp/current/hadoop-yarn-client/*,
/usr/hdp/current/hadoop-yarn-client/lib/*</value>
 </property>
 
yarn.resourcemanager.hostname Update the hostname in your environment or use the default: sandbox.hortonworks.com
yarn.resourcemanager.address Update the hostname and port for your environment.
yarn.resourcemanager.admin.address Update the hostname and port for your environment.
  1. Save and close the file.

Next Step

Go to Connect and Test Connections to the HDP Cluster for instructions on how to configure and test your connection.

Connect Pentaho Components to HDP Cluster

Creating a connection to the cluster involves setting an active shim, then configuring and testing the connection to the cluster.  Making a shim active means it is used by default when you access a cluster.  When you initially install Pentaho, no shim is active by default.  You must choose a shim to make active before you can connect to a cluster.   Only one shim can be active at a time.  The way you make a shim active, as well as the way you configure and test the cluster connection differs by Pentaho component.

Create and Test a Connection to the Cluster in Spoon

Creating and testing a connection to the cluster in Spoon involves two tasks:

  • Set the Active Shim in Spoon
  • Configure and Test the Cluster Connection

Set the Active Shim in Spoon

Set the active shim when you want to connect to a Hadoop cluster the first time, or when you want to switch clusters.  Only one shim can be active at a time.

  1. Start Spoon.
  2. Select Hadoop Distribution... from the Tools menu.

HadoopDistribution.png

  1. In the Hadoop Distribution window, select the Hadoop distribution you want.
  2. Click OK.
  3. Stop, then restart Spoon.

Configure and Test the Cluster Connection

Provide connection details for the cluster and services you will use, such as the hostname for HDFS or the URL for Oozie.  Then, you can use a built-in tool to test your configuration to find and troubleshoot common configuration issues, such as wrong hostnames and user permission errors.

Connection settings are set in the Hadoop cluster window.  You can get to the settings from several places, but in these instructions, you will get the Hadoop cluster window from the View tab in a transformation or job.

View Tab

  1. In Spoon, create a new job or transformation or open an existing one.
  2. Click the View tab.

clusterss.png

  1. Right-click the Hadoop cluster folder, then click New.  The Hadoop cluster window appears.  
  2. Configure and Test the Hadoop Cluster connection.

Configure and Test Connection

Once you have opened the Hadoop cluster window from a step or entry, the View tab, or the Repository Explorer window, configure the connection.

  1. Enter information in the Hadoop cluster window.  You can get most of the information you need from your Hadoop Administrator.

As a best practice, use Kettle variables for each connection parameter value to mitigate risks associated with running jobs and transformations in environments that are disconnected from the repository. 

HadoopClusterWindow.png

Option Definition
Cluster Name Name that you assign the cluster connection.
Use MapR Client Indicates that this connection is for a MapR cluster.  If this box is checked, the fields in the HDFS and JobTracker sections are disabled because those parameters are not needed to configure MapR.
Hostname (in HDFS section) Hostname for the HDFS node in your Hadoop cluster.
Port (in HDFS section) Port for the HDFS node in your Hadoop cluster.  
Username (in HDFS section) Username for the HDFS node.
Password (in HDFS section) Password for the HDFS node.
Hostname (in JobTracker section) Hostname for the JobTracker node in your Hadoop cluster.  If you have a separate job tracker node, type in the hostname here. Otherwise use the HDFS hostname.
Port (in JobTracker section) Port for the JobTracker in your Hadoop cluster.  Job tracker port number; this cannot be the same as the HDFS port number.
Hostname (in ZooKeeper section) Hostname for the Zookeeper node in your Hadoop cluster.  Supply this only if you want to connect to a Zookeeper service.
Port (in Zookeeper section) Port for the Zookeeper node in your Hadoop cluster.  Supply this only if you want to connect to a Zookeeper service.
URL (in Oozie section) Oozie client address.  Supply this only if you want to connect to the Oozie service.
  1. Click the Test button.  Test results appear in the Hadoop Cluster Test window.  If you have problems, see Troubleshoot Connection Issues to resolve the issues, then test again.

HadoopClusterTest.png

  1. If there are no more errors, congratulations!  The connection is properly configured.  Click the Close button to the remaining Hadoop Cluster Test window.
  2. When complete, click the OK button to close the Hadoop cluster window.

Copy Spoon Shim Files to Other Pentaho Components

Once your connection has been properly configured on Spoon, copy configuration files to the shim directories in other Pentaho components. 

The location of the pentaho-big-data-plugin directory listed in these instructions is referenced in the Locate the Shim Directories section of this document.

  1. Copy following configuration files from the pentaho-big-data-plugin/hadoop-configurations/hdpxx directory in Spoon to pentaho-big-data-shim/hdpxx on the DI Server, BA Server, PRD, or PME. 
  • hbase-site.xml
  • core-site.xml
  • hdfs-site.xml
  • hive-site.xml
  • mapred-site.xml
  • yarn-site.xml
  1. Complete the tasks in the Connect Other Components to HDP Cluster section to connect and test.

Create and Test a Connection to the Cluster in Other Components

These instructions explain how to connect the cluster in DI Server, BA Server, PRD, and PME.

  • Set the Active Shim on PRD, PME, and the DI and BA Servers
  • Configure and test the Cluster connections.

Set the Active Shim on PRD, PME, and the DI and BA Servers

Modify a properties file to set the active shim for the DI Server, BA Server, PRD, and PME.

The location of the pentaho-big-data-plugin directory listed in these instructions is referenced in the Locate the Shim Directories section of this document.

  1. Stop the component.
  2. Locate the pentaho-big-data-plugin directory for your component. 
  3. Go the hadoop-configurations directory.  For more information on directory names, see Locate the Pentaho Big Data Plugin and Shim Directories.
  4. Go back to the pentaho-big-data-plugin directory and open the plugin.properties file.
  5. Set the active.hadoop.configuration property to the directory name of the shim you want to make active.  Here is an example:
active.hadoop.configuation=cdh54
  1. Save and close the plugin.properties file.
  2. Restart the component.

Create and Test Connections

Connection tests appear in the following table.

Component Test
DI Server Create a transformation in Spoon and run it remotely.
BA Server Create a connection to the cluster in the Data Source Wizard.
PME Create a connection to the cluster in PME.
PRD Create a connection to the cluster in PRD.

 

Once you've connected to the cluster and its services properly, provide connection information to users who need access to the cluster and its services.  Those users can only obtain access from computers that have been properly configured to connect to the cluster.

Here is what they need to connect.

  • Hadoop Distribution and Version of the Cluster
  • HDFS, JobTracker, Zookeeper, and Hive2/Impala Hostnames, IP Addresses and Port Numbers
  • Oozie URL (if used)
  • Users also require the appropriate permissions to access the directories they need on HDFS.  This typically includes their home directory and any other required directories.

They might also need more information depending on the job entries, transformation steps, and services they use.  Here's a more detailed list of information that your users might need from you.

General Notes

Set Hive Database Connection Parameters (Secured Clusters Only)

To access Hive, you need to set several database connection parameters from within Spoon.

  1. Verify the valid Kerberos principal values have been set to Hive.metastore.kerberos.principal and hive.server2.authentication.kerberos.principal in hive-site.xml.

  2. Start Spoon.

  3. In Spoon, open the Database Connection window.

  4. Click Options.

  5. Add the principal parameter and set it to the values that you noted in the hive-site.xml file.​ The principal typically looks like  hive/HiveServer2.pentaho.com@mydomain.

  6. Click OK to close the window.

Sqoop "Unsupported major.minor version" Error

If you are using Pentaho 6.0 and the Java version on your cluster is older than the Java version that Pentaho uses, you must change Pentaho's JDK so it is the same major version as the JDK on the cluster. The JDK that you install for Pentaho must meet the requirements in the Supported Components matrix. To learn how to download and install the JDK read this article

Version-Specific Notes

Pentaho can connect to HDP 2.3 cluster using the HDP 2.2 or HDP 2.3 shims

You can use either the HDP 2.2 or HDP 2.3 shims to connect to a HDP 2.3 clusters.

  • If you use the HDP 2.2 shim to connect to an HDP 2.3 cluster, only HDP 2.2 functionality is supported. 
  • If you want to support HDP 2.3 functionality, use the HDP 2.3 shim to connect to the HDP 2.3 cluster instead.

Shims can be downloaded from the Pentaho Support Portal.

Troubleshoot Cluster and Service Configuration Issues

General Configuration Problems

The issues in this section explain how to resolve common configuration problems. 

Shim and Configuration Issues

Symptoms Common Causes Common Resolutions

No shim

  • Active shim was not selected.
  • Shim was installed in the  wrong place.
  • Shim name was not entered correctly in the plugin.properties file.
  • Verify that the plugin name that is in the plugin.properties file matches the directory name in the pentaho-big-data-plugin/hadoop-configurations directory
  • Make sure the shim is installed in the correct place.
  • Check the instructions for your Hadoop distribution in the Set Up Pentaho to Connect to an Apache Hadoop Cluster article for more details on how to verify the plugin name and shim installation directory.
Shim doesn't load
  • Required licenses are not installed.
  • You tried to load a shim that is not supported by your version of Pentaho.
  • If you are using MapR, the client might not have been installed correctly. 
  • Configuration file changes were made incorrectly.
  • Verify the required licenses are installed and have not expired.
  • Verify that the shim is supported by your version of Pentaho. Find your version of Pentaho, then look for the corresponding Components Reference for more details.
  • Verify that configuration file changes were made correctly.  Contact your Hadoop Administrator or see the Set Up Pentaho to Connect to an Apache Hadoop Cluster article.
  • If you are connecting to MapR, verify that the client was properly installed.  See MapR documentation for details.
  • Restart Spoon, then test again.
  • If this error continues to occur, files might be corrupted.  Download a new copy of the shim from the Pentaho Customer Support Portal.
The file system's URL does not match the URL in the configuration file. Configuration files (*-site.xml files) were not configured properly.  Verify that the configuration files were configured correctly.  Verify that the core-site.xml file is configured correctly.  See the instructions for your Hadoop distribution in the Set Up Pentaho to Connect to an Apache Hadoop Cluster article for details.

 

Connection Problems

Symptoms Common Causes Common Resolutions
Hostname incorrect or not resolving properly.
  • No hostname has been specified.
  • Hostname/IP Address is incorrect.
  • Hostname is not resolving properly in the DNS.
  • Verify that the Hostname/IP address is correct.
  • Check the DNS to make sure the Hostname is resolving properly. 
Port name is incorrect.
  • No port number has been specified.
  • Port  number is incorrect.
  • Port number is not numeric.
  • Verify that the port number is correct.
  • If you don't have a port number, determine whether your cluster has been enabled for high availability. If it has, then you do not need a port number.
Can't connect.
  • Firewall is a barrier to connecting.
  • Other networking issues are occurring.
  • Verify that a firewall is not impeding the connection and that there aren't other network issues. 

Directory Access or Permissions Issues

Symptoms Common Causes Common Resolutions

Can't access directory.

  • Authorization and/or authentication issues.
  • Directory is not on the cluster.
  • Make sure the user has been granted read, write, and execute access to the directory. 
  • Ensure security settings for the cluster and shim allow access.
  • Verify the hostname and port number are correct for the Hadoop File System's namenode. 

Can't create, read, update, or delete files or directories

Authorization and/or authentication issues.

  • Make sure the user has been authorized execute access to the directory. 
  • Ensure security settings for the cluster and shim allow access.
  • Verify that the hostname and port number are correct for the Hadoop File System's namenode. 
Test file cannot be overwritten.  Pentaho test file is already in the directory.
  • A file with the same name as the Pentaho test file is already in the directory.  The test file is used to make sure that the user can create, write, and delete in the user's home directory.
  • The test was run, but the file was not deleted.  You will need to manually delete the test file.  Check the log fo the test file name.

Oozie Issues

Symptoms Common Causes Common Resolutions

Can't connect to Oozie.

  • Firewall issue.
  • Other networking issues.
  • Oozie URL is incorrect.
  • Verify that the Oozie URL was correctly entered.
  • Verify that a firewall is not impeding the connection. 

Zookeeper Problems

Symptoms Common Causes Common Resolutions

Can't connect to Zookeeper.

  • Firewall is hindering connection with the Zookeeper service.
  • Other networking issues.
  • Verify that a firewall is not impeding the connection. 

Zookeeper hostname or port not found or doesn't resolve properly.  

  • Hostname/IP Address and Port name is missing or is incorrect.
  • Try to connect to the Zookeeper nodes using ping or another method.
  • Verify that the Hostname/IP Address and Port numbers are correct.