Member since
09-08-2017
13
Posts
1
Kudos Received
0
Solutions
06-30-2017
10:57 AM
@Jay SenSharma worked after creating truststore. Thanks a lot.
... View more
06-30-2017
08:33 AM
@Jay SenSharma the error changes after removing ["mail.smtp.ssl.enable":true]. see the screenshot.
ambari-alert2.png
... View more
06-30-2017
01:18 AM
@Jay SenSharma Yes I did. screenshot attachedambari-email.png
... View more
06-30-2017
12:46 AM
have already set mail.smtp.ssl.enable= true
... View more
06-30-2017
12:42 AM
30 Jun 2017 06:03:26,478 ERROR [alert-dispatch-1] EmailDispatcher:172 - Unable to dispatch notification via Email
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2055)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:697)
at javax.mail.Service.connect(Service.java:386)
at javax.mail.Service.connect(Service.java:245)
at javax.mail.Service.connect(Service.java:194)
at javax.mail.Transport.send0(Transport.java:253)
at javax.mail.Transport.send(Transport.java:124)
at org.apache.ambari.server.notifications.dispatchers.EmailDispatcher.dispatch(EmailDispatcher.java:160)
at org.apache.ambari.server.notifications.DispatchRunnable.run(DispatchRunnable.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
at sun.security.ssl.InputRecord.read(InputRecord.java:527)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:543)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:348)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:236)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2019)
... View more
Labels:
- Labels:
-
Apache Ambari
05-12-2017
10:45 AM
1 Kudo
It depends on the no. of mappers. suppose if you are importing files from mysql to hive, then the command would be- sqoop import --connect jdbc:mysql://ipaddress/databasename --username abc --password abc --table tablename --driver com.mysql.jdbc.Driver --hive-table hivetablename --hive-import -m 1
here -m (parameter), which defines no. of mappers, will define the number of files to be created. in my example I have mentioned -m 1, so only one file will get created after importing.
... View more
04-15-2017
09:32 PM
Ambari API worked for me. Thanks for the help.
... View more
04-15-2017
09:14 PM
Hello Jay. where is these tabs you mentioned: Sqoop" --> "Service Actions" --> "Delete Service.
... View more
04-14-2017
11:16 PM
Labels:
- Labels:
-
Apache Ambari
-
Apache Sqoop