Re: Review Request 50995: Collect JVM Heap, GC and thread pool metrics from Ambari Server and push to AMS

2016-08-17 Thread Aravindan Vijayan

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50995/#review146045
---


Ship it!




Ship It!

- Aravindan Vijayan


On Aug. 17, 2016, 10:17 p.m., Li-Wei Tseng wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50995/
> ---
> 
> (Updated Aug. 17, 2016, 10:17 p.m.)
> 
> 
> Review request for Ambari, Aravindan Vijayan, Sumit Mohanty, Sid Wagle, and 
> Yusaku Sako.
> 
> 
> Bugs: AMBARI-17591
> https://issues.apache.org/jira/browse/AMBARI-17591
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Created metrics service which has a JVM metrics source and a sink. The JVM 
> metrics source collect JVM metrics and pass it to the sink which then publish 
> the metrics to AMS
> 
> 
> Diffs
> -
> 
>   ambari-server/conf/unix/metrics.properties PRE-CREATION 
>   ambari-server/pom.xml e999d03 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
>  a6d8d6a 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
>  2bd7eff 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/AmbariMetricSink.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/MetricsService.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/MetricsSource.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/AbstractMetricsSource.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/AmbariMetricSinkImpl.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/Configuration.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/JvmMetricsSource.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/MetricsServiceImpl.java
>  PRE-CREATION 
>   
> ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server.json
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/50995/diff/
> 
> 
> Testing
> ---
> 
> Manually tested it.
> 
> 
> Thanks,
> 
> Li-Wei Tseng
> 
>



Re: Review Request 50995: Collect JVM Heap, GC and thread pool metrics from Ambari Server and push to AMS

2016-08-17 Thread Li-Wei Tseng

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50995/
---

(Updated Aug. 17, 2016, 10:17 p.m.)


Review request for Ambari, Aravindan Vijayan, Sumit Mohanty, Sid Wagle, and 
Yusaku Sako.


Changes
---

Catch Exception when metrics.properties is absent


Bugs: AMBARI-17591
https://issues.apache.org/jira/browse/AMBARI-17591


Repository: ambari


Description
---

Created metrics service which has a JVM metrics source and a sink. The JVM 
metrics source collect JVM metrics and pass it to the sink which then publish 
the metrics to AMS


Diffs (updated)
-

  ambari-server/conf/unix/metrics.properties PRE-CREATION 
  ambari-server/pom.xml e999d03 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
 a6d8d6a 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
 2bd7eff 
  
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/AmbariMetricSink.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/MetricsService.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/MetricsSource.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/AbstractMetricsSource.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/AmbariMetricSinkImpl.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/Configuration.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/JvmMetricsSource.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/MetricsServiceImpl.java
 PRE-CREATION 
  
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server.json
 PRE-CREATION 

Diff: https://reviews.apache.org/r/50995/diff/


Testing
---

Manually tested it.


Thanks,

Li-Wei Tseng



Re: Review Request 50995: Collect JVM Heap, GC and thread pool metrics from Ambari Server and push to AMS

2016-08-17 Thread Aravindan Vijayan

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50995/#review146042
---



Can we have this tested on a cluster with no metrics.proerties file?

- Aravindan Vijayan


On Aug. 16, 2016, 11:23 p.m., Li-Wei Tseng wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50995/
> ---
> 
> (Updated Aug. 16, 2016, 11:23 p.m.)
> 
> 
> Review request for Ambari, Aravindan Vijayan, Sumit Mohanty, Sid Wagle, and 
> Yusaku Sako.
> 
> 
> Bugs: AMBARI-17591
> https://issues.apache.org/jira/browse/AMBARI-17591
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Created metrics service which has a JVM metrics source and a sink. The JVM 
> metrics source collect JVM metrics and pass it to the sink which then publish 
> the metrics to AMS
> 
> 
> Diffs
> -
> 
>   ambari-server/conf/unix/metrics.properties PRE-CREATION 
>   ambari-server/pom.xml e999d03 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
>  a6d8d6a 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
>  2bd7eff 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/AmbariMetricSink.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/MetricsService.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/MetricsSource.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/AbstractMetricsSource.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/AmbariMetricSinkImpl.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/Configuration.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/JvmMetricsSource.java
>  PRE-CREATION 
>   
> ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/MetricsServiceImpl.java
>  PRE-CREATION 
>   
> ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/default/grafana-ambari-server.json
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/50995/diff/
> 
> 
> Testing
> ---
> 
> Manually tested it.
> 
> 
> Thanks,
> 
> Li-Wei Tseng
> 
>



