Comments (5)
Tried the --offline option, after dropping the jars in various libraries. No luck.
00:41:21.915 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
00:41:21.915 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
00:41:21.915 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
00:41:21.915 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
00:41:21.915 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Could not resolve all dependencies for configuration ':compileClasspath'.
00:41:21.915 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve net.sourceforge.argparse4j:argparse4j:0.5.0.
00:41:21.915 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by:
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > No cached version of net.sourceforge.argparse4j:argparse4j:0.5.0 available for offline mode.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.slf4j:slf4j-log4j12:1.7.6.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by:
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > No cached version of org.slf4j:slf4j-log4j12:1.7.6 available for offline mode.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.apache.avro:avro:1.4.0.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by:
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > No cached version of org.apache.avro:avro:1.4.0 available for offline mode.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.apache.kafka:kafka_2.11:0.10.1.1.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by:
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > No cached version of org.apache.kafka:kafka_2.11:0.10.1.1 available for offline mode.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.apache.kafka:kafka-clients:0.10.1.1.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by:
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > No cached version of org.apache.kafka:kafka-clients:0.10.1.1 available for offline mode.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve org.testng:testng:6.8.8.
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Required by:
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] project :
00:41:21.916 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > No cached version of org.testng:testng:6.8.8 available for offline mode.
from kafka-monitor.
@ibm4mb Are you building kafka-monitor on a machine with network access to maven repository? It seems that gradle is not able to fetch the jar from maven repository. In order to understand whether this is kafka-monitor's issue or the network connection issue, can you try compile Apache Kafka using gradle?
from kafka-monitor.
Thank you, so much for responding. I was able execute the Gradle build on on my windows personal computer that has network access. But wanted to execute an offline Gradle build on a Red Hat Enterprise Linux 7.x Virtual Machine that has no access to external network, and so I wrestled with offline Gradle build after downloading the JARs that the build process was complaining. When you have a couple of minutes, if you can kindly direct me to key instructions for offline Gradle build of the kafka-monitor that'd be fantastic. Thanks in advance.
from kafka-monitor.
@ibm4mb Sure thing. I am happy to help :)
We have tested kafka-monitor compilation and it should work with ./gradlew jar
, as you can see in the README at https://github.com/linkedin/kafka-monitor. All quick-start instructions, including the steps to build kafka-monitor, are put in this README.
Thus it seems that you are observing these errors because you tried to build kafka-monitor as an offline Gradle build on a virtual machine. We haven't tested kafka-monitor in such an environment so I am not sure whether it is expected to work. But it seems to me that it should work in the same way as any other gradle-based project such as Apache Kafka. Therefore, I am wondering if you are able to build Apache Kafka or any other open source gradle-based project as offline Gradle build on that virtual machine. Can you try that?
from kafka-monitor.
@lindong28, yes you're right. The problem is with executing a successful offline Gradle build, on a VM, because the build process tries to access the JARs locally (not sure which directory). So the process stops when it can't find the dependencies.
First time around, the online Gradle build stopped when my machine couldn't access the 3rd party JARs such as the Maven repositories on the internet.
Ideally it would be nice to have instructions to do an offline build for using a Kafka cluster within the intranet.
Thank you
from kafka-monitor.
Related Issues (20)
- Jetty Service exception HOT 3
- GUI Monitor HOT 8
- Roadmap and project faith HOT 3
- When apps stop fully running there's no mechanism to either restart them or abort the monitor HOT 1
- StatsD reporting of availability metrics is broken
- ClassNotFoundException: com.linkedin.kmf.services.ProduceService HOT 1
- ERROR lassNotFoundException: com.linkedin.kmf.apps.SingleClusterMonitor HOT 2
- Support MM2 HOT 1
- Producer Restarting{Feature Optimisation] HOT 2
- bump avro-util to 0.2.118 do to the critical CVE-2022-42889 HOT 2
- Xinfra monitor fails with ClassCastException HOT 3
- Remove zookeeper dependency HOT 3
- Ensure proper retry and backoff for newly created monitor topics HOT 1
- Hard to detect one Bad Broker.
- Unable to list topics HOT 1
- Add validator for all required configs HOT 1
- [QUESTION] Are there plans to publish the kafka-monitor on the docker hub? HOT 1
- OffsetCommitService does not work with SSL cluster HOT 1
- CVE-2023-44981 HOT 1
- Need help to enable compression for data produced by kafka-monitor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafka-monitor.