色调问题从sqlite迁移到maria db

时间:2017-04-26 14:27:03

标签: python hadoop cloudera hue mapr

作为将sqlite迁移到maria db的步骤之一。我正在将数据转储到json文件。我遇到错误ImportError:libsasl2.so.2:无法打开共享对象文件:没有这样的文件或目录。 请告知如何解决问题。

以下是日志:

(env)[mapr@anvmaprpd04:39:/opt/mapr/hue/hue-3.10.0/build/env/bin] ./hue dumpdata >/tmp/sql-lite.json
[26/Apr/2017 13:55:36 +0000] settings     DEBUG    DESKTOP_DB_TEST_NAME SET: /opt/mapr/hue/hue-3.10.0/desktop/desktop-test.db
[26/Apr/2017 13:55:36 +0000] settings     DEBUG    DESKTOP_DB_TEST_USER SET: hue_test
Traceback (most recent call last):
  File "./hue", line 12, in <module>
    load_entry_point('desktop==3.10.0', 'console_scripts', 'hue')()
  File "/opt/mapr/hue/hue-3.10.0/desktop/core/src/desktop/manage_entry.py", line 57, in entry
    execute_from_command_line(sys.argv)
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/base.py", line 284, in execute
    self.validate()
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/base.py", line 310, in validate
    num_errors = get_validation_errors(s, app)
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/validation.py", line 34, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/models/loading.py", line 196, in get_app_errors
    self._populate()
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/models/loading.py", line 78, in _populate
    self.load_app(app_name)
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/models/loading.py", line 99, in load_app
    models = import_module('%s.models' % app_name)
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/opt/mapr/hue/hue-3.10.0/desktop/core/src/desktop/models.py", line 40, in <module>
    from desktop.lib.exceptions_renderable import PopupException
  File "/opt/mapr/hue/hue-3.10.0/desktop/core/src/desktop/lib/exceptions_renderable.py", line 28, in <module>
    import desktop.lib.django_util
  File "/opt/mapr/hue/hue-3.10.0/desktop/core/src/desktop/lib/django_util.py", line 40, in <module>
    import desktop.lib.thrift_util
  File "/opt/mapr/hue/hue-3.10.0/desktop/core/src/desktop/lib/thrift_util.py", line 24, in <module>
    import sasl
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/sasl-0.1.1-py2.6-linux-x86_64.egg/sasl/__init__.py", line 1, in <module>
    from sasl.saslwrapper import *
  File "/opt/mapr/hue/hue-3.10.0/build/env/lib/python2.6/site-packages/sasl-0.1.1-py2.6-linux-x86_64.egg/sasl/saslwrapper.py", line 7, in <module>
    import _saslwrapper
ImportError: libsasl2.so.2: cannot open shared object file: No such file or directory

0 个答案:

没有答案