您是否遇到过使用 spring 配置和运行 pig 作业?
因为最近我试图整合 spring 和 pig 在此期间我无法获取hdp:pig-runner
和hdp:pig-factory
运行标签。提示“cvc-complex-type.2.4.c:匹配的通配符是严格的,但找不到元素‘hdp:pig-factory’的声明”。. 我尝试了所有可能的方法,但无法提出解决方案。你们中的任何人都可以帮忙吗?即使是任何小的建议都会有所帮助。
我使用的模式是
<beans xmlns:hdp="http://www.springframework.org/schema/hadoop" <xsi:schemaLocation="http://www.springframework.org/schema/hadoop http://www.springframework.org/schema/hadoop/spring-hadoop.xsd http://www.springframework.org/schema/hadoop http://www.springframework.org/schema/hadoop/spring-hadoop.xsd">