[jira] [Resolved] (AMBARI-22679) RU: Service action failed with NullPointer on Downgrade after RU

2017-12-23 Thread Doroszlai, Attila (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-22679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doroszlai, Attila resolved AMBARI-22679.

Resolution: Fixed

[~dgrinenko], thank you for the fix.  Committed to 
[trunk|http://git-wip-us.apache.org/repos/asf/ambari/commit/f6ee120e4f].

> RU: Service action failed with NullPointer on Downgrade after RU
> 
>
> Key: AMBARI-22679
> URL: https://issues.apache.org/jira/browse/AMBARI-22679
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-sever
>Affects Versions: trunk, 2.6.2
>Reporter: Dmytro Grinenko
>Assignee: Dmytro Grinenko
>Priority: Critical
> Fix For: trunk, 2.6.2
>
> Attachments: AMBARI-22679-trunk-fix.patch, 
> AMBARI-22679.branch-2.6.patch, AMBARI-22679.trunk.patch
>
>
> STR:
> - Install Ambari 
> - Deploy HDP 2.5 with HDFS HA, YARN, MR, ZK
> - Install HDP 2.6 stack
> - Upgrade stack, on finalization initiate downgrade.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22689) Restart agent command sent by server

2017-12-23 Thread Doroszlai, Attila (JIRA)

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

Doroszlai, Attila commented on AMBARI-22689:


[~luxianghao],

Hadoop QA first tries to compile Ambari without the patch, and "Top-level trunk 
compilation may be broken" means that this step failed.  So no worries, the 
problem is not with your change.

Please create a review request on [Reviewboard|https://reviews.apache.org], add 
"Group: Ambari" and "People: aonishuk, echekanskiy, jhurley", and set "Bug: 
AMBARI-22689".  Please also link to the request here in Jira.  Thanks.

> Restart agent command sent by server
> 
>
> Key: AMBARI-22689
> URL: https://issues.apache.org/jira/browse/AMBARI-22689
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-agent
>Affects Versions: trunk
>Reporter: Xianghao Lu
>  Labels: patch
> Attachments: AMBARI-22689.patch
>
>
> When ambari agent get a heartbeat response from ambari server, agent will 
> convert the string data to JSON object, and, response['restartAgent'] will be 
> a bool value not string.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22679) RU: Service action failed with NullPointer on Downgrade after RU

2017-12-23 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-22679:
-

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8554 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8554/])
AMBARI-22679. RU: Service action failed with NullPointer on Downgrade 
(adoroszlai: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f6ee120e4f9a6b56502fef2676719fb56c143673])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java


> RU: Service action failed with NullPointer on Downgrade after RU
> 
>
> Key: AMBARI-22679
> URL: https://issues.apache.org/jira/browse/AMBARI-22679
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-sever
>Affects Versions: trunk, 2.6.2
>Reporter: Dmytro Grinenko
>Assignee: Dmytro Grinenko
>Priority: Critical
> Fix For: trunk, 2.6.2
>
> Attachments: AMBARI-22679-trunk-fix.patch, 
> AMBARI-22679.branch-2.6.patch, AMBARI-22679.trunk.patch
>
>
> STR:
> - Install Ambari 
> - Deploy HDP 2.5 with HDFS HA, YARN, MR, ZK
> - Install HDP 2.6 stack
> - Upgrade stack, on finalization initiate downgrade.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22679) RU: Service action failed with NullPointer on Downgrade after RU

2017-12-23 Thread Doroszlai, Attila (JIRA)

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

Doroszlai, Attila commented on AMBARI-22679:


Committed checkstyle fix (remove unused import) to 
[trunk|http://git-wip-us.apache.org/repos/asf/ambari/commit/cfed3fb9d6].

> RU: Service action failed with NullPointer on Downgrade after RU
> 
>
> Key: AMBARI-22679
> URL: https://issues.apache.org/jira/browse/AMBARI-22679
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-sever
>Affects Versions: trunk, 2.6.2
>Reporter: Dmytro Grinenko
>Assignee: Dmytro Grinenko
>Priority: Critical
> Fix For: trunk, 2.6.2
>
> Attachments: AMBARI-22679-trunk-fix.patch, 
> AMBARI-22679.branch-2.6.patch, AMBARI-22679.trunk.patch
>
>
> STR:
> - Install Ambari 
> - Deploy HDP 2.5 with HDFS HA, YARN, MR, ZK
> - Install HDP 2.6 stack
> - Upgrade stack, on finalization initiate downgrade.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22679) RU: Service action failed with NullPointer on Downgrade after RU

