hue从sqlite迁移到mariadb的问题

cvxl0en2  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(272)

作为将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

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题