You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Clint Shumack (JIRA)" <ji...@apache.org> on 2015/10/20 05:03:27 UTC

[jira] [Updated] (AMBARI-13480) Unable to parse ${hdp.version}

     [ https://issues.apache.org/jira/browse/AMBARI-13480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clint Shumack updated AMBARI-13480:
-----------------------------------
    Description: 
I am attempting to run a hadoop job with Tessera.io. It works on my cloudera hadoop cluster, but I'm get this same error on both Centos 6 HDP 2.2 and Centos 7 HDP 2.3, both with Ambari 2.1.2:

{code}
java.lang.IllegalArgumentException: Unable to parse '/hdp/apps/$\{hdp.version\}/mapreduce/mapreduce.tar.gz#mr-framework' as a URI, check the setting for mapreduce.application.framework.path
	at org.apache.hadoop.mapreduce.JobSubmitter.addMRFrameworkToDistributedCache(JobSubmitter.java:443)
Caused by: java.net.URISyntaxException: Illegal character in path at index 11: /hdp/apps/$\{hdp.version\}/mapreduce/mapreduce.tar.gz#mr-framework
{code}

I found some advice on google to edit my mapred-site.xml and replace every instance of ${hdp.version} with the version string. That works! So is this a bug in the Ambari installation process, or am I doing something wrong?


  was:
I am attempting to run a hadoop job with Tessera.io. It works on my cloudera hadoop cluster, but I'm get this same error on both Centos 6 HDP 2.2 and Centos 7 HDP 2.3, both with Ambari 2.1.2:

java.lang.IllegalArgumentException: Unable to parse '/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework' as a URI, check the setting for mapreduce.application.framework.path
	at org.apache.hadoop.mapreduce.JobSubmitter.addMRFrameworkToDistributedCache(JobSubmitter.java:443)
Caused by: java.net.URISyntaxException: Illegal character in path at index 11: /hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework

I found some advice on google to edit my mapred-site.xml and replace every instance of ${hdp.version} with the version string. That works! So is this a bug in the Ambari installation process, or am I doing something wrong?



> Unable to parse ${hdp.version}
> ------------------------------
>
>                 Key: AMBARI-13480
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13480
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>         Environment: CentOS 6 64-bit and CentOS 7 64-bit
>            Reporter: Clint Shumack
>              Labels: newbie
>
> I am attempting to run a hadoop job with Tessera.io. It works on my cloudera hadoop cluster, but I'm get this same error on both Centos 6 HDP 2.2 and Centos 7 HDP 2.3, both with Ambari 2.1.2:
> {code}
> java.lang.IllegalArgumentException: Unable to parse '/hdp/apps/$\{hdp.version\}/mapreduce/mapreduce.tar.gz#mr-framework' as a URI, check the setting for mapreduce.application.framework.path
> 	at org.apache.hadoop.mapreduce.JobSubmitter.addMRFrameworkToDistributedCache(JobSubmitter.java:443)
> Caused by: java.net.URISyntaxException: Illegal character in path at index 11: /hdp/apps/$\{hdp.version\}/mapreduce/mapreduce.tar.gz#mr-framework
> {code}
> I found some advice on google to edit my mapred-site.xml and replace every instance of ${hdp.version} with the version string. That works! So is this a bug in the Ambari installation process, or am I doing something wrong?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)