Pivotal Knowledge Base


Cannot Add HAWQ Segments in a HAWQ Cluster when HDFS is Stored on Isilon


 Product  Version
 Pivotal HDB  2.x
 Pivotal HD  2.4
 Ambari  2.x


When trying to add HAWQ segments into a HAWQ cluster, the following error may be displayed if HDFS is stored on Isilon:

Error Message:

HAWQ segment requires DataNode to be installed along with it on the same host. Please add them first and then try adding the HAWQ segment. 


In older versions of Ambari and the Ambari HAWQ plugin, the HAWQ Segment/DataNode dependency was enforced, however, this was corrected in more recent versions via AMBARI-14227.

Although, if the cluster has been upgraded from an older version, the dependency may still be present on the system which may cause this issue to happen in any current release of Ambari or HAWQ. For example, in a HDP2.4 cluster, upgraded from HDP 2.4, we found that the dependency was present in the file: /var/lib/ambari-server/resources/stacks/HDP/2.2/services/HAWQ/metainfo.xml.


The solution will be to remove the dependency from the Ambari server configuration files by following these steps: 

1. On the Ambari server, locate the metadata files associated with HAWQ that may be in these locations: 


2. In each of the above files, look for lines that look like the ones in bold below:

<displayName>HAWQ Segment</displayName>



3. Backup the metainfo.xml files that contain the above lines.

4. Modify the files to remove the lines in bold.

5. Restart Ambari server: ambari-server restart.

6. Attempt to add the HAWQ Segments back into the cluster. 


Powered by Zendesk