Our goal would be no editing of pom files from the source, no changes, no custom branches etc.
Apparently maven has a facility called "classifiers" that will build jars of the form <jar-name>.<version>.classifier.jar e.g. if the hadoop version is 1.0.3 then the camus-api jar would be camus-api-0.1.0-SNAPSHOT-1.0.3.jar
ideally to build this jar you would run: mvn package -Dhadoop.version=1.0.3
However, we've run into a couple of issues with maven and we're looking for some help.
1. maven-shade-plugin does not understand classifiers. This is ok, as the code that camus-example represents would not normally be a sub-project of camus.
2. Setting a parent-pom property, hadoop.version, with a default value does not seem to propagate to the other sub-modules correctly in the transitive dependencies when overridden on the command line.
3. (related to 2) When referencing the property ${hadoop.version} in the dependency section, at install/deploy time the property is not resolved, and library users must supply a value for the property.
I have a branch with the start of this work: https://github.com/RallySoftware/camus/tree/maven-classifiers-for-hadoop-versions
See this commit: https://github.com/RallySoftware/camus/commit/edcf77d702a7c6e99b5ee15bb822a39670c18a5b
Anyone had experience with this problem? Any way to solve for the hadoop version problem?
Thanks
-Bob
--
You received this message because you are subscribed to the Google Groups "Camus - Kafka ETL for Hadoop" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camus_etl+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I have configured HDFS on my Ubuntu cluster . Now when I try to implement a Map/Reduce program in it, it is not running because the NameNode automatically becomes inactive in a few seconds. I tried searching many things but could not get any useful information for the same. Please help me in this regard.
Regards,
Sagar Thacker
09909039080
it helped a lot.
now my topic is omitted because i need a decoder, the dummy one which comes in default camus.properties seems not working.
is there any example decoder for strings generated by de kafka console producer sample script?
in order to compile i needed to change wrapper.put() for wrapper.getRecord().put(), maybe because i'm using hadoop2.
but i'm still gettting
ERROR mapred.EtlInputFormat: We could not construct decoders for the following topics, so they will be discarded: [test]
i have configured this class in camus.message.decoder.class property
but i think it is ignored, cause a i can write whatever as a value and it is not verified
am i missing anything else?
it seems like the decoder were not valid, cause i get exception
Caused by: java.lang.ClassCastException: [B cannot be cast to kafka.message.Message
at com.linkedin.camus.example.StringDecoder.decode(StringDecoder.java:19)
the mapreduce camusjob gets finished but no data is written in path
any help?
thanks
i saw that the default kafkaAvroMessageDecoder in branch camus-kafa-0.8 was working with old kafka 0.7 format message (with 5 bytes message header instead of 14 or 18 bytes (depends on using key) from kafka 0.8 message header
i started a branch here https://github.com/franciscoisaac/camus/tree/0.8-hadoop2 , now only working with kafka 0.8 messages with 0 key lenght (ignoring 14 leading bytes) and with the StringDecoder.
Next will be parsing a key value for choosing the matching schema from a registry.
--
You received this message because you are subscribed to a topic in the Google Groups "Camus - Kafka ETL for Hadoop" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camus_etl/fE08mlDeqqk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camus_etl+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to camus_etl+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Camus - Kafka ETL for Hadoop" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camus_etl/fE08mlDeqqk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camus_etl+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Camus - Kafka ETL for Hadoop" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camus_etl/fE08mlDeqqk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camus_etl+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.