Kuba,
I tried your step, but now I got this error, both with 1.6.1 or 1.5.1
I uploaded the two files
C:\sparkling-water-1.6.1\sparkling-water-1.6.1\assembly\build\libs\sparkling-water-assembly-1.6.1-all.jar
C:\sparkling-water-1.6.1\sparkling-water-1.6.1\py\dist\pySparkling-1.6.1-py2.7.egg
This is the output error. Let me know what else I can do.
# Start H2O Context
from pysparkling import *
sc
hc= H2OContext(sc).start()
--------------------------------------------------------------------------- Py4JError Traceback (most recent call last) <ipython-input-3-1cfba14b6cb5> in <module>() 2 from pysparkling import * 3 sc ----> 4 hc= H2OContext(sc).start() /local_disk0/spark-20443518-8a36-4dd2-b418-28604d0ef211/userFiles-15858b9b-d6ba-4abb-9baf-2b7739c9304a/addedFile2686520756101720884dbfs__FileStore_jars_f3ea5616_8af4_4c0d_8437_7a94316f25bc_pySparkling_1_6_1_py2_7_752c1-0ec08.egg/pysparkling/context.py in __init__(self, sparkContext) 70 def __init__(self, sparkContext): 71 try: ---> 72 self._do_init(sparkContext) 73 # Hack H2OFrame from h2o package 74 _monkey_patch_H2OFrame(self) /local_disk0/spark-20443518-8a36-4dd2-b418-28604d0ef211/userFiles-15858b9b-d6ba-4abb-9baf-2b7739c9304a/addedFile2686520756101720884dbfs__FileStore_jars_f3ea5616_8af4_4c0d_8437_7a94316f25bc_pySparkling_1_6_1_py2_7_752c1-0ec08.egg/pysparkling/context.py in _do_init(self, sparkContext) 94 gw = self._gw 95 ---> 96 self._jhc = jvm.org.apache.spark.h2o.H2OContext.getOrCreate(sc._jsc) 97 self._client_ip = None 98 self._client_port = None /databricks/python/local/lib/python2.7/site-packages/py4j/java_gateway.pyc in __getattr__(self, name) 724 def __getattr__(self, name): 725 if name == '__call__': --> 726 raise Py4JError('Trying to call a package.') 727 new_fqn = self._fqn + '.' + name 728 command = REFLECTION_COMMAND_NAME +\ Py4JError: Trying to call a package.
From: Jakub Hava [mailto:ja...@0xdata.com]
Sent: Friday, March 25, 2016 4:51 PM
To: Pablo Marin <pablo...@conexlink.com>
Cc: mic...@h2oai.com; h2ostream <h2os...@googlegroups.com>; ja...@h2o.ai
Subject: Re: H2O notebook share
No problem, I’m happy to help!
On 26 Mar 2016, at 03:41, Pablo Marin <pablo...@conexlink.com> wrote:
Kuba,I tried your step, but now I got this error, both with 1.6.1 or 1.5.1I uploaded the two filesC:\sparkling-water-1.6.1\sparkling-water-1.6.1\assembly\build\libs\sparkling-water-assembly-1.6.1-all.jarC:\sparkling-water-1.6.1\sparkling-water-1.6.1\py\dist\pySparkling-1.6.1-py2.7.eggThis is the output error. Let me know what else I can do.# Start H2O Contextfrom pysparkling import *schc= H2OContext(sc).start()
--------------------------------------------------------------------------- Py4JError Traceback (most recent call last) <ipython-input-3-1cfba14b6cb5> in <module>() 2 from pysparkling import *3 sc ----> 4 hc= H2OContext(sc).start() /local_disk0/spark-20443518-8a36-4dd2-b418-28604d0ef211/userFiles-15858b9b-d6ba-4abb-9baf-2b7739c9304a/addedFile2686520756101720884dbfs__FileStore_jars_f3ea5616_8af4_4c0d_8437_7a94316f25bc_pySparkling_1_6_1_py2_7_752c1-0ec08.egg/pysparkling/context.py in __init__(self, sparkContext)70 def __init__(self, sparkContext): 71 try: ---> 72 self._do_init(sparkContext) 73 # Hack H2OFrame from h2o package 74 _monkey_patch_H2OFrame(self) /local_disk0/spark-20443518-8a36-4dd2-b418-28604d0ef211/userFiles-15858b9b-d6ba-4abb-9baf-2b7739c9304a/addedFile2686520756101720884dbfs__FileStore_jars_f3ea5616_8af4_4c0d_8437_7a94316f25bc_pySparkling_1_6_1_py2_7_752c1-0ec08.egg/pysparkling/context.py in _do_init(self, sparkContext)94 gw = self._gw 95 ---> 96 self._jhc = jvm.org.apache.spark.h2o.H2OContext.getOrCreate(sc._jsc)97 self._client_ip = None 98 self._client_port = None/databricks/python/local/lib/python2.7/site-packages/py4j/java_gateway.pyc in __getattr__(self, name) 724 def __getattr__(self, name): 725 if name == '__call__': --> 726 raise Py4JError('Trying to call a package.') 727 new_fqn = self._fqn + '.' + name 728 command = REFLECTION_COMMAND_NAME+\ Py4JError: Trying to call a package.
Kuba,
I’m assuming that by now I can test this again? Is it merge to master?
Pablo
Thanks Kuba, will try out and let you know.