You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/11/17 09:16:00 UTC
[jira] [Reopened] (AMBARI-22318) repositoryFile entity populating
for wrong repository for RU
[ https://issues.apache.org/jira/browse/AMBARI-22318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doroszlai, Attila reopened AMBARI-22318:
----------------------------------------
Hi [~dgrinenko], can you please remove unused imports?
{noformat}
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @ ambari-server ---
[INFO] Starting audit...
[ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java:46:8: Unused import - org.apache.ambari.server.controller.spi.SystemException. [UnusedImports]
[ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java:48:8: Unused import - org.apache.ambari.server.orm.entities.OperatingSystemEntity. [UnusedImports]
[ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java:49:8: Unused import - org.apache.ambari.server.orm.entities.RepositoryVersionEntity. [UnusedImports]
[ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java:92:8: Unused import - org.apache.ambari.server.agent.CommandRepository. [UnusedImports]
Audit done.
{noformat}
> repositoryFile entity populating for wrong repository for RU
> --------------------------------------------------------------
>
> Key: AMBARI-22318
> URL: https://issues.apache.org/jira/browse/AMBARI-22318
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.6.1
> Reporter: Dmytro Grinenko
> Assignee: Dmytro Grinenko
> Priority: Critical
> Fix For: 2.6.1
>
> Attachments: AMBARI-22318-trunk.patch, AMBARI-22318.patch, AMBARI-22318.v1.patch, AMBARI-22318.v2.preview.patch
>
>
> In populating repositoryFile entity we relating to desired stack version, what i correct for RU, as desired state switched there exactly at upgrade creation time, while for RU we doing it later.
> Due to entity populating far ahead of real upgrade, for RU it populated for source repository version instead of target.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)