ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clint Shumack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-13480) Unable to parse ${hdp.version}
Date Tue, 20 Oct 2015 03:03:27 GMT

     [ 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:

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



> 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)

Mime
View raw message