Member since
01-25-2020
5
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3153 | 01-27-2020 08:47 AM |
02-20-2020
12:47 AM
The issue was that the ambari was not able to connect to the database which is running on different server. I turned on the debug option in the ambari.properties file but it didnt tell me this. Leave the ambari server running for the night and unfortunately nothing in the logs. Could you please guide me if this can improved in the future and where should I report this? I would love to see something like timeout to database or similar message in the logs. Thanks.
... View more
02-18-2020
04:03 AM
Hello This is new ambari install on a clean box. I tried to increased the time to 240seconds but didnt help also changed the defualt port from 8080 to 9090 but it is still failing Server not yet listening on http port 9090 after 240 seconds. Exiting. I'm using postgres db for ambari on a different server. The postgres is reachable, firewall is not blocking the connection. This is my command during the setup ambari-server setup -v --jdbc-db=postgres --jdbc-driver=/tmp/postgresql-jdbc.jar ambari-server install-mpack --mpack=/tmp/hdf-ambari-mpack-3.3.0.0-165.tar.gz ambari-server setup -s -v --database=postgres --databasehost=$hostname --databaseport=5432 --databasename=$ambari_db --databaseusername=$ambari_user --databasepassword=$ambari_pass --postgresschema=$ambari_schema --java-home=$JAVA_HOME --enable-lzo-under-gpl-license In the ambari-server logs it always stop at 2020-02-18 12:49:43,520 INFO [pool-5-thread-1] AmbariServerConfigurationProvider:98 - JPA initialized event received: JpaInitializedEvent{eventType=JPA_INITIALIZED} 2020-02-18 12:49:43,520 INFO [pool-5-thread-1] AmbariServerConfigurationProvider:122 - Loading ldap-configuration configuration data Based on other server the next line should be INFO [main] StackManager:151 - Initializing the stack manager... but not:( The Selinux status on ambari server # sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: permissive Mode from config file: permissive Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 31 My ambari server version: # ambari-server --version 2.7.3.0-139 Could you please advise what should I check ?
... View more
Labels:
- Labels:
-
Apache Ambari
01-27-2020
08:47 AM
Problem is solved The module directory field was incorrect.
... View more
01-26-2020
09:56 AM
Hello @DennisJaheruddi Thanks for your suggestions. The scripts works in general. Based on the error message I dont think this is problem with rights but I compared the good one with the problematic one. From OS level perspective I'm using nifi user to run the nifi process and the user is the owner /hadoop/nifi which is the working directory for nifi and has all the read/write/execute permission. Did you mean other rights and such? Thanks
... View more
01-25-2020
09:36 AM
Hello, I'm running a groovy script which handles SFTP My Apache NiFi version is 1.5.0.3.1.2.0-7 My script starts with this: import com.jcraft.jsch.* def flowFile = session.get() if(!flowFile) { return } .... When I receive the file to process and move I see them in the queue but also the following is appear in the in the nifi-app.log 2020-01-25 19:00:00,041 ERROR [Timer-Driven Process Thread-8] o.a.nifi.processors.script.ExecuteScript ExecuteScript[id=56c17bab-81ba-313c-9a00-aa82d48c3ea0] ExecuteScript[id=56c17bab-81ba-313c-9a00-aa82d48c3ea0] failed to process due to org.apache.nifi.processor.exception.ProcessException: javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script10025.groovy: 32: unable to resolve class JSch @ line 32, column 6. JSch ssh = new JSch() ^ Script10025.groovy: 32: unable to resolve class JSch @ line 32, column 12. JSch ssh = new JSch() ^ Script10025.groovy: 33: unable to resolve class Session @ line 33, column 9. Session sshSession = ssh.getSession(sftpUser, sftpHost, sftpPort) ^ Script10025.groovy: 35: unable to resolve class Channel @ line 35, column 10. Channel channel The script is using the following bundle org.apache.nifi - nifi-scripting-nar I can find the above bundle here /hadoop/nifi/work/nar/extensions/nifi-standard-nar-1.5.0.3.1.2.0-7.nar-unpacked Could you please suggest what should I check to fix the problem ? Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi