Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache Atlas fails to run: Maven clean install fails to install Kafka-Hook #2

Open
Chuka-J-Uzo opened this issue Apr 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Chuka-J-Uzo
Copy link
Owner

Apache Atlas Web UI runs, but we are unable to connect the Kafka-Hook to it or even install other hooks required for it to run.

We attempted to solve the problem by running the mvn clean install -DskipTests command in the root directory of our Kafka Bridge project folder, where the pom.xml file is located. In this case, we ran it in the kafka-bridge directory, as that's where the pom.xml file is located, but we got the following error:

central-https: https://repo.maven.apache.org/maven2/com/puppycrawl/tools/checkstyle/5.5/checkstyle-5.5.jar (638 kB at 85 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  42:53 min
[INFO] Finished at: 2023-04-12T11:50:49+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1:check (checkstyle-check) on project kafka-bridge: Execution checkstyle-check of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1 or one of its dependencies could not be resolved: Could not find artifact org.apache.atlas:atlas-buildtools:jar:1.0 in central-https (https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

The error message suggested that Maven was not able to find the artifact "org.apache.atlas:atlas-buildtools:jar:1.0". So one possible solution was to add the repository where this artifact is hosted to our Maven settings.xml file. Here are the steps you followed without success:

  1. Open our settings.xml file located in ~/.m2/settings.xml with our text editor.
  2. Add the following code snippet inside the tag:

<repository>
    <id>atlas-repository</id>
    <name>Apache Atlas Repository</name>
    <url>https://repository.apache.org/content/repositories/releases/</url>
</repository>
  1. Save the settings.xml file and re-run the mvn clean install -DskipTestscommand.

The above addition failed, then we tried one last option, which entailed adding the following repository to our pom.xml file:

<repositories>
  <repository>
    <id>atlas-repository</id>
    <name>Apache Atlas Repository</name>
    <url>https://repository.apache.org/content/groups/public/</url>
  </repository>
</repositories>

This addition still did not work. For this reason, we couldn't successfully install the Kafka-Hook required for Apache Atlas to run and pull Kafka topics. This hindered our ability to run Atlas for Data Discovery, Data Lineage and Data Governance in general.

A solution will be most appreciated!

@Chuka-J-Uzo Chuka-J-Uzo self-assigned this Apr 17, 2023
@Chuka-J-Uzo Chuka-J-Uzo added the bug Something isn't working label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant