[GitHub] zeppelin issue #1645: [ZEPPELIN-1671] Conda interpreter

2017-11-09 Thread pauldj54
Github user pauldj54 commented on the issue:

https://github.com/apache/zeppelin/pull/1645
  
Hi everyone, 
I got the same error as @nEosAg007 . I added conda and all anaconda3 
libraries to my path (in my case /opt/anaconda3/bin) but this makes python3 the 
default python in my environment. That makes Zeppelin start crashing with the 
error
```
apache.zeppelin.interpreter.InterpreterException:   File 
"/usr/bin/hdp-select", line 205
print "ERROR: Invalid package - " + name
^
SyntaxError: Missing parentheses in call to 'print'
ls: cannot access /usr/hdp//hadoop/lib: No such file or directory
Exception in thread "main" java.lang.IllegalStateException: hdp.version is 
not set while running Spark under HDP, please set through HDP_VERSION in 
spark-env.sh or add a java-opts file in conf with -Dhdp.version=xxx
```
My platform is a HDP 2.5 with Zeppelin 0.7.3 and this is my zeppelin.sh 
configuration for Python
```
export 
PYTHONPATH="${SPARK_HOME}/python:${SPARK_HOME}/python/lib/py4j-0.8.2.1-src.zip"
export SPARK_YARN_USER_ENV="PYTHONPATH=${PYTHONPATH}"
export 
PYSPARK_DRIVER_PYTHON="/var/opt/teradata/anaconda3/envs/py35/bin/ipython"
export PYSPARK_PYTHON="/var/opt/teradata/anaconda3/envs/py35/bin/python"
export PYLIB="/var/opt/teradata/anaconda3/envs/py35/lib"
```
Is there an optimal way to configure Zeppelin to make it fully functional?

Kind Regards, Paul


---


[GitHub] zeppelin issue #1645: [ZEPPELIN-1671] Conda interpreter

2017-08-08 Thread edgarson
Github user edgarson commented on the issue:

https://github.com/apache/zeppelin/pull/1645
  
The same error occurs when User Impersonation is enabled for Python.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1645: [ZEPPELIN-1671] Conda interpreter

2017-07-17 Thread nEosAg007
Github user nEosAg007 commented on the issue:

https://github.com/apache/zeppelin/pull/1645
  
I have installed Miniconda and it is in my $PATH as shown below:

[root@ip-xx-xxx-xx-xxx ~]# echo $PATH

/root/miniconda2/bin:/opt/maven/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin



On 24 June 2017 at 03:42, Lee moon soo  wrote:

> Is 'conda' command in your PATH?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> , or 
mute
> the thread
> 

> .
>



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1645: [ZEPPELIN-1671] Conda interpreter

2017-06-23 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1645
  
Is 'conda' command in your PATH?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1645: [ZEPPELIN-1671] Conda interpreter

2017-06-23 Thread nEosAg007
Github user nEosAg007 commented on the issue:

https://github.com/apache/zeppelin/pull/1645
  
This is not working with latest 0.7.2, it gives the same error as earlier, 
as shown below:


![zeppelin_conda_issue](https://user-images.githubusercontent.com/12908848/27471217-ade63bbc-5814-11e7-8331-06ace513f2f9.png)

But the https://issues.apache.org/jira/browse/ZEPPELIN-1671 shows fixed in 
0.7.0


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1645: [ZEPPELIN-1671] Conda interpreter

2016-11-19 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1645
  
Merge if there're no more discussions.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1645: [ZEPPELIN-1671] Conda interpreter

2016-11-18 Thread Leemoonsoo
Github user Leemoonsoo commented on the issue:

https://github.com/apache/zeppelin/pull/1645
  
Made some improvement on output formatting with basic documentation and 
unittest.


![conda_improved](https://cloud.githubusercontent.com/assets/1540981/20436124/c019a8a2-ad63-11e6-8a2a-8a87c5e16f3f.gif)

Please review this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] zeppelin issue #1645: [ZEPPELIN-1671] Conda interpreter

2016-11-15 Thread agoodm
Github user agoodm commented on the issue:

https://github.com/apache/zeppelin/pull/1645
  
From what I can tell, the main intent of this PR is to support switching 
between environments on the fly, which is in of itself a very useful feature. 
Will this also support creating new environments and installing conda packages 
into the current environment from within Zeppelin?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---