Leo zhang created HUDI-3472:
-------------------------------

             Summary: Compilation failure for release-0.10.1
                 Key: HUDI-3472
                 URL: https://issues.apache.org/jira/browse/HUDI-3472
             Project: Apache Hudi
          Issue Type: Bug
          Components: dependencies
    Affects Versions: 0.10.1
            Reporter: Leo zhang


When I tried to compile then release-0.10.1, I met a compilation failure as 
below:

[ERROR] 
hudi/hudi-common/src/test/java/org/apache/hudi/common/testutils/FileCreateUtils.java:[22,37]
 package org.apache.directory.api.util does not exists.
[ERROR] 
hudi/hudi-common/src/test/java/org/apache/hudi/common/testutils/FileCreateUtils.java:[224,85]
 Can't find symbol
[ERROR]   Symbol:  variable Strings
[ERROR]   Position: Class org.apache.hudi.common.testutils.FileCreateUtils



It turns out this is caused by  lack of dependency for 

org.apache.directory.api:api-util, at module hudi-common.

 

Add a dependency to the pom can fix this problem.

<dependency>
<groupId>org.apache.directory.api</groupId>
<artifactId>api-util</artifactId>
<version>1.0.0-M20</version>
</dependency>



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to