Member since
05-25-2016
13
Posts
0
Kudos Received
0
Solutions
12-28-2017
02:23 AM
I work with Cloudera VM and I want to assign the port 22 to the port 2222. I go to Cloudera VM -> Settings -> Network -> Advanced -> PortForwarding I add a line Protocol TCP Host Port 2222 Guest Port 22 I execute the command ssh -p 2222 cloudera@localhost ssh: connect to host localhost port 2222: Connection refused How do I configure the port 2222?
... View more
Labels:
- Labels:
-
Quickstart VM
07-05-2016
08:59 PM
Hello, I have a .py and I want to execute instruction by instruction. Could you explain me how to do this? Thanks in advance Carlota Vina
... View more
07-05-2016
11:09 AM
Hello, When I installed anaconda3 I have pandas.0.18.0 and python is 3.5 But when I executed PYSPARK the version of python is 2.6.6 PYSPARK_DRIVER_PYTHON=ipython pyspark Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) Type "copyright", "credits" or "license" for more information. IPython 1.2.1 -- An enhanced Interactive Python. Could this be the error? Thanks in advance Carlota Vina
... View more
07-05-2016
10:05 AM
Thanks for reply. I executed anaconda3 sudo yum install -y spark-core spark-master spark-worker spark-history-server spark-python wget http://repo.continuum.io/archive/Anaconda3-4.0.0-Linux-x86_64.sh bash Anaconda3-4.0.0-Linux-x86_64.sh But I can't import pandas still Thanks in advance Carlota Vina
... View more
07-05-2016
09:58 AM
Hello, I work with cloudera VM 5.4.2 I executed PYSPARK with the command PYSPARK_DRIVER_PYTHON=ipython pyspark After I try to import pandas import pandas as pd I get the following error Using Python version 2.6.6 (r266:84292, Feb 22 2013 00:00:18) SparkContext available as sc, HiveContext available as sqlContext. In [1]: import pandas as pd --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-af55e7023913> in <module>() ----> 1 import pandas as pd /usr/lib/python2.6/site-packages/pandas-0.18.0-py2.6-linux-x86_64.egg/pandas/__init__.py in <module>() 20 21 # numpy compat ---> 22 from pandas.compat.numpy_compat import * 23 24 try: /usr/lib/python2.6/site-packages/pandas-0.18.0-py2.6-linux-x86_64.egg/pandas/compat/__init__.py in <module>() 296 return wrapper 297 --> 298 from collections import OrderedDict, Counter 299 300 if PY3: ImportError: cannot import name OrderedDict In [2]: Why can't I import Pandas? Thanks in advance Carlota Vina
... View more