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

2017-03-15 Thread DIPAYAN BHOWMICK

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


Ship it!




Ship It!

- DIPAYAN BHOWMICK


On March 14, 2017, 7:08 a.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated March 14, 2017, 7:08 a.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/stacks/HDP/2.6/services/ZEPPELIN/configuration/zeppelin-env.xml
>  1f65fac 
> 
> 
> Diff: https://reviews.apache.org/r/57075/diff/7/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



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

2017-03-15 Thread Pallav Kulshreshtha

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


Ship it!




Ship It!

- Pallav Kulshreshtha


On March 14, 2017, 7:08 a.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated March 14, 2017, 7:08 a.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/stacks/HDP/2.6/services/ZEPPELIN/configuration/zeppelin-env.xml
>  1f65fac 
> 
> 
> Diff: https://reviews.apache.org/r/57075/diff/7/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



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

2017-03-14 Thread Prabhjyot Singh

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

(Updated March 14, 2017, 12:38 p.m.)


Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, Renjith Kamath, and 
Sumit Mohanty.


Changes
---

adding condition for stack upgrade.


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 (updated)
-

  
ambari-server/src/main/resources/stacks/HDP/2.6/services/ZEPPELIN/configuration/zeppelin-env.xml
 1f65fac 


Diff: https://reviews.apache.org/r/57075/diff/7/

Changes: https://reviews.apache.org/r/57075/diff/6-7/


Testing
---

Manually on CentOS6


Thanks,

Prabhjyot Singh



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

2017-03-06 Thread Alejandro Fernandez

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


Ship it!




Ship It!

- Alejandro Fernandez


On March 1, 2017, 7:35 a.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated March 1, 2017, 7:35 a.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 57075: hive-site.xml, hbase-site.xml, etc. are not found in class path for Zeppelin

2017-03-06 Thread Sumit Mohanty

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


Ship it!




Ship It!

- Sumit Mohanty


On March 1, 2017, 7:35 a.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated March 1, 2017, 7:35 a.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 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 57075: hive-site.xml, hbase-site.xml, etc. are not found in class path for Zeppelin

2017-03-01 Thread DIPAYAN BHOWMICK

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


Ship it!




Ship It!

- DIPAYAN BHOWMICK


On March 1, 2017, 7:35 a.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated March 1, 2017, 7:35 a.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 57075: hive-site.xml, hbase-site.xml, etc. are not found in class path for Zeppelin

2017-03-01 Thread Renjith Kamath

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


Ship it!




Ship It!

- Renjith Kamath


On March 1, 2017, 7:35 a.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated March 1, 2017, 7:35 a.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 57075: hive-site.xml, hbase-site.xml, etc. are not found in class path for Zeppelin

2017-02-28 Thread Prabhjyot Singh

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

(Updated March 1, 2017, 12:58 p.m.)


Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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 (updated)
-

  
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/

Changes: https://reviews.apache.org/r/57075/diff/5-6/


Testing
---

Manually on CentOS6


Thanks,

Prabhjyot Singh



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

2017-02-28 Thread Prabhjyot Singh


> On March 1, 2017, 12:54 p.m., Renjith Kamath wrote:
> > ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
> > Lines 184 (patched)
> > 
> >
> > remove comment

Fixed it


- Prabhjyot


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


On March 1, 2017, 12:58 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, 12:58 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
> BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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 57075: hive-site.xml, hbase-site.xml, etc. are not found in class path for Zeppelin

2017-02-28 Thread Renjith Kamath

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




ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
Lines 184 (patched)


remove comment


- Renjith Kamath


On Feb. 26, 2017, 8:57 p.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated Feb. 26, 2017, 8:57 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
> BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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/5/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



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

2017-02-28 Thread Gaurav Nagar

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


Ship it!




Ship It!

- Gaurav Nagar


On Feb. 26, 2017, 8:57 p.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated Feb. 26, 2017, 8:57 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
> BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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/5/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



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

2017-02-26 Thread Prabhjyot Singh


> On Feb. 26, 2017, 7:43 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py,
> >  line 168
> > 
> >
> > This may not work - this host may not have the folders and even then 
> > copying hive-site.xml from spark's conf dir is error prone.
> > 
> > What you need is the following:
> > 
> >   XmlConfig("hive-site.xml",
> > conf_dir=...,
> > configurations=params.config['configurations']['hive-site'],
> > 
> > configuration_attributes=params.config['configuration_attributes']['hive-site'],
> > owner=params.zeppelin_user,
> > group=params.zeppelin_group,
> > mode=0644)
> > 
> > Should zeppelin be restarted when these configs change? In that case, 
> > can you add hive-site and hbase-site to config dependencies.
> > 
> > How about HSI or Hive2Server2? Does zeppelin need to work with llap?
> 
> Prabhjyot Singh wrote:
> This block is required only for running Spark 1.x.
> JDBC-hive interpreter works as is.
> Also, we have tested this multiple times, and always found 
> "/etc/spark/conf/hive-site.xml" in the same machine.
> 
> Sumit Mohanty wrote:
> You should do what Spark scripts did to create hive-site (same for 
> hbase-site too). See code at - 
> https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/setup_spark.py#L104-L110.
>  You should also add the check as Spark has - if hive is installed, e.g.

Thank you for pointing that link, that works like black magic.
Made the suggested changes.


