Re: Review Request 57075: hive-site.xml, hbase-site.xml, etc. are not found in class path for Zeppelin

2017-03-05 Thread Prabhjyot Singh

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



Have created another patch 
https://issues.apache.org/jira/secure/attachment/12856230/AMBARI-20200_trunk_v1.patch
 for trunk, tested on local and it passes all the tests for Zeppelin.

- Prabhjyot Singh


On March 1, 2017, 1:05 p.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated March 1, 2017, 1:05 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
> BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, Renjith Kamath, 
> and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-20200
> https://issues.apache.org/jira/browse/AMBARI-20200
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> hive-site.xml, hbase-site.xml, etc. are not found in class path for 
> Zeppelin's interpreter.
> 
> As a result of which JDBC:phoenix  on kerberos mode doesn't work.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml
>  677158c 
>   
> ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
>  8a1fad6 
>   
> ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/params.py
>  16a2782 
> 
> 
> Diff: https://reviews.apache.org/r/57075/diff/6/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



Re: Review Request 57291: HiveView2.0: Issues in worksheet

2017-03-05 Thread Pallav Kulshreshtha

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


Ship it!




Ship It!

- Pallav Kulshreshtha


On March 3, 2017, 3:11 p.m., venkat sairam wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57291/
> ---
> 
> (Updated March 3, 2017, 3:11 p.m.)
> 
> 
> Review request for Ambari, DIPAYAN BHOWMICK, Gaurav Nagar, Nitiraj Rathore, 
> Pallav Kulshreshtha, and Rohit Choudhary.
> 
> 
> Bugs: AMBARI-20303
> https://issues.apache.org/jira/browse/AMBARI-20303
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Worksheet tab is provided with the button to close the worksheet and upon 
> double-click of worksheet tab, rename modal will be opened.
> 
> 
> Diffs
> -
> 
>   contrib/views/hive20/src/main/resources/ui/app/models/worksheet.js f820ea0 
>   contrib/views/hive20/src/main/resources/ui/app/routes/queries.js 4ef3834 
>   contrib/views/hive20/src/main/resources/ui/app/routes/queries/new.js 
> 7bd2214 
>   contrib/views/hive20/src/main/resources/ui/app/routes/queries/query.js 
> d08a47b 
>   contrib/views/hive20/src/main/resources/ui/app/styles/app.scss 6b7fc6a 
>   contrib/views/hive20/src/main/resources/ui/app/templates/queries.hbs 
> b8e19da 
>   contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs 
> 8a771eb 
> 
> 
> Diff: https://reviews.apache.org/r/57291/diff/1/
> 
> 
> Testing
> ---
> 
> Manual testing done
> 
> 
> Thanks,
> 
> venkat sairam
> 
>



Re: Review Request 57291: HiveView2.0: Issues in worksheet

2017-03-05 Thread Nitiraj Rathore

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


Ship it!




Ship It!

- Nitiraj Rathore


On March 3, 2017, 3:11 p.m., venkat sairam wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57291/
> ---
> 
> (Updated March 3, 2017, 3:11 p.m.)
> 
> 
> Review request for Ambari, DIPAYAN BHOWMICK, Gaurav Nagar, Nitiraj Rathore, 
> Pallav Kulshreshtha, and Rohit Choudhary.
> 
> 
> Bugs: AMBARI-20303
> https://issues.apache.org/jira/browse/AMBARI-20303
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Worksheet tab is provided with the button to close the worksheet and upon 
> double-click of worksheet tab, rename modal will be opened.
> 
> 
> Diffs
> -
> 
>   contrib/views/hive20/src/main/resources/ui/app/models/worksheet.js f820ea0 
>   contrib/views/hive20/src/main/resources/ui/app/routes/queries.js 4ef3834 
>   contrib/views/hive20/src/main/resources/ui/app/routes/queries/new.js 
> 7bd2214 
>   contrib/views/hive20/src/main/resources/ui/app/routes/queries/query.js 
> d08a47b 
>   contrib/views/hive20/src/main/resources/ui/app/styles/app.scss 6b7fc6a 
>   contrib/views/hive20/src/main/resources/ui/app/templates/queries.hbs 
> b8e19da 
>   contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs 
> 8a771eb 
> 
> 
> Diff: https://reviews.apache.org/r/57291/diff/1/
> 
> 
> Testing
> ---
> 
> Manual testing done
> 
> 
> Thanks,
> 
> venkat sairam
> 
>



Review Request 57326: storm DRPC_SERVER kerberos configs duplicate

2017-03-05 Thread wang yaoxin

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

Review request for Ambari, Alejandro Fernandez, Robert Levas, and Sid Wagle.


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


Repository: ambari


Description
---

