Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when hdfs-site.xml file has xi:include tag, the function cann't get hadoop_configuration info #782

Open
lytk01 opened this issue Oct 27, 2022 · 0 comments

Comments

@lytk01
Copy link

lytk01 commented Oct 27, 2022

def _load_site_xml_into_dict(self, xml_path, in_dict):

hdfs configuration like this,which configuration info is in a web file;And now the code cann't load the configuration correctly

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="http://10.*.*.*:*/us-hadoop-2.7.2/hdfs-site.xml">
      <xi:fallback>
         <xi:include href="http://10.*.*.*:*/us-hadoop-2.7.2/hdfs-site.xml"/>
      </xi:fallback>
</xi:include>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant