FAQ
[Adding hue-users; bcc: scm-users]

Can you attach the Hue log? (You can find that in CM -> Hue -> Hue Server
-> Log file. Or in /var/log/hue.)

On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

Hi,

I want to enable HTTPS for the Hue web server.
I do it by following steps:
1. easy_install pyOpenSSL
#
/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
pyOpenSSL
Searching for pyOpenSSL
Best match: pyOpenSSL 0.13
Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
pyOpenSSL 0.13 is already the active version in easy-install.pth

Using
/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
Processing dependencies for pyOpenSSL
Finished processing dependencies for pyOpenSSL

2. make SSL private key
# openssl genrsa 1024 > /root/cm.key
Generating RSA private key, 1024 bit long modulus
.........................++++++
.....++++++
e is 65537 (0x10001)

3. make SSL certificate
# openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert

4. set Hue server with cloudera manager
[image: 埋め込み画像 1]

5. save and restart the Hue server

6. access Hue Web UI
I got the error messages as following
[image: 埋め込み画像 2]

7. check the /var/log/messages
Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

I am using the lasted cloudera stardand version 4.7.1.

Please advice me where was wrong.

Thanks,

LiLi

To unsubscribe from this group and stop receiving emails from it, send an
email to scm-users+unsubscribe@cloudera.org.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Search Discussions

  • 李黎 at Sep 12, 2013 at 4:28 am
    Please refer to the attached file

    Thanks,

    LiLi


    2013/9/12 bc Wong [Adding hue-users; bcc: scm-users]
    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue Server
    -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert

    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • Romain Rigaux at Sep 12, 2013 at 5:40 am
    Maybe you are hitting a different bug.

    Can you try to go on /beeswax/ instead of /about/ ?

    Romain


    [19/Aug/2013 13:12:11 +0000] access INFO 150.29.149.251 admin -
    "GET /about/ HTTP/1.0"
    [19/Aug/2013 13:12:12 +0000] middleware INFO Processing exception:
    'ascii' codec can't decode byte 0xe8 in position 36: ordinal not in
    range(128): Traceback (most recent call last):
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
         response = callback(request, *callback_args, **callback_kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/about/src/about/views.py",
    line 44, in admin_wizard
         'collect_usage': collect_usage,
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
         **kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
         return django_mako.render_to_response(template, *args, **kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
         return HttpResponse(render_to_string(template_name, data_dictionary),
    **kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
         result = template.render(**data_dict)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
         return runtime._render(self, self.callable_, args, data)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
         **_kwargs_for_callable(callable_, data))
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
         _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
         callable_(context, *args, **kwargs)
       File "/tmp/tmpJ8OvEH/about/admin_wizard.mako.py", line 99, in render_body
         __M_writer(unicode( check_config.content ))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 36:
    ordinal not in range(128)


    [19/Aug/2013 13:10:00 +0000] access INFO 150.29.149.251 admin -
    "POST /useradmin/users/add_ldap_users HTTP/1.0"
    [19/Aug/2013 13:10:00 +0000] middleware INFO Processing exception:
    Failed to bind to LDAP server anonymously: Traceback (most recent call
    last):
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
         response = callback(request, *callback_args, **callback_kwargs)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 279, in add_ldap_users
         users = import_ldap_users(username_pattern, import_by_dn)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 572, in import_ldap_users
         return _import_ldap_users(user_pattern, import_by_dn)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 465, in _import_ldap_users
         conn = ldap_access.get_connection()
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 47, in get_connection
         password, ldap_cert)
       File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 84, in __init__
         raise RuntimeError("Failed to bind to LDAP server anonymously")
    RuntimeError: Failed to bind to LDAP server anonymously


    On Wed, Sep 11, 2013 at 9:00 PM, bc Wong wrote:

    [Adding hue-users; bcc: scm-users]

    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue Server
    -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert

    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • 李黎 at Sep 12, 2013 at 6:13 am
    It is same error when access to /beeswax/.

    [image: 埋め込み画像 1]

    by the way, why the ldap access was used?
    I enabled the Hue web server just after the Installation of the Cloudera
    Standard.

    Thanks,

    LiLi


    2013/9/12 Romain Rigaux <romain@cloudera.com>
    Maybe you are hitting a different bug.

    Can you try to go on /beeswax/ instead of /about/ ?

    Romain


    [19/Aug/2013 13:12:11 +0000] access INFO 150.29.149.251 admin -
    "GET /about/ HTTP/1.0"
    [19/Aug/2013 13:12:12 +0000] middleware INFO Processing exception:
    'ascii' codec can't decode byte 0xe8 in position 36: ordinal not in
    range(128): Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/about/src/about/views.py",
    line 44, in admin_wizard
    'collect_usage': collect_usage,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name, data_dictionary),
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmpJ8OvEH/about/admin_wizard.mako.py", line 99, in
    render_body
    __M_writer(unicode( check_config.content ))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 36:
    ordinal not in range(128)


    [19/Aug/2013 13:10:00 +0000] access INFO 150.29.149.251 admin -
    "POST /useradmin/users/add_ldap_users HTTP/1.0"
    [19/Aug/2013 13:10:00 +0000] middleware INFO Processing exception:
    Failed to bind to LDAP server anonymously: Traceback (most recent call
    last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 279, in add_ldap_users
    users = import_ldap_users(username_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 572, in import_ldap_users
    return _import_ldap_users(user_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 465, in _import_ldap_users
    conn = ldap_access.get_connection()
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 47, in get_connection
    password, ldap_cert)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 84, in __init__
    raise RuntimeError("Failed to bind to LDAP server anonymously")
    RuntimeError: Failed to bind to LDAP server anonymously


    On Wed, Sep 11, 2013 at 9:00 PM, bc Wong wrote:

    [Adding hue-users; bcc: scm-users]

    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue Server
    -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert

    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send
    an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • 李黎 at Sep 12, 2013 at 10:09 am
    Hi,
    I have reinstalled Centos6.4 and then installed the Cloudera Standard and
    then configured to enable Hue web server.
    same error was Occurred.

    Sep 12 18:49:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:46 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:48 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:49 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:18 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:20 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:21 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:22 dhcp149216 abrt: detected unhandled Python exception



    Thanks,

    LiLi



    2013/9/12 李黎 <ri-ri@aist.go.jp>
    It is same error when access to /beeswax/.

    [image: 埋め込み画像 1]

    by the way, why the ldap access was used?
    I enabled the Hue web server just after the Installation of the Cloudera
    Standard.

    Thanks,

    LiLi


    2013/9/12 Romain Rigaux <romain@cloudera.com>
    Maybe you are hitting a different bug.

    Can you try to go on /beeswax/ instead of /about/ ?

    Romain


    [19/Aug/2013 13:12:11 +0000] access INFO 150.29.149.251 admin
    - "GET /about/ HTTP/1.0"
    [19/Aug/2013 13:12:12 +0000] middleware INFO Processing exception:
    'ascii' codec can't decode byte 0xe8 in position 36: ordinal not in
    range(128): Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/about/src/about/views.py",
    line 44, in admin_wizard
    'collect_usage': collect_usage,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name, data_dictionary),
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmpJ8OvEH/about/admin_wizard.mako.py", line 99, in
    render_body
    __M_writer(unicode( check_config.content ))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 36:
    ordinal not in range(128)


    [19/Aug/2013 13:10:00 +0000] access INFO 150.29.149.251 admin
    - "POST /useradmin/users/add_ldap_users HTTP/1.0"
    [19/Aug/2013 13:10:00 +0000] middleware INFO Processing exception:
    Failed to bind to LDAP server anonymously: Traceback (most recent call
    last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 279, in add_ldap_users
    users = import_ldap_users(username_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 572, in import_ldap_users
    return _import_ldap_users(user_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 465, in _import_ldap_users
    conn = ldap_access.get_connection()
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 47, in get_connection
    password, ldap_cert)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 84, in __init__
    raise RuntimeError("Failed to bind to LDAP server anonymously")
    RuntimeError: Failed to bind to LDAP server anonymously


    On Wed, Sep 11, 2013 at 9:00 PM, bc Wong wrote:

    [Adding hue-users; bcc: scm-users]

    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue
    Server -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert

    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send
    an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • Romain Rigaux at Sep 14, 2013 at 3:39 am
    The only error in the logs is:
    "[12/Sep/2013 02:52:24 +0000] settings INFO Welcome to Hue 2.5.0
    [12/Sep/2013 02:56:08 +0000] spawning_controller INFO (10258) Child
    died from signal 0 with code 1"

    In CM, could you check the stderr/sdtoud logs of the processes? (to have
    more details about the exception).

    If nothing, could you try to start the Hue server manually from its home
    and see?

    e.g.
    build/env/bin/hue runserver
    build/env/bin/hue runcpserver

    Romain

    On Thu, Sep 12, 2013 at 3:09 AM, 李黎 wrote:

    Hi,
    I have reinstalled Centos6.4 and then installed the Cloudera Standard and
    then configured to enable Hue web server.
    same error was Occurred.

    Sep 12 18:49:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:46 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:48 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:49 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:18 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:20 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:21 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:22 dhcp149216 abrt: detected unhandled Python exception



    Thanks,

    LiLi



    2013/9/12 李黎 <ri-ri@aist.go.jp>
    It is same error when access to /beeswax/.

    [image: 埋め込み画像 1]

    by the way, why the ldap access was used?
    I enabled the Hue web server just after the Installation of the
    Cloudera Standard.

    Thanks,

    LiLi


    2013/9/12 Romain Rigaux <romain@cloudera.com>
    Maybe you are hitting a different bug.

    Can you try to go on /beeswax/ instead of /about/ ?

    Romain


    [19/Aug/2013 13:12:11 +0000] access INFO 150.29.149.251 admin
    - "GET /about/ HTTP/1.0"
    [19/Aug/2013 13:12:12 +0000] middleware INFO Processing exception:
    'ascii' codec can't decode byte 0xe8 in position 36: ordinal not in
    range(128): Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/about/src/about/views.py",
    line 44, in admin_wizard
    'collect_usage': collect_usage,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name,
    data_dictionary), **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmpJ8OvEH/about/admin_wizard.mako.py", line 99, in
    render_body
    __M_writer(unicode( check_config.content ))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 36:
    ordinal not in range(128)


    [19/Aug/2013 13:10:00 +0000] access INFO 150.29.149.251 admin
    - "POST /useradmin/users/add_ldap_users HTTP/1.0"
    [19/Aug/2013 13:10:00 +0000] middleware INFO Processing exception:
    Failed to bind to LDAP server anonymously: Traceback (most recent call
    last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 279, in add_ldap_users
    users = import_ldap_users(username_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 572, in import_ldap_users
    return _import_ldap_users(user_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 465, in _import_ldap_users
    conn = ldap_access.get_connection()
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 47, in get_connection
    password, ldap_cert)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 84, in __init__
    raise RuntimeError("Failed to bind to LDAP server anonymously")
    RuntimeError: Failed to bind to LDAP server anonymously


    On Wed, Sep 11, 2013 at 9:00 PM, bc Wong wrote:

    [Adding hue-users; bcc: scm-users]

    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue
    Server -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert

    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send
    an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • 李黎 at Sep 17, 2013 at 2:03 am
    Hi, Romain

    I think the possibility of bug is high,
    Could you do the same things(Enable HTTPS for the Hue web server) and tell
    me there are no bugs.

    Thanks,

    Li Li


    2013/9/14 Romain Rigaux <romain@cloudera.com>
    The only error in the logs is:
    "[12/Sep/2013 02:52:24 +0000] settings INFO Welcome to Hue 2.5.0
    [12/Sep/2013 02:56:08 +0000] spawning_controller INFO (10258) Child
    died from signal 0 with code 1"

    In CM, could you check the stderr/sdtoud logs of the processes? (to have
    more details about the exception).

    If nothing, could you try to start the Hue server manually from its home
    and see?

    e.g.
    build/env/bin/hue runserver
    build/env/bin/hue runcpserver

    Romain

    On Thu, Sep 12, 2013 at 3:09 AM, 李黎 wrote:

    Hi,
    I have reinstalled Centos6.4 and then installed the Cloudera Standard and
    then configured to enable Hue web server.
    same error was Occurred.

    Sep 12 18:49:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:46 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:48 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:49 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:18 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:20 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:21 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:22 dhcp149216 abrt: detected unhandled Python exception



    Thanks,

    LiLi



    2013/9/12 李黎 <ri-ri@aist.go.jp>
    It is same error when access to /beeswax/.

    [image: 埋め込み画像 1]

    by the way, why the ldap access was used?
    I enabled the Hue web server just after the Installation of the
    Cloudera Standard.

    Thanks,

    LiLi


    2013/9/12 Romain Rigaux <romain@cloudera.com>
    Maybe you are hitting a different bug.

    Can you try to go on /beeswax/ instead of /about/ ?

    Romain


    [19/Aug/2013 13:12:11 +0000] access INFO 150.29.149.251admin - "GET /about/ HTTP/1.0"
    [19/Aug/2013 13:12:12 +0000] middleware INFO Processing
    exception: 'ascii' codec can't decode byte 0xe8 in position 36: ordinal not
    in range(128): Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/about/src/about/views.py",
    line 44, in admin_wizard
    'collect_usage': collect_usage,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name,
    data_dictionary), **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmpJ8OvEH/about/admin_wizard.mako.py", line 99, in
    render_body
    __M_writer(unicode( check_config.content ))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position
    36: ordinal not in range(128)


    [19/Aug/2013 13:10:00 +0000] access INFO 150.29.149.251admin - "POST /useradmin/users/add_ldap_users HTTP/1.0"
    [19/Aug/2013 13:10:00 +0000] middleware INFO Processing
    exception: Failed to bind to LDAP server anonymously: Traceback (most
    recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 279, in add_ldap_users
    users = import_ldap_users(username_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 572, in import_ldap_users
    return _import_ldap_users(user_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 465, in _import_ldap_users
    conn = ldap_access.get_connection()
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 47, in get_connection
    password, ldap_cert)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 84, in __init__
    raise RuntimeError("Failed to bind to LDAP server anonymously")
    RuntimeError: Failed to bind to LDAP server anonymously


    On Wed, Sep 11, 2013 at 9:00 PM, bc Wong wrote:

    [Adding hue-users; bcc: scm-users]

    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue
    Server -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert

    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • Romain Rigaux at Sep 17, 2013 at 5:10 am
    Yes, we are going to give it a try,

    Romain

    On Mon, Sep 16, 2013 at 7:03 PM, 李黎 wrote:

    Hi, Romain

    I think the possibility of bug is high,
    Could you do the same things(Enable HTTPS for the Hue web server) and tell
    me there are no bugs.

    Thanks,

    Li Li


    2013/9/14 Romain Rigaux <romain@cloudera.com>
    The only error in the logs is:
    "[12/Sep/2013 02:52:24 +0000] settings INFO Welcome to Hue 2.5.0
    [12/Sep/2013 02:56:08 +0000] spawning_controller INFO (10258) Child
    died from signal 0 with code 1"

    In CM, could you check the stderr/sdtoud logs of the processes? (to have
    more details about the exception).

    If nothing, could you try to start the Hue server manually from its home
    and see?

    e.g.
    build/env/bin/hue runserver
    build/env/bin/hue runcpserver

    Romain

    On Thu, Sep 12, 2013 at 3:09 AM, 李黎 wrote:

    Hi,
    I have reinstalled Centos6.4 and then installed the Cloudera Standard
    and then configured to enable Hue web server.
    same error was Occurred.

    Sep 12 18:49:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:46 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:48 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:49 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:18 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:20 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:21 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:22 dhcp149216 abrt: detected unhandled Python exception



    Thanks,

    LiLi



    2013/9/12 李黎 <ri-ri@aist.go.jp>
    It is same error when access to /beeswax/.

    [image: 埋め込み画像 1]

    by the way, why the ldap access was used?
    I enabled the Hue web server just after the Installation of the
    Cloudera Standard.

    Thanks,

    LiLi


    2013/9/12 Romain Rigaux <romain@cloudera.com>
    Maybe you are hitting a different bug.

    Can you try to go on /beeswax/ instead of /about/ ?

    Romain


    [19/Aug/2013 13:12:11 +0000] access INFO 150.29.149.251admin - "GET /about/ HTTP/1.0"
    [19/Aug/2013 13:12:12 +0000] middleware INFO Processing
    exception: 'ascii' codec can't decode byte 0xe8 in position 36: ordinal not
    in range(128): Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/about/src/about/views.py",
    line 44, in admin_wizard
    'collect_usage': collect_usage,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name,
    data_dictionary), **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmpJ8OvEH/about/admin_wizard.mako.py", line 99, in
    render_body
    __M_writer(unicode( check_config.content ))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position
    36: ordinal not in range(128)


    [19/Aug/2013 13:10:00 +0000] access INFO 150.29.149.251admin - "POST /useradmin/users/add_ldap_users HTTP/1.0"
    [19/Aug/2013 13:10:00 +0000] middleware INFO Processing
    exception: Failed to bind to LDAP server anonymously: Traceback (most
    recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 279, in add_ldap_users
    users = import_ldap_users(username_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 572, in import_ldap_users
    return _import_ldap_users(user_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 465, in _import_ldap_users
    conn = ldap_access.get_connection()
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 47, in get_connection
    password, ldap_cert)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 84, in __init__
    raise RuntimeError("Failed to bind to LDAP server anonymously")
    RuntimeError: Failed to bind to LDAP server anonymously


    On Wed, Sep 11, 2013 at 9:00 PM, bc Wong wrote:

    [Adding hue-users; bcc: scm-users]

    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue
    Server -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key
    /root/cm.cert
    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • Abraham Elmahrek at Sep 17, 2013 at 6:13 pm
    It's working for me.

    Could you try re-creating your certificate and private key?

    On Mon, Sep 16, 2013 at 10:10 PM, Romain Rigaux wrote:

    Yes, we are going to give it a try,

    Romain

    On Mon, Sep 16, 2013 at 7:03 PM, 李黎 wrote:

    Hi, Romain

    I think the possibility of bug is high,
    Could you do the same things(Enable HTTPS for the Hue web server) and
    tell me there are no bugs.

    Thanks,

    Li Li


    2013/9/14 Romain Rigaux <romain@cloudera.com>
    The only error in the logs is:
    "[12/Sep/2013 02:52:24 +0000] settings INFO Welcome to Hue 2.5.0
    [12/Sep/2013 02:56:08 +0000] spawning_controller INFO (10258) Child
    died from signal 0 with code 1"

    In CM, could you check the stderr/sdtoud logs of the processes? (to have
    more details about the exception).

    If nothing, could you try to start the Hue server manually from its home
    and see?

    e.g.
    build/env/bin/hue runserver
    build/env/bin/hue runcpserver

    Romain

    On Thu, Sep 12, 2013 at 3:09 AM, 李黎 wrote:

    Hi,
    I have reinstalled Centos6.4 and then installed the Cloudera Standard
    and then configured to enable Hue web server.
    same error was Occurred.

    Sep 12 18:49:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:46 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:48 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:49 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:18 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:20 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:21 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:22 dhcp149216 abrt: detected unhandled Python exception



    Thanks,

    LiLi



    2013/9/12 李黎 <ri-ri@aist.go.jp>
    It is same error when access to /beeswax/.

    [image: 埋め込み画像 1]

    by the way, why the ldap access was used?
    I enabled the Hue web server just after the Installation of the
    Cloudera Standard.

    Thanks,

    LiLi


    2013/9/12 Romain Rigaux <romain@cloudera.com>
    Maybe you are hitting a different bug.

    Can you try to go on /beeswax/ instead of /about/ ?

    Romain


    [19/Aug/2013 13:12:11 +0000] access INFO 150.29.149.251admin - "GET /about/ HTTP/1.0"
    [19/Aug/2013 13:12:12 +0000] middleware INFO Processing
    exception: 'ascii' codec can't decode byte 0xe8 in position 36: ordinal not
    in range(128): Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/about/src/about/views.py",
    line 44, in admin_wizard
    'collect_usage': collect_usage,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name,
    data_dictionary), **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmpJ8OvEH/about/admin_wizard.mako.py", line 99, in
    render_body
    __M_writer(unicode( check_config.content ))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position
    36: ordinal not in range(128)


    [19/Aug/2013 13:10:00 +0000] access INFO 150.29.149.251admin - "POST /useradmin/users/add_ldap_users HTTP/1.0"
    [19/Aug/2013 13:10:00 +0000] middleware INFO Processing
    exception: Failed to bind to LDAP server anonymously: Traceback (most
    recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 279, in add_ldap_users
    users = import_ldap_users(username_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 572, in import_ldap_users
    return _import_ldap_users(user_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 465, in _import_ldap_users
    conn = ldap_access.get_connection()
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 47, in get_connection
    password, ldap_cert)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 84, in __init__
    raise RuntimeError("Failed to bind to LDAP server anonymously")
    RuntimeError: Failed to bind to LDAP server anonymously


    On Wed, Sep 11, 2013 at 9:00 PM, bc Wong wrote:

    [Adding hue-users; bcc: scm-users]

    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue
    Server -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key
    /root/cm.cert
    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • Romain Rigaux at Sep 17, 2013 at 8:03 pm
    Yes, could you try what Abe is recommending? (we could reproduce the same
    error with an incomplete certificate)

    Romain

    On Tue, Sep 17, 2013 at 11:13 AM, Abraham Elmahrek wrote:

    It's working for me.

    Could you try re-creating your certificate and private key?

    On Mon, Sep 16, 2013 at 10:10 PM, Romain Rigaux wrote:

    Yes, we are going to give it a try,

    Romain

    On Mon, Sep 16, 2013 at 7:03 PM, 李黎 wrote:

    Hi, Romain

    I think the possibility of bug is high,
    Could you do the same things(Enable HTTPS for the Hue web server) and
    tell me there are no bugs.

    Thanks,

    Li Li


    2013/9/14 Romain Rigaux <romain@cloudera.com>
    The only error in the logs is:
    "[12/Sep/2013 02:52:24 +0000] settings INFO Welcome to Hue 2.5.0
    [12/Sep/2013 02:56:08 +0000] spawning_controller INFO (10258) Child
    died from signal 0 with code 1"

    In CM, could you check the stderr/sdtoud logs of the processes? (to
    have more details about the exception).

    If nothing, could you try to start the Hue server manually from its
    home and see?

    e.g.
    build/env/bin/hue runserver
    build/env/bin/hue runcpserver

    Romain

    On Thu, Sep 12, 2013 at 3:09 AM, 李黎 wrote:

    Hi,
    I have reinstalled Centos6.4 and then installed the Cloudera Standard
    and then configured to enable Hue web server.
    same error was Occurred.

    Sep 12 18:49:43 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:44 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:45 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:46 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:47 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:48 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:49 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:49:50 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:17 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:18 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:19 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:20 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:21 dhcp149216 abrt: detected unhandled Python exception
    Sep 12 18:52:22 dhcp149216 abrt: detected unhandled Python exception



    Thanks,

    LiLi



    2013/9/12 李黎 <ri-ri@aist.go.jp>
    It is same error when access to /beeswax/.

    [image: 埋め込み画像 1]

    by the way, why the ldap access was used?
    I enabled the Hue web server just after the Installation of the
    Cloudera Standard.

    Thanks,

    LiLi


    2013/9/12 Romain Rigaux <romain@cloudera.com>
    Maybe you are hitting a different bug.

    Can you try to go on /beeswax/ instead of /about/ ?

    Romain


    [19/Aug/2013 13:12:11 +0000] access INFO 150.29.149.251admin - "GET /about/ HTTP/1.0"
    [19/Aug/2013 13:12:12 +0000] middleware INFO Processing
    exception: 'ascii' codec can't decode byte 0xe8 in position 36: ordinal not
    in range(128): Traceback (most recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/about/src/about/views.py",
    line 44, in admin_wizard
    'collect_usage': collect_usage,
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 221, in render
    **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_util.py",
    line 144, in _render_to_response
    return django_mako.render_to_response(template, *args, **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 117, in render_to_response
    return HttpResponse(render_to_string(template_name,
    data_dictionary), **kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/desktop/core/src/desktop/lib/django_mako.py",
    line 106, in render_to_string_normal
    result = template.render(**data_dict)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/template.py",
    line 412, in render
    return runtime._render(self, self.callable_, args, data)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 766, in _render
    **_kwargs_for_callable(callable_, data))
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 798, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Mako-0.7.2-py2.6.egg/mako/runtime.py",
    line 824, in _exec_template
    callable_(context, *args, **kwargs)
    File "/tmp/tmpJ8OvEH/about/admin_wizard.mako.py", line 99, in
    render_body
    __M_writer(unicode( check_config.content ))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position
    36: ordinal not in range(128)


    [19/Aug/2013 13:10:00 +0000] access INFO 150.29.149.251admin - "POST /useradmin/users/add_ldap_users HTTP/1.0"
    [19/Aug/2013 13:10:00 +0000] middleware INFO Processing
    exception: Failed to bind to LDAP server anonymously: Traceback (most
    recent call last):
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py",
    line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 279, in add_ldap_users
    users = import_ldap_users(username_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 572, in import_ldap_users
    return _import_ldap_users(user_pattern, import_by_dn)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/views.py",
    line 465, in _import_ldap_users
    conn = ldap_access.get_connection()
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 47, in get_connection
    password, ldap_cert)
    File
    "/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/share/hue/apps/useradmin/src/useradmin/ldap_access.py",
    line 84, in __init__
    raise RuntimeError("Failed to bind to LDAP server anonymously")
    RuntimeError: Failed to bind to LDAP server anonymously


    On Wed, Sep 11, 2013 at 9:00 PM, bc Wong wrote:

    [Adding hue-users; bcc: scm-users]

    Can you attach the Hue log? (You can find that in CM -> Hue -> Hue
    Server -> Log file. Or in /var/log/hue.)

    On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:

    Hi,

    I want to enable HTTPS for the Hue web server.
    I do it by following steps:
    1. easy_install pyOpenSSL
    #
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
    pyOpenSSL
    Searching for pyOpenSSL
    Best match: pyOpenSSL 0.13
    Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    pyOpenSSL 0.13 is already the active version in easy-install.pth

    Using
    /opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
    Processing dependencies for pyOpenSSL
    Finished processing dependencies for pyOpenSSL

    2. make SSL private key
    # openssl genrsa 1024 > /root/cm.key
    Generating RSA private key, 1024 bit long modulus
    .........................++++++
    .....++++++
    e is 65537 (0x10001)

    3. make SSL certificate
    # openssl req -new -x509 -nodes -sha1 -key /root/cm.key
    /root/cm.cert
    4. set Hue server with cloudera manager
    [image: 埋め込み画像 1]

    5. save and restart the Hue server

    6. access Hue Web UI
    I got the error messages as following
    [image: 埋め込み画像 2]

    7. check the /var/log/messages
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python
    exception
    Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python
    exception

    I am using the lasted cloudera stardand version 4.7.1.

    Please advice me where was wrong.

    Thanks,

    LiLi

    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send
    an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphue-user @
categorieshadoop
postedSep 12, '13 at 4:00a
activeSep 17, '13 at 8:03p
posts10
users4
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase