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

Sumit Mohanty commented on AMBARI-20109:
----------------------------------------

Can you run unit tests with the patch - it fails
{code}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Running org.apache.ambari.server.state.stack.UpgradePackParsingTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.627 sec <<< 
FAILURE! - in org.apache.ambari.server.state.stack.UpgradePackParsingTest
findAndValidateUpgradePacks(org.apache.ambari.server.state.stack.UpgradePackParsingTest)
  Time elapsed: 1.626 sec  <<< ERROR!
javax.xml.bind.UnmarshalException
        at 
org.apache.ambari.server.state.stack.UpgradePackParsingTest.findAndValidateUpgradePacks(UpgradePackParsingTest.java:86)
Caused by: java.lang.reflect.InvocationTargetException
        at 
org.apache.ambari.server.state.stack.UpgradePackParsingTest.findAndValidateUpgradePacks(UpgradePackParsingTest.java:86)
Caused by: java.lang.RuntimeException: Upgrade pack must contain pre-downgrade 
elements if pre-upgrade exists for processing component YARN/NODEMANAGER
        at 
org.apache.ambari.server.state.stack.UpgradePackParsingTest.findAndValidateUpgradePacks(UpgradePackParsingTest.java:86)


Results :

Tests in error:
  UpgradePackParsingTest.findAndValidateUpgradePacks:86 ยป Unmarshal

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
{code}

mvn clean install -pl 
utility,ambari-views,ambari-metrics/ambari-metrics-common,ambari-server 
-Dfindbugs.skip -Dtest=UpgradePackParsingTest -DfailIfNoTests=false

Also, it looks like the following chunk
{code}
    <component name="NODEMANAGER">
      <changes>
        <definition xsi:type="configure" 
id="hdp_2_6_0_0_enable_mapreduce_shuffle_connection_keepalive">
          <type>mapred-site</type>
          <set key="mapreduce.shuffle.connection-keep-alive.enable" 
value="true"/>
        </definition>
      </changes>
    </component>
{code}

is inside the service section for *OOZIE*. It should be in *YARN*.

You can include [~nc...@hortonworks.com] and [~jonathan.hurley] to review the 
upgrade changes.

> HDP stack - enable shuffle connection keep-alive
> ------------------------------------------------
>
>                 Key: AMBARI-20109
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20109
>             Project: Ambari
>          Issue Type: Task
>          Components: stacks
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20109.01.patch
>
>




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

Reply via email to