Member since
09-24-2015
527
Posts
136
Kudos Received
19
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2267 | 06-30-2017 03:15 PM | |
3277 | 10-14-2016 10:08 AM | |
8557 | 09-07-2016 06:04 AM | |
10333 | 08-26-2016 11:27 AM | |
1530 | 08-23-2016 02:09 PM |
10-14-2016
10:08 AM
Hi: After rename the repo files like its works now: ls -lrt /etc/yum.repos.d/
-rw-r--r-- 1 root root 409 oct 13 23:01 ambari_local.repo
-rw-r--r-- 1 root root 92 oct 13 23:05 HDP-2.5.0.0-1245.repo.repo
-rw-r--r-- 1 root root 135 oct 13 23:05 HDP-UTILS.repo
drwxr-xr--. 2 root root 4096 oct 13 23:54 backup
... View more
10-14-2016
08:08 AM
Finally after install the redhat-lsb and all the dependencies via YUM INSTALL its working all the services. But what happend If I dont have Connection Internet?? thanks
... View more
10-13-2016
10:00 PM
This is my repo:
ls -lrt /etc/yum.repos.d/
-rw-r--r-- 1 root root 409 oct 13 23:01 ambari_local.repo
-rw-r--r-- 1 root root 92 oct 13 23:05 HDP.repo
-rw-r--r-- 1 root root 135 oct 13 23:05 HDP-UTILS.repo
drwxr-xr--. 2 root root 4096 oct 13 23:54 backup
... View more
10-13-2016
09:59 PM
hi: I have update some rpm, and now i have this error: resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_5_0_0_1245-yarn' returned 1. Error: Package: hadoop_2_5_0_0_1245-2.7.3.2.5.0.0-1245.el6.x86_64 (HDP-2.5)
Requires: redhat-lsb
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Why not all the packets are in the repo???
... View more
10-13-2016
07:41 PM
My mysql version is 5.7 and i have created the ambari, hive and oozie schema correctly, but he history server need mariadb. Which service need MARIADB??
... View more
10-13-2016
07:40 PM
Y have a local repo with the tarball, and the mysql i have is from mysql comunity. The problem is the history server need mariadb, i dont know why
... View more
10-13-2016
06:21 PM
Hi: I have problem with the mysql rpm y maria, i dont want to use mariadb, but the ambari say that:resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_5_0_0_1245-yarn' returned 1. Removing mariadb-libs.x86_64 1:5.5.50-1.el7_2 - u due to obsoletes from installed mysql-community-libs-5.7.15-1.el7.x86_64Error: Package: 2:postfix-2.10.1-6.el7.x86_64 (c7-media) Requires: libmysqlclient.so.18()(64bit) Available: 1:mariadb-libs-5.5.50-1.el7_2.x86_64 (c7-media) libmysqlclient.so.18()(64bit)Error: Package: 2:postfix-2.10.1-6.el7.x86_64 (c7-media) Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit) Available: 1:mariadb-libs-5.5.50-1.el7_2.x86_64 (c7-media) libmysqlclient.so.18(libmysqlclient_18)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
... View more
Labels:
10-10-2016
06:52 AM
Hi: I have this error when I try to migrate the mysqlite3 database to MYSQL, any suggestions [root@xxxxxxxbin]# ./hue syncdb --noinput ***i CAN connect to mysql database from client v
Syncing...
Traceback (most recent call last):
File "./hue", line 9, in <module>
load_entry_point('desktop==3.9.0', 'console_scripts', 'hue')()
File "/usr/local/hue/desktop/core/src/desktop/manage_entry.py", line 57, in entry
execute_from_command_line(sys.argv)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/base.py", line 415, in handle
return self.handle_noargs(**options)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/South-1.0.2-py2.7.egg/south/management/commands/syncdb.py", line 89, in handle_noargs
db.connection_init()
File "/usr/local/hue/build/env/lib/python2.7/site-packages/South-1.0.2-py2.7.egg/south/db/mysql.py", line 183, in connection_init
cursor = self._get_connection().cursor()
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/__init__.py", line 162, in cursor
cursor = util.CursorWrapper(self._cursor(), self)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/__init__.py", line 132, in _cursor
self.ensure_connection()
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/__init__.py", line 127, in ensure_connection
self.connect()
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/__init__.py", line 127, in ensure_connection
self.connect()
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/__init__.py", line 115, in connect
self.connection = self.get_new_connection(conn_params)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/mysql/base.py", line 435, in get_new_connection
conn = Database.connect(**conn_params)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/local/hue/build/env/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (2003, "Can't connect to MySQL server on 'xxx.xx.xx.xx' (111)")
... View more
10-07-2016
11:42 AM
Hi: you was right, i used this: >>> from pyspark.sql.types import *
>>> schema = StructType([
... StructField("field2", StringType()),
... StructField("field3",
... StructType([StructField("field5", ArrayType(IntegerType()))]))
... ])
>>> df3 = sqlContext.jsonRDD(json, schema)
>>> df3.first()
Row(field2=u'row1', field3=Row(field5=None))
Many thanks
... View more