when ambari enables kerberos,  storm service ,nimbus_keytab and 
nimbus_principal_name will duplicate


Diffs
-

  
ambari-server/src/main/resources/common-services/STORM/0.9.1/configuration/storm-env.xml
 4cfe3d5 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/kerberos.json 
20cc32d 
  ambari-server/src/main/resources/common-services/STORM/1.0.1/kerberos.json 
fa2f6db 
  ambari-web/app/assets/data/stacks/HDP-2.1/service_components.json 0a8f20b 


Diff: https://reviews.apache.org/r/57326/diff/1/


Testing
---

done?


File Attachments


storm.png
  
https://reviews.apache.org/media/uploaded/files/2017/03/06/35c14040-f918-4f46-83e8-be51a01d5d53__storm.png


Thanks,

wang yaoxin



Review Request 57324: HBase Master CPU Utilization Alert is in unknown state due to kinit error

2017-03-05 Thread Robert Levas

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

Review request for Ambari, Alejandro Fernandez, Attila Magyar, Balázs Bence 
Sári, Eugene Chekanskiy, Jonathan Hurley, Laszlo Puskas, Sebastian Toader, and 
Sid Wagle.


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


Repository: ambari


Description
---

HBase Master CPU Utilization Alert is in unknown state due to kinit error:

```
Execution of '/usr/bin/kinit -c 
/var/lib/ambari-agent/tmp/curl_krb_cache/metric_alert_ambari-qa_cc_56787c2122a8214ca9775f3433361f8b
 -kt HTTP/_h...@example.com /etc/security/keytabs/spnego.service.keytab > 
/dev/null' returned 1. kinit: Client not found in Kerberos database while 
getting initial credentials
```

This issue is also seen in /var/log/krb5kdc.log:

```
Mar 03 16:43:06 c6401.ambari.apache.org krb5kdc[4749](info): AS_REQ (4 etypes 
{18 17 16 23}) 192.168.64.101: CLIENT_NOT_FOUND: 
/etc/security/keytabs/spnego.service.key...@example.com for 
krbtgt/example@example.com, Client not found in Kerberos database
```

#Cause
It appears that the HBASE alerts.json file 
(`common-services/HBASE/0.96.0.2.0/alerts.json`) has swapped values for the 
`kerberos_keytab` and `kerberos_principal` properties.

```
  {
"name": "hbase_master_cpu",
"label": "HBase Master CPU Utilization",
"description": "This host-level alert is triggered if CPU utilization 
of the HBase Master exceeds certain warning and critical thresholds. It checks 
the HBase Master JMX Servlet for the SystemCPULoad property. The threshold 
values are in percent.",
"interval": 5,
"scope": "ANY",
"enabled": true,
"source": {
  "type": "METRIC",
  "uri": {
"http": "{{hbase-site/hbase.master.info.port}}",
"default_port": 60010,
"connection_timeout": 5.0,
"kerberos_keytab": 
"{{hbase-site/hbase.security.authentication.spnego.kerberos.principal}}",
"kerberos_principal": 
"{{hbase-site/hbase.security.authentication.spnego.kerberos.keytab}}"
  },
  "reporting": {
"ok": {
  "text": "{1} CPU, load {0:.1%}"
},
"warning": {
  "text": "{1} CPU, load {0:.1%}",
  "value": 200
},
"critical": {
  "text": "{1} CPU, load {0:.1%}",
  "value": 250
},
"units" : "%",
"type": "PERCENT"
  },
  "jmx": {
"property_list": [
  "java.lang:type=OperatingSystem/SystemCpuLoad",
  "java.lang:type=OperatingSystem/AvailableProcessors"
],
"value": "{0} * 100"
  }
}
  }
```

Notice:
```
"kerberos_keytab": 
"{{hbase-site/hbase.security.authentication.spnego.kerberos.principal}}",
"kerberos_principal": 
"{{hbase-site/hbase.security.authentication.spnego.kerberos.keytab}}"
```

#Solution
Fix values for the `kerberos_keytab` and `kerberos_principal` properties in 
`common-services/HBASE/0.96.0.2.0/alerts.json`:

```
"kerberos_principal": 
"{{hbase-site/hbase.security.authentication.spnego.kerberos.principal}}",
"kerberos_keytab": 
"{{hbase-site/hbase.security.authentication.spnego.kerberos.keytab}}"
```


Diffs
-

  
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
 2a684dc 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/alerts.json 
1b3ae25 
  
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java
 7ee66ef 


Diff: https://reviews.apache.org/r/57324/diff/1/


Testing
---

Manually tested in new Ambari 2.5.0 cluster and upgrade scenario from Ambari 
2.4.2 to Ambari 2.5.0

# Local test results: PASSED

# Jenkins test results: PENDING


Thanks,

Robert Levas