Member since
05-06-2019
6
Posts
0
Kudos Received
0
Solutions
07-03-2019
10:00 AM
> describe conviva_raw; Error: Error while compiling statement: FAILED: SemanticException null (state=42000,code=40000) > select * from conviva_raw; Error: Error while compiling statement: FAILED: NullPointerException null (state=42000,code=40000)
... View more
Labels:
06-17-2019
11:09 AM
@BVS REDDY You can get Ambari Server certificate by running the following kind of command and write them down to /etc/ambari-server/conf/ambari_certificate.cr: # echo | openssl s_client -showcerts -connect xxxxxxxxxx:8443 2>&1 | sed --quiet '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/ambari-server/conf/ambari_certificate.cr . Please replace the "xxxxxxxxxx" with your Ambari Server hostname.
... View more
05-07-2019
01:03 PM
@BVS REDDY NiFi does not produce the alert message you are showing above. Where did you see this alert displayed? All NiFi's logging is controlled by the logback.xml file found in NiFi's conf directory. There are three default logs that NiFi creates and writes log entries. nifi-bootstrap.log <-- Should be relatively small by default and log info related to NiFi bootstrap process. nifi-user.log <-- Only used when NiFi has been secured. This log contains logging about user/client authentication and authorizations requests. nifi-app.log . <-- These logs can become very large depending on a couple factors. The number of components (processors, controller services, reporting tasks, etc.) added to NiFi canvas. The volume of FlowFiles passing through components. By default the log level is set to "INFO" in older NiFi releases which results in above mention potentially large output. The newest version of added a new logger to the logback to set processor specific logging to "WARN" log level. NiFi I would suggest editing your default NiFi logback.xml as follows: Within the "appender" for the nifi-app.log add a ".gz" to the ned of the "fileNamePattern" line so that rolled logs are compressed to reduce disk usage. Check for existence of this logger "<logger name="org.apache.nifi.processors" level="WARN"/>" If it exists, make sure it is still set to "WARN" If it does not exist, add it. Tail your nifi-app.log file (tail -F <path to NiFi logs>/logs/nifi-app.log) and see if your NiFi flows are producing a lot of WARN or ERROR level log outputs. If so, address those ERRORs and WARNs to reduce amount of logging that is occurring. Thank you, Matt If you found this answer addressed your question, please take a moment to login in and click the "ACCEPT" link.
... View more
05-06-2019
10:25 PM
1 Kudo
Increase the amount of direct memory you configure for the JVM by setting -XX:MaxDirectMemorySize=... If you are not using direct memory via the HBase BlockCache or something else completely, 1-2GB should be sufficient. Fun fact: The service you're referring to is not a "Regional Server", it is "RegionServer". It is a server that hosts "region".
... View more