ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15006) Ambari Server Upgrade adds unneeded Atlas properties even though Atlas is not needed, causing forced Hive restart
Date Mon, 22 Feb 2016 12:33:18 GMT

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

Andrew Onischuk commented on AMBARI-15006:
------------------------------------------

Cannot apply the patch
{noformat}
patching file ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java
Hunk #3 FAILED at 129.
Hunk #4 succeeded at 299 (offset 5 lines).
1 out of 4 hunks FAILED -- saving rejects to file ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java.rej
patching file ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
patching file ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/hive-site.xml
patching file ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 33.
Hunk #3 FAILED at 40.
Hunk #4 succeeded at 20 with fuzz 2 (offset -29 lines).
Hunk #5 FAILED at 103.
Hunk #6 FAILED at 110.
Hunk #7 succeeded at 131 with fuzz 2 (offset 11 lines).
Hunk #8 succeeded at 142 (offset 11 lines).
5 out of 8 hunks FAILED -- saving rejects to file ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java.rej
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java
b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java
|index 88b3151..697125f 100644
|--- a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java
|+++ b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 92
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
|index 4087c72..c63c289 100644
|--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
|+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 104
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/hive-site.xml
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/hive-site.xml
|index a611386..de2813c 100644
|--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/hive-site.xml
|+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/hive-site.xml
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 124
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
|index 6061e06..aee036c 100644
|--- a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
|+++ b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
8 out of 8 hunks ignored
{noformat}

> Ambari Server Upgrade adds unneeded Atlas properties even though Atlas is not needed,
causing forced Hive restart
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-15006
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15006
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.2
>            Reporter: Yusaku Sako
>            Assignee: Andrew Onischuk
>            Priority: Critical
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15006.patch
>
>
> Upgrading Ambari Server from 2.1.2.1 to 2.2.1 caused unnecessary addition of the following
config properties in hive-site.xml and forced Hive to be restarted:
> atlas.cluster.name: primary
> atlas.hook.hive.maxThreads: 1
> atlas.hook.hive.minThreads: 1
> atlas.rest.address: http://localhost:21000
> The cluster does not have Atlas installed.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message