AMBARI-17941 : changed error message to debug as these errors can be ignored while upgrade (nitirajrathore)
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
index 5495655..d0f8aa8 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
@@ -524,7 +524,8 @@
LOG.info("executing insert resulted in {} row changes.", rowsChanged);
} catch (Exception e) { // when the entity table is not yet created or other exception.
entityManager.getTransaction().rollback();
- LOG.error("Error --> can be ignored.", e);
+ LOG.info("Error (can be ignored) {}", e.getMessage());
+ LOG.debug("Exception occured while updating : {}",viewEntity.getViewName() + viewEntity.getViewInstance(), e);
}
}
}