Re: Dynamic Dependencies

2017-07-11 Thread moon soo Lee
Thanks for sharing your problem. For now, only way is clean local-repo to download the artifact again. Do you mind file a jira issue track this problem? Thanks, moon On Tue, Jul 11, 2017 at 4:04 AM Edgardo Vega wrote: > I successfully added a maven snapshot repository and was able to resolve >

Re: Showing pandas dataframe with utf8 strings

2017-07-11 Thread Ruslan Dautkhanov
Your example works fine for me too. We're on Zeppelin snapshot ~2 months old. -- Ruslan Dautkhanov On Tue, Jul 11, 2017 at 3:11 PM, Ben Vogan wrote: > Here is the specific example that is failing: > > import pandas > z.show(pandas.DataFrame([u'Jalape\xf1os.'],[1],['Menu'])) > > On Tue, Jul

Re: Showing pandas dataframe with utf8 strings

2017-07-11 Thread Ben Vogan
Here is the specific example that is failing: import pandas z.show(pandas.DataFrame([u'Jalape\xf1os.'],[1],['Menu'])) On Tue, Jul 11, 2017 at 2:32 PM, Ruslan Dautkhanov wrote: > Hi Ben, > > I can't reproduce this > > from pyspark.sql.types import * >> rdd = sc.parallelize([[u'El Niño']]) >> df

Re: Showing pandas dataframe with utf8 strings

2017-07-11 Thread Ruslan Dautkhanov
Hi Ben, I can't reproduce this from pyspark.sql.types import * > rdd = sc.parallelize([[u'El Niño']]) > df = sqlc.createDataFrame( > rdd, schema=StructType([StructField("unicode data", > StringType(), True)]) > ) > df.show() > z.show(df) shows unicode character fine.

Zeppelin OAuth

2017-07-11 Thread Ben Vogan
Hi all, Does anyone have instructions on how to configure Zeppelin for OAuth (I'm trying to use Google)? Failing that, I can put Zeppelin behind an OAuth proxy, but would then need a Shiro component that would take the user identity out of the request headers and log the user in. Has anyone done

Re: Showing pandas dataframe with utf8 strings

2017-07-11 Thread Ben Vogan
Hi Ruslan, I tried adding: export LC_ALL="en_US.utf8" To my zeppelin-env.sh script and restarted Zeppelin, but I still have the same problem. The print statement: python -c "print (u'\xf1')" works from the note. I think the problem is the use of the str function. Looking at the stack you ca

Re: Showing pandas dataframe with utf8 strings

2017-07-11 Thread Ruslan Dautkhanov
> > $ env | grep LC > $ > $ python -c "print (u'\xf1')" > ñ > > $ export LC_ALL="C" > $ python -c "print (u'\xf1')" > Traceback (most recent call last): > File "", line 1, in > UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in > position 0: ordinal not in range(128) > > $ e

Showing pandas dataframe with utf8 strings

2017-07-11 Thread Ben Vogan
Hi all, I am trying to use the zeppelin context to show the contents of a pandas DataFrame and getting the following error: Traceback (most recent call last): File "/tmp/zeppelin_python-7554503996532642522.py", line 278, in raise Exception(traceback.format_exc()) Exception: Traceback (most

Re: JDBC use with zeppelin

2017-07-11 Thread darren
Thank you for your response. Very much appreciated! Get Outlook for Android From: Ruslan Dautkhanov Sent: Monday, July 10, 2:29 PM Subject: Re: JDBC use with zeppelin To: users For Oracle JDBC driver we had to feed ojdb7.jar  into SPARK_SUBMIT_OPTIONS through --jars param