- Prabhjyot


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


On Feb. 26, 2017, 8:57 p.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated Feb. 26, 2017, 8:57 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
> BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



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

2017-02-26 Thread Prabhjyot Singh

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

(Updated Feb. 26, 2017, 8:57 p.m.)


Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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 (updated)
-

  
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/


Testing
---

Manually on CentOS6


Thanks,

Prabhjyot Singh



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

2017-02-26 Thread Prabhjyot Singh

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

(Updated Feb. 26, 2017, 8:38 p.m.)


Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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 (updated)
-

  
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/


Testing
---

Manually on CentOS6


Thanks,

Prabhjyot Singh



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

2017-02-26 Thread Prabhjyot Singh

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

(Updated Feb. 26, 2017, 8:31 p.m.)


Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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 (updated)
-

  
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/


Testing
---

Manually on CentOS6


Thanks,

Prabhjyot Singh



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

2017-02-26 Thread Sumit Mohanty


> On Feb. 26, 2017, 7:43 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py,
> >  line 168
> > 
> >
> > This may not work - this host may not have the folders and even then 
> > copying hive-site.xml from spark's conf dir is error prone.
> > 
> > What you need is the following:
> > 
> >   XmlConfig("hive-site.xml",
> > conf_dir=...,
> > configurations=params.config['configurations']['hive-site'],
> > 
> > configuration_attributes=params.config['configuration_attributes']['hive-site'],
> > owner=params.zeppelin_user,
> > group=params.zeppelin_group,
> > mode=0644)
> > 
> > Should zeppelin be restarted when these configs change? In that case, 
> > can you add hive-site and hbase-site to config dependencies.
> > 
> > How about HSI or Hive2Server2? Does zeppelin need to work with llap?
> 
> Prabhjyot Singh wrote:
> This block is required only for running Spark 1.x.
> JDBC-hive interpreter works as is.
> Also, we have tested this multiple times, and always found 
> "/etc/spark/conf/hive-site.xml" in the same machine.

You should do what Spark scripts did to create hive-site (same for hbase-site 
too). See code at - 
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/setup_spark.py#L104-L110.
 You should also add the check as Spark has - if hive is installed, e.g.


- Sumit


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


On Feb. 26, 2017, 8:25 p.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated Feb. 26, 2017, 8:25 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
> BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



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

2017-02-26 Thread Prabhjyot Singh

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

(Updated Feb. 26, 2017, 8:25 p.m.)


Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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 (updated)
-

  
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/


Testing
---

Manually on CentOS6


Thanks,

Prabhjyot Singh



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

2017-02-26 Thread Prabhjyot Singh


> On Feb. 26, 2017, 7:43 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml,
> >  line 92
> > 
> >
> > Should it be called hdfs-conf? Perhaps external-dependency-conf? What 
> > if we just put the files in zeppelin conf dir itself?

Yes, sure this make sense. Let me do this right away.


> On Feb. 26, 2017, 7:43 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py,
> >  line 168
> > 
> >
> > This may not work - this host may not have the folders and even then 
> > copying hive-site.xml from spark's conf dir is error prone.
> > 
> > What you need is the following:
> > 
> >   XmlConfig("hive-site.xml",
> > conf_dir=...,
> > configurations=params.config['configurations']['hive-site'],
> > 
> > configuration_attributes=params.config['configuration_attributes']['hive-site'],
> > owner=params.zeppelin_user,
> > group=params.zeppelin_group,
> > mode=0644)
> > 
> > Should zeppelin be restarted when these configs change? In that case, 
> > can you add hive-site and hbase-site to config dependencies.
> > 
> > How about HSI or Hive2Server2? Does zeppelin need to work with llap?

This block is required only for running Spark 1.x.
JDBC-hive interpreter works as is.
Also, we have tested this multiple times, and always found 
"/etc/spark/conf/hive-site.xml" in the same machine.


- Prabhjyot


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


On Feb. 26, 2017, 7:22 p.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated Feb. 26, 2017, 7:22 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
> BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>



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

2017-02-26 Thread Sumit Mohanty

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




ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml
 (line 92)


Should it be called hdfs-conf? Perhaps external-dependency-conf? What if we 
just put the files in zeppelin conf dir itself?



ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py
 (line 168)


This may not work - this host may not have the folders and even then 
copying hive-site.xml from spark's conf dir is error prone.

What you need is the following:

  XmlConfig("hive-site.xml",
conf_dir=...,
configurations=params.config['configurations']['hive-site'],

configuration_attributes=params.config['configuration_attributes']['hive-site'],
owner=params.zeppelin_user,
group=params.zeppelin_group,
mode=0644)

Should zeppelin be restarted when these configs change? In that case, can 
you add hive-site and hbase-site to config dependencies.

How about HSI or Hive2Server2? Does zeppelin need to work with llap?


- Sumit Mohanty


On Feb. 26, 2017, 7:22 p.m., Prabhjyot Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57075/
> ---
> 
> (Updated Feb. 26, 2017, 7:22 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, DIPAYAN 
> BHOWMICK, Jayush Luniya, Prabhjyot Singh, Rohit Choudhary, 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/
> 
> 
> Testing
> ---
> 
> Manually on CentOS6
> 
> 
> Thanks,
> 
> Prabhjyot Singh
> 
>