Re: [spark on yarn] spark on yarn without DFS

2019-05-23 Thread Achilleus 003
This is interesting. Would really appreciate it if you could share what exactly did you change in* core-site.xml *and *yarn-site.xml.* On Wed, May 22, 2019 at 9:14 AM Gourav Sengupta wrote: > just wondering what is the advantage of doing this? > > Regards > Gourav Sengupta > > On Wed, May 22,

Koalas show data in IDE or pyspark

2019-04-30 Thread Achilleus 003
Hello Everyone, I have been trying to run *koalas* on both pyspark and pyCharm IDE. When I run df = koalas.DataFrame({‘x’: [1, 2], ‘y’: [3, 4], ‘z’: [5, 6]}) df.head(5) I don't get the data back instead, I get an object. I thought df.head can be used to achieve this. Can anyone guide me on

Udfs in spark

2019-03-27 Thread Achilleus 003
Couple of questions regarding udfs: 1) Is there a way to get all the registered UDFs in spark scala? I couldn’t find any straight forward api. But found a pattern to get all the registered udfs. Spark.catalog.listfunctions.filter(_.className == null).collect This does the trick but not sure it