简体   繁体   English

我如何编译hive-hcatalog-core?

[英]How could I compile hive-hcatalog-core?

My aim is to get a jar package that contains compiled classes in hive-hcatalog-core package. 我的目标是获得一个jar包,其中包含hive-hcatalog-core包中的已编译类。 But I encountered several problems. 但是我遇到了几个问题。 The first is that some .g files cannot be compiled with antlr(maybe I am not using antlr in a correct way), the second is that some packages are missed(to be exact, there should a package named gen under org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates which is in fact missing). 第一个是某些.g文件无法使用antlr编译(也许我没有以正确的方式使用antlr),第二个是缺少了某些软件包(确切地说,在org.apache下应该有一个名为gen的软件包)。 hadoop.hive.ql.exec.vector.expressions.aggregates实际上缺少)。 And I guess I may see more when I proceed. 而且我想我继续进行时可能会看到更多。 So could anyone give me any hint on how I could solve the problem and compile it? 那么,有谁能给我任何有关如何解决并编译该问题的提示?

事实证明,我可以根据Hive Wiki中的指导使用mvn编译整个项目。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 /usr/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core-*.jar 不存在 - /usr/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core-*.jar does not exist 如何编译Hive UDF - How do I compile a Hive UDF 如何解决原因:java.lang.ClassNotFoundException:org.apache.hive.hcatalog.data.JsonSerDe。? - How To Resolve Caused by: java.lang.ClassNotFoundException: org.apache.hive.hcatalog.data.JsonSerDe.? 使用 Java 从 Hive 表中读取记录(通过 Hivemetastoreclient 或 Hcatalog 或 WebHcat) - Read records from Hive Table using Java (through Hivemetastoreclient or Hcatalog or WebHcat) Netbeans(Java):第三个库可以工作,但我怎么能把它编译成jar? - Netbeans (Java): 3rd library works but how could I compile it into jar? 猪和HCatalog - Pig and HCatalog 如何使用Stanford Core NLP生成中文句子的依存关系? 它只能与英语一起很好地工作 - How could I use Stanford Core NLP to generate the dependency of a Chinese Sentence? It can only works greatly with English 如何只编译Spark Core和Spark Streaming(以便我可以获得Streaming的单元测试实用程序)? - How can I compile only the Spark Core and Spark Streaming (so that I can get unit test utilities of Streaming)? 编译课程时去哪里寻找核心课程基础 - Where it go to find the core class foundation when I compile a class 错误:无法找到或加载主类 - 如何通过maven编译为jar? - Error: Could not find or load main class - how to compile to jar by maven?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM