DRILL 作为 HDP 2.6 的自定义服务:java.lang.ClassCastException

DRILL as a custom service with HDP 2.6 : java.lang.ClassCastException

我正在安装带有 HDP 2.6 的 Drill,在安装过程中,屏幕在选择从属代理时卡在一个屏幕上。

在日志文件中:

java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List
    at org.apache.ambari.server.controller.internal.StackAdvisorResourceProvider.prepareStackAdvisorRequest(StackAdvisorResourceProvider.java:110)
    at org.apache.ambari.server.controller.internal.ValidationResourceProvider.createResources(ValidationResourceProvider.java:81)
    at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:298)
    at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:97)
    at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:37)
    at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73)
    at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:144)
    at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
    at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)

之前我已经成功地使用 HDP 2.5 进行了测试,钻孔自定义服务脚本已从 https://github.com/dvergari/ambari-drill-service 下载。

请帮我解决这个问题。 HDP:2.6 Ambari:2.5

与此 git 存储库有同样的问题...更改 metainfo.xml 如下...

`

<?xml version="1.0"?>
<metainfo>
    <schemaVersion>2.0</schemaVersion>
    <services>
        <service>
            <name>DRILL</name>
            <displayName>Drill</displayName>
            <comment>Schema-free SQL Query Engine</comment>
            <version>1.10.0</version>
            <components>
                <component>
                    <name>DRILL_MASTER</name>
                    <displayName>Drill Master</displayName>
                    <category>MASTER</category>
                    <cardinality>1+</cardinality>
                    <commandScript>
                        <script>scripts/drill.py</script>
                        <scriptType>PYTHON</scriptType>
                        <timeout>10000</timeout>
                    </commandScript>
                    <configFiles>
                      <configFile>
                        <type>xml</type>
                        <fileName>drill-env.xml</fileName>
                        <dictionaryName>drill-env</dictionaryName>
                      </configFile>
                      <configFile>
                        <type>xml</type>
                        <fileName>drill-override.xml</fileName>
                        <dictionaryName>drill-override</dictionaryName>
                      </configFile>
                      <configFile>
                        <type>xml</type>
                        <fileName>drill-ambari-config.xml</fileName>
                        <dictionaryName>drill-ambari-config</dictionaryName>
                      </configFile>           
                    </configFiles>
                </component>                
            </components>
          <configuration-dependencies>
            <config-type>drill-env</config-type>
            <config-type>drill-override</config-type>
            <config-type>drill-ambari-config</config-type>
          </configuration-dependencies>         
        </service>
    </services>
</metainfo>

`