How to remove a version of camel from Apache Karaf? - osgi

In Apache Karaf there is camel version 2.15.0, I wish to remove this version and install version 2.14.0.
I believe this installed version 2.14.0 as when I do feature:list I see camel version 2.14.0 but I also see the 2.15.0 still there. How to make the 2.15.0 go away?
karaf#root()> feature:repo-add camel 2.14.0
Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.14.0/xml/features
karaf#root()>

Apache Karaf does not come with Camel out of the box. You install Camel into it. It should have commands to remove a repo-url also.
You can also just clean your Karaf, but shutting it down, and delete the data directory, and you have a vanilla Karaf again.
And there is a shorthand to install Camel with
features:chooseurl camel 2.14.2
But beware in Karaf 3.x onwards some of the commands have been renamed and changed so its something else there :(

Related

Using Springboot on Mac, command "spring" not found

Using Homebrew to install springboot onto my personal mac, I have been running into errors, following tutorials I used:
brew install springboot
With the following error:
==> We've Moved!
Warning: Spring Boot has relocated to spring-io/tap
so i did ...
brew tap spring-io/tap
It installed but I am trying to check the confirm the version using
spring --version
Through a bit of research I still cant find an alternative command but the change is quite recent so I'm hoping someone else has come across this issue.
Spring Boot tweet Jan 15 2021 with following statement
Mac users: Please note that we've relocated the Spring Boot CLI to a new Homebrew tap. Upgrade with:
brew tap spring-io/tap
brew uninstall springboot
brew install spring-boot
Can someone confirm if I followed this incorrectly or there is a different command to use for spring version, thank you.
wrong install, need
brew install spring-boot
to be able to run the spring command

Where i can take free RPM Apache Ambari?

I search for Ambari for Centos. But on Apache site there is only source code.
I found several links on public-repo.hortonworks, but can't find this repository in index, and latest version is 2.7.4. On Apache site the latest is 2.7.5.
2.7.5 repos are now behind a paywall #Cloudera. If you want 2.7.5 you need to build from source. My best recommendation is to use 2.7.4 and public repos as there is not much of a difference.

How to install logstash-input-jmx in RHEL?

Has anyone installed logstash-input-jmx (or any other "community" plugin for Logstash) in RHEL?
How did you manage the Ruby/gem dependencies?
After installing a recent version of Ruby, RubyGems, and Rails, the development/runtime gem dependencies have to be resolved, but attempting to install any of the gems mentioned in here, would lead to endless missing dependencies ...
Are there any packaged versions of Logstash JMX plugin around?
Thanks,
Babak.
Welcome to the house of fun. What I did was, which may be out of your scope but it might help....
$logstash_location/bin/logstash-plugin list
(as you might expect this shows what can be installed to your instance)
$logstash_location/bin/logstash-plugin install logstash-input-jmx
The plugin itself should resolve its own dependencies. I was having all sort of problems in Docker, but I had to build my Logstash tarball external to the machine. Make sure connectivity is ok too. It's a service, not local to your machine.
This post clearly describes the steps required to install a "community" logstash plugin, and can be used to install jmx plugin on RHEL. I've tried it on RHEL 7.3.
The main thing to consider is that in RHEL 7.3 the logstash can be found under /usr/share/logstash/ rather than /opt/logstash

Installing Spring XD on Ambari

I installed the following software:
CentOS 6.7
Apache Ambari 2.1.2
I try to install Spring XD via Ambari, so I read the following tutorial:
https://github.com/spring-projects/spring-xd-ambari/blob/master/src/docs/asciidoc/InstallingXDwithAmbari.asciidoc
When I try to install Spring XD via Ambari I see the following error:
Why?
As noted in that document you link to, the latest version of Ambari we support is 2.0.1. They keep changing things in Ambari so older scripts won't necessarily work in later versions. We are planning on updating the Sprig XD install script so it works with more recent versions, but we don't have a date yet. We have an issue tracking this here: https://github.com/spring-projects/spring-xd-ambari/issues/5

Failed to install spring-dm 1.2.1 in Karaf 2.2.5

I am a newbie to karaf. I tried to install spring-dm 1.2.1 in karaf 2.2.5.
It failed with following error message:
Error executing command: Manifest not present in the first entry of the zip mvn:org.springframework.osgi/spring-osgi-annotation/1.2.1
Does anyone know what the problem could be?
Thanks in advance.
Works fine for me. I suspect you've picked up a corrupt artifact, have a look in your local repo, try opening it with a zip application.
Are you installing it directly in the Karaf shell or via a feature? If it's via a feature and the artifact isn't corrupt try installing it from the Karaf shell - if that works it may be a bug in Karaf features or an error in your features file

Resources