Member since
06-26-2015
515
Posts
140
Kudos Received
114
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2581 | 09-20-2022 03:33 PM | |
| 6974 | 09-19-2022 04:47 PM | |
| 3680 | 09-11-2022 05:01 PM | |
| 4291 | 09-06-2022 02:23 PM | |
| 6800 | 09-06-2022 04:30 AM |
03-01-2022
07:00 PM
Hi, @templarian , Instead of changing the root log level, you can modify it for a single class or package using the following entry (one for each class/package): <logger name="com.sun.mail.smtp" level="DEBUG" additivity="false">
<appender-ref ref="APP_FILE"/>
</logger> Also note that if your configuration file has configuration scan enabled with the following, NiFi will scan the logback.xml file at the specified interval and if there are changes to it it will reload the configuration without the need for a restart: # beggining of file
<configuration scan="true" scanPeriod="30 seconds">
...
</configuration>
# end of file Cheers, André
... View more
03-01-2022
06:49 PM
@CookieCream , Which Java version to you have in your machine? Could you please run the following command and provide the output? java -version Cheers, André
... View more
03-01-2022
03:32 AM
The number of columns in the schema doesn't actually need to be exact if you're happy to ignore the ones after the last one specified in the schema.
... View more
03-01-2022
02:58 AM
Hi, @sachin_32 , I guess this is coming as a CSV file, right? You can achieve what you want with the following approach: Configure your CSV Reader to ignore and skip the header line (if any) Configure your CSV Read to use the following schema: {
"type": "record",
"name": "SensorReading",
"namespace": "com.cloudera.example",
"doc": "This is a sample sensor reading",
"fields": [
{ "name": "c1", "type": "string" },
{ "name": "c2", "type": "string" },
{ "name": "c3", "type": "string" }
]
} Ensure you use a schema with the exact number of columns that your input file has. In your QueryRecord you can then refer to the columns as c1, c2, etc...: select c1, c2, c3
from flowfile Cheers, André
... View more
02-28-2022
11:20 PM
Hi @Elsaa , It's possible to do something similar by setting "Dot Rename = true" in the SFTP processor. If that's set, while your file is being uploaded NiFi will create the file with a dot prefix(e.g. .filename1.xml) and when the upload finishes it will rename the file to its original name. Cheers, André
... View more
02-28-2022
04:21 PM
@yagoaparecidoti Are you able to access Cloudera Manager from your browser? André
... View more
02-28-2022
03:50 PM
@yagoaparecidoti , Could explain which steps you took to generate your server.jks file? André
... View more
02-28-2022
01:51 AM
You should always use the fully qualified hostnames, instead of IP addresses. Although it's longer, it can prevent problems. If your cluster is using TLS, for example, the full hostnames are required. I imagine these logs that you shared are client logs, right? Can you check the Tablet Server logs and see if there are errors in them? Those would help understand the issue. André
... View more
02-28-2022
01:46 AM
1 Kudo
@CookieCream , What do you mean by "made the http post empty"? I would suggest that you remove your NiFi directory and restart from scratch following these instructions: https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#downloading-and-installing-nifi If you follow the exact instructions the installation should work without problems. Cheers, André
... View more
02-27-2022
03:21 PM
Hi @mehmetersoy , You can open a ticket with support and associate it with CDP. We can check if there are any Samba dependencies required for CDP and advise if the CVE applies to it or not. Cheers, André
... View more