ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas" <>
Subject Re: Review Request 29167: Session attributes should be set before performing cluster update operations
Date Wed, 17 Dec 2014 19:12:54 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Dec. 17, 2014, 2:12 p.m.)

Review request for Ambari, John Speidel, Nate Cole, Robert Nettleton, and Tom Beerbower.

Bugs: AMBARI-8756

Repository: ambari


When setting the Cluster session attributes, they should be set before performing the update
operations since the attributes may be needed during the process.

Soltions sets session attributes before updating the cluster by using the `cluster ID` from
the `request` to get relevant `cluster` rather than rely on the `cluster name`; since the
name could be changing per the request data.




Testing (updated)

Updated org.apache.ambari.server.controller.AmbariManagementControllerImplTest to mock changed
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.945 sec

Full test suite failed to complete due to external issues with Jenkins - 

Build timed out (after 60 minutes). Marking the build as aborted.
Build was aborted
Archiving artifacts
Sending artifact delta relative to Ambari-trunk-test-patch #971
ERROR: Failed to archive {patch-work/trunkJavacWarnings.txt=patch-work/trunkJavacWarnings.txt,
patch-work/filteredPatchJavacWarnings.txt=patch-work/filteredPatchJavacWarnings.txt, patch-work/filteredTrunkJavacWarnings.txt=patch-work/filteredTrunkJavacWarnings.txt,
patch-work/testrun_ambari-server.txt=patch-work/testrun_ambari-server.txt, patch-work/trunkCompile.txt=patch-work/trunkCompile.txt,
patch-work/patchReleaseAuditWarnings.txt=patch-work/patchReleaseAuditWarnings.txt, patch-work/patchJavacWarnings.txt=patch-work/patchJavacWarnings.txt,
patch-work/patchReleaseAuditOutput.txt=patch-work/patchReleaseAuditOutput.txt} due to internal
error; falling back to full archiving
java.lang.IllegalStateException: checksum mismatch after transfer (6577874794637500461 vs.
744587978); /x1/jenkins/jenkins-home/jobs/Ambari-trunk-test-patch/builds/2014-12-17_17-03-16/archive/patch-work/testrun_ambari-server.txt
may be corrupted
	at com.cloudbees.jenkins.plugins.jsync.archiver.JSyncArtifactManager.remoteSync(
	at com.cloudbees.jenkins.plugins.jsync.archiver.JSyncArtifactManager.archive(
	at hudson.tasks.ArtifactArchiver.perform(
	at hudson.tasks.BuildStepMonitor$1.perform(
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(
	at hudson.model.Build$BuildExecution.post2(
	at hudson.model.AbstractBuild$
	at hudson.model.Run.execute(
	at hudson.model.ResourceController.execute(
Finished: ABORTED

# Local Results
Running org.apache.ambari.server.controller.AmbariManagementControllerImplTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.569 sec

Tests run: 2433, Failures: 0, Errors: 0, Skipped: 13


Robert Levas

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message