karaf

Pentaho BI - MongoDB input Aggregation error due to recent MongoDB upgrade to 3.6

白昼怎懂夜的黑 提交于 2021-02-08 07:46:30
问题 Due to recent Mogodb upgrade to 3.6, pentaho kettle mongoinput step aggregation not be able to fetch data from the Mongodb. The error message: com.mongodb.MongoCommandException: Command failed with error 9: 'The 'cursor' option is required, except for aggregate with the explain argument' on server localhost:2915. The full response is { "ok" : 0.0, "errmsg" : "The 'cursor' option is required, except for aggregate with the explain argument", "code" : 9, "codeName" : "FailedToParse" } It seems

Centos7下安装nexus3.x 安装

本秂侑毒 提交于 2021-01-09 06:58:15
1. 官网下载unix版本 2.上传到linux系统的/usr/目录下 [root@lmll70op-ne ~]# cd /usr/ [root@lmll70op-ne usr]# ll 3.解压,并重命名为nexus [root@lmll70op-ne usr]# tar -zxvf nexus-3.15.2-01-unix.tar.gz [root@lmll70op-ne usr]# mv nexus-3.15.2-01 nexus 4.修改配置修改运行nexus3所使用的用户 [root@lmll70op-ne usr]# cd nexus/bin/ contrib/ nexus nexus.rc nexus.vmoptions [root@lmll70op-ne usr]# cd nexus/bin/ [root@lmll70op-ne bin]# ll 总用量 32 drwxr-xr-x. 2 root root 4096 4月 4 15:44 contrib -rwxr-xr-x. 1 root root 17269 1月 26 02:34 nexus -rw-r--r--. 1 root root 15 1月 26 02:30 nexus.rc -rw-r--r--. 1 root root 464 1月 26 02:34 nexus.vmoptions [root

ODL

帅比萌擦擦* 提交于 2020-12-26 17:38:06
前置 必须得搞搞odl了 安装 环境 root@vpp-test:~# java --version openjdk 11.0.8 2020-07-14 OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1) OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing) root@vpp-test:~# cat /etc/issue Ubuntu 18.04.4 LTS \n \l #odl Magnesium-SR2 下载 https://docs.opendaylight.org/en/latest/downloads.html 安装java apt install openjdk-11-jre-headless 设置JAVA_HOME 编辑/etc/profile export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64/" 加载 root@vpp-test:~# source /etc/profile root@vpp-test:~# echo $JAVA_HOME /usr/lib/jvm/java-11

Kettle 使用Impala遇到plugin id [IMPALASIMBA] couldn't be found!

强颜欢笑 提交于 2020-08-14 08:21:37
这个该死的问题查了我整整3天,差点就放弃了。kettle用的人不多,文档也不太全,源码又重又大。 需求是从Impala用SQL读取数据,写入MYSQL。 环境是: pdi-ce-7.0.0.0-25 Linux: CentOS7 连接的是Cloudera Impala,使用第三方JDBC jar包:ImpalaJDBC4.jar 在Windows环境下,使用spoon.bat编写的JDBC同步逻辑是可以使用的,没有问题。 在Linux下面,运行第一次的时候,也可以正常运行,但是第二次运行后,就会报: Error reading object from XML file Unable to load database connection info from XML node Unable to create new database interface database type with plugin id [IMPALASIMBA] couldn't be found! 根据baidu某帖子,删除$KETTLE_HOME/system/karaf/caches 下的内容后,就可以顺利执行。 但是你不可能每次运行kettle作业都删一次本地缓存,这样并发进程的时候可能会出现bug。 怀疑是karaf这个OSGi容器生成的bundle有问题,思路就是不让它生成缓存文件就是了。据了解

script to run commands at start of apache karaf

