Member since
07-01-2017
9
Posts
1
Kudos Received
0
Solutions
07-18-2017
12:16 PM
I had exact same problem. So I issued this command: opt/cloudera/parcels/CDH/lib/hue/tools/app_reg/app_reg.py --install /opt/cloudera/parcels/CDH/lib/hue/apps/impala Now I when I go to localhost:8888, I get this: Traceback (most recent call last):
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 1215, in communicate
req.respond()
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 576, in respond
self._respond()
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 588, in _respond
response = self.wsgi_app(self.environ, self.start_response)
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/wsgi.py", line 187, in __call__
self.load_middleware()
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py", line 45, in load_middleware
mw_class = import_by_path(middleware_path)
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/utils/module_loading.py", line 26, in import_by_path
sys.exc_info()[2])
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/utils/module_loading.py", line 21, in import_by_path
module = import_module(module_path)
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/core/src/desktop/middleware.py", line 45, in <module>
import desktop.views
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/core/src/desktop/views.py", line 49, in <module>
from desktop.converters import DocumentConverter
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/core/src/desktop/converters.py", line 27, in <module>
from notebook.api import _historify
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/libs/notebook/src/notebook/api.py", line 35, in <module>
from notebook.views import upgrade_session_properties
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/libs/notebook/src/notebook/views.py", line 38, in <module>
from notebook.management.commands.notebook_setup import Command
File "/opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/lib/hue/desktop/libs/notebook/src/notebook/management/commands/notebook_setup.py", line 27, in <module>
from useradmin.models import get_default_user_group, install_sample_user
ImproperlyConfigured: Error importing module desktop.middleware: "No module named useradmin.models"
... View more
07-04-2017
12:54 PM
1 Kudo
You mentioned that you still need to fix the 'Under-Replicated Blocks'. This is what I found with google to fix: $ su - <$hdfs_user> $ hdfs fsck / | grep 'Under replicated' | awk -F':' '{print $1}' >> /tmp/under_replicated_files $ for hdfsfile in `cat /tmp/under_replicated_files`; do echo "Fixing $hdfsfile :" ; hadoop fs -setrep 3 $hdfsfile; done
... View more
07-04-2017
12:19 PM
Thank you @GautamG I wasn't aware of that until you clearly stated that.
... View more
07-04-2017
03:44 AM
The link you provided (https://www.cloudera.com/downloads/manager/5-11-1.html) says "RHEL / CentOS / OEL 7.0 is not supported". Bu in the same page, it says "7.3, 7.2, 7.1, 6.8, 6.7, 6.6, 6.5, 6.4, 5.11, 5.10, 5.7" supported. I'm using 7.3: $ cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core) Kernel version: $ uname -r
3.10.0-514.21.2.el7.x86_64 The bug you mentionel is about Impala 2.7 which is not available for Cloudera Manager. The latest Impala parcel for Cloudera Manager is 2.1 currently. If Impala is not supported on CentOS 7, I would expect it to be clearly stated on https://www.cloudera.com/downloads/manager/5-11-1.html
... View more
07-04-2017
02:21 AM
I have installed CM 5.11.1 on CentOS 7 without any issue. Then installed Kudu from parcels. Everything was working fine until wanted to install Impala. On parcels page next to Impala, it says "Impala is not supported for RHEL7". That forced me to create another group of hosts running CentOS 6. Of course there are other issues with CentOS 6 about dns reslution which is whole another story and deserves another topic. Can someone please confirm that Impala is not supported on RHEL7 (CentOS 7) ? Note: I am using Google Cloud. So I have to find an intersection between parcels provided by Cloudera and Google Cloud images. This leaves me ony 2 options: CentOS6 and 7.
... View more
Labels:
- Labels:
-
Apache Impala
-
Cloudera Manager
07-04-2017
01:27 AM
I have installed Cloudera Manager 5.11 on CentOS7. Unfortunately on Parcels page, it says: Impala is not supported on RHEL 7. That's the whole reason I fallback to CenOS 6. Also when I check Impala Parcels on http://archive.cloudera.com/impala/parcels/latest/ I see there is no EL7 parcel. Here is the complete list of Impala parcels: IMPALA-2.1.0-1.impala2.0.0.p0.1995-el5.parcel IMPALA-2.1.0-1.impala2.0.0.p0.1995-el6.parcel IMPALA-2.1.0-1.impala2.0.0.p0.1995-lucid.parcel IMPALA-2.1.0-1.impala2.0.0.p0.1995-precise.parcel IMPALA-2.1.0-1.impala2.0.0.p0.1995-sles11.parcel IMPALA-2.1.0-1.impala2.0.0.p0.1995-squeeze.parcel
... View more
07-03-2017
02:37 PM
I am having same problem here. I used to install Cloudera Manager on Centos 7 with no issues. But in Centos 6(since impala is not supported on Centos 7, had to try Centos 6), getting this error on all hosts. My /etc/sysconfig/network file is like this: $ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=cixa.c.gib-data.internal I rebooted all hosts after setting HOSTNAME in /etc/sysconfig/network file. All other nodes share same configuration. Host inspection gives no warning. In host status, this error message is shown: "The hostname and canonical name for this host are not consistent when checked from a Java process" $ python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())"
cixa.c.gib-data.internal
10.128.0.2 All hosts answer correctly to nslookup and host commands. All hosts can shh and ping to all others with FQDN.
... View more