Clint Shumack created AMBARI-13480:
--------------------------------------

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


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?




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

Reply via email to