Data Steward Studio Installation
Also available as:
PDF

DP Proxy Settings for Atlas HA Configuration

To support HA configuration, the dpproxy.xml must be set up with additional sections that let Knox know how to work with HA-enabled services.

An example dpproxy.xml appears as follows.


            <topology>
                <gateway>
                    <provider>
                        <role>federation</role>
                        <name>SSOCookieProvider</name>
                        <enabled>true</enabled>
                        <param>
                            <name>sso.authentication.provider.url</name>
                            <value>Hostname URL</value>
                        </param>
                    </provider>
                    <provider>
                        <role>identity-assertion</role>
                        <name>Default</name>
                        <enabled>true</enabled>
                    </provider>
                    <provider>
                        <role>ha</role>
                        <name>HaProvider</name>
                        <enabled>true</enabled>
                        <param>
                            <name>WEBHDFS</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
                        </param>
                        <param>
                            <name>WEBHCAT</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
                        </param>
                        <param>
                            <name>RANGER</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
                        </param>
                        <param>
                            <name>RESOURCEMANAGER</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
                        </param>
                        <param>
                            <name>WEBHBASE</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
                        </param>
                        <param>
                            <name>HIVE</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
                        </param>
                        <param>
                            <name>OOZIE</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true</value>
                        </param>
                        <param>
                            <name>ATLAS</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true;zookeeperEnsemble=zoopkeeperURL:2181,zookeeperURL2:2181,zookeeperURL3:2181;zookeeperNamespace=apache_atlas</value>
                        </param>
                        <param>
                            <name>ATLAS-API</name>
                            <value>maxFailoverAttempts=3;failoverSleep=1000;enabled=true;zookeeperEnsemble=zookeeperURL:2181,zookeeperURL2:2181,zookeeperURL3:2181,zookeeperURL4:2181;zookeeperNamespace=apache_atlas</value>
                        </param>
                    </provider>
                </gateway>
                <service>
                    <role>WEBHDFS</role>
                    <url>URL to access Web HDFS</url>
                    <url>URL to access Web HDFS</url>
                </service>
                <service>
                    <role>WEBHCAT</role>
                    <url>URL to access Web HCAT</url>
                    <url>URL to access Web HCAT</url>
                </service>
                <service>
                    <role>AMBARI</role>
                    <url>URL to access Ambari</url>
                </service>
                <service>
                    <role>RANGER</role>
                    <url>Ranger URL</url>
                    <url>Ranger URL</url>
                </service>
                <service>
                    <role>RANGERUI</role>
                    <url>Ranger UI URL</url>
                    <url>Ranger UI URL</url>
                </service>
                <service>
                    <role>ATLAS</role>
                </service>
                <service>
                    <role>ATLAS-API</role>
                </service>
                <service>
                    <role>OOZIE</role>
                    <url>none</url>
                    <url>none</url>
                </service>
                <service>
                    <role>WEBHBASE</role>
                    <url>Web HBase URL</url>
                    <url>Web HBase URL</url>
                </service>
                <service>
                    <role>HIVE</role>
                    <url>Hive URL</url>
                    <url>Hive URL</url>
                </service>
                <service>
                    <role>RESOURCEMANAGER</role>
                    <url>Resource Manager URL</url>
                    <url>Resource Manager URL</url>
                </service>
                <service>
                    <role>BEACON</role>
                    <url>none</url>
                </service>
                <service>
                    <role>PROFILER-AGENT</role>
                    <url>Profiler Agent URL</url>
                </service>
             </topology>