Created on 08-15-2016 06:48 AM - edited 08-18-2019 03:20 AM
I have a problem, somebody can help me?
My softwares are Sqoop-1.99.6 HDP-2.4.0.0-169
I used sqoop to start a job,i got a problem like this:
Who can help me,please!
Thank you !
Created 08-18-2016 01:31 PM
@da li Sorry, I didn't look at your original post carefully. It seems that you are using Sqoop 2 on HDP 2.4. HDP 2.4 is only currently support Sqoop 1.4.6. Install Sqoop 2 on HDP 2.4 obviously cause some incompatible issue there. Did you install it yourself?
Created on 08-15-2016 07:30 AM - edited 08-18-2019 03:20 AM
and i found this
which is mean that in the directory"/hdp/apps/${hdp.version}/mapreduce/", No "mapreduce.tar.gz" package
Created on 08-15-2016 07:54 AM - edited 08-18-2019 03:20 AM
the flowing is the property in my mapred-site.xml
Created 08-15-2016 08:42 PM
@da li /hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz should be a file in your HDFS system, you can use hdfs dfs -ls /hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz to check whether it is there. In the meantime, make sure your hdp.version has been setup accordingly with your file location.
Created on 08-16-2016 02:18 AM - edited 08-18-2019 03:20 AM
Hey,my X.tar.gz in here
so,I modify "/usr/hdp/2.4.0.0-169/hadoop/conf/mapred-site.xml" like this
When I restart the HDP, it doesn't work,and the value of XXX.framework.path return to "<value>/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework</value>"again.
Can you tell which file should i to modify?
Created 08-16-2016 11:56 PM
You may check on the linux command, to see whether ${hdp.version} does match your HDP version 2.4.0.0-169. If they match, then no need to change the value.
To change the value, you better to change it in the Ambari, and then make it effect.
Created on 08-18-2016 09:56 AM - edited 08-18-2019 03:19 AM
hey,thaks Frank Lu.
I have checked the version of hdp on the linux command,and it match my HDP version 2.4.0.0-169
so I Re- start the sqoop job,but it‘s still throws same error
I have no idea, can you help me fix it pelease.
Created 08-18-2016 01:31 PM
@da li Sorry, I didn't look at your original post carefully. It seems that you are using Sqoop 2 on HDP 2.4. HDP 2.4 is only currently support Sqoop 1.4.6. Install Sqoop 2 on HDP 2.4 obviously cause some incompatible issue there. Did you install it yourself?
Created on 08-19-2016 01:10 AM - edited 08-18-2019 03:19 AM
Yes,I installed Sqoop-2 myself.
Thank you very very much!