1973
Posts
1225
Kudos Received
124
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1916 | 04-03-2024 06:39 AM | |
| 3015 | 01-12-2024 08:19 AM | |
| 1645 | 12-07-2023 01:49 PM | |
| 2422 | 08-02-2023 07:30 AM | |
| 3367 | 03-29-2023 01:22 PM |
08-11-2017
08:59 PM
kerberos is a tougher, but without kerberos: set configuration: must have access to hadoop files /etc/hadoop/conf/core-site.xml,/etc/hadoop/conf/hdfs-site.xml set a directory
... View more
08-11-2017
06:17 PM
+1 for an OrcRecordSetWriter
... View more
08-11-2017
03:30 PM
It's easiest to run your commands in a shell script. What I do is create a shell script, make sure it has all the permissions you need and set any CLASSPATH, JAVA_HOME and other environment variables. Then I just call it like /opt/mydir/myshell.sh This is 777 and will call my java via java -jar ... Build a jar and run it that way. Or wrap it in a custom processor. https://community.hortonworks.com/articles/73811/trigger-sonicpi-music-via-apache-nifi.html
... View more
08-11-2017
03:26 PM
The files are really small too as seen above and don't seem complete. I have done that conversion before with no issues. I am wondering if this is related to having a bunch of null fields.
... View more
08-11-2017
03:05 PM
java -jar avro-tools-1.8.2.jar getschema test.avro
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" java.io.IOException: Not a data file.
at org.apache.avro.file.DataFileStream.initialize(DataFileStream.java:105)
at org.apache.avro.file.DataFileReader.<init>(DataFileReader.java:97)
at org.apache.avro.tool.DataFileGetSchemaTool.run(DataFileGetSchemaTool.java:47)
at org.apache.avro.tool.Main.run(Main.java:87)
at org.apache.avro.tool.Main.main(Main.java:76) No errors until I try to convert that file to ORC or if I download it and look at it in avro tools. 1 Jungnickel Rd
Ganado���&2017-08-04 15:26:54MovementBFAK@WE�=@�"ƖX�&2017-08-04 15:06:561243142403�TX&2017-08-04 14:15:31
77962%
... View more
Labels:
- Labels:
-
Apache NiFi
08-11-2017
12:27 PM
1 Kudo
1. Make sure NiFi and SAM are the same version HDF 2. Make sure kafka message is converted properly to Avro. 3. Restart Kafka, SAM, NiFi 4. Make sure all the settings are proper.
... View more
08-10-2017
05:45 PM
1 Kudo
If you have a id that increments you can use QueryDatabaseTable. CDC will add Postgresql next, Hana is closed source so that connector will be tougher.
... View more
08-08-2017
02:00 PM
1 Kudo
https://github.com/hortonworks/registry/blob/master/examples/schema-registry/avro/src/main/java/com/hortonworks/registries/schemaregistry/examples/avro/KafkaAvroSerDesApp.java
... View more
08-08-2017
01:41 PM
3 Kudos
Deleting or marking invalid for schemas is a good idea, I have mentioned to the team as I would like to do so as well. I have some I created by mistake.
... View more
08-07-2017
09:56 PM
An exception with message [More than one 'CURRENT' version for topology id: 1] was thrown while processing request. Only 1 application and only one version. Save was slow. Now won't restart. Anything to do but delete?
... View more