linkis
linkis copied to clipboard
linkis1.1.1基于CDH.5.12.1的hive和spark环境编译错误[Bug]
Search before asking
- [X] I searched the issues and found no similar issues.
Linkis Component
linkis-cg-engineConnplugin
What happened + What you expected to happen
在编译linkis-engineplugin-hive和linkis-engineplugin-spark时报错
Relevent platform
Window 10系统64位 我的编译版本是linkis1.1.1和1.1.2编译环境是<hadoop.version>2.6.0-cdh5.12.1</hadoop.version>,<hive.version>1.1.0-cdh5.12.1</hive.version>,<spark.version>2.2.0.cloudera1</spark.version>
Reproduction script
hive报错信息如下:
[ERROR] D:\download\apache-linkis-1.1.1-incubating-src\apache-linkis-1.1.1-incubating-src\linkis-engineconn-plugins\engineconn-plugins\hive\src\main\java\org\apache\linkis\engineplugin\hive\serde\CustomerDelimitedJSONSerDe.java:328: 错误: 枚举 switch case 标签必须为枚举常量的非限定名称 [ERROR] case INTERVAL_YEAR_MONTH: [ERROR] ^ [ERROR] D:\download\apache-linkis-1.1.1-incubating-src\apache-linkis-1.1.1-incubating-src\linkis-engineconn-plugins\engineconn-plugins\hive\src\main\java\org\apache\linkis\engineplugin\hive\serde\CustomerDelimitedJSONSerDe.java:330: 错误: 找不到符号 [ERROR] wc = ((HiveIntervalYearMonthObjectInspector) oi).getPrimitiveWritableObject(o); [ERROR] ^ [ERROR] 符号: 类 HiveIntervalYearMonthObjectInspector [ERROR] 位置: 类 CustomerDelimitedJSONSerDe [ERROR] D:\download\apache-linkis-1.1.1-incubating-src\apache-linkis-1.1.1-incubating-src\linkis-engineconn-plugins\engineconn-plugins\hive\src\main\java\org\apache\linkis\engineplugin\hive\serde\CustomerDelimitedJSONSerDe.java:334: 错误: 枚举 switch case 标签必须为枚举常量的非限定名称 [ERROR] case INTERVAL_DAY_TIME: [ERROR] ^ [ERROR] D:\download\apache-linkis-1.1.1-incubating-src\apache-linkis-1.1.1-incubating-src\linkis-engineconn-plugins\engineconn-plugins\hive\src\main\java\org\apache\linkis\engineplugin\hive\serde\CustomerDelimitedJSONSerDe.java:336: 错误: 找不到符号 [ERROR] wc = ((HiveIntervalDayTimeObjectInspector) oi).getPrimitiveWritableObject(o); [ERROR] ^ [ERROR] 符号: 类 HiveIntervalDayTimeObjectInspector [ERROR] 位置: 类 CustomerDelimitedJSONSerDe
spark 报错信息如下:
[ERROR] D:\apache-linkis-1.1.1-incubating-src\linkis-engineconn-plugins\engineconn-plugins\spark\src\main\scala\org\apache\linkis\engineplugin\spark\executor\SparkPythonExecutor.scala:87: value authToken is not a member of py4j.GatewayServer.GatewayServerBuilder [ERROR] try builder.authToken(py4jToken) catch { [ERROR] ^ [WARNING] D:\apache-linkis-1.1.1-incubating-src\linkis-engineconn-plugins\engineconn-plugins\spark\src\main\scala\org\apache\linkis\engineplugin\spark\executor\SparkScalaExecutor.scala:98: a pure expression does nothing in statement position; you may be omitting necessary parentheses [WARNING] null
Anything else
No response
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
:blush: Welcome to the Apache Linkis (incubating) community!! We are glad that you are contributing by opening this issue.
Please make sure to include all the relevant context. We will be here shortly.
If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.
WeChat Group:
Mailing Lists:
name | description | Subscribe | Unsubscribe | archive |
---|---|---|---|---|
[email protected] | community activity information | subscribe | unsubscribe | archive |
see detail of
- https://github.com/apache/incubator-linkis/issues/1991