[
https://issues.apache.org/jira/browse/PARQUET-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173966#comment-17173966
]
ASF GitHub Bot commented on PARQUET-1896:
-----------------------------------------
qinghui-xu opened a new pull request #809:
URL: https://github.com/apache/parquet-mr/pull/809
Jackson deps is not opted in as transitive dependency when we shade
parquet-hadoop.
In consequence, jackson is missing from parquet-tools dependency tree.
Make sure you have checked _all_ steps below.
### Jira
- [x] My PR addresses the following [Parquet
Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references
them in the PR title. For example, "PARQUET-1234: My Parquet PR"
- https://issues.apache.org/jira/browse/PARQUET-XXX
- In case you are adding a dependency, check if the license complies with
the [ASF 3rd Party License
Policy](https://www.apache.org/legal/resolved.html#category-x).
### Tests
- [x] My PR adds the following unit tests __OR__ does not need testing for
this extremely good reason: This is to fix a build
### Commits
- [x] My commits all reference Jira issues in their subject lines. In
addition, my commits follow the guidelines from "[How to write a good git
commit message](http://chris.beams.io/posts/git-commit/)":
1. Subject is separated from body by a blank line
1. Subject is limited to 50 characters (not including Jira issue reference)
1. Subject does not end with a period
1. Subject uses the imperative mood ("add", not "adding")
1. Body wraps at 72 characters
1. Body explains "what" and "why", not "how"
### Documentation
- [x] In case of new functionality, my PR adds documentation that describes
how to use it.
- All the public functions and the classes in the PR contain Javadoc that
explain what it does
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [Maven] parquet-tools build is broken
> -------------------------------------
>
> Key: PARQUET-1896
> URL: https://issues.apache.org/jira/browse/PARQUET-1896
> Project: Parquet
> Issue Type: Bug
> Components: parquet-mr
> Affects Versions: 1.12.0
> Reporter: Qinghui Xu
> Priority: Major
>
> There is a compilation error when running `mvn clean install` on the
> parquet-mr project:
> Environment: macos 10.14.6 (Darwin Kernel Version 18.7.0), maven 3.6.3
> {code:java}
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/read/SimpleMapRecord.java:[21,43]
> package com.fasterxml.jackson.databind.node does not exist
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/read/SimpleRecord.java:[29,38]
> package com.fasterxml.jackson.databind does not exist
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/read/SimpleRecord.java:[30,43]
> package com.fasterxml.jackson.databind.node does not exist
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/json/JsonRecordFormatter.java:[22,38]
> package com.fasterxml.jackson.databind does not exist
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/read/SimpleRecord.java:[72,23]
> cannot find symbol
> symbol: class BinaryNode
> location: class org.apache.parquet.tools.read.SimpleRecord
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/read/SimpleRecord.java:[108,5]
> cannot find symbol
> symbol: class ObjectMapper
> location: class org.apache.parquet.tools.read.SimpleRecord
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/read/SimpleRecord.java:[108,31]
> cannot find symbol
> symbol: class ObjectMapper
> location: class org.apache.parquet.tools.read.SimpleRecord
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/read/SimpleRecord.java:[125,18]
> cannot find symbol
> symbol: class BinaryNode
> location: class org.apache.parquet.tools.read.SimpleRecord
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/read/SimpleMapRecord.java:[59,20]
> cannot find symbol
> symbol: class BinaryNode
> location: class org.apache.parquet.tools.read.SimpleMapRecord
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/json/JsonRecordFormatter.java:[116,7]
> cannot find symbol
> symbol: class ObjectMapper
> location: class
> org.apache.parquet.tools.json.JsonRecordFormatter.JsonGroupFormatter
> [ERROR]
> /Users/q.xu/Sources/thirdparty/parquet-mr/parquet-tools/src/main/java/org/apache/parquet/tools/json/JsonRecordFormatter.java:[116,33]
> cannot find symbol
> symbol: class ObjectMapper
> location: class
> org.apache.parquet.tools.json.JsonRecordFormatter.JsonGroupFormatter {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)