Created on 06-05-2019 12:49 PM - edited 09-16-2022 07:25 AM
i am using aws ec2 and the version of java is showing 1.8 .Now as root user when i am trying to ingest data using sqoop 1 from aws rds to hadoop using the following command:
sqoop import --connect jdbc:mysql://upgradawsrds.cpclxrkdvwmz.us-east-1.rds.amazonaws.com/cred_financials_data --username upgraduser --password upgraduser --table member_score --delete-target-dir --target-dir 'capstone/member_score'
I am getting error:
19/06/05 19:00:06 INFO mapreduce.Job: map 0% reduce 0%
19/06/05 19:00:13 INFO mapreduce.Job: Task Id : attempt_1559760115285_0002_m_000000_0, Status : FAILED
Error: member_score : Unsupported major.minor version 52.0
19/06/05 19:00:14 INFO mapreduce.Job: Task Id : attempt_1559760115285_0002_m_000001_0, Status : FAILED
Error: member_score : Unsupported major.minor version 52.0
19/06/05 19:00:14 INFO mapreduce.Job: Task Id : attempt_1559760115285_0002_m_000002_0, Status : FAILED
Error: member_score : Unsupported major.minor version 52.0
kindly suggest the solution.
Created 06-05-2019 06:27 PM
Created 06-05-2019 11:13 PM
Thanks Harsh
Can you please tell me the steps to update the JDK / Explicitly specify the JDK on all cluster hosts to use JDK8 and restart the cluster.
Created 06-06-2019 06:52 PM