> On Dec. 8, 2015, 1:18 p.m., Alejandro Fernandez wrote: > >
Thanks for your concern Alejandro. Some information that I gathered: - In the future, HAWQ would not have hdfs-client.xml and would completely depend on hdfs-site.xml. The exact date of this potential change is not known yet. Currently it depends on hdfs-client.xml - When a HAWQ component is started, hdfs-client gets written. The parameters' values written into hdfs-client.xml need **NOT** be in sync with those in hdfs-site.xml. Some of these parameters are specific to HAWQ, and might not be present in hdfs-site.xml I'm not exactly sure what you are referring to, about the code not working without namenode HA. The following might resolve some concerns: For HAWQ to work WITHOUT namenode HA, the hawq_df_url property in hawq-site.xml should point to **namenodehost:8020/hawq_default ** (HAWQ default directory on HDFS). This substitution is made from the ambari-web side. For HAWQ to work WITH namenode HA, the hawq_df_url property in hawq-site.xml should point to **nameservice/hawq_default** . This substitution is also made from the ambari-web side. In addition to this, HAWQ looks for HA related properties such as RPC addresses and HTTP addresses of the namenodes - these are found in hdfs-client.xml Feel free to reach out if you have more concerns. - Matt ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40685/#review109391 ----------------------------------------------------------- On Dec. 7, 2015, 8:28 p.m., Matt wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40685/ > ----------------------------------------------------------- > > (Updated Dec. 7, 2015, 8:28 p.m.) > > > Review request for Ambari, Alexander Denissov, bhuvnesh chaudhary, jun aoki, > Lav Jain, Newton Alex, and Oleksandr Diachenko. > > > Bugs: AMBARI-14029 > https://issues.apache.org/jira/browse/AMBARI-14029 > > > Repository: ambari > > > Description > ------- > > HAWQ is currently not supported on HDFS HA clusters. This feature ensures > that HAWQ is supported on HDFS HA clusters. > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/HAWQ/2.0.0/configuration/hdfs-client.xml > PRE-CREATION > > ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py > c62ac12 > > ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py > c8e97b8 > > Diff: https://reviews.apache.org/r/40685/diff/ > > > Testing > ------- > > Tested manually on Ambari > > Created tables using HAWQ and inserted data. > After HDFS failover, HAWQ was still able to query the data from the table. > > > Thanks, > > Matt > >
