Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

FAILURE_ON_SUBMIT Exception: java.lang.IllegalArgumentException: Unable to parse '/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework' as a URI

avatar
Contributor

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:

6651-de6y875ssknnv3.png

Who can help me,please!

Thank you !


de6y875ssknnv3.png
1 ACCEPTED SOLUTION

avatar
Expert Contributor

@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?

View solution in original post

8 REPLIES 8

avatar
Contributor

and i found this

6652-qq图片20160815152616.png

which is mean that in the directory"/hdp/apps/${hdp.version}/mapreduce/", No "mapreduce.tar.gz" package

avatar
Contributor

the flowing is the property in my mapred-site.xml

6653-qq图片20160815155153.png

avatar
Expert Contributor

@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.

avatar
Contributor

Hey,my X.tar.gz in here

6659-qq图片20160816093440.png

so,I modify "/usr/hdp/2.4.0.0-169/hadoop/conf/mapred-site.xml" like this

6660-qq图片20160816095858.png

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?

avatar
Expert Contributor

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.

avatar
Contributor

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

6740-qq图片20160818174700.png

so I Re- start the sqoop job,but it‘s still throws same error

6738-qq图片20160818175108.png

I have no idea, can you help me fix it pelease.


qq图片20160818174700.png

avatar
Expert Contributor

@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?

avatar
Contributor

Yes,I installed Sqoop-2 myself.

Thank you very very much!

6797-qq图片20160819090828.png


qq图片20160819090828.png