Re: Review Request 50595: AMBARI-17955: Enabled download of berkeley DB jar file to be provisioned during install

2016-08-17 Thread Venkat Ranganathan


> On Aug. 2, 2016, 1:58 a.m., Vitalyi Brodetskyi wrote:
> > ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py,
> >  lines 200-217
> > 
> >
> > I don't see here any condition, is it default db for falcon and user 
> > always should registrate/use jdbc for it?
> 
> Vitalyi Brodetskyi wrote:
> And one more, as i remember we set some special permissions for jdbc 
> which was downloaded because later you could have troubles with customized 
> users/permissions/non root user.
> 
> Venkat Ranganathan wrote:
> Yes.  This is only one and it is really not a JDBC driver.  We just use 
> the download mechanism
> 
> Vitalyi Brodetskyi wrote:
> Ok, but anyway i think it will be good to set correct permissions to 
> prevent related issues.

Will create a new JIRA to fix this.   Thanks


- Venkat


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50595/#review144468
---


On Aug. 1, 2016, 2:21 p.m., Venkat Ranganathan wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50595/
> ---
> 
> (Updated Aug. 1, 2016, 2:21 p.m.)
> 
> 
> Review request for Ambari and Alejandro Fernandez.
> 
> 
> Bugs: AMBARI-17955
> https://issues.apache.org/jira/browse/AMBARI-17955
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Enabled the registration of optionally downloaded berkeley db jar file.   
> Introduce Berekley DB as a jdbc-db (even though it is actually not.   
> Download je-5.0.73.jar if not already present and inform users on how to 
> register
> 
> also, fixed Atlas integration changes with classname and packagename
> 
> 
> Diffs
> -
> 
>   ambari-server/src/main/python/ambari_server/dbConfiguration.py fc68a4c 
>   ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py 
> d09bd77 
>   
> ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py
>  dd1cda0 
>   
> ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/params_linux.py
>  ebe3634 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py 
> 8d5cdc9 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
> f8ba3e9 
>   ambari-server/src/test/python/TestAmbariServer.py 279a172 
>   ambari-server/src/test/python/stacks/2.1/FALCON/test_falcon_server.py 
> 2dd0da9 
> 
> Diff: https://reviews.apache.org/r/50595/diff/
> 
> 
> Testing
> ---
> 
> Tested downloading of the jar file by registering with ambari server
> Tested Falcon/Atlas component names
> 
> 
> Thanks,
> 
> Venkat Ranganathan
> 
>



Re: Review Request 50595: AMBARI-17955: Enabled download of berkeley DB jar file to be provisioned during install

2016-08-17 Thread Venkat Ranganathan


> On Aug. 2, 2016, 2:01 a.m., Vitalyi Brodetskyi wrote:
> > ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/params_linux.py,
> >  line 174
> > 
> >
> > I don't think it's a good idea to use hard-coded names. Please take a 
> > look how it was done for Hive/Oozie.

This will be the only version that we can support


- Venkat


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50595/#review144469
---


On Aug. 1, 2016, 2:21 p.m., Venkat Ranganathan wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50595/
> ---
> 
> (Updated Aug. 1, 2016, 2:21 p.m.)
> 
> 
> Review request for Ambari and Alejandro Fernandez.
> 
> 
> Bugs: AMBARI-17955
> https://issues.apache.org/jira/browse/AMBARI-17955
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Enabled the registration of optionally downloaded berkeley db jar file.   
> Introduce Berekley DB as a jdbc-db (even though it is actually not.   
> Download je-5.0.73.jar if not already present and inform users on how to 
> register
> 
> also, fixed Atlas integration changes with classname and packagename
> 
> 
> Diffs
> -
> 
>   ambari-server/src/main/python/ambari_server/dbConfiguration.py fc68a4c 
>   ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py 
> d09bd77 
>   
> ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py
>  dd1cda0 
>   
> ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/params_linux.py
>  ebe3634 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py 
> 8d5cdc9 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
> f8ba3e9 
>   ambari-server/src/test/python/TestAmbariServer.py 279a172 
>   ambari-server/src/test/python/stacks/2.1/FALCON/test_falcon_server.py 
> 2dd0da9 
> 
> Diff: https://reviews.apache.org/r/50595/diff/
> 
> 
> Testing
> ---
> 
> Tested downloading of the jar file by registering with ambari server
> Tested Falcon/Atlas component names
> 
> 
> Thanks,
> 
> Venkat Ranganathan
> 
>



Re: Review Request 51189: Typo in stack_advisor.py for KAFKA

2016-08-17 Thread Anita Jebaraj

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51189/
---

(Updated Aug. 17, 2016, 7:48 p.m.)


Review request for Ambari and Robert Levas.


Repository: ambari


Description
---

KAFKA is spelled as 'KAKFA' in stack_advisor.py because of which the function 
validateKAFKAConfigurations will not be called


Diffs (updated)
-

  ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py 
a0cce7b 

Diff: https://reviews.apache.org/r/51189/diff/


Testing
---

Ran mvn test


Thanks,

Anita Jebaraj



Review Request 51189: Typo in stack_advisor.py for KAFKA

2016-08-17 Thread Anita Jebaraj

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51189/
---

Review request for Ambari and Robert Levas.


Repository: ambari


Description
---

KAFKA is spelled as 'KAKFA' in stack_advisor.py because of which the function 
validateKAFKAConfigurations will not be called


Diffs
-


Diff: https://reviews.apache.org/r/51189/diff/


Testing
---

Ran mvn test


Thanks,

Anita Jebaraj



Re: Review Request 51121: Oozie Hive actions fail when Atlas is installed since Atlas Hive Hooks need to be copied to Oozie Share Lib in HDFS

2016-08-17 Thread Sumit Mohanty

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51121/#review146026
---


Ship it!




Ship It!

- Sumit Mohanty


On Aug. 17, 2016, 1 a.m., Alejandro Fernandez wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51121/
> ---
> 
> (Updated Aug. 17, 2016, 1 a.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk, Sumit Mohanty, and Venkat 
> Ranganathan.
> 
> 
> Bugs: AMBARI-18151
> https://issues.apache.org/jira/browse/AMBARI-18151
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Whenever Oozie submits Hive actions, they fail and the application logs show 
> "Internal Error: 
> java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook"
> 
> This is because whenever Atlas is installed, the Hive Hook (which is 
> installed via the Oozie RPM too, in /usr/$stack/$version/atlas/hook/hive/) 
> needs to be copied to the Oozie Share lib in HDFS (e.g., 
> hdfs:///user/oozie/share/lib/lib_$timestamp/hive)
> 
> Further, need to save atlas-application.properties used for Hive to 
> hdfs:///user/oozie/share/lib/lib_$timestamp/hive/
> 
> Lastly, remove the atlas.rest.address property from hive-site.xml
> 
> 
> Diffs
> -
> 
>   
> ambari-common/src/main/python/resource_management/libraries/functions/constants.py
>  c5cbb3f 
>   
> ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
>  7abdf5c 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
>  dd3a692 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py
>  e330cb5 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
>  db048bb 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json
>  ed995b2 
>   
> ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-site.xml
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/51121/diff/
> 
> 
> Testing
> ---
> 
> Verified on a live cluster with HDP 2.5 and Oozie, Hive, Atlas
> 
> Python unit tests passed,
> 
> OK
> --
> Total run:1034
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>



Re: Review Request 51169: AMBARI-18178: yarn capacity scheduler queue issue

2016-08-17 Thread Gaurav Nagar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51169/#review146025
---


Ship it!




Ship It!

- Gaurav Nagar


On Aug. 17, 2016, 8:23 a.m., Akhil PB wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51169/
> ---
> 
> (Updated Aug. 17, 2016, 8:23 a.m.)
> 
> 
> Review request for Ambari, Gaurav Nagar, Pallav Kulshreshtha, and Sreenath 
> Somarajapuram.
> 
> 
> Bugs: AMBARI-18178
> https://issues.apache.org/jira/browse/AMBARI-18178
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> yarn capacity scheduler queue issue. Modified the consumes type to text/plain 
> and using raw json rather than json object.
> 
> 
> Diffs
> -
> 
>   
> contrib/views/capacity-scheduler/src/main/java/org/apache/ambari/view/capacityscheduler/ConfigurationService.java
>  03520fe 
>   contrib/views/capacity-scheduler/src/main/resources/ui/app/adapters.js 
> 86c1484 
> 
> Diff: https://reviews.apache.org/r/51169/diff/
> 
> 
> Testing
> ---
> 
> done.
> 
> 
> Thanks,
> 
> Akhil PB
> 
>



Re: Review Request 51164: AMBARI-18172 Hive Service check is failing after moving webhcat server

2016-08-17 Thread Jaimin Jetly

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51164/#review146018
---


Ship it!




Ship It!

- Jaimin Jetly


On Aug. 17, 2016, 4:52 p.m., Zhe (Joe) Wang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51164/
> ---
> 
> (Updated Aug. 17, 2016, 4:52 p.m.)
> 
> 
> Review request for Ambari, Jaimin Jetly, Richard Zang, Vivek Ratnavel 
> Subramanian, Xi Wang, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-18172
> https://issues.apache.org/jira/browse/AMBARI-18172
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Moving of webhcat server should change proxyuser configs for hosts in 
> core-site for webhcat user in non-kerberozed environment. Not doing so is 
> causing this issue.
> 
> 
> Diffs
> -
> 
>   ambari-web/app/controllers/main/service/reassign/step4_controller.js 
> db7028f 
>   ambari-web/app/utils.js 1041a9c 
>   ambari-web/app/utils/configs/move_hm_config_initializer.js cd46682 
>   ambari-web/app/utils/configs/move_hs_config_initializer.js abc8745 
>   ambari-web/app/utils/configs/move_ws_config_initializer.js PRE-CREATION 
>   ambari-web/test/controllers/main/service/reassign/step4_controller_test.js 
> cbf47e0 
> 
> Diff: https://reviews.apache.org/r/51164/diff/
> 
> 
> Testing
> ---
> 
> Modified unit test.
> Local ambari-web test passed.
> 29932 tests complete (27 seconds)
> 154 tests pending
> Manual testing done.
> 
> 
> Thanks,
> 
> Zhe (Joe) Wang
> 
>



Re: Review Request 51179: Hive Metastore restart failed during EU with 'Internal credentials cache error' while running kinit

2016-08-17 Thread Jayush Luniya

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51179/#review146011
---


Ship it!




Ship It!

- Jayush Luniya


On Aug. 17, 2016, 3:01 p.m., Jonathan Hurley wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51179/
> ---
> 
> (Updated Aug. 17, 2016, 3:01 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Robert Levas.
> 
> 
> Bugs: AMBARI-18184
> https://issues.apache.org/jira/browse/AMBARI-18184
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> During an upgrade, the follow error occurred. Retrying the failure resolved 
> the issue. Although hard to reproduce, AMBARI-14847 fixed the issue with 
> alerts by ensuring that `kinit` commands run synchronously. 
> 
> This is an edge-case issue, but using the cached kinit executor should 
> resolve it.
> 
> ```
> Traceback (most recent call last):
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 254, in 
> HiveMetastore().execute()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>  line 280, in execute
> method(env)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>  line 696, in restart
> self.pre_upgrade_restart(env, upgrade_type=upgrade_type)
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 114, in pre_upgrade_restart
> self.upgrade_schema(env)
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 193, in upgrade_schema
> Execute(kinit_command,user=params.smokeuser)
>   File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", 
> line 155, in __init__
> self.env.run()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 160, in run
> self.run_action(resource, action)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 124, in run_action
> provider_action()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
>  line 273, in action_run
> tries=self.resource.tries, try_sleep=self.resource.try_sleep)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 71, in inner
> result = function(command, **kwargs)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 93, in checked_call
> tries=tries, try_sleep=try_sleep)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 141, in _call_wrapper
> result = _call(command, **kwargs_copy)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 294, in _call
> raise Fail(err_msg)
> resource_management.core.exceptions.Fail: Execution of '/usr/bin/kinit -kt 
> /etc/security/keytabs/smokeuser.headless.keytab ambari...@example.com; ' 
> returned 1. kinit: Internal credentials cache error while storing credentials 
> while getting initial credentials"
> ```
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py
>  772eff8 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
>  37e2426 
> 
> Diff: https://reviews.apache.org/r/51179/diff/
> 
> 
> Testing
> ---
> 
> --
> Total run:1120
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>



Re: Review Request 51121: Oozie Hive actions fail when Atlas is installed since Atlas Hive Hooks need to be copied to Oozie Share Lib in HDFS

2016-08-17 Thread Alejandro Fernandez

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51121/#review146010
---




ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
 (line 337)


What's happening is that I have a call to copy the contents of an entire 
directory from the local FS to HFDS, say /user/share/oozie/share/lib/hive/
which is currently owned by oozie:hdfs (which is correct).

The copy command is actually running as "hdfs" user. Without this change, 
the files/dirs copied inside will be owned by hdfs:hdfs instead of oozie:hdfs 
(which is the ownership of the parent directory).

Therefore, I'm passing recursive_chown=True to fix it.

Right now, only Falcon and Zeppelin call HdfsResource with 
recursive_chown=True
For this reason, I think this is the right behavior, recursive_chown=True 
does need to go through every file/dir inside and set the correct ownership.


- Alejandro Fernandez


On Aug. 17, 2016, 1 a.m., Alejandro Fernandez wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51121/
> ---
> 
> (Updated Aug. 17, 2016, 1 a.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk, Sumit Mohanty, and Venkat 
> Ranganathan.
> 
> 
> Bugs: AMBARI-18151
> https://issues.apache.org/jira/browse/AMBARI-18151
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Whenever Oozie submits Hive actions, they fail and the application logs show 
> "Internal Error: 
> java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook"
> 
> This is because whenever Atlas is installed, the Hive Hook (which is 
> installed via the Oozie RPM too, in /usr/$stack/$version/atlas/hook/hive/) 
> needs to be copied to the Oozie Share lib in HDFS (e.g., 
> hdfs:///user/oozie/share/lib/lib_$timestamp/hive)
> 
> Further, need to save atlas-application.properties used for Hive to 
> hdfs:///user/oozie/share/lib/lib_$timestamp/hive/
> 
> Lastly, remove the atlas.rest.address property from hive-site.xml
> 
> 
> Diffs
> -
> 
>   
> ambari-common/src/main/python/resource_management/libraries/functions/constants.py
>  c5cbb3f 
>   
> ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
>  7abdf5c 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
>  dd3a692 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py
>  e330cb5 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
>  db048bb 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json
>  ed995b2 
>   
> ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-site.xml
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/51121/diff/
> 
> 
> Testing
> ---
> 
> Verified on a live cluster with HDP 2.5 and Oozie, Hive, Atlas
> 
> Python unit tests passed,
> 
> OK
> --
> Total run:1034
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>



Re: Review Request 51179: Hive Metastore restart failed during EU with 'Internal credentials cache error' while running kinit

2016-08-17 Thread Alejandro Fernandez

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51179/#review146006
---


Ship it!




Ship It!

- Alejandro Fernandez


On Aug. 17, 2016, 3:01 p.m., Jonathan Hurley wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51179/
> ---
> 
> (Updated Aug. 17, 2016, 3:01 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Robert Levas.
> 
> 
> Bugs: AMBARI-18184
> https://issues.apache.org/jira/browse/AMBARI-18184
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> During an upgrade, the follow error occurred. Retrying the failure resolved 
> the issue. Although hard to reproduce, AMBARI-14847 fixed the issue with 
> alerts by ensuring that `kinit` commands run synchronously. 
> 
> This is an edge-case issue, but using the cached kinit executor should 
> resolve it.
> 
> ```
> Traceback (most recent call last):
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 254, in 
> HiveMetastore().execute()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>  line 280, in execute
> method(env)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>  line 696, in restart
> self.pre_upgrade_restart(env, upgrade_type=upgrade_type)
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 114, in pre_upgrade_restart
> self.upgrade_schema(env)
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 193, in upgrade_schema
> Execute(kinit_command,user=params.smokeuser)
>   File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", 
> line 155, in __init__
> self.env.run()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 160, in run
> self.run_action(resource, action)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 124, in run_action
> provider_action()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
>  line 273, in action_run
> tries=self.resource.tries, try_sleep=self.resource.try_sleep)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 71, in inner
> result = function(command, **kwargs)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 93, in checked_call
> tries=tries, try_sleep=try_sleep)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 141, in _call_wrapper
> result = _call(command, **kwargs_copy)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 294, in _call
> raise Fail(err_msg)
> resource_management.core.exceptions.Fail: Execution of '/usr/bin/kinit -kt 
> /etc/security/keytabs/smokeuser.headless.keytab ambari...@example.com; ' 
> returned 1. kinit: Internal credentials cache error while storing credentials 
> while getting initial credentials"
> ```
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py
>  772eff8 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
>  37e2426 
> 
> Diff: https://reviews.apache.org/r/51179/diff/
> 
> 
> Testing
> ---
> 
> --
> Total run:1120
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>



Re: Review Request 51179: Hive Metastore restart failed during EU with 'Internal credentials cache error' while running kinit

2016-08-17 Thread Nate Cole

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51179/#review145995
---


Ship it!




Ship It!

- Nate Cole


On Aug. 17, 2016, 11:01 a.m., Jonathan Hurley wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51179/
> ---
> 
> (Updated Aug. 17, 2016, 11:01 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Robert Levas.
> 
> 
> Bugs: AMBARI-18184
> https://issues.apache.org/jira/browse/AMBARI-18184
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> During an upgrade, the follow error occurred. Retrying the failure resolved 
> the issue. Although hard to reproduce, AMBARI-14847 fixed the issue with 
> alerts by ensuring that `kinit` commands run synchronously. 
> 
> This is an edge-case issue, but using the cached kinit executor should 
> resolve it.
> 
> ```
> Traceback (most recent call last):
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 254, in 
> HiveMetastore().execute()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>  line 280, in execute
> method(env)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>  line 696, in restart
> self.pre_upgrade_restart(env, upgrade_type=upgrade_type)
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 114, in pre_upgrade_restart
> self.upgrade_schema(env)
>   File 
> \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
>  line 193, in upgrade_schema
> Execute(kinit_command,user=params.smokeuser)
>   File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", 
> line 155, in __init__
> self.env.run()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 160, in run
> self.run_action(resource, action)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 124, in run_action
> provider_action()
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
>  line 273, in action_run
> tries=self.resource.tries, try_sleep=self.resource.try_sleep)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 71, in inner
> result = function(command, **kwargs)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 93, in checked_call
> tries=tries, try_sleep=try_sleep)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 141, in _call_wrapper
> result = _call(command, **kwargs_copy)
>   File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 294, in _call
> raise Fail(err_msg)
> resource_management.core.exceptions.Fail: Execution of '/usr/bin/kinit -kt 
> /etc/security/keytabs/smokeuser.headless.keytab ambari...@example.com; ' 
> returned 1. kinit: Internal credentials cache error while storing credentials 
> while getting initial credentials"
> ```
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py
>  772eff8 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
>  37e2426 
> 
> Diff: https://reviews.apache.org/r/51179/diff/
> 
> 
> Testing
> ---
> 
> --
> Total run:1120
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>



Review Request 51179: Hive Metastore restart failed during EU with 'Internal credentials cache error' while running kinit

2016-08-17 Thread Jonathan Hurley

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51179/
---

Review request for Ambari, Alejandro Fernandez, Nate Cole, and Robert Levas.


Bugs: AMBARI-18184
https://issues.apache.org/jira/browse/AMBARI-18184


Repository: ambari


Description
---

During an upgrade, the follow error occurred. Retrying the failure resolved the 
issue. Although hard to reproduce, AMBARI-14847 fixed the issue with alerts by 
ensuring that `kinit` commands run synchronously. 

This is an edge-case issue, but using the cached kinit executor should resolve 
it.

```
Traceback (most recent call last):
  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
 line 254, in 
HiveMetastore().execute()
  File 
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
 line 280, in execute
method(env)
  File 
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
 line 696, in restart
self.pre_upgrade_restart(env, upgrade_type=upgrade_type)
  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
 line 114, in pre_upgrade_restart
self.upgrade_schema(env)
  File 
\"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py\",
 line 193, in upgrade_schema
Execute(kinit_command,user=params.smokeuser)
  File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", 
line 155, in __init__
self.env.run()
  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 160, in run
self.run_action(resource, action)
  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 124, in run_action
provider_action()
  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
 line 273, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", 
line 71, in inner
result = function(command, **kwargs)
  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", 
line 93, in checked_call
tries=tries, try_sleep=try_sleep)
  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", 
line 141, in _call_wrapper
result = _call(command, **kwargs_copy)
  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", 
line 294, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/bin/kinit -kt 
/etc/security/keytabs/smokeuser.headless.keytab ambari...@example.com; ' 
returned 1. kinit: Internal credentials cache error while storing credentials 
while getting initial credentials"
```


Diffs
-

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py
 772eff8 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
 37e2426 

Diff: https://reviews.apache.org/r/51179/diff/


Testing
---

--
Total run:1120
Total errors:0
Total failures:0
OK


Thanks,

Jonathan Hurley



Re: Review Request 51178: Falcon start fails if unicode symbol happens to be in configs

2016-08-17 Thread Vitalyi Brodetskyi

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51178/#review145984
---


Ship it!




Ship It!

- Vitalyi Brodetskyi


On Сер. 17, 2016, 2:20 після полудня, Andrew Onischuk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51178/
> ---
> 
> (Updated Сер. 17, 2016, 2:20 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-18183
> https://issues.apache.org/jira/browse/AMBARI-18183
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py",
>  line 81, in 
> FalconClient().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 280, in execute
> method(env)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 680, in restart
> self.install(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py",
>  line 46, in install
> self.configure(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py",
>  line 34, in configure
> falcon('client', action='config')
>   File 
> "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, 
> in thunk
> return fn(*args, **kwargs)
>   File 
> "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py",
>  line 102, in falcon
> owner = params.falcon_user)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 155, in __init__
> self.env.run()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 160, in run
> self.run_action(resource, action)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 124, in run_action
> provider_action()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/properties_file.py",
>  line 54, in action_create
> mode = self.resource.mode
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 155, in __init__
> self.env.run()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 160, in run
> self.run_action(resource, action)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 124, in run_action
> provider_action()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 123, in action_create
> content = self._get_content()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 160, in _get_content
> return content()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 
> 51, in __call__
> return self.get_content()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 
> 142, in get_content
> rendered = self.template.render(self.context)
>   File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", 
> line 891, in render
> return self.environment.handle_exception(exc_info, True)
>   File "", line 3, in top-level template code
> UnicodeEncodeError: 'ascii' codec can't encode characters in position 
> 567-568: ordinal not in range(128)
> 
> 
> Diffs
> -
> 
>   
> ambari-agent/src/test/python/resource_management/TestPropertiesFileResource.py
>  3dd60e1 
>   
> ambari-common/src/main/python/resource_management/libraries/providers/properties_file.py
>  823f579 
>   
> ambari-common/src/main/python/resource_management/libraries/resources/properties_file.py
>  527b0f6 
> 
> Diff: https://reviews.apache.org/r/51178/diff/
> 
> 
> Testing
> ---
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>



Re: Review Request 51176: After the upgrade of jetty, zeppelin-view fails to load

2016-08-17 Thread Dmytro Sen

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51176/#review145981
---


Ship it!




Ship It!

- Dmytro Sen


On Авг. 17, 2016, 11:46 д.п., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51176/
> ---
> 
> (Updated Авг. 17, 2016, 11:46 д.п.)
> 
> 
> Review request for Ambari, DIPAYAN BHOWMICK, Gaurav Nagar, Nitiraj Rathore, 
> Pallav Kulshreshtha, Rohit Choudhary, and Renjith Kamath.
> 
> 
> Bugs: AMBARI-18182
> https://issues.apache.org/jira/browse/AMBARI-18182
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Used "<%= %>" instead of jstl tag i.e. "${}"
> 
> 
> Diffs
> -
> 
>   contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp 460ccbe 
> 
> Diff: https://reviews.apache.org/r/51176/diff/
> 
> 
> Testing
> ---
> 
> Manually tested on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



Re: Review Request 51169: AMBARI-18178: yarn capacity scheduler queue issue

2016-08-17 Thread Sreenath Somarajapuram

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51169/#review145969
---


Ship it!




Ship It!

- Sreenath Somarajapuram


On Aug. 17, 2016, 8:23 a.m., Akhil PB wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51169/
> ---
> 
> (Updated Aug. 17, 2016, 8:23 a.m.)
> 
> 
> Review request for Ambari, Gaurav Nagar, Pallav Kulshreshtha, and Sreenath 
> Somarajapuram.
> 
> 
> Bugs: AMBARI-18178
> https://issues.apache.org/jira/browse/AMBARI-18178
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> yarn capacity scheduler queue issue. Modified the consumes type to text/plain 
> and using raw json rather than json object.
> 
> 
> Diffs
> -
> 
>   
> contrib/views/capacity-scheduler/src/main/java/org/apache/ambari/view/capacityscheduler/ConfigurationService.java
>  03520fe 
>   contrib/views/capacity-scheduler/src/main/resources/ui/app/adapters.js 
> 86c1484 
> 
> Diff: https://reviews.apache.org/r/51169/diff/
> 
> 
> Testing
> ---
> 
> done.
> 
> 
> Thanks,
> 
> Akhil PB
> 
>