Problem with Mahout Text Classifier following Apache Mahout Cookbook examples
Hi, I am following the Apache Mahout Cookbook tutorials and I tried to run a classifier on 20newsGroup.I managed to convert the files in SF then run the TF-IDF algorithm, and split the Data into...
View ArticleReply from camel Route inOnly ?
I would like to have the reply from direct:channel2 back to the client. And thought that inOnly means only request not reply. But when a client calls this route, the reply is the String i generate in...
View ArticlePollingConsumer receive timout bug?
Hi all, I have this piece of code: I want to use receiveNoWait() polling method on PollingConsumer but polling does not return null immediately. Method waits a delay time and after that returns null....
View ArticleSwitching from master-slave to netowork of brokers
Hi, I am currently using master-slave broker topology in which I run two broker: one as master and other as slave. I am switching to 'network of brokers' to handle load and make the setup more...
View ArticleLibrary usage improvement suggestions
Hi. I have just completed a considerable Camel project and want to feedback some of my experiences to the developer team. Please note that I am an experienced developer with many years of Java...
View ArticleCXF and version of Spring
Hi Recently released version of CXF (2.6.15) depends on Spring 3.0.7.RELEASE. Spring 3.0.7.RELEASE is affected by following vulnerabilities: CVE-2014-0225, CVE-2014-1904. Is also CXF affected? Or CXF...
View ArticleDifficulties adding a custom job (analyzer) to Hadoop
All, I'm having a tough time adding a custom analyzer to Hadoop and making use of it through Mahout. I've pruned down the Mahout in Action examples to a sole example which is a customized Mahout 0.9...
View ArticleMultipart message without using CXF specific code
Hi, I am trying to convert a project that used Wink to CXF. It all works great but I had a problem with a file upload form that was using Wink specific classes to handle multipart form data. I can make...
View Articleerror recovery in multiple thread reading from Kafka with HighLevel api
Folks, I have a process started at specific time and read from a specific topic. I am currently using the High Level API(consumer group) to read from kafka(and will stop once there is nothing in the...
View ArticleDeadlock with ActiveMQ 5.6
Hi, I'm been having random problems with my ActiveMQ for a while now. I have this architecture: Producers with embedded broker ---> network of non-persistent brokers ---> consumers I'm using...
View ArticleJava SSL dependency issue
I have two branches of code. One compiles without a hitch, the other complains about this: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on...
View ArticleOverriding Properties
Hello all, In my Camel app, I recently integrated Spring Boot to use its external configuration feature. Basically, I can put default properties in an src/main/resources/application.properties file....
View ArticleDiscovering/updating component file versions in maven dependencies
I'm a new Maven user, using it almost completely through Eclipse. I've installed Nexus as a repository manager. It all works. 1. Suppose I set up a dependency today, say on "needed-component". I have...
View ArticlePreventing a route from kicking in without having to shut down camel
How do you prevent a single route from kicking in without having to shut down camel or impacting other in-flight routes?
View Articleproblems with camel-example-cxf-proxy example of CLAUSIBSEN
I run the example successfully with mvn camel: run, doubt is that I want to create my own project to deploy proxy in fuse container. the example of claus has the following dependencies ( seems to me...
View ArticleErrors when loading basekb dumps into TDB
Hi Andy, Basekb dumps come from freebase dump and their data format is N-Triples RDF. So for each basekb dump, it is uncompressed, attached a extension '.nt' and then loaded into TDB. But the tdbloader...
View ArticleSummary report showing negative Min value
Hi, I am using JMeter 2.11 with Windows. When started a non-GUI test I was surprised that summary report showed negative value for Min. My test script is quite simple. -start 100 threads with some...
View Article3 Routes how to get the second routes reply back to the client ?
I have this 3 routes, now the input from channel3 gets back to the client i want the channel2 reply back to the client, any ideas out there ? from("cxf:bean:hubws?dataFormat=MESSAGE").streamCaching()...
View ArticleDeprecated code for Text NaiveBayesClassifier in Mahout
Hi, I am currently working on P. Giacomelli's great Mahout Cookbook and I am stuck with a problem of deprecated code. I am building the Text NaiveBayesClassifier using the code and It is written: final...
View Articlehow to parse freebase triples?
I want to play with freebase data. on the dump webpage, it says it's n-triples format. but in this so question:...
View Article