久未见 提交于 2020-05-30 05:29:21
问题 When i run karaf, i need to install some features into it. For that i give commands like: install -s mvn:org.apache.derby/derby/10.8.2.2 feature:install jndi jpa transaction http I want to automate this thing as i want to start karaf by itself on reboot. I have read that i can start it on reboot by using wrapper:service. But next question to my mind is how will i give these commands. I have read that it can be done using etc/shell.init.script . But i am not able to understand examples given

kettle缓存清理

一笑奈何 提交于 2020-05-01 09:11:42
kettle启动时有时会加载缓存中的配置和数据,这个在启动日志中可以看出来,如果要它重新加载配置或者数据需要先清理缓存,命令如下: rm -rf ${KETTLE_HOME}/data-integration/system/karaf/caches/{kitchen,pan,spoon} 来源: oschina 链接: https://my.oschina.net/u/4413200/blog/4260076

Apache <mark>Karaf</mark>用户指导

懵懂的女人 提交于 2020-04-18 06:32:36
Apache <mark>Karaf</mark>用户指导 Apache Karaf用户指导 一 安装karaf 本章讲述如何在windows和unix平台安装Apache Karaf,这里你将知道预先要安装什么软件,如何下载并且安装Karaf。 预安装需求 硬件: - 20M磁盘剩余空间。 操作系统: Windows:Windows vista,Windows XP sp2,windows2000。 - Unix:Ubuntu Linux,Powerdog Linux,MacOS,AIX,HP-UX,Solaris,任何支持java的unix平台。 环境: Java SE 1.5x或者更高。 - 环境变量JAVA HOME必须设置为java运行时的安装目录,比如C:\Program Files\Java\jdk1.6.0 26。按住 windows和break键 切换到高级选项,点击环境变量,把上面的路径加入到变量中。 从源码构建 如果你想从源码构建KARAF,需求会有点不同: 硬件: - 200M磁盘空间便于apache karaf源码展开或者是SVN的验证,以及maven构建和依赖maven组件的下载。 环境: JDK 1.5或者是更高。 - Apache maven 2.2.1. 在windows上构建 这过程说明如何下载和安装windows上的源码文件。注

Apache Karaf配置远程调试

微笑、不失礼 提交于 2020-02-29 04:57:40
软件环境 apache-karaf-4.0.0 配置方法: 在 bin/karaf.bat 文件里,顶部增加 set KARAF_DEBUG=true 然后。重新启动karaf 启动之后。就可以看到例如以下输出 karaf.bat: Enabling Java debug options: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 Listening for transport dt_socket at address: 5005 说明,已经开启了debug模式。port为:5005 打开eclipse, 进入到 Debug Configurations 新建一个Remote Java Application 配置例如以下图: 然后。就能够在eclipse里面随心所欲的调试了。 来源: https://www.cnblogs.com/wzzkaifa/p/7142030.html

JAX-RS Multipart with com.sun.jersey

假装没事ソ 提交于 2020-01-17 07:16:12
问题 I have a REST service hosted inside Karaf, which is working fine with all requests except for multipart requests. I'm using the com.sun.jersey packages, as I have only succeeded in hosting these inside of Karaf to be accessed over HTTP. When I try to receive the HttpServletRequest inside the POST and call the getParts() method on it, I get the error: IllegalStateException: No multipart config for servlet I have found that I am missing the @MultipartConfig annotation on my servlet, so I added

OpenDaylight Oxygen Deploy app built from opendaylight-startup-archetype

落爺英雄遲暮 提交于 2020-01-10 04:28:06
问题 OpenDaylight Oxygen Maven 3.3.9 Ubuntu 16.04 karaf 4 ~/.m2/settings.xml - cp -n ~/.m2/settings.xml{,.orig} ; wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml Process used to create skeleton mvn archetype:generate -DgroupId=org.opendaylight.controller -DartifactId=testing -Dcopyright="None" -DclassPrefix="\${artifactId.substring(0,1).toUpperCase()}\${artifactId.substring(1)}" -DarchetypeGroupId=org.opendaylight.archetypes