2017-12-23 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-22679:
-

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8555 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8555/])
AMBARI-22679. RU: Service action failed with NullPointer on Downgrade 
(adoroszlai: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cfed3fb9d6a5a8e5bde03d655a526ad18f1e32ec])
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/state/stack/ConfigUpgradeValidityTest.java


> RU: Service action failed with NullPointer on Downgrade after RU
> 
>
> Key: AMBARI-22679
> URL: https://issues.apache.org/jira/browse/AMBARI-22679
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-sever
>Affects Versions: trunk, 2.6.2
>Reporter: Dmytro Grinenko
>Assignee: Dmytro Grinenko
>Priority: Critical
> Fix For: trunk, 2.6.2
>
> Attachments: AMBARI-22679-trunk-fix.patch, 
> AMBARI-22679.branch-2.6.patch, AMBARI-22679.trunk.patch
>
>
> STR:
> - Install Ambari 
> - Deploy HDP 2.5 with HDFS HA, YARN, MR, ZK
> - Install HDP 2.6 stack
> - Upgrade stack, on finalization initiate downgrade.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMBARI-22689) Restart agent command sent by server

2017-12-23 Thread Xianghao Lu (JIRA)

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

Xianghao Lu commented on AMBARI-22689:
--

[~adoroszlai]
OK, I have created the review.

> Restart agent command sent by server
> 
>
> Key: AMBARI-22689
> URL: https://issues.apache.org/jira/browse/AMBARI-22689
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-agent
>Affects Versions: trunk
>Reporter: Xianghao Lu
>  Labels: patch
> Attachments: AMBARI-22689.patch
>
>
> When ambari agent get a heartbeat response from ambari server, agent will 
> convert the string data to JSON object, and, response['restartAgent'] will be 
> a bool value not string.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (AMBARI-13109) Verify that max logs parameter wouldn't cause premature region flush

2017-12-23 Thread Ted Yu (JIRA)

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

Ted Yu edited comment on AMBARI-13109 at 12/24/17 5:30 AM:
---

The max logs parameter plays an important role in preventing fragmentation in 
memstore.


was (Author: yuzhih...@gmail.com):
The max logs parameter plays an important role in preventing fragmentation in 
memstore .

> Verify that max logs parameter wouldn't cause premature region flush
> 
>
> Key: AMBARI-13109
> URL: https://issues.apache.org/jira/browse/AMBARI-13109
> Project: Ambari
>  Issue Type: Improvement
>Reporter: Ted Yu
>
> For hbase, the following relationship should be maintained:
> dfs.blocksize * 0.95 *  hbase.regionserver.maxlogs (default 32) > 
> hbase.regionserver.global.memstore.upperLimit * HBASE_HEAPSIZE
> The rationale is to avoid premature region flush due to log roll which is 
> triggered by insufficiently high max logs.
> When user changes the values for max logs, memstore upper limit or max heap 
> size, we should verify that the above relationship is satisfied.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-13671) Ambari should check for duplicate config values

2017-12-23 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-13671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated AMBARI-13671:

Description: 
Using /#/main/services/HBASE/configs, I was able to save duplicate values for 
hbase.coprocessor.region.classes :
{code}
org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint,org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint
{code}
Ambari should check for duplicate config values.

  was:
Using /#/main/services/HBASE/configs, I was able to save duplicate values for 
hbase.coprocessor.region.classes :

org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint,org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint

Ambari should check for duplicate config values.


> Ambari should check for duplicate config values
> ---
>
> Key: AMBARI-13671
> URL: https://issues.apache.org/jira/browse/AMBARI-13671
> Project: Ambari
>  Issue Type: Bug
>Reporter: Ted Yu
>
> Using /#/main/services/HBASE/configs, I was able to save duplicate values for 
> hbase.coprocessor.region.classes :
> {code}
> org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint,org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint
> {code}
> Ambari should check for duplicate config values.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)