[ 
https://issues.apache.org/jira/browse/AMBARI-19702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848563#comment-15848563
 ] 

Jonathan Hurley commented on AMBARI-19702:
------------------------------------------

I just saw the review for this and I believe the code is incorrect. You wanted 
to change a value inside of pig-properties/content:

{code}
# exectype local|mapreduce|tez, mapreduce is default
exectype=mapreduce
{code}

However, the upgrade work you did specifies:
{code}
    <service name="PIG">
      <component name="PIG">
        <changes>
          <definition xsi:type="configure" id="hdp_2_6_0_0_pig_use_tez">
            <type>pig-properties</type>
            <replace key="exectype" find="exectype=mapreduce" 
replace-with="exectype=tez" />
          </definition>
        </changes>
      </component>
    </service>
{code}

The key is not {{exectype}} ... the key would need to be {{content}} since this 
is a part of {{pig-properties/content}} ...

> Switch Pig default engine to tez in HDP 2.6
> -------------------------------------------
>
>                 Key: AMBARI-19702
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19702
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19702.1.patch, AMBARI-19702.2.patch, 
> AMBARI-19702.3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to